html( 'title' ) ?>
html( 'subtitle' ) ?>
data['undelete'] ) { ?>html( 'undelete' ) ?>
addModuleScripts( array( 'skins.toha' ) ); } /** * Add CSS via ResourceLoader * * @param $out OutputPage */ function setupSkinUserCss( OutputPage $out ) { parent::setupSkinUserCss( $out ); $out->addModuleStyles( array( 'skins.toha' ) ); } /** * initialize various variables and generate the template * * @since 1.23 * @return QuickTemplate The template to be executed by outputPage */ function prepareQuickTemplate( ) { global $wgSmallLogo; $tpl = parent::prepareQuickTemplate( ); $tpl->setRef( 'smalllogopath', $wgSmallLogo ); return $tpl; } } /** * BaseTemplate class for the Toha skin * * @ingroup Skins */ class TohaTemplate extends BaseTemplate { /** * Outputs a single sidebar portlet of any kind. */ private function outputPortlet( $box ) { if ( !$box['content'] ) { return; } ?>
$item ) echo $this->makeLink( $key, $item ); } else { echo $links; } echo '\';' . "\n"; echo 'addMenuToID(\'n-' . $name . '-desc\', inner_' . $name . ');'; echo "\n\n"; } /** * Define menus on the left and on the right. */ private function renderPortletAsSideButtons( $required, $boxes ) { foreach ( $required as $req ) { if ( ! array_key_exists( $req, $boxes ) ) continue; $box = $boxes[$req]; if ( ! $box['content'] ) continue; ?>html( 'subtitle' ) ?>
data['undelete'] ) { ?>html( 'undelete' ) ?>