[Vtigercrm-commits] [vtiger-commits] r7284 - in /vtigercrm/trunk/Smarty/templates: GroupDetailview.tpl GroupEditView.tpl ListGroup.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 20 02:47:34 EDT 2006
Author: saraj
Date: Tue Jun 20 00:47:29 2006
New Revision: 7284
Log:
Updated the groups tpl file -ahmed
Modified:
vtigercrm/trunk/Smarty/templates/GroupDetailview.tpl
vtigercrm/trunk/Smarty/templates/GroupEditView.tpl
vtigercrm/trunk/Smarty/templates/ListGroup.tpl
Modified: vtigercrm/trunk/Smarty/templates/GroupDetailview.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/GroupDetailview.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/GroupDetailview.tpl Tue Jun 20 00:47:29 2006
@@ -9,121 +9,121 @@
*
********************************************************************************/
-->*}
-<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">
- <form action="index.php" method="post" name="new" id="form">
-<input type="hidden" name="module" value="Users">
-<input type="hidden" name="action" value="createnewgroup">
-<input type="hidden" name="groupId" value="{$GROUPID}">
-<input type="hidden" name="mode" value="edit">
-<input type="hidden" name="parenttab" value="Settings">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
- <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> > {$MOD.LBL_USER_MANAGEMENT} > {$CMOD.LBL_GROUP_MEMBERS_LIST}</b> </span>
- <hr noshade="noshade" size="1" />
- </td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td width="95%" style="padding-left:20px;" valign="top"><table width="95%" cellpadding="5" cellspacing="0" class="leadTable" align="center">
- <tr>
- <td style="padding:5px;border-bottom:2px dotted #CCCCCC;" width="5%" ><img src="{$IMAGE_PATH}groups.gif" width="48" height="48" align="absmiddle" /> </td>
- <td style="padding:5px;border-bottom:2px dotted #AAAAAA;"><span class="genHeaderGrayBig">{$GROUPINFO.0.groupname} {$APP.LBL_GROUP}</span><br />
- <span class="big">{$CMOD.LBL_DETAIL_VIEW} {$GROUPINFO.0.groupname} {$APP.LBL_GROUP}</span> </td>
- </tr>
- <tr>
- <td colspan="2"> </td>
- </tr>
- <tr>
- <td colspan="2" ><table width="100%" cellpadding="5" cellspacing="0" border="0" >
- <tr>
- <td colspan="4" class="detailedViewHeader"><b>{$CMOD.LBL_GROUP_DETAILS}</b></td>
- </tr>
- <tr>
- <td class="dvtCellLabel" width="5%"> </td>
- <td class="dvtCellLabel" align="right" width="25%"><b>{$CMOD.LBL_GROUP_NAME} {$CMOD.LBL_COLON}</b></td>
- <td class="dvtCellInfo" align="left" width="25%">{$GROUPINFO.0.groupname}</td>
- <td class="dvtCellInfo" width="45%"> </td>
- </tr>
- <tr>
- <td class="dvtCellLabel" width="5%"> </td>
- <td class="dvtCellLabel" align="right"><b>{$CMOD.LBL_DESCRIPTION} {$CMOD.LBL_COLON}</b></td>
- <td colspan="2" align="left" class="dvtCellInfo">{$GROUPINFO.0.description}</td>
- </tr>
- <tr>
- <td colspan="4" class="dvtCellInfo"> </td>
- </tr>
- <tr>
- <td colspan="4" class="detailedViewHeader"><b>{$CMOD.LBL_MEMBER_LIST}</b></td>
- </tr>
- <tr>
- {foreach key=type item=details from=$GROUPINFO.1}
- {if $details.0 neq ''}
- <tr>
- {if $type == "User"}
- <td class="dvtCellLabel" valign="top" align="left" width="5%">
- <img src="{$IMAGE_PATH}user_icon.gif" align="absmiddle">
- </td>
- {/if}
- {if $type == "Role" }
- <td class="dvtCellLabel" valign="top" align="left" width="5%">
- <img src="{$IMAGE_PATH}roles_icon.gif" align="absmiddle">
- </td>
- {/if}
- {if $type == "Role and Subordinates" }
- <td class="dvtCellLabel" valign="top" align="left" width="5%">
- <img src="{$IMAGE_PATH}roles_icon.gif" align="absmiddle">
- </td>
- {/if}
- {if $type == "Group" }
- <td class="dvtCellLabel" valign="top" align="left" width="5%">
- <img src="{$IMAGE_PATH}groups_icon.gif" align="absmiddle">
- </td>
- {/if}
- <td class="dvtCellLabel" valign="top" align="right" width="15%"><b>{$type} {$CMOD.LBL_COLON} </b></td>
- <td class="dvtCellInfo" width="45%" colspan="2">
- {foreach item=element from=$details}
- <a href="index.php?module=Users&action={$element.memberaction}&{$element.actionparameter}={$element.memberid}">{$element.membername}</a><br />
- {/foreach}
- </td>
- </tr>
- {/if}
- {/foreach}
- <tr>
- <td colspan="4" class="dvtCellInfo" align="center">
- <!-- <input title="Back" accessKey="C" class="classBtn" onclick="window.history.back();" type="button" name="New" value=" < Back " > -->
- <input value=" {$APP.LBL_EDIT_BUTTON_LABEL} " title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="classBtn" type="submit" name="Edit" >
- <input value=" {$APP.LBL_DELETE_BUTTON_LABEL} " title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="classBtn" type="button" name="Delete" onClick="deletegroup('{$GROUPID}','{$GROUP_NAME}')";>
+<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" method="post" name="new" id="form">
+ <input type="hidden" name="module" value="Users">
+ <input type="hidden" name="action" value="createnewgroup">
+ <input type="hidden" name="groupId" value="{$GROUPID}">
+ <input type="hidden" name="mode" value="edit">
+ <input type="hidden" name="parenttab" value="Settings">
+ <tr>
+ <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ico-groups.gif" width="48" height="48" 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=listgroups&parenttab=Settings">{$CMOD.LBL_GROUPS}</a> > {$CMOD.LBL_VIEWING} "{$GROUPINFO.0.groupname}" </b></td>
+ </tr>
+ <tr>
+ <td valign=top class="small">{$CMOD.LBL_VIEWING} {$CMOD.LBL_PROPERTIES} "{$GROUPINFO.0.groupname}`" {$CMOD.LBL_GROUP_NAME} </td>
+ </tr>
+ </table>
+
+ <br>
+ <table border=0 cellspacing=0 cellpadding=10 width=100% >
+ <tr>
+ <td valign=top>
+
+ <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
+ <tr>
+ <td class="big"><strong>{$CMOD.LBL_PROPERTIES} "{$GROUPINFO.0.groupname}" </strong></td>
+ <td><div align="right">
+ <input value=" {$APP.LBL_EDIT_BUTTON_LABEL} " title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="crmButton small edit" type="submit" name="Edit" >
+ </div></td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellspacing="0" cellpadding="5">
+ <tr class="small">
+ <td width="15%" class="small cellLabel"><strong>{$CMOD.LBL_GROUP_NAME}</strong></td>
+ <td width="85%" class="cellText" >{$GROUPINFO.0.groupname}</td>
+ </tr>
+ <tr class="small">
+ <td class="small cellLabel"><strong>{$CMOD.LBL_DESCRIPTION}</strong></td>
+ <td class="cellText">{$GROUPINFO.0.description}</td>
+ </tr>
+ <tr class="small">
+ <td valign=top class="cellLabel"><strong>{$CMOD.LBL_MEMBER}</strong></td>
+ <td class="cellText">
+ <table width="70%" border="0" cellspacing="0" cellpadding="5">
+ <tr class="small">
+ {foreach key=type item=details from=$GROUPINFO.1}
+ {if $details.0 neq ''}
+ {if $type == "User"}
+ <td colspan="2" class="cellBottomDotLine">
+ <div align="left"><strong>{$MOD.LBL_USERS}</strong></div>
+ </td>
+ {/if}
+ {if $type == "Role"}
+ <td colspan="2" class="cellBottomDotLine">
+ <div align="left"><strong>{$MOD.LBL_ROLES}</strong></div>
+ </td>
+ {/if}
+ {if $type == "Role and Subordinates"}
+ <td colspan="2" class="cellBottomDotLine">
+ <div align="left"><strong>{$type}</strong></div>
+ </td>
+ {/if}
+ {if $type == "Group"}
+ <td colspan="2" class="cellBottomDotLine">
+ <div align="left"><strong>{$CMOD.LBL_GROUPS}</strong></div>
+ </td>
+ {/if}
+ </tr>
+ <tr class="small">
+
+ <td width="16"><div align="center"></div></td>
+ <td>
+ {foreach item=element from=$details}
+ <a href="index.php?module=Users&action={$element.memberaction}&{$element.actionparameter}={$element.memberid}">{$element.membername}</a><br />
+ {/foreach}
+ </td>
+ </tr>
+ {/if}
+ {/foreach}
+ </table></td>
+ </tr>
+ </table>
+ <br>
+ <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>
- <tr>
- <td colspan="2"> </td>
- </tr>
- </table></td>
- </tr>
- </table></td>
-</tr>
-</table></from>
+ </tr>
+ </table>
+
+
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </form>
+ </table>
+
+ </div>
</td>
-</tr>
+ <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
+ </tr>
+</tbody>
</table>
-<script>
-function deletegroup(id,groupname)
-{ldelim}
- if(confirm("Are you sure you want to delete the group "+groupname+" ?"))
- document.location.href="index.php?module=Users&action=DeleteGroup&groupId="+id;
- else
- return false;
-{rdelim}
-</script>
- {include file='SettingsSubMenu.tpl'}
-
Modified: vtigercrm/trunk/Smarty/templates/GroupEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/GroupEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/GroupEditView.tpl Tue Jun 20 00:47:29 2006
@@ -9,8 +9,7 @@
*
********************************************************************************/
-->*}
-<script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script>
-<style type="text/css">@import url(themes/blue/style.css);</style>
+<script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script>
<script language="javascript">
function dup_validation()
@@ -146,134 +145,160 @@
{rdelim}
</script>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr>
- {include file='SettingsMenu.tpl'}
-<td width="75%" valign="top">
-
-<form name="newGroupForm" action="index.php" method="post">
-<input type="hidden" name="module" value="Users">
-<input type="hidden" name="action" value="SaveGroup">
-<input type="hidden" name="mode" value="{$MODE}">
-<input type="hidden" name="parenttab" value="Settings">
-<input type="hidden" name="groupId" value="{$GROUPID}">
-<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
-<tr>
-<td class="showPanelBg" valign="top" width="100%" style="padding-left:20px; "><br />
-{if $MODE eq 'edit'}
- <span class="lvtHeaderText"><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a> > {$MOD.LBL_USER_MANAGEMENT} > {$CMOD.LBL_EDIT_GROUP}</b></span>
-{else}
- <span class="lvtHeaderText"><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a> > {$MOD.LBL_USER_MANAGEMENT} > {$CMOD.LBL_CREATE_NEW_GROUP}</b></span>
-{/if}
-<hr noshade="noshade" size="1"/>
-</td>
-</tr>
-<tr>
-<td width="75%" style="padding-left:20px;" valign="top">
-
- <table align="center" border="0" cellpadding="5" cellspacing="0" width="100%" class="leadTable">
- <tbody>
- <tr>
- <td align="left" style="padding:10px;border-bottom:1px dashed #CCCCCC;" colspan="3">
- <img src="{$IMAGE_PATH}groups.gif" align="absmiddle">
+<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="newGroupForm" action="index.php" method="post">
+ <input type="hidden" name="module" value="Users">
+ <input type="hidden" name="action" value="SaveGroup">
+ <input type="hidden" name="mode" value="{$MODE}">
+ <input type="hidden" name="parenttab" value="Settings">
+ <input type="hidden" name="groupId" value="{$GROUPID}">
+ <tr>
+ <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ico-groups.gif" alt="Groups" width="48" height="48" border=0 title="Roles"></td>
{if $MODE eq 'edit'}
- <span class="genHeaderGray">{$CMOD.LBL_EDIT_GROUP}</span>
+ <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=listgroups&parenttab=Settings">{$CMOD.LBL_GROUPS}</a> > {$MOD.LBL_EDIT} "{$GROUPNAME}" </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=listgroups&parenttab=Settings">{$CMOD.LBL_GROUPS}</a> > {$CMOD.LBL_CREATE_NEW_GROUP}</b></td>
+ {/if}
+ </tr>
+ <tr>
+ {if $MODE eq 'edit'}
+ <td valign=top class="small">{$MOD.LBL_EDIT} {$CMOD.LBL_PROPERTIES} "{$GROUPNAME}" {$CMOD.LBL_GROUP}</td>
{else}
- <span class="genHeaderGray">{$CMOD.LBL_CREATE_NEW_GROUP}</span>
+ <td valign=top class="small">{$CMOD.LBL_NEW_GROUP}</td>
{/if}
+ </tr>
+ </table>
+
+ <br>
+ <table border=0 cellspacing=0 cellpadding=10 width=100% >
+ <tr>
+ <td valign=top>
+
+ <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
+ <tr>
+ {if $MODE eq 'edit'}
+ <td class="big"><strong>{$CMOD.LBL_PROPERTIES} "{$GROUPNAME}" </strong></td>
+ {else}
+ <td class="big"><strong>{$CMOD.LBL_NEW_GROUP}</strong></td>
+ {/if}
+ <td><div align="right">
+ {if $MODE eq 'edit'}
+ <input type="button" class="crmButton small save" name="add" value=" {$APP.LBL_SAVE_BUTTON_LABEL} " onClick="return validate()">
+ {else}
+ <input type="button" class="crmButton create small" name="add" value="{$CMOD.LBL_ADD_GROUP_BUTTON}" onClick="return validate()">
+ {/if}
+
+ <input type="button" class="crmButton cancel small" name="cancel" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" onClick="window.history.back()">
+ </div></td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellspacing="0" cellpadding="5">
+ <tr class="small">
+ <td width="15%" class="small cellLabel"><font color="red">*</font><strong>{$CMOD.LBL_GROUP_NAME}</strong></td>
+ <td width="85%" class="cellText" ><input id="groupName" name="groupName" type="text" value="{$GROUPNAME}" class="detailedViewTextBox"></td>
+ </tr>
+ <tr class="small">
+ <td class="small cellLabel"><strong>{$CMOD.LBL_DESCRIPTION}</strong></td>
+ <td class="cellText"><input name="description" type="text" value="{$DESCRIPTION}" class="detailedViewTextBox"> </td>
+ </tr>
+ <tr class="small">
+ <td colspan="2" valign=top class="cellLabel"><strong>{$CMOD.LBL_MEMBER}</strong> </td>
+ </tr>
+ <tr class="small">
+ <td colspan="2" valign=top class="cellText">
+ <br>
+ <table width="95%" border="0" align="center" cellpadding="5" cellspacing="0">
+ <tr>
+ <td width="40%" valign=top class="cellBottomDotLinePlain small"><strong>{$CMOD.LBL_MEMBER_AVLBL}</strong></td>
+ <td width="10%"> </td>
+ <td width="40%" class="cellBottomDotLinePlain small"><strong>{$CMOD.LBL_MEMBER_SELECTED}</strong></td>
+ </tr>
+ <tr>
+ <td valign=top class="small">
+ {$CMOD.LBL_ENTITY}:
+ <select id="memberType" name="memberType" class="small" onchange="showOptions()">
+ <option value="groups" selected>{$CMOD.LBL_GROUPS}</option>
+ <option value="roles">{$CMOD.LBL_ROLES}</option>
+ <option value="rs">{$CMOD.LBL_ROLES_SUBORDINATES}</option>
+ <option value="users">{$MOD.LBL_USERS}</option>
+ </select>
+ <input type="hidden" name="findStr" class="small">
+ </td>
+ <td width="50"> </td>
+ <td class="small"> </td>
+ </tr>
+ <tr class=small>
+ <td valign=top>{$CMOD.LBL_MEMBER} {$CMOD.LBL_OF} {$CMOD.LBL_ENTITY}<br>
+ <select id="availList" name="availList" multiple size="10" class="small crmFormList">
+ </select>
+ <input type="hidden" name="selectedColumnsString"/>
+
+ </td>
+ <td width="50"><div align="center">
+ <input type="button" name="Button" value=" ›› " onClick="addColumn()" class="crmButton small"/><br /><br />
+ <input type="button" name="Button1" value=" ‹‹ " onClick="delColumn()" class="crmButton small"/>
+ </div></td>
+ <td class="small" style="background-color:#ddFFdd" valign=top>{$CMOD.LBL_MEMBER} {$CMOD.LBL_OF} "{$GROUPNAME}" <br>
+ <select id="selectedColumns" name="selectedColumns" multiple size="10" class="small crmFormList">
+ {foreach item=element from=$MEMBER}
+ <option value="{$element.0}">{$element.1}</option>
+ {/foreach}
+ </select></td>
+ </tr>
+ <tr>
+ <td colspan=3>
+ <ul class=small>
+ <li>{$CMOD.LBL_GROUP_MESG1}</li>
+ <li>{$CMOD.LBL_GROUP_MESG2}</li>
+ <li>{$CMOD.LBL_GROUP_MESG3}</li>
+ </ul>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ </table>
+ <br>
+ <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>
+ <tr>
+ <td valign=top> </td>
+ </tr>
+ </table>
+
+
+
</td>
- </tr>
- <tr>
- <td width="10%"></td>
- <td width="10%"> </td>
- <td width="80%"> </td>
- </tr>
- <tr>
- <td align="right"><img src="{$IMAGE_PATH}one.gif" align="absmiddle"> </td>
- <td style="padding-right: 10px;" align="right" width="20%">
- <b>{$CMOD.LBL_GROUP_NAME} {$CMOD.LBL_COLON}</b></td>
- <td style="padding-left: 10px;" align="left" width="80%">
- <input id="groupName" name="groupName" class="importBox" style="width:40%;" type="text" value="{$GROUPNAME}">
- </td>
- </tr>
- <tr><td colspan="3"> </td></tr>
- <tr>
- <td align="right"><img src="{$IMAGE_PATH}two.gif" align="absmiddle"></td>
- <td style="padding-right: 10px;" align="right" valign="top">
- <b>{$CMOD.LBL_DESCRIPTION} {$CMOD.LBL_COLON} </b></td>
- <td style="padding-left: 10px;" align="left">
- <textarea name="description" class="txtBox" style="width:40%;" >{$DESCRIPTION}</textarea>
- </td>
- </tr>
- <tr><td colspan="3"> </td></tr>
- <tr>
- <td align="right"><img src="{$IMAGE_PATH}three.gif" align="absmiddle"></td>
- <td style="padding-right: 10px;" align="right">
- <b>{$APP.LBL_VIEW} </b></td>
- <td><select id="memberType" name="memberType" onchange="showOptions()">
- <option value="groups" selected>{$CMOD.LBL_GROUPS}</option>
- <option value="roles">{$CMOD.LBL_ROLES}</option>
- <option value="rs">{$CMOD.LBL_ROLES_SUBORDINATES}</option>
- <option value="users">{$MOD.LBL_USERS}</option>
- </select>
- <input type="text" name="findStr">
- <input type="button" name="Find" value="{$APP.LBL_FIND_BUTTON}" class="classBtn" onClick="showOptions()">
+ </tr>
+ </table>
</td>
</tr>
- <tr><td colspan="3"> </td></tr>
- <tr>
- <td colspan="3">
- <table align="center" border="0" cellpadding="0" cellspacing="0" width="75%">
- <tbody>
- <tr>
- <td align="center"><b>{$CMOD.LBL_MEMBER_AVLBL}</b><br>
- <select id="availList" name="availList" multiple size="10" style="width:200px; ">
- </select>
- <input type="hidden" name="selectedColumnsString"/>
- </td>
- <td align="center">
- <input type="button" name="Button" value=" ›› " onClick="addColumn()" class="classBtn"/><br /><br />
- <input type="button" name="Button1" value=" ‹‹ " onClick="delColumn()" class="classBtn"/>
- </td>
- <td align="center"><b>{$CMOD.LBL_MEMBER_SELECTED}</b><br>
- <select id="selectedColumns" name="selectedColumns" multiple size="10" style="width:200px; ">
- {foreach item=element from=$MEMBER}
- <option value="{$element.0}">{$element.1}</option>
- {/foreach}
- </select>
-
- </td>
- </tr>
- </tbody></table></td>
- </tr>
-
- <tr>
- <td colspan="3" style="border-bottom: 1px dashed rgb(204, 204, 204);"> </td>
- </tr>
- <tr>
- <td colspan="3" align="center">
- {if $MODE eq 'edit'}
- <input type="button" class="classBtn" name="add" value=" {$APP.LBL_SAVE_BUTTON_LABEL} " onClick="return validate()">
- {else}
- <input type="button" class="classBtn" name="add" value="{$CMOD.LBL_ADD_GROUP_BUTTON}" onClick="return validate()">
- {/if}
-
- <input type="button" class="classBtn" name="cancel" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" onClick="window.history.back()">
- </td>
- </tr>
- </tbody></table>
-
-</tr>
-</table>
-</form>
+ </form>
+ </table>
+
+ </div>
+
</td>
-
-</tr>
-</table>
-
-</td>
-<td width="1%" style="border-right:1px dotted #CCCCCC;"> </td>
-</tr>
+ <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
+ </tr>
+</tbody>
</table>
<script language="JavaScript" type="text/JavaScript">
var moveupLinkObj,moveupDisabledObj,movedownLinkObj,movedownDisabledObj;
@@ -345,11 +370,3 @@
setObjects();
showOptions();
</script>
-</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
- {include file='SettingsSubMenu.tpl'}
-
Modified: vtigercrm/trunk/Smarty/templates/ListGroup.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListGroup.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListGroup.tpl Tue Jun 20 00:47:29 2006
@@ -9,73 +9,100 @@
*
********************************************************************************/
-->*}
-<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">
+<script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script>
-<table width="95%" border="0" cellpadding="0" cellspacing="0" align="center">
-<form action="index.php" method="post" name="new" id="form">
-<input type="hidden" name="module" value="Users">
-<input type="hidden" name="action" value="createnewgroup">
-<input type="hidden" name="mode" value="create">
-<input type="hidden" name="parenttab" value="Settings">
-<tr>
-<td class="showPanelBg" valign="top" width="100%" colspan="3" style="padding-left:20px; "><br/>
-<span class="lvtHeaderText"><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a> > {$MOD.LBL_USER_MANAGEMENT} > {$CMOD.LBL_GROUP_NAME}</b></span>
-<hr noshade="noshade" size="1" /><br>
-</td>
-</tr>
-<tr>
-<td valign="top" class="leadTable" style="padding:20px; ">
-<table width="100%" cellpadding="5" cellspacing="0" >
- <tr>
- <td style="border-bottom:1px dashed #CCCCCC;" width="50%">
- <img src="{$IMAGE_PATH}groups.gif" align="absmiddle"> <span class="genHeaderGrayBig">{$CMOD.LBL_GROUP_NAME}</span>
- </td>
- <td style="border-bottom:1px dashed #CCCCCC;" width="50%" align="right">
- <input title="{$CMOD.LBL_NEW_GROUP}" class="classBtn" type="submit" name="New" value="{$CMOD.LBL_NEW_GROUP}"/>
+<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" method="post" name="new" id="form">
+ <input type="hidden" name="module" value="Users">
+ <input type="hidden" name="action" value="createnewgroup">
+ <input type="hidden" name="mode" value="create">
+ <input type="hidden" name="parenttab" value="Settings">
+ <tr>
+ <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ico-groups.gif" alt="{$MOD.LBL_GROUPS}" width="48" height="48" border=0 title="{$MOD.LBL_GROUPS}"></td>
+ <td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$CMOD.LBL_GROUPS}</b></td>
+ </tr>
+ <tr>
+ <td valign=top class="small">{$MOD.LBL_GROUP_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>{$MOD.LBL_GROUP_LIST}</strong></td>
+ <td class="small" align=right>{$CMOD.LBL_TOTAL} {$GRPCNT} {$CMOD.LBL_GROUPS} </td>
+ </tr>
+ </table>
+ <table border=0 cellspacing=0 cellpadding=5 width=100% class="listTableTopButtons">
+
+ <tr>
+ <td class=small align=right>
+ <input title="{$CMOD.LBL_NEW_GROUP}" class="crmButton create small" type="submit" name="New" value="{$CMOD.LBL_NEW_GROUP}"/>
+ </td>
+ </tr>
+ </table>
+
+ <table border=0 cellspacing=0 cellpadding=5 width=100% class="listTable">
+ <tr>
+ <td class="colHeader small" valign=top width=2%>#</td>
+ <td class="colHeader small" valign=top width=8%>{$LIST_HEADER.0}</td>
+ <td class="colHeader small" valign=top width=30%>{$LIST_HEADER.1}</td>
+ <td class="colHeader small" valign=top width=60%>{$LIST_HEADER.2}</td>
+ </tr>
+ {foreach name=grouplist item=groupvalues from=$LIST_ENTRIES}
+ <tr>
+ <td class="listTableRow small" valign=top>{$smarty.foreach.grouplist.iteration}</td>
+ <td class="listTableRow small" valign=top>
+ <a href="index.php?module=Users&action=createnewgroup&returnaction=listgroups&parenttab=Settings&mode=edit&groupId={$groupvalues.groupid}"><img src="{$IMAGE_PATH}editfield.gif" alt="{$APP.LNK_EDIT}" title="{$APP.LNK_EDIT}" border="0" align="absmiddle"></a> |
+ <a href="#" onClick="deletegroup('{$groupvalues.groupid}','{$groupvalues.groupname}')";><img src="{$IMAGE_PATH}delete.gif" alt="{$LNK_DELETE}" title="{$APP.LNK_DELETE}" border="0" align="absmiddle"></a>
+ </td>
+ <td class="listTableRow small" valign=top><strong>
+ <a href="index.php?module=Users&action=GroupDetailView&parenttab=Settings&groupId={$groupvalues.groupid}">{$groupvalues.groupname}</a></strong>
+ </td>
+ <td class="listTableRow small" valign=top>{$groupvalues.description}</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>
- <tr><td colspan="2"> </td></tr>
- <tr>
- <td colspan="2" >
- <table width="100%" border="0" cellpadding="5" cellspacing="1" class="small" style="background-color: rgb(204, 204, 204);">
- <tbody>
- <tr>
- <td class="lvtCol" width="35%">{$LIST_HEADER.1}</td>
- <td class="lvtCol" width="50%">{$LIST_HEADER.2}</td>
- <td class="lvtCol" width="15%">{$LIST_HEADER.0}</td>
- </tr>
- {section name=entries loop=$LIST_ENTRIES}
- <tr class="lvtColData" onmouseover="this.className='lvtColDataHover'" onmouseout="this.className='lvtColData'" bgcolor="white">
- <td ><a href="index.php?module=Users&action=GroupDetailView&parenttab=Settings&groupId={$LIST_ENTRIES[entries].groupid}">{$LIST_ENTRIES[entries].groupname}</a></td>
- <td >{$LIST_ENTRIES[entries].description}</td>
- <td align="center" >
- <a href="index.php?module=Users&action=createnewgroup&returnaction=listgroups&parenttab=Settings&mode=edit&groupId={$LIST_ENTRIES[entries].groupid}">
- <img src="{$IMAGE_PATH}editfield.gif" alt="{$APP.LNK_EDIT}" title="{$APP.LNK_EDIT}" border="0" align="absmiddle"></a> |
- <a href="#" onClick="deletegroup('{$LIST_ENTRIES[entries].groupid}','{$LIST_ENTRIES[entries].groupname}')";><img src="{$IMAGE_PATH}delete.gif" alt="{$LNK_DELETE}" title="{$APP.LNK_DELETE}" border="0" align="absmiddle"></a>
- </td>
- </tr>
- {/section}
- </tbody>
- </table>
- </td>
- </tr>
+ </form>
+ </table>
+
+ </div>
+</td>
+ <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
+ </tr>
+</tbody>
</table>
-</td>
-
-</tr>
-</table>
-</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
<script>
function deletegroup(id,groupname)
{ldelim}
@@ -85,23 +112,3 @@
return false;
{rdelim}
</script>
- {include file='SettingsSubMenu.tpl'}
-
-<!--
-
-<td class="detailedViewHeader" width="15%"><b>{$LIST_HEADER.0}</b></td>
- <td class="detailedViewHeader" width="35%"><b>{$LIST_HEADER.1}</b></td>
- <td class="detailedViewHeader" width="50%"><b>{$LIST_HEADER.2}</b></td>
- </tr>
-
- {section name=entries loop=$LIST_ENTRIES}
- <tr class="{cycle values="dvtCellInfo,dvtCellLabel"}">
- <td nowrap>
- <img src="{$IMAGE_PATH}del.gif" alt="{$APP.LNK_DELETE}" title="{$APP.LNK_DELETE}" border="0" height="15" width="15" onClick="deletegroup('{$LIST_ENTRIES[entries].groupid}','{$LIST_ENTRIES[entries].groupname}')";>
- <a href="index.php?module=Users&action=createnewgroup&returnaction=listgroups&mode=edit&groupId={$LIST_ENTRIES[entries].groupid}"><img src="{$IMAGE_PATH}edit.gif" alt="{$APP.LNK_EDIT}" title="{$APP.LNK_EDIT}" border="0"></a>
- </td>
- <td nowrap><a href="index.php?module=Users&action=GroupDetailView&groupId={$LIST_ENTRIES[entries].groupid}">{$LIST_ENTRIES[entries].groupname}</a></td>
- <td nowrap>{$LIST_ENTRIES[entries].description} </td>
- <tr>
- {/section}
- -->
More information about the vtigercrm-commits
mailing list