[Vtigercrm-commits] [vtiger-commits] r5513 - in /vtigercrm/trunk/Smarty/templates: CreateProfile.tpl CreateProfile1.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 18:54:06 EDT 2006


Author: don
Date: Thu Apr 27 16:54:01 2006
New Revision: 5513

Log:
modified the ui

Modified:
    vtigercrm/trunk/Smarty/templates/CreateProfile.tpl
    vtigercrm/trunk/Smarty/templates/CreateProfile1.tpl

Modified: vtigercrm/trunk/Smarty/templates/CreateProfile.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CreateProfile.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CreateProfile.tpl Thu Apr 27 16:54:01 2006
@@ -1,82 +1,81 @@
-<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">
-
-<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
-<form action="index.php" method="post" name="new" id="form">
-<input type="hidden" name="module" value="Users">
-<input type="hidden" name="mode" value="{$MODE}">
-<input type="hidden" name="action" value="CreateProfile1">
-<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} > {$MOD.LBL_PROFILES}</b></span>
-<hr noshade="noshade" size="1" />
-</td>
-</tr>
-<tr>
-<td width="75%" style="padding-left:20px;" valign="top">
-
-<table width="75%" border="0" cellpadding="5" cellspacing="0" align="center">
-<tr>
-<td colspan="2" class="calDayHourCell">Step 1 of 3 : Basic details of Profile </td>
-</tr>
-<tr>
-<td>&nbsp;</td>
-<td>&nbsp;</td>
-</tr>
-<tr>
-<td align="right" width="50%" style="padding-right:10px;">{$CMOD.LBL_NEW_PROFILE_NAME}</td>
-
-<td width="50%" align="left" style="padding-left:10px;"><input type="text" name="profile_name" id="pobox" value="" class="detailedViewTextBox" onFocus="this.className='detailedViewTextBoxOn'" onBlur="this.className='detailedViewTextBox'"/></td>
-</tr>
-<tr>
-<td align="right" style="padding-right:10px;">{$CMOD.LBL_DESCRIPTION}</td>
-<td align="left" style="padding-left:10px;"><textarea name="profile_description" class="detailedViewTextBox" onFocus="this.className='detailedViewTextBoxOn'" onBlur="this.className='detailedViewTextBox'"></textarea></td>
-</tr>
-<tr><td colspan="2" style="border-bottom:1px dashed #CCCCCC;">&nbsp;</td></tr>
-<tr>
-
-<td colspan="2" align="right">
-<input type="button" value=" &lsaquo; Back " name="back" disabled />&nbsp;&nbsp;
-<input type="submit" value=" Next &rsaquo; " accessKey="N" class="button" name="Next" onClick="return rolevalidate();"/>&nbsp;&nbsp;
-<input type="button" value=" Cancel " name="Cancel" onClick="window.history.back()";/>
-
-</td>
-</tr>
-<tr><td colspan="2" style="border-top:1px solid #CCCCCC;">&nbsp;</td></tr>
-</td>
-
-</tr>
-</table>
-	
-</td>
-<td width="1%" style="border-right:1px dotted #CCCCCC;">&nbsp;</td>
-</tr>
-</form>
-</table>
-</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-	{include file='SettingsSubMenu.tpl'}
-<script>
-function rolevalidate()
-{ldelim}
-    var profilename = document.getElementById('pobox').value;
-    profilename = profilename.replace(/ /gi,'',profilename);
-    if(profilename != '')
-        return true;
-    else
-    {ldelim}
-        alert('Enter The Profile name');
-        document.getElementById('pobox').focus();
-        return false;
-    {rdelim}
-{rdelim}
-</script>
+<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="mode" value="{$MODE}">
+						<input type="hidden" name="action" value="CreateProfile1">
+						<input type="hidden" name="parenttab" value="Settings">
+						<input type="hidden" name="parent_profile" value="{$PARENT_PROFILE}">
+						<input type="hidden" name="radio_button" value="{$RADIO_BUTTON}">
+						<input type="hidden" name="profile_name" value="{$PROFILE_NAME}">
+						<table width="95%" border="0" cellpadding="0" cellspacing="0"  align="center">
+							<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} > {$MOD.LBL_PROFILES}</b></span>
+																<hr noshade="noshade" size="1" />
+										</td>
+							</tr>
+							<tr>
+										<td  valign="top" class="leadTable">
+													<table width="100%" border="0" cellpadding="5" cellspacing="0">
+														<tr>
+																<td width="5%" style="border-bottom:1px dashed #CCCCCC;">
+																		<img src="{$IMAGE_PATH}profile.gif" align="absmiddle">
+																</td>
+																<td style="border-bottom:1px dashed #CCCCCC;"> 
+																		<span class="genHeaderGrayBig">Basic details of Profile</span><br>
+																		<span	class="genHeaderSmall">Step 1 Of 3</span>
+																</td>
+														</tr>
+													</table>
+													<table width="95%" border="0" cellpadding="5" cellspacing="0" align="center">
+															<tr><td colspan="2">&nbsp;</td></tr>
+															<tr>
+																	<td align="right" width="25%" style="padding-right:10px;">
+																			<b style="color:#FF0000;font-size:16px;">*</b>&nbsp;<b>{$CMOD.LBL_NEW_PROFILE_NAME} : </b></td>
+																	<td width="75%" align="left" style="padding-left:10px;">
+																			<input type="text" name="profile_name" id="pobox" value="{$PROFILENAME}" class="txtBox" /></td>
+															</tr>
+															<tr><td colspan="2">&nbsp;</td></tr>
+															<tr>
+																	<td align="right" style="padding-right:10px;" valign="top"><b>{$CMOD.LBL_DESCRIPTION} : </b></td>
+																	<td align="left" style="padding-left:10px;"><textarea name="profile_description" class="txtBox">{$PROFILEDESC}</textarea></td>
+															</tr>
+															<tr><td colspan="2" style="border-bottom:1px dashed #CCCCCC;" height="75">&nbsp;</td></tr>
+															<tr>
+																	<td colspan="2" align="right">
+																					<input type="button" value=" &lsaquo; Back " name="back" class="classBtnDisable" disabled />&nbsp;&nbsp;
+																					<input type="submit" value=" Next &rsaquo; " accessKey="N" class="classBtn" name="Next" onClick="return rolevalidate();"/>&nbsp;&nbsp;
+																					<input type="button" value=" Cancel " name="Cancel" onClick="window.history.back()"; class="classBtn"/>
+																	</td>
+															</tr>
+															
+												</table>
+										</td>
+									</tr>
+				</table></form>
+		</td>
+	</tr>
+</table>
+
+	{include file='SettingsSubMenu.tpl'}
+<script>
+function rolevalidate()
+{ldelim}
+    var profilename = document.getElementById('pobox').value;
+    profilename = profilename.replace(/ /gi,'',profilename);
+    if(profilename != '')
+        return true;
+    else
+    {ldelim}
+        alert('Enter The Profile name');
+        document.getElementById('pobox').focus();
+        return false;
+    {rdelim}
+{rdelim}
+</script>

Modified: vtigercrm/trunk/Smarty/templates/CreateProfile1.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CreateProfile1.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CreateProfile1.tpl Thu Apr 27 16:54:01 2006
@@ -1,78 +1,94 @@
-<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">
-
-<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
-<form action="index.php" method="post" name="new" id="form">
-<input type="hidden" name="module" value="Users">
-<input type="hidden" name="profile_name" value="{$PROFILE_NAME}">
-<input type="hidden" name="profile_description" value="{$PROFILE_DESCRIPTION}">
-<input type="hidden" name="mode" value="{$MODE}">
-<input type="hidden" name="action" value="profilePrivileges">
-<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} > {$MOD.LBL_PROFILES}</b></span>
-<hr noshade="noshade" size="1" />
-</td>
-</tr>
-<tr>
-<td width="75%" style="padding-left:20px;" valign="top">
-	
-	<table width="75%" border="0" cellpadding="5" cellspacing="0" align="center">
-	<tr>
-	<td colspan="2" class="calDayHourCell">Step 2 of 3 : Basic details of Profile </td>
-	
-	</tr>
-	<tr>
-	<td>&nbsp;</td>
-	<td>&nbsp;</td>
-	</tr>
-	<tr>
-	<td align="right" width="5%" style="padding-right:10px;"><input name="radiobutton" checked type="radio" value="baseprofile" /></td>
-	<td width="95%" align="left" style="padding-left:10px;">I would like to setup a base profile and edit privileges <b>(Recommened)</b></td>
-	</tr>
-	<tr>
-	<td align="right" width="30%" style="padding-right:10px;">&nbsp;</td>
-	<td width="70%" align="left" style="padding-left:10px;">Base Profile:
-	<select name="parentprofile">
-	{foreach item=combo from=$PROFILE_LISTS}
-		<option value="{$combo.1}">{$combo.0}</option>	
-	{/foreach}
-	</select>
-	</td></tr>
-	
-	<tr><td align="center" colspan="2"><b>OR</b></td></tr>
-	<tr>
-	<td align="right" width="5%" style="padding-right:10px;"><input name="radiobutton" type="radio" value="newprofile" /></td>
-	<td width="95%" align="left" style="padding-left:10px;">I will choose the privileges from scratch <b>(Advanced Users)</b></td>
-	</tr>
-	<tr><td colspan="2" style="border-bottom:1px dashed #CCCCCC;">&nbsp;</td></tr>
-
-	<tr>
-	<td colspan="2" align="right">
-	<input type="button" value=" &lsaquo; Back " name="back" onclick="window.history.back()" />&nbsp;&nbsp;
-	<input type="Submit" value=" Next &rsaquo; " accessKey="N" class="button" name="Next"/>&nbsp;&nbsp;
-	<input type="button" value=" Cancel " name="Cancel"/>
-	</td>
-	</tr>
-	<tr><td colspan="2" style="border-top:1px solid #CCCCCC;">&nbsp;</td></tr>
-	</table
-
-	
-</td>
-<td width="1%" style="border-right:1px dotted #CCCCCC;">&nbsp;</td>
-</tr>
-</form>
-</table>
-</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-	{include file='SettingsSubMenu.tpl'}
-
+<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="profile_name" value="{$PROFILE_NAME}">
+					<input type="hidden" name="profile_description" value="{$PROFILE_DESCRIPTION}">
+					<input type="hidden" name="mode" value="{$MODE}">
+					<input type="hidden" name="action" value="profilePrivileges">
+					<input type="hidden" name="parenttab" value="Settings">
+					<input type="hidden" name="parent_profile" value="{$PARENT_PROFILE}">
+					<input type="hidden" name="radio_button" value="{$RADIO_BUTTON}">
+					<table width="95%" border="0" cellpadding="0" cellspacing="0" align="center">
+							<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} > {$MOD.LBL_PROFILES}</b></span>
+											<hr noshade="noshade" size="1" />
+									</td>
+							</tr>
+							<tr>
+									<td  valign="top" class="leadTable">
+											<table width="100%" border="0" cellpadding="5" cellspacing="0">
+													<tr>
+															<td width="5%" style="border-bottom:1px dashed #CCCCCC;">
+																	<img src="{$IMAGE_PATH}profile.gif" align="absmiddle">
+															</td>
+															<td style="border-bottom:1px dashed #CCCCCC;"> 
+																	<span class="genHeaderGrayBig">Select Base Profile</span><br>
+																	<span	class="genHeaderSmall">Step 2 Of 3</span>
+															</td>
+													</tr>
+											</table>
+											<table width="95%" border="0" cellpadding="5" cellspacing="0" align="center">
+													<tr><td colspan="2">&nbsp;</td></tr>
+													<tr>
+															<td align="right" width="10%" style="padding-right:10px;">
+															{if  $RADIO_BUTTON neq 'newprofile'}
+															<input name="radiobutton" checked type="radio" value="baseprofile" />
+															{else}
+															<input name="radiobutton" type="radio"  value="baseprofile" />
+															{/if}
+															</td>
+															<td width="90%" align="left" style="padding-left:10px;">I would like to setup a base profile and edit privileges <b>(Recommened)</b></td>
+													</tr>
+													<tr>
+															<td align="right"  style="padding-right:10px;">&nbsp;</td>
+															<td align="left" style="padding-left:10px;">Base Profile:
+																	<select name="parentprofile" class="importBox">
+																		{foreach item=combo from=$PROFILE_LISTS}
+																				{if $PARENT_PROFILE eq $combo.1}
+																				<option  selected value="{$combo.1}">{$combo.0}</option>	
+																				{else}
+																				<option value="{$combo.1}">{$combo.0}</option>	
+																				{/if}
+																		{/foreach}
+																	</select>
+															</td>
+													</tr>
+													<tr><td colspan="2">&nbsp;</td></tr>
+													<tr><td align="center" colspan="2"><b>(&nbsp;OR&nbsp;)</b></td></tr>
+													<tr><td colspan="2">&nbsp;</td></tr>
+													<tr>
+															<td align="right" style="padding-right:10px;">
+															{if  $RADIO_BUTTON eq 'newprofile'}
+															<input name="radiobutton" checked type="radio" value="newprofile" />
+															{else}
+															<input name="radiobutton" type="radio" value="newprofile" />
+															{/if}
+															</td>
+															<td  align="left" style="padding-left:10px;">I will choose the privileges from scratch <b>(Advanced Users)</b></td>
+													</tr>
+													<tr><td colspan="2" style="border-bottom:1px dashed #CCCCCC;" height="75">&nbsp;</td></tr>
+													<tr>
+															<td colspan="2" align="right">
+																	<input type="Submit" value=" &lsaquo; Back " name="back" onclick="this.form.action.value='CreateProfile';"  class="classBtn"/>&nbsp;&nbsp;
+																	<input type="Submit" value=" Next &rsaquo; " accessKey="N"  name="Next" class="classBtn"/>&nbsp;&nbsp;
+																	<input type="button" value=" Cancel " name="Cancel" class="classBtn"/>
+															</td>
+													</tr>
+											</table>
+									</td>
+							</tr>
+				</table></form>
+		</td>
+</tr>
+</table>
+
+	{include file='SettingsSubMenu.tpl'}
+





More information about the vtigercrm-commits mailing list