[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/themes/bluelagoon/ -> loginheader.php (source)

   1  <?php
   2  /*********************************************************************************
   3   * The contents of this file are subject to the SugarCRM Public License Version 1.1.2
   4   * ("License"); You may not use this file except in compliance with the
   5   * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
   6   * Software distributed under the License is distributed on an  "AS IS"  basis,
   7   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
   8   * the specific language governing rights and limitations under the License.
   9   * The Original Code is:  SugarCRM Open Source
  10   * The Initial Developer of the Original Code is SugarCRM, Inc.
  11   * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
  12   * All Rights Reserved.
  13   * Contributor(s): ______________________________________.
  14   ********************************************************************************/
  15  /*********************************************************************************
  16   * $Header$
  17   * Description:  Contains a variety of utility functions used to display UI
  18   * components such as form headers and footers.  Intended to be modified on a per
  19   * theme basis.
  20   ********************************************************************************/
  21  
  22  require_once ('Smarty_setup.php');
  23  require_once ("data/Tracker.php");
  24  require_once ("include/utils/utils.php");
  25  
  26  
  27  global $currentModule;
  28  global $moduleList;
  29  global $theme;
  30  $theme_path="themes/".$theme."/";
  31  $image_path=$theme_path."images/";
  32  require_once ($theme_path.'layout_utils.php');
  33  
  34  global $app_strings;
  35  
  36  $smarty=new vtigerCRM_Smarty;
  37  $smarty->assign("APP", $app_strings);
  38  
  39  
  40  if(isset($app_strings['LBL_CHARSET']))
  41  {
  42      $smarty->assign("LBL_CHARSET", $app_strings['LBL_CHARSET']);
  43  }
  44  else
  45  {
  46      $smarty->assign("LBL_CHARSET", $default_charset);
  47  }
  48  
  49  $smarty->assign("THEME", $theme);
  50  $smarty->assign("IMAGE_PATH", $image_path);$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
  51  
  52  $smarty->display('loginheader.tpl');
  53  
  54  ?>


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