[Vtigercrm-commits] [vtiger-commits] r5818 - in /vtigercrm/trunk/Smarty/templates: SettingsMenu.tpl UserDetailView.tpl UserEditView.tpl UserListView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 10 07:20:30 EDT 2006
Author: saraj
Date: Wed May 10 05:20:23 2006
New Revision: 5818
Log:
i18n done for Users - ahmed
Modified:
vtigercrm/trunk/Smarty/templates/SettingsMenu.tpl
vtigercrm/trunk/Smarty/templates/UserDetailView.tpl
vtigercrm/trunk/Smarty/templates/UserEditView.tpl
vtigercrm/trunk/Smarty/templates/UserListView.tpl
Modified: vtigercrm/trunk/Smarty/templates/SettingsMenu.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/SettingsMenu.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/SettingsMenu.tpl Wed May 10 05:20:23 2006
@@ -83,4 +83,4 @@
</table>
</div>
</td>
-<td width="1%" class="dock"><img src="{$IMAGE_PATH}/rhtArrow.gif" class="imgDoc" alt="Expand/Close Menu" title="Expand/Close Menu" onclick="fnSlide('slideMnu','one')" /></td>
+<td width="1%" class="dock"><img src="{$IMAGE_PATH}/rhtArrow.gif" class="imgDoc" alt="{$MOD.LBL_EXPAND_CLOSE_MENU}" title="{$MOD.LBL_EXPAND_CLOSE_MENU}" onclick="fnSlide('slideMnu','one')" /></td>
Modified: vtigercrm/trunk/Smarty/templates/UserDetailView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/UserDetailView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/UserDetailView.tpl Wed May 10 05:20:23 2006
@@ -46,14 +46,14 @@
<td colspan="2" style="padding:5px;">
<span class="lvtHeaderText">
<b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a>
- > {$MOD.LBL_USER_MANAGEMENT}</b></span>
+ > {$MOD.LBL_USER_MANAGEMENT} > {$MOD.LBL_USERS}</b></span>
<hr noshade="noshade" size="1" />
</td>
</tr>
<tr>
<td width="5%"><img src="{$IMAGE_PATH}user.gif" align="absmiddle"></td>
<td width="95%"><span class="genHeaderGrayBig">{$USER_NAME}</span><br>
- <b class="small">Detail View of {$FIRST_NAME} {$LAST_NAME}</b>
+ <b class="small">{$UMOD.LBL_DETAIL_VIEW} {$FIRST_NAME} {$LAST_NAME}</b>
</td>
</tr>
</table>
@@ -100,34 +100,34 @@
<td colspan="4" class="detailedViewHeader"><b>{$UMOD.LBL_USER_INFORMATION}</b></td>
</tr>
<tr>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_USER_NAME} </td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_USER_NAME} </td>
<td class="dvtCellInfo">{$USER_NAME} </td>
<td class="dvtCellLabel" align="right">{$UMOD.LBL_ADMIN} </td>
<td class="dvtCellInfo"><input type="checkbox" name="is_admin" DISABLED {$IS_ADMIN}/></td>
</tr>
{if $MODE eq 'edit'}
<tr>
- <td class="dvtCellLabel" align="right" width="20%"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_PASSWORD} </td>
+ <td class="dvtCellLabel" align="right" width="20%"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_PASSWORD} </td>
<td class="dvtCellInfo" width="20%"><input name="new_password" type="password" class="detailedViewTextBox" onfocus="this.className='detailedViewTextBoxOn'" onblur="this.className='detailedViewTextBox'" /></td>
- <td class="dvtCellLabel" width="20%" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_CONFIRM_PASSWORD} </td>
+ <td class="dvtCellLabel" width="20%" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_CONFIRM_PASSWORD} </td>
<td class="dvtCellInfo" width="20%"><input name="confirm_new_password" type="password" class="detailedViewTextBox" onfocus="this.className='detailedViewTextBoxOn'" onblur="this.className='detailedViewTextBox'" /></td>
</tr>
{/if}
<tr>
<td class="dvtCellLabel" align="right">{$UMOD.LBL_FIRST_NAME} </td>
<td class="dvtCellInfo">{$FIRST_NAME} </td>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_LAST_NAME}</td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_LAST_NAME}</td>
<td class="dvtCellInfo">{$LAST_NAME} </td>
</tr>
<tr>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_USER_ROLE}</td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_USER_ROLE}</td>
<td class="dvtCellInfo">{$ROLEASSIGNED} </td> <td class="dvtCellLabel" align="right">{$UMOD.LBL_GROUP_NAME}</td>
<td class="dvtCellInfo">{$GROUPASSIGNED} </td>
</tr>
<tr>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_EMAIL}</td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_EMAIL}</td>
<td class="dvtCellInfo"><a href="mailto:{$EMAIL1}" target="_blank">{$EMAIL1}</a> </td>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_STATUS}</td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_STATUS}</td>
<td class="dvtCellInfo">{$STATUS} </td>
</tr>
@@ -139,7 +139,7 @@
<td span class="dvtCellInfo">{$LEAD_VIEW} </td>
</tr>
<tr>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_COLOR}</td>
+ <td class="dvtCellLabel" align="right">{$UMOD.LBL_COLOR}</td>
<td class="dvtCellInfo">{$COLORASSIGNED} </td>
<td class="dvtCellLabel" align="right">{$UMOD.LBL_CURRENCY_NAME}</td>
<td span class="dvtCellInfo">{$CURRENCY_NAME} </td>
Modified: vtigercrm/trunk/Smarty/templates/UserEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/UserEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/UserEditView.tpl Wed May 10 05:20:23 2006
@@ -35,15 +35,22 @@
<td colspan="2" style="padding:5px;">
<span class="lvtHeaderText">
<b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a>
- > {$MOD.LBL_USER_MANAGEMENT} > User</b></span>
+ > {$MOD.LBL_USER_MANAGEMENT} > {$MOD.LBL_USERS}</b></span>
<hr noshade="noshade" size="1" />
</td>
</tr>
<tr>
<td width="5%"><img src="{$IMAGE_PATH}user.gif" align="absmiddle"></td>
- <td width="95%"><span class="genHeaderGrayBig">{$USER_NAME}</span><br>
- <b class="small">Edit View of {$FIRST_NAME} {$LAST_NAME}</b>
+ {if $MODE eq 'edit'}
+ <td width="95%"><span class="genHeaderGrayBig">{$USER_NAME}</span><br>
+ <b class="small">{$UMOD.LBL_EDIT_VIEW} {$FIRST_NAME} {$LAST_NAME}</b>
</td>
+ {else}
+ <td width="95%"><span class="genHeaderGrayBig">{$UMOD.LBL_NEW_USER_BUTTON_LABEL}</span><br>
+ <b class="small">{$UMOD.LBL_CREATE_NEW_USER}</b>
+ </td>
+ {/if}
+
</tr>
</table>
</td></tr>
@@ -91,39 +98,43 @@
<tr><td align="left">
<table width="99%" border="0" cellspacing="0" cellpadding="5" align="center" class="small">
<tr>
+ {if $MODE eq 'edit'}
+ <td colspan="4" class="detailedViewHeader"><b>{$APP.LBL_EDIT} {$UMOD.LBL_USER_INFORMATION}</b></td>
+ {else}
<td colspan="4" class="detailedViewHeader"><b>{$UMOD.LBL_NEW_FORM_TITLE}</b></td>
+ {/if}
</tr>
<tr>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_USER_NAME} </td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_USER_NAME} </td>
<td class="dvtCellInfo"><input type="text" name="user_name" value='{$USER_NAME}' class="detailedViewTextBox" onFocus="this.className='detailedViewTextBoxOn'" onBlur="this.className='detailedViewTextBox'"{$USERNAME_READONLY} /></td>
<td class="dvtCellLabel" align="right">{$UMOD.LBL_ADMIN} </td>
<td class="dvtCellInfo"><input type="checkbox" name="is_admin" {$DISABLED} {$IS_ADMIN}/></td>
</tr>
{if $MODE neq 'edit'}
<tr>
- <td class="dvtCellLabel" align="right" width="20%"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_PASSWORD} </td>
+ <td class="dvtCellLabel" align="right" width="20%"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_PASSWORD} </td>
<td class="dvtCellInfo" width="20%"><input name="new_password" type="password" class="detailedViewTextBox" onfocus="this.className='detailedViewTextBoxOn'" onblur="this.className='detailedViewTextBox'" /></td>
- <td class="dvtCellLabel" width="20%" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_CONFIRM_PASSWORD} </td>
+ <td class="dvtCellLabel" width="20%" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_CONFIRM_PASSWORD} </td>
<td class="dvtCellInfo" width="20%"><input name="confirm_new_password" type="password" class="detailedViewTextBox" onfocus="this.className='detailedViewTextBoxOn'" onblur="this.className='detailedViewTextBox'" /></td>
</tr>
{/if}
<tr>
<td class="dvtCellLabel" align="right">{$UMOD.LBL_FIRST_NAME} </td>
<td class="dvtCellInfo"><input type="text" name="first_name" value='{$FIRST_NAME}' class="detailedViewTextBox" onfocus="this.className='detailedViewTextBoxOn'" onblur="this.className='detailedViewTextBox'" /></td>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_LAST_NAME}</td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_LAST_NAME}</td>
<td class="dvtCellInfo"><input type="text" name="last_name" value='{$LAST_NAME}' class="detailedViewTextBox" onfocus="this.className='detailedViewTextBoxOn'" onblur="this.className='detailedViewTextBox'" /></td>
</tr>
<tr>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_USER_ROLE}</td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_USER_ROLE}</td>
<td class="dvtCellInfo">{$USER_ROLE}</td>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_EMAIL}</td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_EMAIL}</td>
<td class="dvtCellInfo"><input type="text" name="email1" value='{$EMAIL1}' class="detailedViewTextBox" onfocus="this.className='detailedViewTextBoxOn'" onblur="this.className='detailedViewTextBox'" /></td>
</tr>
<tr>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_STATUS}</td>
+ <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>{$APP.LBL_REQUIRED_SYMBOL}</font></span>{$UMOD.LBL_STATUS}</td>
{$USER_STATUS_OPTIONS}
<td class="dvtCellInfo" colspan="2" > </td>
</tr>
@@ -135,7 +146,7 @@
<td span class="dvtCellInfo">{$LEAD_VIEW}</td>
</tr>
<tr>
- <td class="dvtCellLabel" align="right"><span class="style1"><font color='red'>*</font></span>{$UMOD.LBL_COLOR}</td>
+ <td class="dvtCellLabel" align="right">{$UMOD.LBL_COLOR}</td>
<td> {$CAL_COLOR}</td>
<td class="dvtCellLabel" align="right">{$UMOD.LBL_CURRENCY_NAME}</td>
<td span class="dvtCellInfo">{$CURRENCY_NAME}</td>
@@ -151,7 +162,11 @@
<tr><td align="left">
<table width="99%" border="0" cellspacing="0" cellpadding="5" align="center" class="small">
<tr>
- <td colspan="4" class="detailedViewHeader"><b>{$UMOD.LBL_NEW_FORM_TITLE}</b></td>
+ {if $MODE eq 'edit'}
+ <td colspan="4" class="detailedViewHeader"><b>{$APP.LBL_EDIT} {$UMOD.LBL_USER_INFORMATION}</b></td>
+ {else}
+ <td colspan="4" class="detailedViewHeader"><b>{$UMOD.LBL_NEW_FORM_TITLE}</b></td>
+ {/if}
</tr>
<tr>
<td class="dvtCellLabel" align="right">{$UMOD.LBL_TITLE}</td>
@@ -218,7 +233,11 @@
<tr><td align="left">
<table width="99%" border="0" cellspacing="0" cellpadding="5" align="center" class="small">
<tr>
- <td colspan="4" class="detailedViewHeader"><b>{$UMOD.LBL_NEW_FORM_TITLE}</b></td>
+ {if $MODE eq 'edit'}
+ <td colspan="4" class="detailedViewHeader"><b>{$APP.LBL_EDIT} {$UMOD.LBL_USER_INFORMATION}</b></td>
+ {else}
+ <td colspan="4" class="detailedViewHeader"><b>{$UMOD.LBL_NEW_FORM_TITLE}</b></td>
+ {/if}
</tr>
<tr>
<td class="dvtCellLabel" align="right">{$UMOD.LBL_ADDRESS}</td>
@@ -262,8 +281,8 @@
<tr><td> </td></tr>
<tr>
<td><div align="center">
- <input title="Save [Alt+S]" accesskey="S" class="small" name="button" value=" Save " onclick="this.form.action.value='Save'; return verify_data(EditView)" style="width: 70px;" type="submit" />
- <input title="Cancel [Alt+X]" accesskey="X" class="small" name="button" value=" Cancel " onclick="window.history.back()" style="width: 70px;" type="button" />
+ <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accesskey="{$APP.LBL_SAVE_BUTTON_KEY}" class="small" name="button" value=" {$APP.LBL_SAVE_BUTTON_LABEL} " onclick="this.form.action.value='Save'; return verify_data(EditView)" style="width: 70px;" type="submit" />
+ <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accesskey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="small" name="button" value=" {$APP.LBL_CANCEL_BUTTON_LABEL} " onclick="window.history.back()" style="width: 70px;" type="button" />
</div></td>
</tr>
</table>
Modified: vtigercrm/trunk/Smarty/templates/UserListView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/UserListView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/UserListView.tpl Wed May 10 05:20:23 2006
@@ -26,7 +26,7 @@
<td colspan="2" style="padding:5px;">
<span class="lvtHeaderText">
<b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a>
- > {$MOD.LBL_USER_MANAGEMENT} > Users</b></span>
+ > {$MOD.LBL_USER_MANAGEMENT} > {$MOD.LBL_USERS}</b></span>
<hr noshade="noshade" size="1" />
</td>
</tr>
@@ -36,7 +36,7 @@
<tr>
<td colspan="2" align="left"><img src="{$IMAGE_PATH}user.gif" align="absmiddle"> <span class="genHeaderGray">{$MOD.LBL_USER_MANAGEMENT}</span></td>
<td align="right" style="padding:5px; ">
- <input title='New User [Alt+N]' accessyKey='N' class='classBtn' type='submit' name='button' value='New User' >
+ <input title="{$CMOD.LBL_NEW_USER_BUTTON_TITLE}" accessyKey="{$CMOD.LBL_NEW_USER_BUTTON_KEY}" class='classBtn' type='submit' name='button' value="{$CMOD.LBL_NEW_USER_BUTTON_LABEL}" >
</td>
</tr>
<tr><td colspan="3" style="border-bottom:1px dashed #CCCCCC;"> </td></tr>
@@ -55,7 +55,7 @@
<tr><td align="right"><b>{$CMOD.LBL_TOTAL}</b></td>
<td align="left">{$USER_COUNT.user} {$CMOD.LBL_USERS}</td>
</tr>
- <tr><td align="right"><b>{$CMOD.LBL_ADMIN} : </b></td>
+ <tr><td align="right"><b>{$CMOD.LBL_ADMIN} {$CMOD.LBL_COLON}</b></td>
<td align="left">{$USER_COUNT.admin} {$CMOD.LBL_USERS}</td>
</tr>
<tr><td align="right"><b>{$CMOD.LBL_OTHERS}</b></td>
More information about the vtigercrm-commits
mailing list