[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Smarty/templates/ -> UserListView.tpl (source)

   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  
  15  <br>
  16  <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
  17  <tbody><tr>
  18          <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
  19          <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%">
  20  <form action="index.php" method="post" name="EditView" id="form">
  21  <input type='hidden' name='module' value='Users'>
  22  <input type='hidden' name='action' value='EditView'>
  23  <input type='hidden' name='return_action' value='ListView'>
  24  <input type='hidden' name='return_module' value='Users'>
  25  <input type='hidden' name='parenttab' value='Settings'>
  26  
  27          <br>
  28  
  29      <div align=center>
  30              {include file='SetMenu.tpl'}
  31                  <!-- DISPLAY -->
  32                  <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
  33                  <tr>
  34                      <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ico-users.gif" alt="{$MOD.LBL_USERS}" width="48" height="48" border=0 title="{$MOD.LBL_USERS}"></td>
  35                      <td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.LBL_USERS}</b></td>
  36                  </tr>
  37                  <tr>
  38                      <td valign=top class="small">{$MOD.LBL_USER_DESCRIPTION}</td>
  39                  </tr>
  40                  </table>
  41                  
  42                  <br>
  43                  <table border=0 cellspacing=0 cellpadding=10 width=100% >
  44                  <tr>
  45                  <td>
  46                      <div id="ListViewContents">
  47                          {include file="UserListViewContents.tpl"}
  48                      </div>    
  49                  </td>
  50                  </tr>
  51                  </table>
  52              
  53              
  54              
  55              </td>
  56              </tr>
  57              </table>
  58          </td>
  59      </tr>
  60      </table>
  61          
  62      </div>
  63  
  64  </td>
  65          <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
  66     </tr>
  67  </tbody>
  68  </form>
  69  </table>
  70  
  71  <div id="tempdiv" style="display:block;position:absolute;left:350px;top:200px;"></div>
  72  {literal}
  73  <script>
  74  function getListViewEntries_js(module,url)
  75  {
  76          $("status").style.display="inline";
  77          new Ajax.Request(
  78                  'index.php',
  79                  {queue: {position: 'end', scope: 'command'},
  80                          method: 'post',
  81                          postBody: 'module=Users&action=UsersAjax&file=ListView&ajax=true&'+url,
  82                          onComplete: function(response) {
  83                                  $("status").style.display="none";
  84                                  $("ListViewContents").innerHTML= response.responseText;
  85                          }
  86                  }
  87          );
  88  }
  89  
  90  function deleteUser(obj,userid)
  91  {
  92          $("status").style.display="inline";
  93          new Ajax.Request(
  94                  'index.php',
  95                  {queue: {position: 'end', scope: 'command'},
  96                          method: 'post',
  97                          postBody: 'action=UsersAjax&file=UserDeleteStep1&return_action=ListView&return_module=Users&module=Users&parenttab=Settings&record='+userid,
  98                          onComplete: function(response) {
  99                                  $("status").style.display="none";
 100                                  $("tempdiv").innerHTML= response.responseText;
 101                  fnvshobj(obj,"tempdiv");
 102                          }
 103                  }
 104          );
 105  }
 106  function transferUser(del_userid)
 107  {
 108          $("status").style.display="inline";
 109          $("DeleteLay").style.display="none";
 110          var trans_userid=$('transfer_user_id').options[$('transfer_user_id').options.selectedIndex].value;
 111          new Ajax.Request(
 112                  'index.php',
 113                  {queue: {position: 'end', scope: 'command'},
 114                          method: 'post',
 115                          postBody: 'module=Users&action=UsersAjax&file=DeleteUser&ajax=true&delete_user_id='+del_userid+'&transfer_user_id='+trans_userid,
 116                          onComplete: function(response) {
 117                                  $("status").style.display="none";
 118                                  $("ListViewContents").innerHTML= response.responseText;
 119                          }
 120                  }
 121          );
 122  
 123  }
 124  </script>
 125  {/literal}
 126  
 127  


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7