Changeset 948
- Timestamp:
- 08/13/08 15:46:44 (3 months ago)
- Files:
-
- trunk/admin/Public/A2B_card_info.php (added)
- trunk/admin/Public/form_data/FG_var_card.inc (modified) (2 diffs)
- trunk/admin/Public/templates/default/images/delete.png (added)
- trunk/admin/Public/templates/default/images/edit.png (added)
- trunk/admin/Public/templates/default/images/icon-info.gif (added)
- trunk/admin/Public/templates/default/images/info.png (added)
- trunk/admin/Public/templates/default/images/money.png (added)
- trunk/common/lib/Form/Class.FormHandler.inc.php (modified) (2 diffs)
- trunk/common/lib/Form/Class.ViewHandler.inc.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/admin/Public/form_data/FG_var_card.inc
r936 r948 242 242 } else { 243 243 $HD_Form -> FG_EDITION = true; 244 $HD_Form -> FG_INFO = true; 244 245 $HD_Form -> FG_DELETION = true; 245 246 $HD_Form -> FG_OTHER_BUTTON1 = true; … … 249 250 $HD_Form -> FG_OTHER_BUTTON2_LINK="A2B_entity_friend.php?friend=iax&form_action=add_iax&stitle=Customers_Card&id_cc_card=|col0|&cardnumber=|col1|&useralias=|col2|"; 250 251 $HD_Form -> FG_OTHER_BUTTON3_LINK="A2B_entity_payment.php?stitle=Payment_add&form_action=ask-add&card_id=|col0|"; 252 $HD_Form -> FG_INFO_LINK = "A2B_card_info.php?id="; 253 //FOR INFO , DEL, EDIT the image is already in Image_Path 254 $HD_Form -> FG_INFO_IMG = "info.png"; 255 $HD_Form -> FG_DELETION_IMG = "delete.png"; 256 $HD_Form -> FG_EDITION_IMG = "edit.png"; 251 257 $HD_Form -> FG_OTHER_BUTTON1_IMG = Images_Path . "/icon-sip.gif"; 252 258 $HD_Form -> FG_OTHER_BUTTON2_IMG = Images_Path . "/icon-iax.gif"; 253 $HD_Form -> FG_OTHER_BUTTON3_IMG = '';259 $HD_Form -> FG_OTHER_BUTTON3_IMG = Images_Path . "/money.png"; 254 260 $HD_Form -> FG_OTHER_BUTTON1_ALT=gettext("SIP buddy"); 255 261 $HD_Form -> FG_OTHER_BUTTON2_ALT=gettext("IAX buddy"); 256 $HD_Form -> FG_OTHER_BUTTON3_ALT = '<font color="red">'.gettext('PAYMENT').'</font>';262 $HD_Form -> FG_OTHER_BUTTON3_ALT = gettext('ADD PAYMENT'); 257 263 } 258 264 trunk/common/lib/Form/Class.FormHandler.inc.php
r943 r948 118 118 var $FG_OTHER_BUTTON2_LINK = ''; 119 119 var $FG_OTHER_BUTTON3_LINK = ''; 120 121 var $FG_EDITION_IMG = 'icon-edit.gif'; 122 var $FG_DELETION_IMG= 'icon-del.gif'; 123 var $FG_INFO_IMG='icon-info.gif'; 120 124 121 125 var $FG_OTHER_BUTTON1_IMG = ''; … … 247 251 var $FG_DELETE_ALT = "Delete this record"; 248 252 var $FG_EDIT_ALT = "Edit this record"; 249 var $FG_INFO_ALT = "Info on tthis record";253 var $FG_INFO_ALT = "Info on this record"; 250 254 var $FG_OTHER_BUTTON1_ALT = ''; 251 255 var $FG_OTHER_BUTTON2_ALT = ''; trunk/common/lib/Form/Class.ViewHandler.inc.php
r931 r948 167 167 </strong></TD> 168 168 <?php } 169 if ($this->FG_DELETION || $this->FG_ EDITION || $this -> FG_OTHER_BUTTON1 || $this -> FG_OTHER_BUTTON2 || $this -> FG_OTHER_BUTTON3 ){ ?>169 if ($this->FG_DELETION || $this->FG_INFO || $this->FG_EDITION || $this -> FG_OTHER_BUTTON1 || $this -> FG_OTHER_BUTTON2 || $this -> FG_OTHER_BUTTON3 ){ ?> 170 170 <td width="<?php echo $this->FG_ACTION_SIZE_COLUMN?>" align="center" class="tableBody" ><strong> <?php echo gettext("ACTION");?></strong> </td> 171 171 <?php } ?> … … 259 259 <?php } ?> 260 260 261 <?php if($this->FG_EDITION || $this->FG_DELETION || $this -> FG_OTHER_BUTTON1 || $this -> FG_OTHER_BUTTON2 || $this -> FG_OTHER_BUTTON3 ){?>261 <?php if($this->FG_EDITION || $this->FG_INFO || $this->FG_DELETION || $this -> FG_OTHER_BUTTON1 || $this -> FG_OTHER_BUTTON2 || $this -> FG_OTHER_BUTTON3 ){?> 262 262 <TD align="center" vAlign=top class=tableBodyRight> 263 <?php if($this->FG_EDITION){?> <a href="<?php echo $this->FG_EDITION_LINK?><?php echo $list[$ligne_number][$this->FG_NB_TABLE_COL]?>"><img src="<?php echo Images_Path_Main;?>/icon-edit.gif" border="0" title="<?php echo $this->FG_EDIT_ALT?>" alt="<?php echo $this->FG_EDIT_ALT?>"></a><?php } ?> 264 <?php if($this->FG_DELETION){?> <a href="<?php echo $this->FG_DELETION_LINK?><?php echo $list[$ligne_number][$this->FG_NB_TABLE_COL]?>"><img src="<?php echo Images_Path_Main;?>/icon-del.gif" border="0" title="<?php echo $this->FG_DELETE_ALT?>" alt="<?php echo $this->FG_DELETE_ALT?>"></a><?php } ?> 263 <?php if($this->FG_INFO){?> <a href="<?php echo $this->FG_INFO_LINK?><?php echo $list[$ligne_number][$this->FG_NB_TABLE_COL]?>"><img src="<?php echo Images_Path_Main;?>/<?php echo $this->FG_INFO_IMG?>" border="0" title="<?php echo $this->FG_INFO_ALT?>" alt="<?php echo $this->FG_INFO_ALT?>"></a><?php } ?> 264 <?php if($this->FG_EDITION){?> <a href="<?php echo $this->FG_EDITION_LINK?><?php echo $list[$ligne_number][$this->FG_NB_TABLE_COL]?>"><img src="<?php echo Images_Path_Main;?>/<?php echo $this->FG_EDITION_IMG?>" border="0" title="<?php echo $this->FG_EDIT_ALT?>" alt="<?php echo $this->FG_EDIT_ALT?>"></a><?php } ?> 265 <?php if($this->FG_DELETION){?> <a href="<?php echo $this->FG_DELETION_LINK?><?php echo $list[$ligne_number][$this->FG_NB_TABLE_COL]?>"><img src="<?php echo Images_Path_Main;?>/<?php echo $this->FG_DELETION_IMG?>" border="0" title="<?php echo $this->FG_DELETE_ALT?>" alt="<?php echo $this->FG_DELETE_ALT?>"></a><?php } ?> 265 266 <?php if($this->FG_OTHER_BUTTON1){ ?> 266 267 <a href="<?php … … 403 404 <TR bgcolor="<?php echo $this->FG_TABLE_ALTERNATE_ROW_COLOR[$ligne_number%2]?>"> 404 405 <?php 405 $REMOVE_COL = ($this->FG_OTHER_BUTTON1 || $this->FG_OTHER_BUTTON2 || $this->FG_OTHER_BUTTON3 || $this->FG_EDITION || $this->FG_ DELETION )? 0 : 1;406 $REMOVE_COL = ($this->FG_OTHER_BUTTON1 || $this->FG_OTHER_BUTTON2 || $this->FG_OTHER_BUTTON3 || $this->FG_EDITION || $this->FG_INFO || $this->FG_DELETION )? 0 : 1; 406 407 for($i=0;$i<$this->FG_NB_TABLE_COL-$REMOVE_COL;$i++){ 407 408 ?>
