[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Smarty/templates/ -> CurrencyListView.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  <script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script>
  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      <div align=center>
  21      
  22              {include file='SetMenu.tpl'}
  23  
  24              <!-- DISPLAY -->
  25              <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
  26              <form action="index.php">
  27              <input type="hidden" name="module" value="Settings">
  28              <input type="hidden" name="action" value="CurrencyEditView">
  29              <input type="hidden" name="parenttab" value="{$PARENTTAB}">
  30              <tr>
  31                      <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}currency.gif" alt="Users" width="48" height="48" border=0 title="Users"></td>
  32                  <td class="heading2" valign="bottom" ><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.LBL_CURRENCY_SETTINGS} </b></td>
  33              </tr>
  34              <tr>
  35                  <td valign=top class="small">{$MOD.LBL_CURRENCY_DESCRIPTION}</td>
  36              </tr>
  37              </table>
  38              <br>
  39              <table border=0 cellspacing=0 cellpadding=10 width=100% >
  40              <tr>
  41              <td>
  42  
  43              <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
  44                  <tr>
  45                      <td class="big"><strong>{$MOD.LBL_CURRENCY_LIST}</strong></td>
  46                                     <td class="small" align="right">&nbsp;</td>
  47                  </tr>
  48              </table>
  49  
  50              <table width="100%" border="0" cellpadding="5" cellspacing="0" class="listTableTopButtons">
  51                      <tr>
  52                  <td class=small align=right>
  53                      <input type="submit" value="{$MOD.LBL_NEW_CURRENCY}" class="crmButton create small">
  54                  </td>
  55                      </tr>
  56                      </table>
  57  
  58              <div id="CurrencyListViewContents">
  59                  {include file="CurrencyListViewEntries.tpl"}
  60              </div>
  61  
  62      <table border=0 cellspacing=0 cellpadding=5 width=100% >
  63      <tr><td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td></tr>
  64      </table>
  65      </td>
  66      </tr>
  67      </table>
  68      </td>
  69      </tr>
  70      </table>
  71      </td>
  72      </tr>
  73      </form>
  74      </table>
  75          
  76      </div>
  77  
  78  </td>
  79          <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
  80     </tr>
  81  </tbody>
  82  </table>
  83  
  84  <div id="currencydiv" style="display:block;position:absolute;width:250px;"></div>
  85  
  86  {literal}
  87  <script>
  88  	function deleteCurrency(currid)
  89      {
  90          $("status").style.display="inline";
  91          new Ajax.Request(
  92              'index.php',
  93              {queue: {position: 'end', scope: 'command'},
  94                  method: 'post',
  95                  postBody: 'action=SettingsAjax&file=CurrencyDeleteStep1&return_action=CurrencyListView&return_module=Settings&module=Settings&parenttab=Settings&id='+currid,
  96                  onComplete: function(response) {
  97                      $("status").style.display="none";
  98                                          $("currencydiv").innerHTML= response.responseText;
  99                                  }
 100                          }
 101          );
 102      }
 103  
 104  	function transferCurrency(del_currencyid)
 105      {
 106          $("status").style.display="inline";
 107          $("CurrencyDeleteLay").style.display = "none";
 108          var trans_currencyid=$("transfer_currency_id").options[$("transfer_currency_id").options.selectedIndex].value;
 109          new Ajax.Request(
 110              'index.php',
 111              {queue: {position: 'end', scope: 'command'},
 112                  method: 'post',
 113                  postBody: 'module=Settings&action=SettingsAjax&file=CurrencyDelete&ajax=true&delete_currency_id='+del_currencyid+'&transfer_currency_id='+trans_currencyid,
 114                  onComplete: function(response) {
 115                      $("status").style.display="none";
 116                      $("CurrencyListViewContents").innerHTML= response.responseText;
 117                  }
 118              }
 119          );
 120      }
 121  </script>
 122  
 123  {/literal}


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