[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Smarty/templates/ -> ListGroup.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  <script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script>
  13  
  14  <br>
  15  <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
  16  <tbody><tr>
  17          <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
  18          <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%">
  19          <br>
  20  
  21      <div align=center>
  22              {include file='SetMenu.tpl'}
  23                  <!-- DISPLAY -->
  24                  <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
  25                  <form action="index.php" method="post" name="new" id="form">
  26                  <input type="hidden" name="module" value="Users">
  27                  <input type="hidden" name="action" value="createnewgroup">
  28                  <input type="hidden" name="mode" value="create">
  29                  <input type="hidden" name="parenttab" value="Settings">
  30                  <tr>
  31                      <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ico-groups.gif" alt="{$MOD.LBL_GROUPS}" width="48" height="48" border=0 title="{$MOD.LBL_GROUPS}"></td>
  32                      <td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$CMOD.LBL_GROUPS}</b></td>
  33                  </tr>
  34                  <tr>
  35                      <td valign=top class="small">{$MOD.LBL_GROUP_DESC}</td>
  36                  </tr>
  37                  </table>
  38                  <br>
  39                  <table border=0 cellspacing=0 cellpadding=10 width=100% >
  40                  <tr>
  41  
  42                  <td>
  43                  
  44                      <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
  45                      <tr>
  46                          <td class="big"><strong>{$MOD.LBL_GROUP_LIST}</strong></td>
  47                          <td class="small" align=right>{$CMOD.LBL_TOTAL} {$GRPCNT} {$CMOD.LBL_GROUPS} </td>
  48                      </tr>
  49                      </table>
  50                      <table border=0 cellspacing=0 cellpadding=5 width=100% class="listTableTopButtons">
  51  
  52                      <tr>
  53                           <td class=small align=right>
  54                          <input title="{$CMOD.LBL_NEW_GROUP}" class="crmButton create small" type="submit" name="New" value="{$CMOD.LBL_NEW_GROUP}"/>
  55                           </td>
  56                      </tr>
  57                      </table>
  58                          
  59                      <table border=0 cellspacing=0 cellpadding=5 width=100% class="listTable">
  60                      <tr>
  61                          <td class="colHeader small" valign=top width=2%>#</td>
  62                          <td class="colHeader small" valign=top width=8%>{$LIST_HEADER.0}</td>
  63                          <td class="colHeader small" valign=top width=30%>{$LIST_HEADER.1}</td>
  64                          <td class="colHeader small" valign=top width=60%>{$LIST_HEADER.2}</td>
  65                        </tr>
  66                          {foreach name=grouplist item=groupvalues from=$LIST_ENTRIES}
  67                        <tr>
  68                          <td class="listTableRow small" valign=top>{$smarty.foreach.grouplist.iteration}</td>
  69                          <td class="listTableRow small" valign=top nowrap>
  70                                    <a href="index.php?module=Users&action=createnewgroup&returnaction=listgroups&parenttab=Settings&mode=edit&groupId={$groupvalues.groupid}"><img src="{$IMAGE_PATH}editfield.gif" alt="{$APP.LNK_EDIT}" title="{$APP.LNK_EDIT}" border="0" align="absmiddle"></a>&nbsp;|    
  71                                  <a href="#" onClick="deletegroup(this,'{$groupvalues.groupid}')";><img src="{$IMAGE_PATH}delete.gif" alt="{$LNK_DELETE}" title="{$APP.LNK_DELETE}" border="0" align="absmiddle"></a>
  72                          </td>
  73                          <td class="listTableRow small" valign=top><strong>
  74                                                <a href="index.php?module=Users&action=GroupDetailView&parenttab=Settings&groupId={$groupvalues.groupid}">{$groupvalues.groupname}</a></strong>
  75                          </td>
  76                          <td class="listTableRow small" valign=top>{$groupvalues.description}</td>
  77                        </tr>
  78                      {/foreach}
  79                      </table>
  80                      <table border=0 cellspacing=0 cellpadding=5 width=100% >
  81                      <tr><td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td></tr>
  82                      </table>
  83                      
  84                      
  85                  </td>
  86                  </tr>
  87                  </table>
  88              
  89              
  90              
  91              </td>
  92              </tr>
  93              </table>
  94          </td>
  95      </tr>
  96      </form>
  97      </table>
  98          
  99      </div>
 100  </td>
 101          <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
 102     </tr>
 103  </tbody>
 104  </table>
 105  
 106  <div id="tempdiv" style="display:block;position:absolute;left:350px;top:200px;"></div>
 107  <script>
 108  function deletegroup(obj,groupid)
 109  {ldelim}
 110      $("status").style.display="inline";
 111          new Ajax.Request(
 112                  'index.php',
 113                  {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},
 114                          method: 'post',
 115                          postBody:'module=Users&action=UsersAjax&file=GroupDeleteStep1&groupid='+groupid,
 116                          onComplete: function(response) {ldelim}
 117                                  $("status").style.display="none";
 118                                  $("tempdiv").innerHTML=response.responseText;
 119                                  fnvshobj(obj,"tempdiv");
 120                          {rdelim}
 121                  {rdelim}
 122          );
 123  {rdelim}
 124  
 125  </script>


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