/** construct a ThemeSchoolyard object
  *
  * First we do the regular initialisation, and subsequently we set a few parameters
  * (very un-exciting).
  *
  * @param array $theme_record the record straight from the database
  * @param int $area_id the area of interest
  * @param int $node_id the node that will be displayed
  * @return void
  */
 function ThemeSchoolyard($theme_record, $area_id, $node_id)
 {
     parent::Theme($theme_record, $area_id, $node_id);
     $this->quicktop_separator = '|';
     //  override default values in parent
     $this->quickbottom_separator = '|';
     $this->breadcrumb_separator = '-';
 }
Ejemplo n.º 2
0
 /**
  * The Theme is primarily responsible for display of:
  *  - An HTML header preamble, including references to style sheets
  *  - A page header, graphically presenting the system
  *    - possibly with a menu bar
  *  - An optional LH Sidebar, containing various possible items
  *  - A content area, where goes all the real meat.
  *  - An optional RH Sidebar, containing other items
  *  - An optional menu at the bottom of the page
  *  - A page footer, completing the page.
  */
 function MyTheme()
 {
     global $c;
     parent::Theme();
     $this->stylesheets[0] = "andrew.css";
     $this->images = "catimg";
     $c->images = "catimg";
 }
Ejemplo n.º 3
0
Archivo: PWL.php Proyecto: Br3nda/wrms
 /**
  * The Theme is primarily responsible for display of:
  *  - An HTML header preamble, including references to style sheets
  *  - A page header, graphically presenting the system
  *    - possibly with a menu bar
  *  - An optional LH Sidebar, containing various possible items
  *  - A content area, where goes all the real meat.
  *  - An optional RH Sidebar, containing other items
  *  - An optional menu at the bottom of the page
  *  - A page footer, completing the page.
  */
 function MyTheme()
 {
     global $c;
     parent::Theme();
     $this->stylesheets[0] = "pwl.css";
     $this->images = "pwimg";
     $c->images = "pwimg";
     // Compatibilty with AWL... :-)
 }
Ejemplo n.º 4
0
 /**
  * The Theme is primarily responsible for display of:
  *  - An HTML header preamble, including references to style sheets
  *  - A page header, graphically presenting the system
  *    - possibly with a menu bar
  *  - An optional LH Sidebar, containing various possible items
  *  - A content area, where goes all the real meat.
  *  - An optional RH Sidebar, containing other items
  *  - An optional menu at the bottom of the page
  *  - A page footer, completing the page.
  */
 function MyTheme()
 {
     global $c;
     parent::Theme();
     $this->stylesheets[0] = "/fleximg/flexwrms.css";
     $this->images = "fleximg";
     $this->favicon = "/fleximg/flexible.ico";
     $c->images = "fleximg";
 }
Ejemplo n.º 5
0
 /**
  * The Theme is primarily responsible for display of:
  *  - An HTML header preamble, including references to style sheets
  *  - A page header, graphically presenting the system
  *    - possibly with a menu bar
  *  - An optional LH Sidebar, containing various possible items
  *  - A content area, where goes all the real meat.
  *  - An optional RH Sidebar, containing other items
  *  - An optional menu at the bottom of the page
  *  - A page footer, completing the page.
  */
 function MyTheme()
 {
     global $c;
     parent::Theme();
     $this->stylesheets[0] = "eduforge.css";
     $this->images = "images/eduforge";
     $c->images = "images/eduforge";
     // Compatibilty with AWL... :-)
     $this->colors = array("bg1" => "#ffffff", "fg1" => "#000000", "link1" => "#205070", "bg2" => "#6C859F", "fg2" => "#ffffff", "bg3" => "#000000", "fg3" => "#ffffff", "hv1" => "#30a070", "hv2" => "#40f0a0", "row0" => "#ffffff", "row1" => "#F5F8FA", "link2" => "#333333", "bghelp" => "#ffffff", "fghelp" => "#000000", 8 => "#583818", 9 => "#f5f8fa", 10 => "#50a070", "blockfront" => "black", "blockback" => "white", "blockbg2" => "white", "blocktitle" => "white", "blocksides" => "#ffffff", "blockextra" => "#660000");
     $this->fonts = array("tahoma", "verdana", "help" => "times", "quote" => "times new roman, times, serif", "narrow" => "arial narrow, helvetica narrow, times new roman, times", "fixed" => "courier, fixed", "block" => "tahoma");
     // block font
 }
 /** construct a ThemeRosalina object
  *
  * First we do the regular initialisation, and subsequently we calculate the
  * areas available to this user in $this->jumps; Also we set all hvmenu-parameters
  * that are not already set in $this->config. This makes it possible to drop certain
  * parameters from the configuration (see {@link rosalina_install()}) and still
  * construct a valid hvmenu config.
  *
  * Finally we pre-calculate the limits $menu_top and $menu_width for use in the
  * treewalker (see {@link rosalina_show_tree_walk()}).
  *
  * @param array $theme_record the record straight from the database
  * @param int $area_id the area of interest
  * @param int $node_id the node that will be displayed
  * @return void
  */
 function ThemeRosalina($theme_record, $area_id, $node_id)
 {
     global $USER;
     parent::Theme($theme_record, $area_id, $node_id);
     // Make sure all parameters will exist in $this->config even when not in theme properties table
     $hvmenu_defaults = array('LowBgColor' => "#FFFFFF", 'LowSubBgColor' => "#FFFFFF", 'HighBgColor' => "#0000FF", 'HighSubBgColor' => "#FF0000", 'FontLowColor' => "#000000", 'FontSubLowColor' => "#000000", 'FontHighColor' => "#FFFFFF", 'FontSubHighColor' => "#FFFFFF", 'BorderColor' => "#FF0000", 'BorderSubColor' => "#0000FF", 'BorderWidth' => 2, 'BorderBtwnElmnts' => TRUE, 'FontFamily' => "verdana,sans-serif", 'FontSize' => 9.0, 'FontBold' => TRUE, 'FontItalic' => FALSE, 'MenuTextCentered' => "left", 'MenuCentered' => "left", 'MenuVerticalCentered' => "top", 'ChildOverlap' => 0.0, 'ChildVerticalOverlap' => 0.0, 'StartTop' => 0, 'StartLeft' => 0, 'VerCorrect' => 0, 'HorCorrect' => 0, 'LeftPaddng' => 6, 'TopPaddng' => 2, 'FirstLineHorizontal' => TRUE, 'MenuFramesVertical' => FALSE, 'DissapearDelay' => 1000, 'TakeOverBgColor' => TRUE, 'FirstLineFrame' => "self", 'SecLineFrame' => "self", 'DocTargetFrame' => "self", 'TargetLoc' => "hvmenu", 'HideTop' => FALSE, 'MenuWrap' => TRUE, 'RightToLeft' => FALSE, 'UnfoldsOnClick' => FALSE, 'WebMasterCheck' => FALSE, 'ShowArrow' => FALSE, 'KeepHilite' => TRUE, 'Arrws' => 'tri.gif,5,10,' . 'tridown.gif,10,5,' . 'trileft.gif,5,10');
     foreach ($hvmenu_defaults as $k => $v) {
         if (!isset($this->config['hvmenu_' . $k])) {
             $this->config['hvmenu_' . $k] = $v;
         }
     }
     $limits = isset($this->config['menu_top']) ? explode(',', $this->config['menu_top']) : '';
     $this->menu_top = array(isset($limits[0]) ? intval($limits[0]) : 120, isset($limits[1]) ? intval($limits[1]) : 8, isset($limits[2]) ? intval($limits[2]) : 300, isset($limits[3]) ? intval($limits[3]) : 20);
     $limits = isset($this->config['menu_sub']) ? explode(',', $this->config['menu_sub']) : '';
     $this->menu_sub = array(isset($limits[0]) ? intval($limits[0]) : 150, isset($limits[1]) ? intval($limits[1]) : 8, isset($limits[2]) ? intval($limits[2]) : 500, isset($limits[3]) ? intval($limits[3]) : 20);
     $this->quicktop_separator = '|';
     $this->quickbottom_separator = '|';
     $this->breadcrumb_separator = '-';
 }
 function ThemeCornelia($theme_record, $area_id, $node_id)
 {
     parent::Theme($theme_record, $area_id, $node_id);
     $this->quickbottom_separator = '|';
 }
Ejemplo n.º 8
0
 function ColorTheme($themeType = '')
 {
     parent::Theme($themeType);
     $this->colorName = $themeType;
     $this->colorNumber = GetColorNumber($this->colorName);
 }
Ejemplo n.º 9
0
 /**
  * The DefaultTheme is a fallback that won't be used often.
  */
 function MyTheme()
 {
     parent::Theme();
 }
Ejemplo n.º 10
0
 function Theme_Sidebar($theme_name = 'Sidebar')
 {
     parent::Theme($theme_name);
     $this->calendarInit(true);
 }