[Vtigercrm-commits] [vtiger-commits] r9958 - in /vtigercrm/branches/5.0.3: Smarty/templates/ modules/Settings/

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Dec 12 07:15:00 EST 2006


Author: richie
Date: Tue Dec 12 05:14:47 2006
New Revision: 9958

Log:
Email templates moved to settings module

Added:
    vtigercrm/branches/5.0.3/modules/Settings/createemailtemplate.php
    vtigercrm/branches/5.0.3/modules/Settings/deleteemailtemplate.php   (with props)
    vtigercrm/branches/5.0.3/modules/Settings/detailviewemailtemplate.php
    vtigercrm/branches/5.0.3/modules/Settings/editemailtemplate.php
    vtigercrm/branches/5.0.3/modules/Settings/listemailtemplates.php
    vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php   (with props)
Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/CreateEmailTemplate.tpl
    vtigercrm/branches/5.0.3/Smarty/templates/DetailViewEmailTemplate.tpl
    vtigercrm/branches/5.0.3/Smarty/templates/ListEmailTemplates.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/CreateEmailTemplate.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/CreateEmailTemplate.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/CreateEmailTemplate.tpl Tue Dec 12 05:14:47 2006
@@ -135,15 +135,15 @@
 				<form action="index.php" method="post" name="templatecreate" onsubmit="return check4null(templatecreate);">  
 				<input type="hidden" name="action">
 				<input type="hidden" name="mode" value="{$EMODE}">
-				<input type="hidden" name="module" value="Users">
+				<input type="hidden" name="module" value="Settings">
 				<input type="hidden" name="templateid" value="{$TEMPLATEID}">
 				<input type="hidden" name="parenttab" value="PARENTTAB}">
 				<tr>
-					<td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ViewTemplate.gif" alt="Users" width="45" height="60" border=0 title="Users"></td>
+					<td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ViewTemplate.gif" alt="Settings" width="45" height="60" border=0 title="Settings"></td>
 				{if $EMODE eq 'edit'}
-					<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=listemailtemplates&parenttab=Settings">{$UMOD.LBL_EMAIL_TEMPLATES}</a> &gt; {$MOD.LBL_EDIT} &quot;{$TEMPLATENAME}&quot; </b></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=Settings&action=listemailtemplates&parenttab=Settings">{$UMOD.LBL_EMAIL_TEMPLATES}</a> &gt; {$MOD.LBL_EDIT} &quot;{$TEMPLATENAME}&quot; </b></td>
 				{else}
-					<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=listemailtemplates&parenttab=Settings">{$UMOD.LBL_EMAIL_TEMPLATES}</a> &gt; {$MOD.LBL_CREATE_EMAIL_TEMPLATES} </b></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=Settings&action=listemailtemplates&parenttab=Settings">{$UMOD.LBL_EMAIL_TEMPLATES}</a> &gt; {$MOD.LBL_CREATE_EMAIL_TEMPLATES} </b></td>
 				{/if}
 					
 				</tr>

Modified: vtigercrm/branches/5.0.3/Smarty/templates/DetailViewEmailTemplate.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/DetailViewEmailTemplate.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/DetailViewEmailTemplate.tpl Tue Dec 12 05:14:47 2006
@@ -24,14 +24,14 @@
 				<table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
 		    		<form method="post" action="index.php" name="etemplatedetailview">  
 				<input type="hidden" name="action" value="editemailtemplate">
-				<input type="hidden" name="module" value="Users">
+				<input type="hidden" name="module" value="Settings">
 				<input type="hidden" name="templatename" value="{$TEMPLATENAME}">
 				<input type="hidden" name="templateid" value="{$TEMPLATEID}">
 				<input type="hidden" name="foldername" value="{$FOLDERNAME}">
 				<input type="hidden" name="parenttab" value="{$PARENTTAB}">
 				<tr>
 					<td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ViewTemplate.gif" width="45" height="60" border=0 ></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=listemailtemplates&parenttab=Settings">{$UMOD.LBL_EMAIL_TEMPLATES}</a> &gt; {$MOD.LBL_VIEWING} &quot;{$TEMPLATENAME}&quot; </b></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=Settings&action=listemailtemplates&parenttab=Settings">{$UMOD.LBL_EMAIL_TEMPLATES}</a> &gt; {$MOD.LBL_VIEWING} &quot;{$TEMPLATENAME}&quot; </b></td>
 				</tr>
 				<tr>
 					<td valign=top class="small">{$UMOD.LBL_EMAIL_TEMPLATE_DESC}</td>

Modified: vtigercrm/branches/5.0.3/Smarty/templates/ListEmailTemplates.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ListEmailTemplates.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ListEmailTemplates.tpl Tue Dec 12 05:14:47 2006
@@ -90,7 +90,7 @@
        {rdelim}
 		if(confirm("Are you sure you want to delete the selected "+xx+" records ?"))
 		{ldelim}
-	        document.massdelete.action="index.php?module=Users&action=deleteemailtemplate&return_module=Users&return_action=listemailtemplates";
+	        document.massdelete.action="index.php?module=Settings&action=deleteemailtemplate&return_module=Settings&return_action=listemailtemplates";
 		{rdelim}
 		else
 		{ldelim}
@@ -113,7 +113,7 @@
 				<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="module" type="hidden" value="Settings">
     				<input name="action" type="hidden" value="deleteemailtemplate">
 				<tr>
 					<td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ViewTemplate.gif" width="45" height="60" border=0></td>
@@ -156,11 +156,11 @@
 						<td class="listTableRow small" valign=top>{$smarty.foreach.emailtemplate.iteration}</td>
 						<td class="listTableRow small" valign=top><input type="checkbox" name="selected_id" value="{$template.templateid}" onClick="ifselected(); " class=small></td>
 						<td class="listTableRow small" valign=top>
-							<a href="index.php?module=Users&action=detailviewemailtemplate&parenttab=Settings&templateid={$template.templateid}" ><b>{$template.templatename}</b></a>
+							<a href="index.php?module=Settings&action=detailviewemailtemplate&parenttab=Settings&templateid={$template.templateid}" ><b>{$template.templatename}</b></a>
 						</td>
 						<td class="listTableRow small" valign=top>{$template.description}&nbsp;</td>
 					        <td class="listTableRow small" valign=top>
-							<a href="index.php?module=Users&action=detailviewemailtemplate&parenttab=Settings&templateid={$template.templateid}">{$UMOD.LNK_SAMPLE_EMAIL}</a>
+							<a href="index.php?module=Settings&action=detailviewemailtemplate&parenttab=Settings&templateid={$template.templateid}">{$UMOD.LNK_SAMPLE_EMAIL}</a>
 						</td>
 					</tr>
 					{/foreach}	





More information about the vtigercrm-commits mailing list