'c-blue.css', 'sky' => 'c-sky.css', 'sky-blue' => 'c-sky-blue.css', 'sand' => 'c-sand.css', 'silver' => 'c-silver.css', 'lavender' => 'c-lavender.css', 'lilac' => 'c-lilac.css', 'pink' => 'c-pink.css', 'red-gold' => 'c-red-gold.css', 'green-gold' => 'c-green-gold.css', 'parch-blue' => 'c-parch-blue.css', 'parch-yellow' => 'c-parch-yel.css', 'night' => 'c-night-blue.css', 'stars' => 'c-night-stars.css', )); SDVA($PageFontList, array ( 'sans' => 'font-sans.css', 'verdana' => 'font-verdana.css', 'georgia' => 'font-georgia.css', 'times' => 'font-times.css', 'palatino' => 'font-palatino.css', 'monospace' => 'font-lucida.css', 'courier' => 'font-courier.css', 'comic' => 'font-comic.css' )); $PageLayoutList = array ( 'standard' => 'layout-standard.css', 'smallheader' => 'layout-smallheader.css' ); $PageSidebarList = array ( 'left' => 'sidebar-left.css', 'right' => 'sidebar-right.css' ); $PageMenuList = array( 'fixed' => 'fixed', 'scroll' => 'scroll' ); $PageRightbarList = array ( '0' => 'rb-none.css', 'off' => 'rb-none.css', 'on' => 'rb-narrow.css', '1' => 'rb-narrow.css', 'narrow' => 'rb-narrow.css', '2' => 'rb-normal.css', 'normal' => 'rb-normal.css', '3' => 'rb-wide.css', 'wide' => 'rb-wide.css', ); # =========== end of configuration section of skin.php ================= # # compatibility check with pmwiki version number global $VersionNum, $CompatibilityNotice; if($VersionNum < '2001018') $CompatibilityNotice = "
Compatibility problem: Please upgrade to the latest pmwiki version
"; # check for javascript cookie, set $javascript var for (:if enabled javascript:) switch global $javascript; if (isset($_COOKIE['javascript'])) $javascript = $_COOKIE['javascript']; # add fontsizer if($EnableFontSizer==1) include_once("$SkinDir/fontsizer.php"); # switch to hide FontSizer links if ($EnableSidebarFontSizer ==0) $HTMLStylesFmt[] = " #sidebarfontsizer {display:none} \n"; # define variables global $Now, $LayoutCss, $SidebarCss, $MenuCss, $RightbarCss, $FontCss, $ColorCss, $IE6Css, $IE5Css, $HTMLStylesFmt, $SkinDir; $sc = $DefaultColor; $sf = $DefaultFont; $sl = $DefaultLayout; $ss = $DefaultSidebar; $sm = $DefaultMenu; $sr = $DefaultRightbar; $ColorCss = $PageColorList[$sc]; $FontCss = $PageFontList[$sf]; $LayoutCss = $PageLayoutList[$sl]; $SidebarCss = $PageSidebarList[$ss]; $RightbarCss = $PageRightbarList[$sr]; # add stylechange.php for cookie setting code if set. if ($EnableStyleOptions == 1) {include_once("$SkinDir/stylechange.php");}; # do not show rightbar box if RightBar is empty $prb = FmtPageName('$FullName-RightBar',$pagename); $grb = FmtPageName('$Group.RightBar',$pagename); $srb = FmtPageName('$SiteGroup.RightBar',$pagename); if (PageExists($prb)) $rpage = ReadPage($prb); if (PageExists($grb)) $rpage .= ReadPage($grb); if (PageExists($srb)) $rpage .= ReadPage($srb); if(@$rpage['text']=='') {$HTMLStylesFmt[] = " #rightbar { display:none } \n";}; #=== fixflow only switch logics ===# # switch from default fixed menu to scrolled menu if ($FixFlowSkin) { if ($sm == 'scroll') { $HTMLStylesFmt[] = " #sidebarbox, #header {position: absolute;} \n body, #wrapper { background-attachment: scroll } \n "; }; if ($sm == 'fixed') { $HTMLStylesFmt[] = " body, #wrapper { background-attachment: fixed } \n "; }; # IE6 css hack switch: global $sbpos; if ($ss == 'right') { $IE6Css = 'ie6fix-right.css'; $IE5Css = 'ie5fix-right.css'; if ($sm == 'scroll') { $IE6Css = 'ie6scroll-right.css'; $IE5Css = 'ie5scroll-right.css'; } }; if ($ss == 'left') { $sbpos = 'left'; $IE6Css = 'ie6fix-left.css'; $IE5Css = 'ie5fix-left.css'; if ($sm == 'scroll') { $IE6Css = 'ie6scroll-left.css'; $IE5Css = 'ie5scroll-left.css'; } }; # floating rightbar left if sidebar right if ($ss =='right') { $HTMLStylesFmt[] = " #rightbar {margin:-1em 1em 0.25em -2.5em; float:left;} \n * html #rightbar {margin:-1em 1em 0.25em -1.2em; } \n"; }; ## set scrollswitch to enable showing Menu Scrolled/Fixed links in sidebar global $scrollswitch; $scrollswitch = 1; }; #=== end fixflow only ===# # logo-position switching (gemini) if ($GeminiSkin) { if ($LayoutCss==$PageLayoutList['smallheader']) { SetTmplDisplay('PageHeaderFmt', 0); }; if ($LayoutCss==$PageLayoutList['standard']) { $HTMLStylesFmt[]=" #sideheader.pageheader {display:none}\n"; }; }; # logo switchlogic # displays if exist page PageHeader, otherwise $PageLogoUrl defined in config.php global $LogoFmt; $LogoFmt = "\$DiffMinorFmt - \$DiffSourceFmt - $[Cancel]
"; ## alternative Uploads form with link in title $PageUploadFmt = array("