[Vtigercrm-commits] [vtiger-commits] r5826 - in /vtigercrm/trunk/Smarty/templates: GroupDetailview.tpl GroupEditView.tpl ListGroup.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 10 08:51:16 EDT 2006
Author: saraj
Date: Wed May 10 06:51:11 2006
New Revision: 5826
Log:
i18n done for Groups - 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 Wed May 10 06:51:11 2006
@@ -35,8 +35,8 @@
<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="{$IMAGEPATH}groups.gif" width="48" height="48" align="absmiddle" /> </td>
- <td style="padding:5px;border-bottom:2px dotted #AAAAAA;"><span class="genHeaderGrayBig">{$GROUPINFO.0.groupname} Group</span><br />
- <span class="big">Detail view of {$GROUPINFO.0.groupname} Group</span> </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>
@@ -44,24 +44,24 @@
<tr>
<td colspan="2" ><table width="100%" cellpadding="5" cellspacing="0" border="0" >
<tr>
- <td colspan="4" class="detailedViewHeader"><b>Group Details</b></td>
+ <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>Group Name :</b></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>Description :</b></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>Member List</b></td>
+ <td colspan="4" class="detailedViewHeader"><b>{$CMOD.LBL_MEMBER_LIST}</b></td>
</tr>
<tr>
{foreach key=type item=details from=$GROUPINFO.1}
@@ -87,7 +87,7 @@
<img src="{$IMAGEPATH}groups_icon.gif" align="absmiddle">
</td>
{/if}
- <td class="dvtCellLabel" valign="top" align="right" width="15%"><b>{$type} : </b></td>
+ <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 />
@@ -99,8 +99,8 @@
<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=" Edit " title="Edit" accessKey="E" class="classBtn" type="submit" name="Edit" >
- <input value=" Delete " title="Delete" accessKey="D" class="classBtn" type="button" name="Delete" onClick="deletegroup('{$GROUPID}','{$GROUP_NAME}')";>
+ <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}')";>
</td>
</tr>
</table></td>
Modified: vtigercrm/trunk/Smarty/templates/GroupEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/GroupEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/GroupEditView.tpl Wed May 10 06:51:11 2006
@@ -135,7 +135,11 @@
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
<tr>
<td class="showPanelBg" valign="top" width="100%" 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_CREATE_NEW_GROUP}</b></span>
+{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>
@@ -147,7 +151,11 @@
<tr>
<td align="left" style="padding:10px;border-bottom:1px dashed #CCCCCC;" colspan="3">
<img src="{$IMAGE_PATH}groups.gif" align="absmiddle">
- <span class="genHeaderGray">{$CMOD.LBL_CREATE_NEW_GROUP}</span>
+ {if $MODE eq 'edit'}
+ <span class="genHeaderGray">{$CMOD.LBL_EDIT_GROUP}</span>
+ {else}
+ <span class="genHeaderGray">{$CMOD.LBL_CREATE_NEW_GROUP}</span>
+ {/if}
</td>
</tr>
<tr>
@@ -158,7 +166,7 @@
<tr>
<td align="right"><img src="{$IMAGE_PATH}one.gif" align="absmiddle"> </td>
<td style="padding-right: 10px;" align="right" width="20%">
- <b>Group Name :</b></td>
+ <b>{$CMOD.LBL_GROUP_NAME} {$CMOD.LBL_COLON}</b></td>
<td style="padding-left: 10px;" align="left" width="80%">
<input name="groupName" class="importBox" style="width:40%;" type="text" value="{$GROUPNAME}">
</td>
@@ -167,7 +175,7 @@
<tr>
<td align="right"><img src="{$IMAGE_PATH}two.gif" align="absmiddle"></td>
<td style="padding-right: 10px;" align="right" valign="top">
- <b>Description : </b></td>
+ <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>
@@ -176,15 +184,15 @@
<tr>
<td align="right"><img src="{$IMAGE_PATH}three.gif" align="absmiddle"></td>
<td style="padding-right: 10px;" align="right">
- <b>Filters : </b></td>
+ <b>{$APP.LBL_VIEW} </b></td>
<td><select id="memberType" name="memberType" onchange="showOptions()">
- <option value="groups" selected>Groups</option>
- <option value="roles">Roles</option>
- <option value="rs">Roles and Subordinates</option>
- <option value="users">Users</option>
+ <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="Find" class="classBtn" onClick="showOptions()">
+ <input type="button" name="Find" value="{$APP.LBL_FIND_BUTTON}" class="classBtn" onClick="showOptions()">
</td>
</tr>
<tr><td colspan="3"> </td></tr>
@@ -193,7 +201,7 @@
<table align="center" border="0" cellpadding="0" cellspacing="0" width="75%">
<tbody>
<tr>
- <td align="center"><b>Member Available</b><br>
+ <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"/>
@@ -202,7 +210,7 @@
<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>Selected Member</b><br>
+ <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>
@@ -219,9 +227,13 @@
</tr>
<tr>
<td colspan="3" align="center">
- <input type="submit" class="classBtn" name="add" value="Add Group" onClick="return validate()">
+ {if $MODE eq 'edit'}
+ <input type="submit" class="classBtn" name="add" value=" {$APP.LBL_SAVE_BUTTON_LABEL} " onClick="return validate()">
+ {else}
+ <input type="submit" class="classBtn" name="add" value="{$CMOD.LBL_ADD_GROUP_BUTTON}" onClick="return validate()">
+ {/if}
- <input type="button" class="classBtn" name="cancel" value="Cancel" onClick="window.history.back()">
+ <input type="button" class="classBtn" name="cancel" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" onClick="window.history.back()">
</td>
</tr>
</tbody></table>
Modified: vtigercrm/trunk/Smarty/templates/ListGroup.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListGroup.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListGroup.tpl Wed May 10 06:51:11 2006
@@ -36,7 +36,7 @@
<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="New" accessKey="C" class="classBtn" type="submit" name="New" value="New Group"/>
+ <input title="{$CMOD.LBL_NEW_GROUP}" class="classBtn" type="submit" name="New" value="{$CMOD.LBL_NEW_GROUP}"/>
</td>
</tr>
<tr><td colspan="2"> </td></tr>
@@ -55,8 +55,8 @@
<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="Edit" title="Edit" border="0" align="absmiddle"></a> |
- <a href="#" onClick="deletegroup('{$LIST_ENTRIES[entries].groupid}','{$LIST_ENTRIES[entries].groupname}')";><img src="{$IMAGE_PATH}delete.gif" border="0" align="absmiddle"></a>
+ <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}
@@ -97,8 +97,8 @@
{section name=entries loop=$LIST_ENTRIES}
<tr class="{cycle values="dvtCellInfo,dvtCellLabel"}">
<td nowrap>
- <img src="{$IMAGE_PATH}del.gif" 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="Edit" title="Edit" border="0"></a>
+ <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>
More information about the vtigercrm-commits
mailing list