[Vtigercrm-commits] [vtiger-commits] r5393 - in /vtigercrm/trunk/Smarty/templates: CreateView.tpl DetailView.tpl ListView.tpl salesEditView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 26 10:04:32 EDT 2006
Author: saraj
Date: Wed Apr 26 08:04:24 2006
New Revision: 5393
Log:
Included the file Buttons_List.tpl for security check in List/Detail/Edit/Create View - Ahmed
Modified:
vtigercrm/trunk/Smarty/templates/CreateView.tpl
vtigercrm/trunk/Smarty/templates/DetailView.tpl
vtigercrm/trunk/Smarty/templates/ListView.tpl
vtigercrm/trunk/Smarty/templates/salesEditView.tpl
Modified: vtigercrm/trunk/Smarty/templates/CreateView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CreateView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CreateView.tpl Wed Apr 26 08:04:24 2006
@@ -45,50 +45,7 @@
</script>
-<TABLE border=0 cellspacing=0 cellpadding=0 width=100% class=small>
-
-<tr><td style="height:2px"></td></tr>
-<tr>
- <td style="padding-left:10px;padding-right:10px" class="moduleName" nowrap>{$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$MODULE}</a></td>
- <td class="sep1" style="width:1px"></td>
- <td class=small >
- <table border=0 cellspacing=0 cellpadding=0>
- <tr>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
-
- <tr>
- <td style="padding-right:0px"><a href="index.php?module={$MODULE}&action=EditView&parenttab={$CATEGORY}"><img src="{$IMAGE_PATH}btnL3Add.gif" alt="Create {$SINGLE_MOD}..." title="Create {$SINGLE_MOD}..." border=0></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Search.gif" alt="Search in {$MODULE}..." title="Search in {$MODULE}..." border=0></a></a></td>
- </tr>
- </table>
- </td>
- <td nowrap width=50> </td>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
-
- <tr>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calendar.gif" alt="Open Calendar..." title="Open Calendar..." border=0></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Clock.gif" alt="Show World Clock..." title="Show World Clock..." border=0 onClick="fnvshobj(this,'wclock')"></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calc.gif" alt="Open Calculator..." title="Open Calculator..." border=0 onClick="fnvshobj(this,'calc')"></a></a></td>
- </tr>
- </table>
- </td>
- <td nowrap style="width:50%;padding:10px"> </td>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
-
- <tr>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-<tr><td style="height:2px"></td></tr>
-
-</TABLE>
+ {include file='Buttons_List.tpl'}
{*<!-- Contents -->*}
<table border=0 cellspacing=0 cellpadding=0 width=98% align=center>
Modified: vtigercrm/trunk/Smarty/templates/DetailView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/DetailView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/DetailView.tpl Wed Apr 26 08:04:24 2006
@@ -57,66 +57,7 @@
{include file='DetailViewHidden.tpl'}
</table>
-
-
-
-<TABLE border=0 cellspacing=0 cellpadding=0 width=100% class=small>
-<tr><td style="height:2px"></td></tr>
-<tr>
- <td style="padding-left:10px;padding-right:10px" class="moduleName" nowrap>{$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$MODULE}</a></td>
- <td class="sep1" style="width:1px"></td>
- <td class=small >
- <table border=0 cellspacing=0 cellpadding=0>
- <tr>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
- <tr>
- {if $MODULE eq 'Activities'}
- <td style="padding-right:0px"><a href="index.php?module={$MODULE}&action=EditView&parenttab={$CATEGORY}&activity_mode={$ACTIVITY_MODE}"><img src="{$IMAGE_PATH}btnL3Add.gif"alt="Create {$ACTIVITY_MODE}..." title="Create {$SINGLE_MOD}..." border=0></a></td>
- {else}
- <td style="padding-right:0px"><a href="index.php?module={$MODULE}&action=EditView&parenttab={$CATEGORY}"><img src="{$IMAGE_PATH}btnL3Add.gif"alt="Create {$SINGLE_MOD}..." title="Create {$SINGLE_MOD}..." border=0></a></td>
- {/if}
-
- <td style="padding-right:0px"><a href="#"><img src="themes/blue/images/btnL3Search.gif" alt="Search in {$SINGLE_MOD}..." title="Search in {$SINGLE_MOD}..." border=0></a></a></td>
- </tr>
- </table>
- </td>
- <td nowrap width=50> </td>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
- <tr>
- <td style="padding-right:0px"><a href="#"><img src="themes/blue/images/btnL3Calendar.gif" alt="Open Calendar..." title="Open Calendar..." border=0></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="themes/blue/images/btnL3Clock.gif" alt="Show World Clock..." title="Show World Clock..." border=0 onClick="fnvshobj(this,'wclock')"></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="themes/blue/images/btnL3Calc.gif" alt="Open Calculator..." title="Open Calculator..." border=0 onClick="fnvshobj(this,'calc')"></a></a></td>
- </tr>
- </table>
- </td>
-
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
- <tr>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- {if $MODULE eq 'Contacts' || $MODULE eq 'Leads' || $MODULE eq 'Accounts' || $MODULE eq 'Potentials' || $MODULE eq 'Products' || $MODULE eq 'Notes' || $MODULE eq 'Emails'}
- <td class="sep1" style="width:1px"></td>
- <td nowrap style="width:50%;padding:10px">
- {if $MODULE ne 'Notes' && $MODULE ne 'Emails'}
- <a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">Import {$MODULE}</a> |
- {/if}
- <a href="index.php?module={$MODULE}&action=Export&all=1">Export {$MODULE}</a>
- </td>
- {else}
- <td nowrap style="width:50%;padding:10px"> </td>
- {/if}
-
-</tr>
-<tr><td style="height:2px"></td></tr>
-
-</TABLE>
+ {include file='Buttons_List.tpl'}
<!-- Contents -->
<table border=0 cellspacing=0 cellpadding=0 width=98% align=center>
Modified: vtigercrm/trunk/Smarty/templates/ListView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListView.tpl Wed Apr 26 08:04:24 2006
@@ -38,69 +38,8 @@
</script>
-
-
-<TABLE border=0 cellspacing=0 cellpadding=0 width=100% class=small>
-
-<tr><td style="height:2px"></td></tr>
-<tr>
- <td style="padding-left:10px;padding-right:10px" class="moduleName" nowrap>{$CATEGORY} > {$MODULE}</td>
- <td class="sep1" style="width:1px"></td>
- <td class=small >
- <table border=0 cellspacing=0 cellpadding=0>
- <tr>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
-
- <tr>
- {if $MODULE eq 'Activities'}
- <td style="padding-right:0px"><a href="#" id="showSubMenu" onMouseOver="moveMe('subMenu');searchshowhide('subMenu');"><img src="{$IMAGE_PATH}btnL3Add.gif" alt="Create {$MODULE}..." title="Create {$MODULE}..." border=0></a></td>
- {else}
- <td style="padding-right:0px"><a href="index.php?module={$MODULE}&action=EditView&return_action=DetailView&parenttab={$CATEGORY}"><img src="{$IMAGE_PATH}btnL3Add.gif" alt="Create {$MODULE}..." title="Create {$MODULE}..." border=0></a></td>
- {/if}
- <td style="padding-right:0px"><a href="#" onClick="moveMe('searchAcc');searchshowhide('searchAcc')" ><img src="{$IMAGE_PATH}btnL3Search.gif" alt="Search in {$MODULE}..." title="Search in {$MODULE}..." border=0></a></a></td>
- <td style="padding-right:0px"><a href="#" onClick='return window.open("index.php?module=Contacts&action=vtchat","Chat","width=450,height=400,resizable=1,scrollbars=1");'><img src="{$IMAGE_PATH}tbarChat.gif" alt="Chat..." title="Chat..." border=0></a>
- </td>
- </tr>
- </table>
- </td>
- <td nowrap width=50> </td>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
-
- <tr>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calendar.gif" alt="Open Calendar..." title="Open Calendar..." border=0></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Clock.gif" alt="Show World Clock..." title="Show World Clock..." border=0 onClick="fnvshobj(this,'wclock')"></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calc.gif" alt="Open Calculator..." title="Open Calculator..." border=0 onClick="fnvshobj(this,'calc')"></a></a></td>
- </tr>
- </table>
- </td>
-
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
-
- <tr>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- {if $MODULE eq 'Contacts' || $MODULE eq 'Leads' || $MODULE eq 'Accounts' || $MODULE eq 'Potentials' || $MODULE eq 'Products' || $MODULE eq 'Notes' || $MODULE eq 'Emails'}
- <td class="sep1" style="width:1px"></td>
- <td nowrap style="width:50%;padding:10px">
- {if $MODULE ne 'Notes' && $MODULE ne 'Emails'}
- <a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index&parenttab={$CATEGORY}">Import {$MODULE}</a> |
- {/if}
- <a href="index.php?module={$MODULE}&action=Export&all=1">Export {$MODULE}</a>
- </td>
- {else}
- <td nowrap style="width:50%;padding:10px"> </td>
- {/if}
-</tr>
-<tr><td style="height:2px"></td></tr>
-
-</TABLE>
+ {include file='Buttons_List.tpl'}
+
<div id="subMenuBg" class="subMenu" style="position:absolute;display:none;filter:Alpha(Opacity=90);-moz-opacit
y:0.90;z-index:50"></div>
<div id="subMenu" style="z-index:1;display:none;position:absolute;">
Modified: vtigercrm/trunk/Smarty/templates/salesEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/salesEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/salesEditView.tpl Wed Apr 26 08:04:24 2006
@@ -42,54 +42,8 @@
{rdelim}
{rdelim}
</script>
-<TABLE border=0 cellspacing=0 cellpadding=0 width=100% class=small>
-
-<tr><td style="height:2px"></td></tr>
-<tr>
- <td style="padding-left:10px;padding-right:10px" class="moduleName" nowrap>{$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$MODULE}</a></td>
- <td class="sep1" style="width:1px"></td>
- <td class=small >
- <table border=0 cellspacing=0 cellpadding=0>
- <tr>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
-
- <tr>
- {if $MODULE eq 'Activities'}
- <td style="padding-right:0px"><a href="index.php?module={$MODULE}&action=EditView&parenttab={$CATEGORY}&activity_mode={$ACTIVITY_MODE}"><img src="{$IMAGE_PATH}btnL3Add.gif" alt="Create {$ACTIVITY_MODE}..." title="Create {$SINGLE_MOD}..." border=0></a></td>
- {else}
- <td style="padding-right:0px"><a href="index.php?module={$MODULE}&action=EditView&parenttab={$CATEGORY}"><img src="{$IMAGE_PATH}btnL3Add.gif" alt="Create {$SINGLE_MOD}..." title="Create {$SINGLE_MOD}..." border=0></a></td>
- {/if}
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Search.gif" alt="Search in {$MODULE}..." title="Search in {$MODULE}..." border=0></a></a></td>
- </tr>
- </table>
- </td>
- <td nowrap width=50> </td>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
-
- <tr>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calendar.gif" alt="Open Calendar..." title="Open Calendar..." border=0></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Clock.gif" alt="Show World Clock..." title="Show World Clock..." border=0 onClick="fnvshobj(this,'wclock')"></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calc.gif" alt="Open Calculator..." title="Open Calculator..." border=0 onClick="fnvshobj(this,'calc')"></a></a></td>
- </tr>
- </table>
- </td>
- <td nowrap style="width:50%;padding:10px"> </td>
- <td>
- <table border=0 cellspacing=0 cellpadding=5>
-
- <tr>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-<tr><td style="height:2px"></td></tr>
-
-</TABLE>
+
+ {include file='Buttons_List.tpl'}
{*<!-- Contents -->*}
<table border=0 cellspacing=0 cellpadding=0 width=98% align=center>
More information about the vtigercrm-commits
mailing list