[Vtigercrm-commits] [vtiger-commits] r7648 - in /vtigercrm/trunk/Smarty/templates: UserDetailView.tpl UserEditView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 28 12:19:04 EDT 2006


Author: richie
Date: Wed Jun 28 10:18:54 2006
New Revision: 7648

Log:
New UI for Users has been integrated

Modified:
    vtigercrm/trunk/Smarty/templates/UserDetailView.tpl
    vtigercrm/trunk/Smarty/templates/UserEditView.tpl

Modified: vtigercrm/trunk/Smarty/templates/UserDetailView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/UserDetailView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/UserDetailView.tpl Wed Jun 28 10:18:54 2006
@@ -13,154 +13,174 @@
 <script language="JavaScript" type="text/javascript" src="include/js/ColorPicker2.js"></script>
 <script language="javascript" type="text/javascript" src="include/js/general.js"></script>
 <script language="JavaScript" type="text/javascript" src="include/js/dtlviewajax.js"></script>
+<script src="include/scriptaculous/scriptaculous.js" type="text/javascript"></script>
 <span id="crmspanid" style="display:none;position:absolute;"  onmouseover="show('crmspanid');">
    <a class="link"  align="right" href="javascript:;">{$APP.LBL_EDIT_BUTTON}</a>
 </span>
 
-<style type="text/css">@import url(themes/blue/style.css);</style>
-
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<br>
+<table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
 <tr>
-{if $CATEGORY eq 'Settings'}
-	{include file='SettingsMenu.tpl'}
-{/if}
-<td width="75%" valign="top">
-
-<table width="100%"  border="0" cellspacing="0" cellpadding="0">
-	<tr><td class="padTab" align="left">
-		<table width="100%" border="0" cellpadding="0" cellspacing="0">
+    <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
+    <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%">
+    <br>
+
+    <div align=center>
+    {if $CATEGORY eq 'Settings'}
+        {include file='SetMenu.tpl'}
+    {/if}
+	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+	<tr>
+	    <td class="padTab" align="left">
 		<form name="DetailView" method="POST" action="index.php" ENCTYPE="multipart/form-data" id="form">
-			<input type="hidden" name="module" value="Users">
-			<input type="hidden" name="record" value="{$ID}">
-			<input type="hidden" name="isDuplicate" value=false>
-			<input type="hidden" name="action">
-
-{if $CATEGORY eq 'Settings'}
+		<input type="hidden" name="module" value="Users">
+		<input type="hidden" name="record" value="{$ID}">
+		<input type="hidden" name="isDuplicate" value=false>
+		<input type="hidden" name="action">
+		{if $CATEGORY eq 'Settings'}
 			<input type="hidden" name="modechk" value="prefview">
-{/if}
-			<input type="hidden" name="old_password">
-			<input type="hidden" name="new_password">
-			<input type="hidden" name="return_module">
-			<input type="hidden" name="return_action">
-			<input type="hidden" name="return_id">
-			<input type="hidden" name="forumDisplay">
-{if $CATEGORY eq 'Settings'}
+		{/if}
+		<input type="hidden" name="old_password">
+		<input type="hidden" name="new_password">
+		<input type="hidden" name="return_module">
+		<input type="hidden" name="return_action">
+		<input type="hidden" name="return_id">
+		<input type="hidden" name="forumDisplay">
+		{if $CATEGORY eq 'Settings'}
 			<input type="hidden" name="parenttab" value="{$PARENTTAB}">
-{/if}	
-
+		{/if}	
+	        <table width="100%" border="0" cellpadding="0" cellspacing="0">
+		<tr>
+		    <td style="border-bottom:1px dashed #CCCCCC;">
+			<table width="100%" cellpadding="5" cellspacing="0" border="0">
 			<tr>
-				<td style="border-bottom:1px dashed #CCCCCC;">
-					<table width="100%" cellpadding="5" cellspacing="0" border="0">
-					<tr>
-						<td colspan=2 style="padding:5px;">
-						{if $CATEGORY eq 'Settings'}
-							<span class="lvtHeaderText">
-							<b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a> > {$MOD.LBL_USER_MANAGEMENT} > {$MOD.LBL_USERS}</b></span>
-						{else}
-							<span class="lvtHeaderText">	
-							<b>{$APP.LBL_MY_PREFERENCES}</b>
-							</span>
-						{/if}
-						<span id="vtbusy_info" style="display:none;" valign="bottom"><img src="{$IMAGE_PATH}vtbusy.gif" border="0"></span>					
-				<hr noshade="noshade" size="1" />
-						</td>
-						<td align="right"><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">{$UMOD.LBL_DETAIL_VIEW} {$FIRST_NAME} {$LAST_NAME}</b>
-											</td>
-									</tr>
-							</table>
-					</td>
+			    <td rowspan="2"><img src="{$IMAGE_PATH}user.gif" align="absmiddle"></td>	
+			    <td>
+			    {if $CATEGORY eq 'Settings'}
+				<span class="lvtHeaderText">
+				<b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a> > {$MOD.LBL_USER_MANAGEMENT} > {$MOD.LBL_USERS}</b></span>
+			    {else}
+				<span class="lvtHeaderText">	
+				<b>{$APP.LBL_MY_PREFERENCES}</b>
+			   	</span>
+			    {/if}
+			    <span id="vtbusy_info" style="display:none;" valign="bottom"><img src="{$IMAGE_PATH}vtbusy.gif" border="0"></span>					
+			    </td>
+			    <td rowspan="2" nowrap>
+				{if $CATEGORY eq 'Settings'}
+                                	{$DUPLICATE_BUTTON}
+                        	{/if}
+				{$EDIT_BUTTON}
+			    </td>	
 			</tr>
-			<tr><td>&nbsp;</td></tr>
-			<tr valign="center">
-			        <td class="small" align="center">
-					{$EDIT_BUTTON}
-				{$CHANGE_PW_BUTTON}
-				{$LOGIN_HISTORY_BUTTON}
-			{if $CATEGORY eq 'Settings'}
-				{$DUPLICATE_BUTTON}
-			{/if}	
-				{$CHANGE_HOMEPAGE_BUTTON}	
-				{$LISTROLES_BUTTON}
-	</td></tr>
-
-		<tr><td colspan="2">&nbsp;</td></tr>
-		<tr><td colspan="2">
-		<table align="center" border="0" cellpadding="0" cellspacing="0" width="99%">
-		  
-		  <tr>
-			<td>
-			  <table class="small" border="0" cellpadding="3" cellspacing="0" width="100%">
-			  <tr >
-			        <td id="prof" width="25%" align="center" nowrap="nowrap" class="dvtSelectedCell" onClick="fnVis('prof')"><b>{$UMOD.LBL_USER_LOGIN_ROLE}</b></td>
-			     <td class="dvtTabCache" width="10" nowrap="nowrap">&nbsp;</td>
-
-			     <td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action=CallRelatedList&module={$MODULE}&record={$ID}&parenttab={$CATEGORY}">{$APP.LBL_MORE} {$APP.LBL_INFORMATION}</a></td>
-				    <td class="dvtTabCache" nowrap="nowrap" width="10">&nbsp;</td>
-			  </tr>
-			  </table>
-			</td>
-		  </tr>
-		  <tr>
+			<tr>
+			    <td>sssssssssss</td>
+			</tr>
+		    </table>
+		</td>
+	    </tr>
+	    <tr><td>&nbsp;</td></tr>
+	    <tr valign="center">
+	    	<td class="small" align="center">
+			{$CHANGE_PW_BUTTON}
+			{$LOGIN_HISTORY_BUTTON}
+		</td>
+	    </tr>
+	    <tr><td colspan="2">&nbsp;</td></tr>
+	    <tr>
+		<td colspan="2">
+		    <table align="center" border="0" cellpadding="0" cellspacing="0" width="99%">
+		    <tr>
 		  	<td align="left" valign="top">
-				{foreach key=header item=detail from=$BLOCKS}
-				<table border=0 cellspacing=0 cellpadding=0 width=100% class="small">
-  		    	<tr>
-    	               <td>&nbsp;</td>
-        	           <td>&nbsp;</td>
-            	       <td>&nbsp;</td>
-                	   <td align=right>
-				</tr>  
+			    {foreach key=header name=blockforeach item=detail from=$BLOCKS}
+				<br>
+				<table class="tableHeading" border="0" cellpadding="5" cellspacing="0" width="100%">
 				<tr>
-						{strip}
-					     <td colspan=4 style="border-bottom:1px solid #999999;padding:5px;" bgcolor="#e5e5e5">
-							<b>	{$header}</b>
-						 </td>
-						 {/strip}
-			    </tr>
-					{foreach item=detail from=$detail}
-					<tr style="height:25px">
-							{foreach key=label item=data from=$detail}
-							   {assign var=keyid value=$data.ui}
-							   {assign var=keyval value=$data.value}
-							   {assign var=keytblname value=$data.tablename}
-							   {assign var=keyfldname value=$data.fldname}
-							   {assign var=keyoptions value=$data.options}
-							   {assign var=keysecid value=$data.secid}
-							   {assign var=keyseclink value=$data.link}
-							   {assign var=keycursymb value=$data.cursymb}
-							   {assign var=keysalut value=$data.salut}
-							   {assign var=keycntimage value=$data.cntimage}
-							   {assign var=keyadmin value=$data.isadmin}
-							   
-							   <input type="hidden" id="hdtxt_IsAdmin" value={$keyadmin}></input>
-							   	{if $label ne ''}
-									<td class="dvtCellLabel" align=right width=25%>{$label}</td>
-									{include file="DetailViewUI.tpl"}
-								{else}
-                                    <td class="dvtCellLabel" align=right>&nbsp;</td>
-                                    <td class="dvtCellInfo" align=left >&nbsp;</td>
-				{/if}	
-							{/foreach}
+				    {strip}
+				     <td class="big">	
+					<strong>{$smarty.foreach.blockforeach.iteration}. {$header}</strong>
+				     </td>
+				     <td class="small" align="right">&nbsp;</td>	
+				    {/strip}
+			        </tr>
+				</table>
+				<table border="0" cellpadding="5" cellspacing="0" width="100%">
+				{foreach item=detail from=$detail}
+				<tr style="height:25px">
+					{foreach key=label item=data from=$detail}
+					   {assign var=keyid value=$data.ui}
+					   {assign var=keyval value=$data.value}
+					   {assign var=keytblname value=$data.tablename}
+					   {assign var=keyfldname value=$data.fldname}
+					   {assign var=keyoptions value=$data.options}
+					   {assign var=keysecid value=$data.secid}
+					   {assign var=keyseclink value=$data.link}
+					   {assign var=keycursymb value=$data.cursymb}
+					   {assign var=keysalut value=$data.salut}
+					   {assign var=keycntimage value=$data.cntimage}
+					   {assign var=keyadmin value=$data.isadmin}
+					   
+					   <input type="hidden" id="hdtxt_IsAdmin" value={$keyadmin}></input>
+					   {if $label ne ''}
+					   <td class="dvtCellLabel" align=right width=25%>{$label}</td>
+						{include file="DetailViewUI.tpl"}
+					   {else}
+                                    	   <td class="dvtCellLabel" align=right>&nbsp;</td>
+                                    	   <td class="dvtCellInfo" align=left >&nbsp;</td>
+					   {/if}	
+					{/foreach}
 			 	</tr>
-					{/foreach}
-					</table>
-				 {/foreach}
+				{/foreach}
+			    </table>
+			    {/foreach}
+			    <br>
+			    <table class="tableHeading" border="0" cellpadding="5" cellspacing="0" width="100%">
+			    	<tr>
+				     <td class="big">	
+					<strong>4.{$UMOD.LBL_HOME_PAGE_COMP}</strong>
+				     </td>
+				     <td class="small" align="right"><img src="{$IMAGE_PATH}showDown.gif" alt="{$APP.LBL_EXPAND_COLLAPSE}" title="{$APP.LBL_EXPAND_COLLAPSE}" onClick="ShowHidefn('home_comp');"></td>	
+			        </tr>
+			    </table>
+			<div style="float: none; display: none;" id="home_comp">	
+			    <table border="0" cellpadding="5" cellspacing="0" width="100%">
+				{foreach item=homeitems key=values from=$HOMEORDER}
+					<tr><td class="dvtCellLabel" align="right" width="30%">{$UMOD.$values}</td>
+					    {if $homeitems neq ''}
+					    	<td class="dvtCellInfo" align="center" width="5%">
+					   	<img src="{$IMAGE_PATH}prvPrfSelectedTick.gif" alt="{$UMOD.LBL_SHOWN}" height="12" width="12"></td><td class="dvtCellInfo" align="left">{$UMOD.LBL_SHOWN}</td> 		
+					    {else}	
+						<td class="dvtCellInfo" align="center" width="5%">
+					   	<img src="{$IMAGE_PATH}no.gif" alt="{$UMOD.LBL_HIDDEN}" height="12" width="12"></td><td class="dvtCellInfo" align="left">{$UMOD.LBL_HIDDEN}</td> 		
+					    {/if}	
+					</tr>			
+				{/foreach}
+			    </table>	
+			</div>
+			<br>
+			    <table class="tableHeading" border="0" cellpadding="5" cellspacing="0" width="100%">
+			    	<tr>
+				     <td class="big">	
+					<strong>5.{$UMOD.LBL_LOGIN_HISTORY}</strong>
+				     </td>
+				     <td class="small" align="right">&nbsp;</td>	
+			        </tr>
+			    </table>
+			    <table border="0" cellpadding="5" cellspacing="0" width="100%">
+				<tr><td>&nbsp;</td><td></td></tr>	
+			    </table>	
 
 			</td>
 			</tr>
 			
-	        <tr><td>&nbsp;</td></tr>
+		        <tr><td>&nbsp;</td></tr>
 			
-	  </table>
+	  	</table>
 
 
 
 </td></tr>
+<tr><td class="small"><div align="right"><a href="#top">{$MOD.LBL_SCROLL}</a></div></td></tr>
 </table>
 </form>
 </td></tr>
@@ -170,15 +190,23 @@
 </td>
 </tr>
 </table>
-
+</div>
+<td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
+</tr>
+</table>
+<br>
 {$JAVASCRIPT}
-{if $CATEGORY eq 'Settings'}
-	{include file='SettingsSubMenu.tpl'}
-{/if}
 
 <!-- added for validation -->
 <script language="javascript">
   var fieldname = new Array({$VALIDATION_DATA_FIELDNAME});
   var fieldlabel = new Array({$VALIDATION_DATA_FIELDLABEL});
   var fielddatatype = new Array({$VALIDATION_DATA_FIELDDATATYPE});
+function ShowHidefn(divid)
+{ldelim}
+	if($(divid).style.display != 'none')
+		Effect.Fade(divid);
+	else
+		Effect.Appear(divid);
+{rdelim}
 </script>

Modified: vtigercrm/trunk/Smarty/templates/UserEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/UserEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/UserEditView.tpl Wed Jun 28 10:18:54 2006
@@ -11,7 +11,6 @@
 -->*}
 <script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script>
 <script language="JavaScript" type="text/javascript" src="include/js/ColorPicker2.js"></script>
-<style type="text/css">@import url(themes/blue/style.css);</style>
 
 <script language="JavaScript" type="text/javascript">
 
@@ -51,115 +50,155 @@
 </script>
 
 
-
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr>
-{if $PARENTTAB neq ''}	
-	{include file='SettingsMenu.tpl'}
-{/if}
-<td width="75%" valign="top">
-<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+<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>
+	{if $PARENTTAB eq 'Settings'}
+		{include file='SetMenu.tpl'}
+	{/if}
+
+
+	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
 	<tr><td align="left">
-			<table width="100%" cellpadding="5" cellspacing="0" border="0">
-			<tr>
-			<td colspan="2" style="padding:5px;">
+		<table class="settingsSelUITopLine" border="0" cellpadding="5" cellspacing="0" width="100%">
+		<tr>
+			<td rowspan="2"><img src="{$IMAGE_PATH}user.gif" align="absmiddle"></td>
+			<td>	
 				<span class="lvtHeaderText">
-					{if $PARENTTAB neq ''}	
-					<b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a> > {$MOD.LBL_USER_MANAGEMENT} > {$MOD.LBL_USERS}</b></span>
-					{else}
-                                            <span class="lvtHeaderText">
-                                            <b>{$APP.LBL_MY_PREFERENCES}</b>
-                                            </span>
-                                        {/if}
-				<hr noshade="noshade" size="1" />
-			</td>
-		  </tr>
+				{if $PARENTTAB neq ''}	
+				<b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS} </a> > {$MOD.LBL_USER_MANAGEMENT} > {$MOD.LBL_USERS}</b></span>
+				{else}
+                                <span class="lvtHeaderText">
+                                <b>{$APP.LBL_MY_PREFERENCES}</b>
+                                </span>
+                                {/if}
+			</td>
+			<td rowspan="2" nowrap>
+				<input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accesskey="{$APP.LBL_SAVE_BUTTON_KEY}" class="small crmbutton save"  name="button" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  "  onclick="this.form.action.value='Save'; return verify_data(EditView)" style="width: 70px;" type="button" />
+				<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accesskey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="small crmbutton cancel" name="button" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  " onclick="window.history.back()" style="width: 70px;" type="button" />
+						
+			</td>
+	 	</tr>
 		<tr>
-											<td width="5%"><img src="{$IMAGE_PATH}user.gif" align="absmiddle"></td>
-										{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>
-	
+			{if $MODE eq 'edit'}
+				<td><span class="genHeaderGrayBig">{$USER_NAME}</span><br>
+				<b class="small">{$UMOD.LBL_EDIT_VIEW} {$FIRST_NAME} {$LAST_NAME}</b>
+			{else}
+				<td><span class="genHeaderGrayBig">{$UMOD.LBL_NEW_USER_BUTTON_LABEL}</span><br>
+				<b class="small">{$UMOD.LBL_CREATE_NEW_USER}</b>
+			{/if}
+			</td>
+                </tr>
+		</table>
+	</td>
+	</tr>
 	<tr><td class="padTab" align="left">
 		<form name="EditView" method="POST" action="index.php" ENCTYPE="multipart/form-data">
-			<input type="hidden" name="module" value="Users">
-			<input type="hidden" name="record" value="{$ID}">
-			<input type="hidden" name="mode" value="{$MODE}">
-			<input type='hidden' name='parenttab' value='{$PARENTTAB}'>
-			<input type="hidden" name="activity_mode" value="{$ACTIVITYMODE}">
-			<input type="hidden" name="action">
-			<input type="hidden" name="return_module" value="{$RETURN_MODULE}">
-			<input type="hidden" name="return_id" value="{$RETURN_ID}">
-			<input type="hidden" name="return_action" value="{$RETURN_ACTION}">			
-			<input type="hidden" name="tz" value="Europe/Berlin">			
-			<input type="hidden" name="holidays" value="de,en_uk,fr,it,us,">			
-			<input type="hidden" name="workdays" value="0,1,2,3,4,5,6,">			
-			<input type="hidden" name="namedays" value="">			
-			<input type="hidden" name="weekstart" value="1">
+		<input type="hidden" name="module" value="Users">
+		<input type="hidden" name="record" value="{$ID}">
+		<input type="hidden" name="mode" value="{$MODE}">
+		<input type='hidden' name='parenttab' value='{$PARENTTAB}'>
+		<input type="hidden" name="activity_mode" value="{$ACTIVITYMODE}">
+		<input type="hidden" name="action">
+		<input type="hidden" name="return_module" value="{$RETURN_MODULE}">
+		<input type="hidden" name="return_id" value="{$RETURN_ID}">
+		<input type="hidden" name="return_action" value="{$RETURN_ACTION}">			
+		<input type="hidden" name="tz" value="Europe/Berlin">			
+		<input type="hidden" name="holidays" value="de,en_uk,fr,it,us,">			
+		<input type="hidden" name="workdays" value="0,1,2,3,4,5,6,">			
+		<input type="hidden" name="namedays" value="">			
+		<input type="hidden" name="weekstart" value="1">
 		<table width="100%" border="0" cellpadding="0" cellspacing="0">
 
-		<tr><td colspan="2">&nbsp;</td></tr>
 		<tr><td colspan="2">
-		<table align="center" border="0" cellpadding="0" cellspacing="0" width="99%">
-		  <tr>
-			<td>
-			  <table class="small" border="0" cellpadding="3" cellspacing="0" width="100%">
-			  <tr>
-			     <td id="prof" width="25%" align="center" nowrap="nowrap" class="dvtSelectedCell" onclick="fnVis('prof')" ><b>{$UMOD.LBL_USER_LOGIN_ROLE}</b></td>
-			     <td class="dvtTabCache" width="10" nowrap="nowrap">&nbsp;</td>
-			  </tr>
-			  </table>
-			</td>
-		  </tr>
+			<table align="center" border="0" cellpadding="0" cellspacing="0" width="99%">
 			<tr>
 			    <td align="left" valign="top">
-			        <div id="mnuTab">
-			             <table class="dvtContentSpace" border="0" cellpadding="0" cellspacing="0" width="100%">
-				        <tr><td height="35">&nbsp;</td></tr>
+			             <table border="0" cellpadding="0" cellspacing="0" width="100%">
 					<tr><td align="left">
-					   <table width="99%"  border="0" cellspacing="0" cellpadding="5" align="center" class="small">
-
-									   {foreach key=header item=data from=$BLOCKS}
-					     <tr>
-											<td colspan=4 class="detailedViewHeader">
-											<b>{$header}</b>
-						</td>
-					     </tr>
-										<!-- Handle the ui types display -->
-										{include file="DisplayFields.tpl"}
-
-									   {/foreach}
-
-
-							        <tr>
-							            <td colspan=4><div align="center">
-								    <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="button" />
-								    <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>
-							  </td></tr>
+						{foreach key=header name=blockforeach item=data from=$BLOCKS}
+						<br>
+		                                <table class="tableHeading" border="0" cellpadding="5" cellspacing="0" width="100%">
+                		                <tr>
+                                		    {strip}
+		                                     <td class="big">
+                		                        <strong>{$smarty.foreach.blockforeach.iteration}. {$header}</strong>
+                                		     </td>
+		                                     <td class="small" align="right">&nbsp;</td>
+		                                  {/strip}
+                		              	</tr>
+                                		</table>
+		                                <table border="0" cellpadding="5" cellspacing="0" width="100%">
+						<!-- Handle the ui types display -->
+							{include file="DisplayFields.tpl"}
 						</table>
-						</form>
+					   	{/foreach}
+				<br>
+			    	<table class="tableHeading" border="0" cellpadding="5" cellspacing="0" width="100%">
+			    	<tr>
+				     <td class="big">	
+					<strong>4.sdjhfsjkhfjalkssdjhfsjkhfjalks</strong>
+				     </td>
+				     <td class="small" align="right">&nbsp;</td>	
+			        </tr>
+			    	</table>
+			    	<table border="0" cellpadding="5" cellspacing="0" width="100%">
+				{foreach item=homeitems key=values from=$HOMEORDER}
+					<tr><td class="dvtCellLabel" align="right" width="30%">{$UMOD.$values}</td>
+					    {if $homeitems neq ''}
+					    	<td class="dvtCellInfo" align="center" width="5%">
+					   	<input name="{$values}" value="{$values}" checked type="radio"></td><td class="dvtCellInfo" align="left" width="20%">Show</td> 		
+					    	<td class="dvtCellInfo" align="center" width="5%">
+					   	<input name="{$values}" value="" type="radio"></td><td class="dvtCellInfo" align="left">Hide</td> 		
+					    {else}	
+					    	<td class="dvtCellInfo" align="center" width="5%">
+					   	<input name="{$values}" value="{$values}" type="radio"></td><td class="dvtCellInfo" align="left">Show</td> 		
+					    	<td class="dvtCellInfo" align="center" width="5%">
+					   	<input name="{$values}" value="" checked type="radio"></td><td class="dvtCellInfo" align="left">Hide</td> 		
+					    {/if}	
+					</tr>			
+				{/foreach}
+			    	</table>	
+				<br>
+			    	<table class="tableHeading" border="0" cellpadding="5" cellspacing="0" width="100%">
+			    	<tr>
+				     <td class="big">	
+					<strong>5.kssdjhfsjkhfjalks</strong>
+				     </td>
+				     <td class="small" align="right">&nbsp;</td>	
+			        </tr>
+			    	</table>
+			    	<table border="0" cellpadding="5" cellspacing="0" width="100%">
+					<tr><td>&nbsp;</td><td></td></tr>	
+			    	</table>	
+				<tr><td colspan=4>&nbsp;</td></tr>
+							
+					        <tr>
+					       		<td colspan=4 align="right">
+							<input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accesskey="{$APP.LBL_SAVE_BUTTON_KEY}" class="small crmbutton save"  name="button" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  "  onclick="this.form.action.value='Save'; return verify_data(EditView)" style="width: 70px;" type="button" />
+							<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accesskey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="small crmbutton cancel" name="button" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  " onclick="window.history.back()" style="width: 70px;" type="button" />
+							</td>
+						</tr>
+					    </table>
+					 </td></tr>
+					</table>
 			  	   </td></tr>
 				   </table>
-				    </td></tr>
+				 <br>
+				  </td></tr>
+				<tr><td class="small"><div align="right"><a href="#top">{$MOD.LBL_SCROLL}</a></div></td></tr>
 				</table>
+				</form>	
+			</td>
+			</tr>
+			</table>
 </td>
 </tr>
 </table>
-
+</td></tr></table>
+<br>
 {$JAVASCRIPT}
-{if $PARENTTAB neq ''}
-	{include file='SettingsSubMenu.tpl'}
-{/if}





More information about the vtigercrm-commits mailing list