[ 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/ -> Announcements.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  <script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script>
  15  {literal}
  16  <script>
  17  function Announcement()
  18  {
  19      $("an_busy").style.display="inline";
  20      var announcement=$("announcement").value;
  21      new Ajax.Request(
  22      'index.php',
  23          {queue: {position: 'end', scope: 'command'},
  24                 method: 'post',
  25              postBody: 'module=Users&action=UsersAjax&announcement='+announcement+'&announce_save=yes',
  26              onComplete: function(response) {
  27                      $("announcement").innerHTML=response.responseText;
  28                      $("an_busy").style.display="none";
  29                              }
  30              }
  31      );
  32  }
  33  </script>
  34  {/literal}
  35  
  36  <br>
  37  <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
  38  <tbody><tr>
  39          <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
  40          <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%">
  41  <br>
  42      <div align=center>
  43      
  44              {include file='SetMenu.tpl'}
  45                  <!-- DISPLAY -->
  46                  <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
  47                  <tr>
  48                      <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}announ.gif" width="48" height="48" border=0></td>
  49                      <td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.LBL_ANNOUNCEMENT} </b><div id="an_busy" style="display:none;float:left;position:relative;"><img src="{$IMAGE_PATH}vtbusy.gif" align="right"></div></td>
  50                  </tr>
  51                  <tr>
  52                      <td valign=top class="small">{$MOD.LBL_ANNOUNCEMENT_DESC} </td>
  53                  </tr>
  54                  </table>
  55                  
  56                  <br>
  57                  <table border=0 cellspacing=0 cellpadding=10 width=100% >
  58                  <tr>
  59                  <td>
  60                  
  61                      <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
  62                      <tr>
  63                          <td class="big"><strong>{$MOD.LBL_ANNOUNCE_TEXT}</strong></td>
  64                          <td class="small" align=right><input type="button" class="crmButton small save" value="{$MOD.LBL_UPDATE_BUTTON}" onclick="javascript:Announcement();"></td>
  65                      </tr>
  66                      </table>
  67                      
  68                      <table border=0 cellspacing=0 cellpadding=5 width=100% class="listTable">
  69                      <tr>
  70                          <td class="colHeader small" valign=top>{$MOD.LBL_ANNOUNCEMENT_INFO}</td>
  71                        </tr>
  72                      <tr>
  73                          <td class="listTableRow small" valign=top><textarea class=small width=90% height=100px id="announcement" name="announcement">{$ANNOUNCE}</textarea></td>
  74                        </tr>
  75                      </table>
  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  {literal}
 100  <script>
 101  function validate() {
 102      if (!emptyCheck("server","ftp Server Name","text")) return false
 103          if (!emptyCheck("server_username","ftp User Name","text")) return false
 104              return true;
 105  
 106  }
 107  </script>
 108  {/literal}


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