Changeset 1300 for trunk/wifidog-auth/wifidog/classes/MainUI.php
- Timestamp:
- 10/01/07 14:33:36 (5 years ago)
- Files:
-
- 1 modified
-
trunk/wifidog-auth/wifidog/classes/MainUI.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/classes/MainUI.php
r1290 r1300 436 436 * 437 437 * @param string Stylesheet URL 438 * 439 * @return void 440 * 441 * @access public 442 */ 443 public function appendStylesheetURL($stylesheet_url ) {438 *@param media The target media of the selected strylesheet (print, screen,etc.) 439 * @return void 440 * 441 * @access public 442 */ 443 public function appendStylesheetURL($stylesheet_url, $media=null) { 444 444 //Note: using the URL as value AND key will remove duplicate while keeping the stylesheet inclusion order, because of the way foreach is implemented in PHP 445 $this->stylesheetUrlArray[$stylesheet_url] = $stylesheet_url; 445 $this->stylesheetUrlArray[$stylesheet_url]['href'] = $stylesheet_url; 446 $this->stylesheetUrlArray[$stylesheet_url]['media'] = $media; 446 447 } 447 448 … … 544 545 // Asign base CSS and theme pack CSS stylesheet 545 546 $this->appendStylesheetURL(BASE_THEME_URL . STYLESHEET_NAME); 547 $this->appendStylesheetURL(BASE_THEME_URL . PRINT_STYLESHEET_NAME, 'print'); 546 548 $networkThemePack = Network :: getCurrentNetwork()->getThemePack(); 547 549 if ($networkThemePack) {
