[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/theme/standardlogo/ -> styles.php (source)

   1  <?PHP /*  $Id: styles.php,v 1.44 2006/04/07 15:07:54 moodler Exp $ */
   2  
   3  /// Every theme should contain a copy of this script.  It lets us 
   4  /// set up variables and so on before we include the raw CSS files.
   5  /// The output of this script should be a completely standard CSS file.
   6  
   7  /// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!!  USE CONFIG.PHP INSTEAD.
   8  
   9  
  10      $lifetime  = 1800;                                  // Seconds to cache this stylesheet
  11      $nomoodlecookie = true;                             // Cookies prevent caching, so don't use them
  12      require_once("../../config.php");                   // Load up the Moodle libraries
  13      $themename = basename(dirname(__FILE__));           // Name of the folder we are in
  14      $forceconfig = optional_param('forceconfig', '', PARAM_FILE);   // Get config from this theme
  15  
  16      style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
  17     
  18  ?>


Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7