[Vtigercrm-commits] [vtiger-commits] r9593 - in /vtigercrm/branches/5.0.1/Smarty/templates: DetailViewUI.tpl DisplayFields.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Oct 9 02:36:46 EDT 2006


Author: richie
Date: Mon Oct  9 00:36:42 2006
New Revision: 9593

Log:
changes made for uitype 85-Skype  --Minnie 

Modified:
    vtigercrm/branches/5.0.1/Smarty/templates/DetailViewUI.tpl
    vtigercrm/branches/5.0.1/Smarty/templates/DisplayFields.tpl

Modified: vtigercrm/branches/5.0.1/Smarty/templates/DetailViewUI.tpl
==============================================================================
--- vtigercrm/branches/5.0.1/Smarty/templates/DetailViewUI.tpl (original)
+++ vtigercrm/branches/5.0.1/Smarty/templates/DetailViewUI.tpl Mon Oct  9 00:36:42 2006
@@ -117,6 +117,14 @@
                                               		  <a href="javascript:;" onclick="hndCancel('dtlview_{$label}','editarea_{$label}','{$label}')" class="link">{$APP.LBL_CANCEL_BUTTON_LABEL}</a>
                                                        </div>
                                                   </td>
+					     {elseif $keyid eq '85'}<!--Skype-->
+                                                <td width=25% class="dvtCellInfo" align="left" id="mouseArea_{$label}" onmuseover="hndMouseOver({$keyid},'{$label}');" onmouseout="fnhide('crmspanid');">&nbsp;<img src="{$IMAGE_PATH}skype.gif" alt="Skype" title="Skype" LANGUAGE=javascript align="absmiddle"></img><span id="dtlview_{$label}"><a href="skype:{$keyval}?call">{$keyval}</a></span>
+                                                        <div id="editarea_{$label}" style="display:none;">
+                                                          <input class="detailedViewTextBox" onFocus="this.className='detailedViewTextBoxOn'" onBlur="this.className='detailedViewTextBox'" type="text" id="txtbox_{$label}" name="{$keyfldname}" maxlength='100' value="{$keyval}"></input>
+                                                          <br><input name="button_{$label}" type="button" class="crmbutton small save" value="{$APP.LBL_SAVE_LABEL}" onclick="dtlViewAjaxSave('{$label}','{$MODULE}',{$keyid},'{$keytblname}','{$keyfldname}','{$ID}');fnhide('crmspanid');"/> {$APP.LBL_OR}
+                                                          <a href="javascript:;" onclick="hndCancel('dtlview_{$label}','editarea_{$label}','{$label}')" class="link">{$APP.LBL_CANCEL_BUTTON_LABEL}</a>
+                                                       </div>
+                                                  </td>	
                                              {elseif $keyid eq '19' || $keyid eq '20'} <!--TextArea/Description-->
 						<!-- we will empty the value of ticket and faq comment -->
 						{if $label eq $MOD.LBL_ADD_COMMENT}

Modified: vtigercrm/branches/5.0.1/Smarty/templates/DisplayFields.tpl
==============================================================================
--- vtigercrm/branches/5.0.1/Smarty/templates/DisplayFields.tpl (original)
+++ vtigercrm/branches/5.0.1/Smarty/templates/DisplayFields.tpl Mon Oct  9 00:36:42 2006
@@ -274,6 +274,14 @@
 				<input type="text" tabindex="{$vt_tab}" name="{$fldname}" style="border:1px solid #bababa;" size="27" onFocus="this.className='detailedViewTextBoxOn'"onBlur="this.className='detailedViewTextBox'" value="{$fldvalue}">
 			</td>
 
+		{elseif $uitype eq 85}
+                        <td width="20%" class="dvtCellLabel" align=right>
+                                {$fldlabel}
+                        </td>
+                        <td width="30%" align=left class="dvtCellInfo">
+                                <img src="{$IMAGE_PATH}skype.gif" alt="Skype" title="Skype" LANGUAGE=javascript align="absmiddle"></img><input type="text" tabindex="{$vt_tab}" name="{$fldname}" style="border:1px solid #bababa;" size="27" onFocus="this.className='detailedViewTextBoxOn'"onBlur="this.className='detailedViewTextBox'" value="{$fldvalue}">
+                        </td>
+
 		{elseif $uitype eq 71 || $uitype eq 72}
 			<td width="20%" class="dvtCellLabel" align=right>
 				{if $uitype eq 72}





More information about the vtigercrm-commits mailing list