addStyle( 'archlinux/main.css', 'screen' ); if( $wgHandheldStyle ) { // Currently in testing... try 'chick/main.css' $out->addStyle( $wgHandheldStyle, 'handheld' ); } $out->addStyle( 'archlinux/IE50Fixes.css', 'screen', 'lt IE 5.5000' ); $out->addStyle( 'archlinux/IE55Fixes.css', 'screen', 'IE 5.5000' ); $out->addStyle( 'archlinux/IE60Fixes.css', 'screen', 'IE 6' ); $out->addStyle( 'archlinux/IE70Fixes.css', 'screen', 'IE 7' ); $out->addStyle( 'archlinux/rtl.css', 'screen', '', 'rtl' ); $out->addStyle( 'archlinux/archnavbar.css', 'screen' ); $out->addStyle( 'archlinux/arch.css', 'screen' ); } } /** * @todo document * @ingroup Skins */ class ArchLinuxTemplate extends QuickTemplate { var $skin; /** * Template filter callback for ArchLinux skin. * Takes an associative array of data set from a SkinTemplate-based * class, and a wrapper for MediaWiki's localization database, and * outputs a formatted page. * * @access private */ function execute() { global $wgRequest, $wgArchNavBar, $wgArchHome, $wgArchNavBarSelected, $wgArchNavBarSelectedDefault; $this->skin = $skin = $this->data['skin']; $action = $wgRequest->getText( 'action' ); // Suppress warnings to prevent notices about missing indexes in $this->data wfSuppressWarnings(); // Generate additional footer links $footerlinks = $this->data["footerlinks"]; // fold footerlinks into a single array using a bit of trickery $footerlinks = call_user_func_array('array_merge', array_values($footerlinks)); // Generate additional footer icons $footericons = $this->data["footericons"]; // Unset any icons which don't have an image foreach ( $footericons as $footerIconsKey => &$footerIconsBlock ) { foreach ( $footerIconsBlock as $footerIconKey => $footerIcon ) { if ( !is_string($footerIcon) && !isset($footerIcon["src"]) ) { unset($footerIconsBlock[$footerIconKey]); } } } // Redo removal of any empty blocks foreach ( $footericons as $footerIconsKey => &$footerIconsBlock ) { if ( count($footerIconsBlock) <= 0 ) { unset($footericons[$footerIconsKey]); } } $this->html( 'headelement' ); if (empty($_REQUEST['printable'])) {?>
html("specialpageattributes") ?>> data['sitenotice']) { ?>
html('sitenotice') ?>

html('title') ?>

msg('tagline') ?>
html('userlangattributes') ?>>html('subtitle') ?>
data['undelete']) { ?>
html('undelete') ?>
data['newtalk'] ) { ?>
html('newtalk') ?>
data['showjumplinks']) { ?> html('bodytext') ?> data['catlinks']) { $this->html('catlinks'); } ?> data['dataAfterContent']) { $this->html ('dataAfterContent'); } ?>
html('userlangattributes') ?>>
msg('personaltools') ?>
html('userlangattributes') ?>> data['personal_urls'] as $key => $item) { ?>
  • " class="active">tooltipAndAccesskey('pt-'.$key) ?> class="">
  • data['sidebar']; if ( !isset( $sidebar['SEARCH'] ) ) $sidebar['SEARCH'] = true; if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true; if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true; foreach ($sidebar as $boxName => $cont) { if ( $boxName == 'SEARCH' ) { $this->searchBox(); } elseif ( $boxName == 'TOOLBOX' ) { $this->toolbox(); } elseif ( $boxName == 'LANGUAGES' ) { $this->languageBox(); } else { $this->customBox( $boxName, $cont ); } } ?>
    html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?> html('reporttime') ?> data['debug'] ): ?>
    msg('toolbox') ?>
    data['language_urls'] ) { ?>
    html('userlangattributes') ?>>msg('otherlanguages') ?>
      data['language_urls'] as $langlink) { ?>
    skin->tooltip('p-'.$bar) ?>>