[Vtigercrm-commits] [vtiger-commits] r6762 - in /vtigercrm/trunk/modules/Users: ShowHistory.html ShowHistory.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 30 10:47:30 EDT 2006


Author: don
Date: Tue May 30 08:47:25 2006
New Revision: 6762

Log:
new ui integrated for login history

Modified:
    vtigercrm/trunk/modules/Users/ShowHistory.html
    vtigercrm/trunk/modules/Users/ShowHistory.php

Modified: vtigercrm/trunk/modules/Users/ShowHistory.html
==============================================================================
--- vtigercrm/trunk/modules/Users/ShowHistory.html (original)
+++ vtigercrm/trunk/modules/Users/ShowHistory.html Tue May 30 08:47:25 2006
@@ -10,50 +10,44 @@
  ********************************************************************************/
 -->
 <!-- BEGIN: main -->
-<table cellpadding="0" cellspacing="0" width="100%" border="0" class="FormBorder"><tbody>
+<table width="95%" border="0" cellpadding="0" cellspacing="0"  align="center">
+<tr>
+    	<td valign="top"><img src="themes/blue/images/showPanelTopLeft.gif"></td>
+      <td class="showPanelBg" valign="top" width="100%" colspan="3" style="padding-left:20px; "><br />
+		<span class="lvtHeaderText">
+                  <b>{MOD.LBL_LOGIN_HISTORY_BUTTON_LABEL}</b></span>
+         <hr noshade="noshade" size="1" /><br>
 <!-- BEGIN: list_nav_row -->
-	<tr height="20">
-		<td COLSPAN="11" class="listFormHeaderLinks" align="right">
-<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>&nbsp;</td>
+<table border="0" cellpadding="5" cellspacing="0" width="80%" align="center"><tr><td><input type="button" value=" &lsaquo; {APP.LBL_BACK} " name="back" class="classBtn" onClick="window.history.back();" /></td>
 <td align="right">{START_LINK}&nbsp;&nbsp;{PREVIOUS_LINK}&nbsp;&nbsp;
                 {NEXT_LINK}&nbsp;&nbsp;{END_LINK}&nbsp;&nbsp; {START_RECORD} - {END_RECORD} {APP.LBL_LIST_OF} {ROW_COUNT}&nbsp;&nbsp;</td></table>
+<!-- END: list_nav_row -->
 
-	</td>
+<table style="background-color: rgb(204, 204, 204);" border="0" cellpadding="5" cellspacing="1" width="80%" align="center" class="small"><tbody>
+	<tr height="20">
+		<td width="30%" class="lvtCol" NOWRAP>&nbsp;<a href="{ORDER_BY}user_name" class="listFormHeaderLinks">{APP.LBL_LIST_USER_NAME}{user_name_arrow}</a></td>
+		<td width="15%" class="lvtCol" NOWRAP>&nbsp;<a href="{ORDER_BY}user_ip" class="listFormHeaderLinks">{APP.LBL_LIST_USERIP}{user_ip_arrow}</a></td>
+		<td width="30%" class="lvtCol" NOWRAP>&nbsp;<a href="{ORDER_BY}login_time" class="listFormHeaderLinks">{APP.LBL_LIST_SIGNIN}{login_time_arrow}</a></td>
+		<td width="15%" class="lvtCol" NOWRAP>&nbsp;<a href="{ORDER_BY}logout_time" class="listFormHeaderLinks">{APP.LBL_LIST_SIGNOUT}{logout_time_arrow}</a></td>
+		<td width="10%" class="lvtCol" NOWRAP>&nbsp;{APP.LBL_LIST_STATUS}</td>
 	</tr>
-<!-- END: list_nav_row -->
-	<tr><td COLSPAN="11" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td></tr>
-	<tr height="20" class="moduleListTitle">
-	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
-		<td width="30%" class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}user_name" class="listFormHeaderLinks">{APP.LBL_LIST_USER_NAME}{user_name_arrow}</a></td>
-	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
-		<td width="15%" class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}user_ip" class="listFormHeaderLinks">{APP.LBL_LIST_USERIP}{user_ip_arrow}</a></td>
-	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
-		<td width="30%" class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}login_time" class="listFormHeaderLinks">{APP.LBL_LIST_SIGNIN}{login_time_arrow}</a></td>
-	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
-		<td width="15%" class="moduleListTitle" NOWRAP>&nbsp;<a href="{ORDER_BY}logout_time" class="listFormHeaderLinks">{APP.LBL_LIST_SIGNOUT}{logout_time_arrow}</a></td>
-	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
-		<td width="10%" class="moduleListTitle" NOWRAP>&nbsp;{APP.LBL_LIST_STATUS}</td>
-	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif">
-	  </tr>
-	<tr><td COLSPAN="11" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td></tr>
 
 <!-- BEGIN: row -->
-<tr height=20 class={ROW_COLOR}>
-		<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
+<tr height=20 class="lvtColData" onmouseover="this.className='lvtColDataHover'" onmouseout="this.className='lvtColData'" bgcolor="white">
     			<td valign=TOP style="padding:0px 3px 0px 3px;">{LOGIN.USER_NAME}</td>
-    	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
     			<td valign=TOP style="padding:0px 3px 0px 3px;">{LOGIN.USER_IP}</td>
-
-
-    	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
     			<td valign=TOP style="padding:0px 3px 0px 3px;">{LOGIN.LOGIN_TIME}</td>
-    	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
     			<td valign=TOP style="padding:0px 3px 0px 3px;">{LOGIN.LOGOUT_TIME}</td>
-    	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
     			<td valign=TOP style="padding:0px 3px 0px 3px;"  nowrap>{LOGIN.STATUS}</td>
-    	<td WIDTH="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td>
 </tr>
 <!-- END: row -->
-<tr><td COLSPAN="7">
+</table>
+
+</td>
+
+    	<td valign="top"><img src="themes/blue/images/showPanelTopRight.gif"></td>
+</tr>
+</table>
+<br>
 <!-- END: main -->
 

Modified: vtigercrm/trunk/modules/Users/ShowHistory.php
==============================================================================
--- vtigercrm/trunk/modules/Users/ShowHistory.php (original)
+++ vtigercrm/trunk/modules/Users/ShowHistory.php Tue May 30 08:47:25 2006
@@ -44,27 +44,12 @@
 	$focus->id = "";
 }
 
-echo get_module_title($mod_strings['LBL_MODULE_NAME'], $current_module_strings['LBL_LOGIN_HISTORY_TITLE'], true); 
-echo "\n<BR>\n";
-
 // focus_list is the means of passing data to a ListView.
 global $focus_list;
 
 if (!isset($where)) $where = "";
 
 $seedLogin = new LoginHistory();
-
-$button  = "<table cellspacing='0' cellpadding='1' border='0'><form border='0' method='post' name='DetailView' action='index.php'>\n";
-
-$button .= "<tr><td>\n";
-$button .= "<input type='hidden' name='module' value='Users'>\n";
-$button .= "<input type='hidden' name='return_module' value='".$currentModule."'>\n";
-$button .= "<input type='hidden' name='return_action' value='".$action."'>\n";
-$button .= "<input type='hidden' name='record' value='".$focus->id."'>\n";
-$button .= "<input type='hidden' name='action'>\n";
-$button .= "<input title='".$app_strings['LBL_CANCEL_BUTTON_TITLE']."' accessKey='".$app_strings['LBL_CANCEL_BUTTON_KEY']."' class='button' onclick=\"this.form.action.value='DetailView'; this.form.module.value='Users'; this.form.record.value='$focus->id'\" type='submit' name='button' value='".$app_strings['LBL_CANCEL_BUTTON_LABEL']."'></td></tr>";
-
-$button .= "</form></table>";
 
 $ListView = new ListView();
 $ListView->initNewXTemplate('modules/Users/ShowHistory.html',$current_module_strings);





More information about the vtigercrm-commits mailing list