[Vtigercrm-commits] [vtiger-commits] r7288 - in /vtigercrm/trunk/Smarty/templates: CreateWordTemplate.tpl ListWordTemplates.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 20 03:00:19 EDT 2006


Author: saraj
Date: Tue Jun 20 01:00:14 2006
New Revision: 7288

Log:
updated tpl file for mail merge templates - ahmed

Modified:
    vtigercrm/trunk/Smarty/templates/CreateWordTemplate.tpl
    vtigercrm/trunk/Smarty/templates/ListWordTemplates.tpl

Modified: vtigercrm/trunk/Smarty/templates/CreateWordTemplate.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CreateWordTemplate.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CreateWordTemplate.tpl Tue Jun 20 01:00:14 2006
@@ -1,118 +1,100 @@
-{*<!--
-/*********************************************************************************
-  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
-   * ("License"); You may not use this file except in compliance with the License
-   * The Original Code is:  vtiger CRM Open Source
-   * The Initial Developer of the Original Code is vtiger.
-   * Portions created by vtiger are Copyright (C) vtiger.
-   * All Rights Reserved.
-  *
- ********************************************************************************/
--->*}
-<script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script>
-<style type="text/css">@import url(themes/blue/style.css);</style>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr>
-	{include file='SettingsMenu.tpl'}
-<td width="75%" valign="top">
-
-<!--  CREATE WORD TEMPLATES PAGE STARTS HERE -->
-<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
-<form action="index.php?module=Users&action=add2db" method="post" enctype="multipart/form-data">
-<input type="hidden" name="return_module" value="Settings">
-<input type="hidden" name="MAX_FILE_SIZE" value="100000">
-<input type="hidden" name="action">
-<tr>
-<td class="showPanelBg" valign="top" width="95%"  style="padding-left:20px; "><br />
-<span class="lvtHeaderText"><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a> <a href="index.php?module=Users&action=listwordtemplates&parenttab=Settings">{$UMOD.LBL_MAILMERGE_TEMPLATES_ATTACHMENT}</a></b></span>
-<hr noshade="noshade" size="1" />
-</td>
-	<td width="5%" class="showPanelBg">&nbsp;</td>
-</tr>
-<tr>
-<td width="98%" style="padding-left:20px;" valign="top">
-<!-- module Select Table -->
-<table width="95%"  border="0" cellspacing="0" cellpadding="0" align="center">
-<tr>
-	<td width="7" height="6" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}top_left.jpg" align="top"  /></td>
-	<td bgcolor="#EBEBEB" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;height:6px;"></td>
-	<td width="8" height="6" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}top_right.jpg" width="8" height="6" align="top" /></td>
-</tr>
-<tr>
-	<td bgcolor="#EBEBEB" width="7"></td>
-	<td bgcolor="#ECECEC" style="padding-left:10px;padding-top:10px;vertical-align:top;">
-		<table width="100%"  border="0" cellspacing="0" cellpadding="10" class="small">
-                <tr>
-                     <td rowspan="11" bgcolor="#ffffff" width="30%" valign="bottom" background="{$IMAGE_PATH}MailMerge_top.gif" style="background-position:top right;background-repeat:no-repeat;">
-		<table width="100%" border="0" cellpadding="0" cellspacing="0">
-				<tr>
-						<td background="{$IMAGE_PATH}MailMerge_btm.gif" style="background-position:bottom right;background-repeat:no-repeat; " height="150">&nbsp;</td>
-				</tr>
-		</table>
-	</td>
-                      <td colspan="2" class="genHeaderSmall" width="70%"><img src="{$IMAGE_PATH}fp1.gif" width="59" height="40" align="absmiddle" />{$UMOD.LBL_TEMPLATE_DETAILS} </td>
-               </tr>
-		<tr>
-                      <td align="right" valign="top"><b>{$UMOD.LBL_DESCRIPTION}  : </b></td>
-                      <td><textarea name="txtDescription" tabindex="1" class="txtBox" rows="3" value={$textDesc} /></textarea></td>
-                </tr>
-                <tr><td colspan="2"  width="75%" style="padding-bottom:0px;" ><hr /> </td></tr>
-
-		<tr>
-			<td  width="75%" colspan="2"  >
-				<img src="{$IMAGE_PATH}fp2.gif" width="59" height="40"  align="left"/>
-				<span class="genHeaderSmall">{$UMOD.LBL_SELECT_MODULE}</span><br />
-				 {$UMOD.LBL_MERGE_MSG}
-			</td>
-		</tr>
-		<tr>
-                      <td align="right"><b>{$UMOD.LBL_MODULENAMES} : </b></td>
-
-                      <td><select name="target_module" class="txtBox" tabindex="2">
-			<option value="Leads">{$APP.COMBO_LEADS}</option>	
-			<option value="Accounts">{$APP.COMBO_ACCOUNTS}</option>	
-			<option value="Contacts">{$APP.COMBO_CONTACTS}</option>	
-			<option value="HelpDesk">{$APP.COMBO_HELPDESK}</option>	
-                      </select></td>
-                </tr>
-		 <tr><td colspan="2"  width="75%" style="padding-bottom:0px;" ><hr /> </td></tr>
-		<tr>
-		      <td  width="75%" colspan="2" style="padding-bottom:0px;padding-top:0px; "  >
-			<img src="{$IMAGE_PATH}fp3.gif" width="59" height="40"  align="absmiddle"/>
-				<span class="genHeaderSmall">{$UMOD.LBL_UPLOAD} </span>
-		      </td>
-		</tr>
-		 <tr>
-                      <td align="right" valign="top"><font color="red">{$APP.LBL_REQUIRED_SYMBOL}</font><b>{$UMOD.LBL_MERGE_FILE}</b></td>
-                      <td><input type="file" name="binFile" size="40" tabindex="3" /><br />(Upload only <b>'.doc'</b> files)</td>
-		 </tr>
-		 <tr>
-		      <td colspan="2"  width="75%" style="border-top:1px dashed #CCCCCC;border-bottom:1px dashed #CCCCCC;"  align="center">
-			<input title="{$APP.LBL_SAVE_BUTTON_LABEL}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" type="submit" tabindex="4" name="button" value="{$APP.LBL_SAVE_BUTTON_LABEL}" onclick="this.form.action.value='add2db';" class="classBtn" />&nbsp;
-			&nbsp;<input title="{$APP.LBL_CANCEL_BUTTON_LABEL}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" tabindex="5"  onclick="window.history.back()" type="button" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" class="classBtn" />
- 		      </td>
-		 </tr>
-		 <tr>
-		       <td colspan="2" style="padding-bottom:0px;" >&nbsp;</td>
-		 </tr>
-                 </table>
-		   </td>
-			<td bgcolor="#EBEBEB" width="8"></td>
-		  </tr>
-		  <tr>
-				<td width="7" height="8" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}bottom_left.jpg" align="bottom"  /></td>
-				<td bgcolor="#ECECEC" height="8" style="font-size:1px;" ></td>
-				<td width="8" height="8" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}bottom_right.jpg" align="bottom" /></td>
-		  </tr>
-		  </table><br />
-		</td>
-
-		<td>&nbsp;</td>
-	</tr>
-</form>
-</table>
-</td>
-</tr>
-</table>
-	{include file='SettingsSubMenu.tpl'}
-<!-- END -->
+{*<!--
+/*********************************************************************************
+  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
+   * ("License"); You may not use this file except in compliance with the License
+   * The Original Code is:  vtiger CRM Open Source
+   * The Initial Developer of the Original Code is vtiger.
+   * Portions created by vtiger are Copyright (C) vtiger.
+   * All Rights Reserved.
+  *
+ ********************************************************************************/
+-->*}
+<script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script>
+<br>
+<table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
+<tbody><tr>
+        <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
+        <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%">
+<br>
+	<div align=center>
+	
+			{include file='SetMenu.tpl'}
+
+				<!-- DISPLAY -->
+				<table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
+				<form action="index.php?module=Users&action=add2db" method="post" enctype="multipart/form-data">
+				<input type="hidden" name="return_module" value="Settings">
+				<input type="hidden" name="parenttab" value="{$PARENTTAB}">
+				<input type="hidden" name="MAX_FILE_SIZE" value="100000">
+				<input type="hidden" name="action">
+				<tr>
+					<td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}mailmarge.gif" alt="Users" width="48" height="48" border=0 title="Users"></td>
+					<td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > <a href="index.php?module=Users&action=listwordtemplates&parenttab=Settings">{$UMOD.LBL_WORD_TEMPLATES}</a> > {$UMOD.LBL_NEW_TEMPLATE} </b></td>
+				</tr>
+				<tr>
+					<td valign=top class="small">{$MOD.LBL_MAIL_MERGE_DESC}</td>
+				</tr>
+				</table>
+				
+				<br>
+				<table border=0 cellspacing=0 cellpadding=10 width=100% >
+				<tr>
+				<td>
+				
+					<table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
+					<tr>
+						<td class="big"><strong>{$UMOD.LBL_NEW_TEMPLATE}</strong></td>
+						<td class="small" align=right>
+							<input title="{$APP.LBL_SAVE_BUTTON_LABEL}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" type="submit" tabindex="4" name="button" value="{$APP.LBL_SAVE_BUTTON_LABEL}" onclick="this.form.action.value='add2db'; this.form.parenttab.value='Settings'" class="crmButton small save" />&nbsp;
+							&nbsp;<input title="{$APP.LBL_CANCEL_BUTTON_LABEL}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" tabindex="5"  onclick="window.history.back()" type="button" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" class="crmButton small cancel" />
+						</td>
+					</tr>
+					</table>
+					
+					<table border=0 cellspacing=0 cellpadding=5 width=100% >
+					<tr valign="top">
+					  <td nowrap class="cellLabel small"><font color="red">*</font><strong>{$UMOD.LBL_NEW} {$UMOD.LBL_TEMPLATE_FILE}</strong></td>
+					  <td class="cellText small"><strong>
+					    <input type="file" name="binFile" class="small">
+					  </strong></td>
+					  </tr>
+					<tr>
+						<td valign=top class="small cellLabel"><strong>{$UMOD.LBL_DESCRIPTION}</strong></td>
+						<td class="cellText small" valign=top><textarea name="txtDescription" class=small style="width:90%;height:50px" value={$textDesc}></textarea></td>
+					  </tr>
+					<tr>
+						<td valign=top class="small cellLabel"><strong>{$UMOD.LBL_MODULENAMES}</strong></td>
+						<td class="cellText small" valign=top>
+						<select name="target_module" size=1 class="small" tabindex="3">
+							<option value="Leads">{$APP.COMBO_LEADS}</option>	
+							<option value="Accounts">{$APP.COMBO_ACCOUNTS}</option>	
+							<option value="Contacts">{$APP.COMBO_CONTACTS}</option>	
+							<option value="HelpDesk">{$APP.COMBO_HELPDESK}</option>	
+			                      </select>
+						</td>
+					  </tr>
+					</table>
+					<table border=0 cellspacing=0 cellpadding=5 width=100% >
+					<tr>
+					  <td class="small" nowrap align=right><a href="#top">[Scroll to Top]</a></td>
+					</tr>
+					</table>
+				</td>
+				</tr>
+				</table>
+			
+			
+			
+			</td>
+			</tr>
+			</table>
+		</td>
+	</tr>
+	</form>
+	</table>
+</div>		
+	</td>
+        <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
+   </tr>
+</tbody>
+</table>

Modified: vtigercrm/trunk/Smarty/templates/ListWordTemplates.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListWordTemplates.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListWordTemplates.tpl Tue Jun 20 01:00:14 2006
@@ -1,139 +1,155 @@
-{*<!--
-/*********************************************************************************
-  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
-   * ("License"); You may not use this file except in compliance with the License
-   * The Original Code is:  vtiger CRM Open Source
-   * The Initial Developer of the Original Code is vtiger.
-   * Portions created by vtiger are Copyright (C) vtiger.
-   * All Rights Reserved.
-  *
- ********************************************************************************/
--->*}
-<script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script>
-<script language="JavaScript" type="text/javascript" src="modules/{$MODULE}/{$SINGLE_MOD}.js"></script>
-<style type="text/css">@import url(../themes/blue/style.css);</style>
-
-<script>
-function massDelete()
-{ldelim}
-        x = document.massdelete.selected_id.length;
-        idstring = "";
-
-        if ( x == undefined)
-        {ldelim}
-
-                if (document.massdelete.selected_id.checked)
-               {ldelim}
-                        document.massdelete.idlist.value=document.massdelete.selected_id.value;
-                {rdelim}
-                else
-                {ldelim}
-                        alert("Please select atleast one entity");
-                        return false;
-                {rdelim}
-        {rdelim}
-        else
-        {ldelim}
-                xx = 0;
-                for(i = 0; i < x ; i++)
-                {ldelim}
-                        if(document.massdelete.selected_id[i].checked)
-                        {ldelim}
-                                idstring = document.massdelete.selected_id[i].value +";"+idstring
-                        xx++
-                        {rdelim}
-                {rdelim}
-                if (xx != 0)
-                {ldelim}
-                        document.massdelete.idlist.value=idstring;
-                {rdelim}
-               else
-                {ldelim}
-                        alert("Please select atleast one entity");
-                        return false;
-                {rdelim}
-       {rdelim}
-		if(confirm("Are you sure you want to delete the selected "+xx+" records ?"))
-		{ldelim}
-	        document.massdelete.action="index.php?module=Users&action=deletewordtemplate&return_module=Users&return_action=listwordtemplates";
-		{rdelim}
-		else
-		{ldelim}
-			return false;
-		{rdelim}
-
-{rdelim}
-</script>
-
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr>
-	{include file='SettingsMenu.tpl'}
-<td width="75%" valign="top">
-<!-- MAIL MERGE TEMPLATE PAGE STARTS HERE -->
-<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
-	<tr>
-		 <td class="showPanelBg" valign="top" width="90%"  style="padding-left:20px; "><br />
-        	        <span class="lvtHeaderText"><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a><a href="index.php?module=Users&action=listwordtemplates&parenttab=Settings">{$UMOD.LBL_MAILMERGE_TEMPLATES_LIST}</a></b> </span>
-
-            	    <hr noshade="noshade" size="1" />
-		</td>
-
-		<td width="10%" class="showPanelBg">&nbsp;</td>
-	</tr>
-	<tr>
-		<td width="90%" style="padding-left:20px;" valign="top">
-			  <form  name="massdelete" method="POST">
-    			<input name="idlist" type="hidden">
-    			<input name="module" type="hidden" value="Users">
-    			<input name="action" type="hidden" value="deletewordtemplate">
-			<table width="100%" cellpadding="3" cellspacing="0" class="small" >
-			   
-				<tr><td colspan="6" style="border:0px;">&nbsp;</td></tr>
-				<tr>
-					<td colspan="2" align="left" style="border:0px;"><input type="submit" value="{$UMOD.LBL_DELETE}" onclick="return massDelete();" class="classBtn" /></td>
-					<td style="border:0px;">&nbsp;</td>
-
-					<td align="right" colspan="3" style="border:0px;">
-						<div align="right" ><input type="submit" value="{$UMOD.LBL_NEW_TEMPLATE}" name="profile"  class="classBtn" onclick="this.form.action.value='upload';"/></div>
-					</td>
-				</tr>
-				<tr>{*<td colspan="6" style="border:0px;">&nbsp;</td>*}</tr>
-				<tr>
-				<td colspan="6">
-					<table style="background-color: rgb(204, 204, 204);" class="small" border="0" cellpadding="5" cellspacing="1" width="100%">
-						<tr>
-						  <th width="5%" class="lvtCol" ><input type="checkbox" name="selectall" onClick=toggleSelect(this.checked,"selected_id") ></th>
-						  <th width="20%" nowrap class="lvtCol"><b>{$UMOD.LBL_FILE}</b></th>
-						  <th width="50%" nowrap class="lvtCol"><b>{$UMOD.LBL_DESCRIPTION}</b></th>
-						  <th width="25%"  nowrap class="lvtCol"><b>{$UMOD.LBL_MODULENAMES}</b></th>
-						  <th width="25%"  nowrap class="lvtCol"><b>{$UMOD.LBL_DOWNLOAD}</b></th>
-						  <th width="25%"  nowrap class="lvtCol"><b>{$UMOD.LBL_FILE_TYPE}</b></th>
-					  </tr>
-						{foreach item=template from=$WORDTEMPLATES}
-						<tr class="lvtColData" onmouseover="this.className='lvtColDataHover'" onmouseout="this.className='lvtColData'" bgcolor="white">
-							<td><input type="checkbox" name="selected_id" value="{$template.templateid}" onClick=toggleSelectAll(this.name,"selectall") /></td>
-							<td nowrap>{$template.filename}</td>
-							<td nowrap>{$template.description}</td>
-							<td nowrap>{$template.module}</td>
-							<td nowrap><a href="index.php?module=Users&action=downloadfile&record={$template.templateid}">{$UMOD.LBL_DOWNLOAD_NOW}</a></td>
-							<td nowrap>{$template.filetype}</td>	
-				  	</tr>
-					{/foreach}
-				</table>
-			</td>
-		</tr>	
-	</table>
-			</form>
-		</td>
-		<td>&nbsp;</td>
-	</tr>
-</table>
-<!-- END -->
-
-</td>
-</tr>
-</table>
-
-{$JAVASCRIPT}
-{include file='SettingsSubMenu.tpl'}
-
+{*<!--
+/*********************************************************************************
+  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
+   * ("License"); You may not use this file except in compliance with the License
+   * The Original Code is:  vtiger CRM Open Source
+   * The Initial Developer of the Original Code is vtiger.
+   * Portions created by vtiger are Copyright (C) vtiger.
+   * All Rights Reserved.
+  *
+ ********************************************************************************/
+-->*}
+<script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script>
+<script>
+function massDelete()
+{ldelim}
+        x = document.massdelete.selected_id.length;
+        idstring = "";
+
+        if ( x == undefined)
+        {ldelim}
+
+                if (document.massdelete.selected_id.checked)
+               {ldelim}
+                        document.massdelete.idlist.value=document.massdelete.selected_id.value+';';
+			xx=1;
+                {rdelim}
+                else
+                {ldelim}
+                        alert("Please select atleast one entity");
+                        return false;
+                {rdelim}
+        {rdelim}
+        else
+        {ldelim}
+                xx = 0;
+                for(i = 0; i < x ; i++)
+                {ldelim}
+                        if(document.massdelete.selected_id[i].checked)
+                        {ldelim}
+                                idstring = document.massdelete.selected_id[i].value +";"+idstring
+                        xx++
+                        {rdelim}
+                {rdelim}
+                if (xx != 0)
+                {ldelim}
+                        document.massdelete.idlist.value=idstring;
+                {rdelim}
+               else
+                {ldelim}
+                        alert("Please select atleast one entity");
+                        return false;
+                {rdelim}
+       {rdelim}
+		if(confirm("Are you sure you want to delete the selected "+xx+" records ?"))
+		{ldelim}
+	        document.massdelete.action="index.php?module=Users&action=deletewordtemplate&return_module=Users&return_action=listwordtemplates";
+		{rdelim}
+		else
+		{ldelim}
+			return false;
+		{rdelim}
+
+{rdelim}
+</script>
+<br>
+<table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
+<tbody><tr>
+        <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
+        <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%">
+<br>
+	<div align=center>
+	
+			{include file='SetMenu.tpl'}
+
+				<!-- DISPLAY -->
+				<table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
+	               		<form  name="massdelete" method="POST">
+	    			<input name="idlist" type="hidden">
+    				<input name="module" type="hidden" value="Users">
+    				<input name="parenttab" type="hidden" value="Settings">
+    				<input name="action" type="hidden" value="deletewordtemplate">
+				<tr>
+					<td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}mailmarge.gif" alt="Users" width="48" height="48" border=0 title="Users"></td>
+					<td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$UMOD.LBL_WORD_TEMPLATES} </b></td>
+				</tr>
+				<tr>
+					<td valign=top class="small">{$MOD.LBL_MAIL_MERGE_DESC}</td>
+				</tr>
+				</table>
+				
+				<br>
+				<table border=0 cellspacing=0 cellpadding=10 width=100% >
+				<tr>
+				<td>
+				
+					<table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
+					<tr>
+						<td class="big"><strong>{$UMOD.LBL_WORD_TEMPLATES}</strong></td>
+						<td class="small" align=right>&nbsp;
+						</td>
+					</tr>
+					</table>
+					
+					<table border=0 cellspacing=0 cellpadding=5 width=100% class="listTableTopButtons">
+					<tr>
+						<td class=small><input type="submit" value="{$UMOD.LBL_DELETE}" onclick="return massDelete();" class="crmButton delete small"></td>
+						<td class=small align=right><input class="crmButton create small" type="submit" value="{$UMOD.LBL_ADD_TEMPLATE}" name="profile"  onclick="this.form.action.value='upload'; this.form.parenttab.value='Settings'">&nbsp;&nbsp;</td>
+					</tr>
+					</table>
+						
+					<table border=0 cellspacing=0 cellpadding=5 width=100% class="listTable">
+					<tr>
+						<td width=2% class="colHeader small">#</td>
+						<td width=3% class="colHeader small">{$UMOD.LBL_LIST_SELECT}</td>
+						<td width=20% class="colHeader small">{$UMOD.LBL_TEMPLATE_FILE}</td>
+						<td width=50% class="colHeader small">{$UMOD.LBL_DESCRIPTION}</td>
+				        <td width=15% class="colHeader small">{$UMOD.LBL_MODULENAMES}</td>
+				        <td width=15% class="colHeader small">{$UMOD.LBL_LIST_TOOLS}</td>
+			          </tr>
+					{foreach item=template name=mailmerge from=$WORDTEMPLATES}
+					<tr>
+						<td class="listTableRow small" valign=top>{$smarty.foreach.mailmerge.iteration}</td>
+						<td class="listTableRow small" valign=top><input type="checkbox" class=small name="selected_id" value="{$template.templateid}" onClick=toggleSelectAll(this.name,"selectall")></td>
+						<td class="listTableRow small" valign=top><b>{$template.filename}</b></a></td>
+						<td class="listTableRow small" valign=top>{$template.description}</td>
+				        <td class="listTableRow small" valign=top>{$template.module}</td>
+				        <td class="listTableRow small" valign=top><a href="index.php?module=Users&action=downloadfile&record={$template.templateid}">{$UMOD.LBL_DOWNLOAD}</a></td>
+			          </tr>
+					{/foreach}
+					</table>
+					<table border=0 cellspacing=0 cellpadding=5 width=100% >
+					<tr>
+					  <td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td>
+					</tr>
+					</table>
+				</td>
+				</tr>
+				</table>
+			
+			
+			
+			</td>
+			</tr>
+			</table>
+		</td>
+	</tr>
+	</form>
+	</table>
+		
+	</div>
+</td>
+        <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
+   </tr>
+</tbody>
+</table>





More information about the vtigercrm-commits mailing list