[ 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/ -> EmailNotification.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}notification.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.NOTIFICATIONSCHEDULERS} </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_NOTIF_SCHED_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.NOTIFICATIONSCHEDULERS}</td>
  66                      <td align="right">&nbsp;</td>
  67                    </tr>
  68                </table>
  69  
  70  
  71      
  72      <div id="notifycontents">
  73      {include file='Settings/EmailNotificationContents.tpl'}
  74      </div>
  75  
  76      <table border=0 cellspacing=0 cellpadding=5 width=100% >
  77      <tr><td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td></tr>
  78      </table>
  79      </td>
  80      </tr>
  81      </table>
  82              
  83              
  84              
  85              </td>
  86              </tr>
  87              </table>
  88          </td>
  89      </tr>
  90      </table>
  91          
  92      </div>
  93  
  94  </td>
  95          <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
  96     </tr>
  97  </tbody>
  98  </table>
  99      <div id="editdiv" style="display:none;position:absolute;width:400px;"></div>
 100  {literal}
 101  <script>
 102  function fetchSaveNotify(id)
 103  {
 104      $("editdiv").style.display="none";
 105      $("status").style.display="inline";
 106      var active = $("notify_status").options[$("notify_status").options.selectedIndex].value;
 107      var subject = $("notifysubject").value;
 108          var body = $("notifybody").value;
 109      new Ajax.Request(
 110                  'index.php',
 111                  {queue: {position: 'end', scope: 'command'},
 112                          method: 'post',
 113                          postBody: 'action=UsersAjax&module=Users&file=SaveNotification&active='+active+'&notifysubject='+subject+'&notifybody='+body+'&record='+id,
 114                          onComplete: function(response) {
 115                                  $("status").style.display="none";
 116                  $("notifycontents").innerHTML=response.responseText;
 117                          }
 118                  }
 119          );
 120  }
 121  
 122  function fetchEditNotify(id)
 123  {
 124      $("status").style.display="inline";
 125      new Ajax.Request(
 126                  'index.php',
 127                  {queue: {position: 'end', scope: 'command'},
 128                          method: 'post',
 129                          postBody:'action=UsersAjax&module=Users&file=EditNotification&record='+id,
 130                          onComplete: function(response) {
 131                                  $("status").style.display="none";
 132                                  $("editdiv").innerHTML=response.responseText;
 133                          }
 134                  }
 135          );
 136  }
 137  </script>
 138  {/literal}


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