[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 {*<!-- 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 -->*} 12 13 <script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script> 14 <script src="include/scriptaculous/prototype.js" type="text/javascript"></script> 15 <script src="include/scriptaculous/scriptaculous.js" type="text/javascript"></script> 16 <script language="javascript" type="text/javascript" src="include/js/general.js"></script> 17 <script language="JavaScript" type="text/javascript" src="include/js/dtlviewajax.js"></script> 18 <script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script> 19 20 <br> 21 <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%"> 22 <tbody><tr> 23 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td> 24 <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%"> 25 <form action="index.php" method="post" name="ListLoginHistory" id="form"> 26 <input type='hidden' name='module' value='Users'> 27 <input type='hidden' name='action' value='ListLoginHistory'> 28 <input type='hidden' name='record' id='record' value="{$ID}"> 29 <input type='hidden' name='parenttab' value='Settings'> 30 31 <br> 32 33 <div align=center> 34 {include file='SetMenu.tpl'} 35 <!-- DISPLAY --> 36 <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine"> 37 <tr> 38 <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}set-IcoLoginHistory.gif" alt="{$MOD.LBL_AUDIT_TRAIL}" width="48" height="48" border=0 title="{$MOD.LBL_LOGIN_HISTORY_DETAILS}"></td> 39 <td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.LBL_LOGIN_HISTORY_DETAILS}</b></td> 40 </tr> 41 <tr> 42 <td valign=top class="small">{$MOD.LBL_LOGIN_HISTORY_DESCRIPTION}</td> 43 </tr> 44 </table> 45 46 <br> 47 <table border=0 cellspacing=0 cellpadding=10 width=100% > 48 <tr> 49 <td> 50 51 <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading"> 52 <tr> 53 <td class="big" height="30px;"><strong>{$MOD.LBL_LOGIN_HISTORY_DETAILS}</strong></td> 54 <td class="small" align="left"> </td> 55 </tr> 56 </table> 57 58 <table border=0 cellspacing=0 cellpadding=0 width=100% class="listRow"> 59 <tr> 60 <td class="small" valign=top ><table width="100%" border="0" cellspacing="0" cellpadding="5"> 61 62 <tr valign="top"> 63 <td nowrap width="18%" class="small cellLabel"><strong>{$MOD.LBL_USER_AUDIT}</strong></td> 64 <td class="small cellText"> 65 <select name="user_list" id="user_list" onchange="fetchlogin_js({$ID});"> 66 <option value="none">{$APP.LBL_NONE}</option> 67 {$USERLIST} 68 </select> 69 </td> 70 71 </tr> 72 73 </table> 74 </td> 75 </tr> 76 <table class="tableHeading" border="0" cellpadding="5" cellspacing="0" width="100%"> 77 <tr> 78 <td class="big"> 79 <strong>{$CMOD.LBL_LOGIN_HISTORY}</strong> 80 </td> 81 </tr> 82 </table> 83 <table border="0" cellpadding="5" cellspacing="0" width="100%"> 84 <tr><td align="left"><div id="login_history_cont" style="display:none;"></div></td><td></td></tr> 85 </table> 86 <br> 87 </table> 88 <table border=0 cellspacing=0 cellpadding=5 width=100% > 89 <tr> 90 <td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td> 91 </tr> 92 </table> 93 94 </td> 95 </tr> 96 </table> 97 98 99 100 </td> 101 </tr> 102 </table> 103 </td> 104 </tr> 105 </table> 106 107 </div> 108 109 </td> 110 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td> 111 </tr> 112 </tbody> 113 </form> 114 </table> 115 116 {literal} 117 <script> 118 function fetchlogin_js(id) 119 { 120 fetchLoginHistory(id); 121 } 122 function fetchLoginHistory(id) 123 { 124 var oUser_combo = $('user_list'); 125 var id = oUser_combo.options[oUser_combo.selectedIndex].value; 126 if ( id == 'none') 127 { 128 Effect.Fade('login_history_cont'); 129 } 130 else 131 { 132 $("status").style.display="inline"; 133 new Ajax.Request( 134 'index.php', 135 {queue: {position: 'end', scope: 'command'}, 136 method: 'post', 137 postBody: 'module=Users&action=UsersAjax&file=ShowHistory&ajax=true&record='+id, 138 onComplete: function(response) { 139 $("status").style.display="none"; 140 $("login_history_cont").innerHTML= response.responseText; 141 Effect.Appear('login_history_cont'); 142 } 143 } 144 ); 145 } 146 } 147 </script> 148 {/literal} 149 <script> 150 function getListViewEntries_js(module,url) 151 {ldelim} 152 var oUser_combo = $('user_list'); 153 var id = oUser_combo.options[oUser_combo.selectedIndex].value; 154 $("status").style.display="inline"; 155 new Ajax.Request( 156 'index.php', 157 {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim}, 158 method: 'post', 159 postBody:"module="+module+"&action="+module+"Ajax&file=ShowHistory&record="+id+"&ajax=true&"+url, 160 onComplete: function(response) {ldelim} 161 $("status").style.display="none"; 162 $("login_history_cont").innerHTML= response.responseText; 163 {rdelim} 164 {rdelim} 165 ); 166 {rdelim} 167 </script> 168
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |