[Vtigercrm-commits] [vtiger-commits] r5857 - in /vtigercrm/trunk/Smarty/templates: RoleDetailView.tpl RoleEditView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 10 15:30:56 EDT 2006
Author: saraj
Date: Wed May 10 13:30:51 2006
New Revision: 5857
Log:
i18n done for roles - ahmed
Modified:
vtigercrm/trunk/Smarty/templates/RoleDetailView.tpl
vtigercrm/trunk/Smarty/templates/RoleEditView.tpl
Modified: vtigercrm/trunk/Smarty/templates/RoleDetailView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/RoleDetailView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/RoleDetailView.tpl Wed May 10 13:30:51 2006
@@ -28,7 +28,7 @@
<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} > Role of {$ROLE_NAME} </b></span>
+ <span class="lvtHeaderText"><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a> > {$MOD.LBL_USER_MANAGEMENT} > {$CMOD.LBL_USER_ROLE} of {$ROLE_NAME} </b></span>
<hr noshade="noshade" size="1" />
</td>
</tr>
@@ -37,30 +37,30 @@
<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}roles.gif" align="absmiddle" /> </td>
- <td style="padding:5px;border-bottom:2px dotted #AAAAAA;"><span class="genHeaderGrayBig">{$ROLE_NAME} Role</span><br />
- <span class="big">Detail view of {$ROLE_NAME} Role</span> </td>
+ <td style="padding:5px;border-bottom:2px dotted #AAAAAA;"><span class="genHeaderGrayBig">{$ROLE_NAME} {$CMOD.LBL_USER_ROLE}</span><br />
+ <span class="big">{$CMOD.LBL_DETAIL_VIEW} {$ROLE_NAME} {$CMOD.LBL_USER_ROLE}</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>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>Role Name :</b></td>
+ <td class="dvtCellLabel" align="right" width="25%"><b>{$CMOD.LBL_ROLE_NAME} :</b></td>
<td class="dvtCellInfo" align="left" width="25%">{$ROLE_NAME}</td>
<td class="dvtCellInfo" width="45%"> </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>
<td class="dvtCellLabel" align="left"><img src="{$IMAGE_PATH}profile_icon.gif" align="top"></td>
- <td class="dvtCellLabel" align="right" valign="top"><b>Associated profiles :</b></td>
+ <td class="dvtCellLabel" align="right" valign="top"><b>{$CMOD.LBL_ASSOCIATED_PROFILES}</b></td>
<td colspan="2" align="left" class="dvtCellInfo">
{foreach item=elements from=$ROLEINFO.profileinfo}
<a href="index.php?module=Users&action=profilePrivileges&parenttab=Settings&profileid={$elements.0}&mode=view">{$elements.1}</a><br>
@@ -70,7 +70,7 @@
{if $ROLEINFO.userinfo.0 neq ''}
<tr>
<td class="dvtCellLabel" align="left"><img src="{$IMAGE_PATH}user_icon.gif" align="top"></td>
- <td class="dvtCellLabel" align="right" valign="top"><b>Associated Users :</b></td>
+ <td class="dvtCellLabel" align="right" valign="top"><b>{$CMOD.LBL_ASSOCIATED_USERS}</b></td>
<td colspan="2" align="left" class="dvtCellInfo">
{foreach item=elements from=$ROLEINFO.userinfo}
<a href="index.php?module=Users&action=DetailView&parenttab=Settings&record={$elements.0}">{$elements.1}</a><br>
@@ -82,9 +82,9 @@
<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=" {$APP.LBL_EDIT_BUTTON_LABEL} " title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="classBtn" type="submit" name="Edit" >
- <input title="Delete" accessKey="D" class="classBtn" onclick="DeleteRole('{$ROLEID}')" type="button" name="Delete" value="Delete">
+ <input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="classBtn" onclick="DeleteRole('{$ROLEID}')" type="button" name="Delete" value="{$APP.LBL_DELETE_BUTTON_LABEL}">
</td>
</tr>
<tr><td colspan="2"> </td></tr>
Modified: vtigercrm/trunk/Smarty/templates/RoleEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/RoleEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/RoleEditView.tpl Wed May 10 13:30:51 2006
@@ -66,8 +66,8 @@
<td class="genHeaderSmall" style="padding-right: 10px;" align="right" nowrap valign="top" width="15%">
<img src="{$IMAGE_PATH}one.gif" align="absmiddle">
</td>
- <td align="left" nowrap="nowrap" width="85%"><b>Role Name</b><br>
- Specify a name for new role :
+ <td align="left" nowrap="nowrap" width="85%"><b>{$CMOD.LBL_ROLE_NAME}</b><br>
+ {$CMOD.LBL_SPECIFY_ROLE_NAME}
<input type="text" name="roleName" class="importBox" value="{$ROLENAME}">
</td>
</tr>
@@ -76,7 +76,7 @@
<td class="genHeaderSmall" style="padding-right: 10px;" align="right" nowrap valign="top">
<img src="{$IMAGE_PATH}two.gif" align="absmiddle">
</td>
- <td><b>Assign Profile(s)</b><br>Select the Profiles below and click on assign button </td>
+ <td><b>{$CMOD.LBL_ASSIGN_PROFILE}</b><br>{$CMOD.LBL_PROFILE_SELECT_TEXT}</td>
</tr>
<tr>
<td class="genHeaderSmall" style="padding-right: 10px;" align="right" valign="top"> </td>
@@ -88,7 +88,7 @@
<table align="center" border="0" cellpadding="0" cellspacing="0" width="75%">
<tbody>
<tr>
- <td align="center"><b>Profiles Available</b><br>
+ <td align="center"><b>{$CMOD.LBL_PROFILES_AVLBL}</b><br>
<select id="availList" name="availList" size="10" multiple style="width: 150px;">
{foreach item=element from=$PROFILELISTS}
<option value="{$element.0}">{$element.1}</option>
@@ -101,7 +101,7 @@
<br><br>
<input type="button" name="Button1" value=" ‹‹ " class="classBtn" onClick="delColumn()">
</td>
- <td align="center"><b>Assigned Profiles </b><br>
+ <td align="center"><b>{$CMOD.LBL_ASSIGN_PROFILES}</b><br>
<select id="selectedColumns" name="selectedColumns" multiple size="10" style="width: 150px;">
{foreach item=element from=$SELPROFILELISTS}
<option value="{$element.0}">{$element.1}</option>
@@ -119,13 +119,13 @@
</tr>
<tr>
<td align="right" nowrap><img src="{$IMAGE_PATH}three.gif" align="absmiddle"></td>
- <td><b>Reports to Role</b><br>{$PARENTNAME}</td>
+ <td><b>{$CMOD.LBL_REPORTS_TO_ROLE}</b><br>{$PARENTNAME}</td>
</tr>
<tr><td colspan="2" style="border-bottom: 1px dashed rgb(204, 204, 204);"> </td></tr>
<tr>
<td colspan="2" align="center">
- <input value=" Save " name="Next" type="submit" class="classBtn" onClick="return validate()" >
- <input value=" Cancel " name="Cancel" type="button" class="classBtn" onClick="window.history.back()">
+ <input value=" {$APP.LBL_SAVE_BUTTON_LABEL} " name="Next" type="submit" class="classBtn" onClick="return validate()" >
+ <input value=" {$APP.LBL_CANCEL_BUTTON_LABEL} " name="Cancel" type="button" class="classBtn" onClick="window.history.back()">
</td>
</tr>
More information about the vtigercrm-commits
mailing list