[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Smarty/templates/Settings/ -> InventoryNotify.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  {literal}
  15  <style>
  16  DIV.fixedLay{
  17      border:3px solid #CCCCCC;
  18      background-color:#FFFFFF;
  19      width:500px;
  20      position:fixed;
  21      left:250px;
  22      top:200px;
  23      display:block;
  24  }
  25  </style>
  26  {/literal}
  27  {literal}
  28  <!--[if lte IE 6]>
  29  <STYLE type=text/css>
  30  DIV.fixedLay {
  31      POSITION: absolute;
  32  }
  33  </STYLE>
  34  <![endif]-->
  35  
  36  {/literal}
  37  <br>
  38  <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
  39  <tbody><tr>
  40          <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
  41          <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%">
  42  <br>
  43      <div align=center>
  44      
  45              {include file='SetMenu.tpl'}
  46  
  47              <!-- DISPLAY -->
  48              <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
  49              <tr>
  50                  <td width="50" rowspan="2" valign="top"><img src="{$IMAGE_PATH}inventory.gif" alt="Users" width="48" height="48" border=0 title="Users"></td>
  51                  <td colspan="2" class="heading2" valign=bottom align="left"><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.INVENTORYNOTIFICATION} </b></td>
  52                  <td rowspan=2 class="small" align=right>&nbsp;</td>
  53              </tr>
  54              <tr>
  55                  <td valign=top class="small" align="left">{$MOD.LBL_INV_NOTIF_DESCRIPTION}</td>
  56              </tr>
  57              </table>
  58  <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
  59                          <tr><td>&nbsp;</td></tr>
  60                  </table>
  61  
  62                  <table width="100%" border="0" cellpadding="5" cellspacing="0" class="listTableTopButtons">
  63                    <tr >
  64  
  65                      <td  style="padding-left:5px;" class="big">{$MOD.INVENTORYNOTIFICATION}</td>
  66                      <td align="right">&nbsp;</td>
  67                    </tr>
  68                </table>
  69      
  70      <div id="notifycontents">
  71      {include file='Settings/InventoryNotifyContents.tpl'}
  72      </div>
  73      
  74      <table border=0 cellspacing=0 cellpadding=5 width=100% >
  75      <tr><td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td></tr>
  76      </table>
  77      </td>
  78      </tr>
  79      </table>
  80      </td>
  81      </tr>
  82      </table>
  83      </td>
  84      </tr>
  85      </table>
  86          
  87      </div>
  88  
  89  </td>
  90          <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
  91     </tr>
  92  </tbody>
  93  </table>
  94      <div id="editdiv" style="display:none;position:absolute;width:450px;"></div>
  95  {literal}
  96  <script>
  97  function fetchSaveNotify(id)
  98  {
  99      $("editdiv").style.display="none";
 100      $("status").style.display="inline";
 101      var subject = $("notifysubject").value;
 102          var body = $("notifybody").value;
 103          new Ajax.Request(
 104                  'index.php',
 105                  {queue: {position: 'end', scope: 'command'},
 106                          method: 'post',
 107                          postBody: 'action=UsersAjax&module=Users&file=SaveInventoryNotification&notifysubject='+subject+'&notifybody='+body+'&record='+id,
 108                          onComplete: function(response) {
 109                                  $("status").style.display="none";
 110                          }
 111                  }
 112          );
 113  }
 114  
 115  function fetchEditNotify(id)
 116  {
 117      $("status").style.display="inline";
 118      new Ajax.Request(
 119                  'index.php',
 120                  {queue: {position: 'end', scope: 'command'},
 121                          method: 'post',
 122                          postBody: 'action=UsersAjax&module=Users&file=EditInventoryNotification&record='+id,
 123                          onComplete: function(response) {
 124                                  $("status").style.display="none";
 125                  $("editdiv").innerHTML=response.responseText;
 126                          }
 127                  }
 128          );
 129  }
 130  </script>
 131  {/literal}


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