Advertisement
Guest User

Untitled

a guest
Nov 10th, 2013
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 17.70 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Vector - Modern version of MonoBook with fresh look and many usability
  4.  * improvements.
  5.  *
  6.  * @todo document
  7.  * @file
  8.  * @ingroup Skins
  9.  */
  10.  
  11. if( !defined( 'MEDIAWIKI' ) ) {
  12.     die( -1 );
  13. }
  14.  
  15. // This code is necessary to get it to produce a printable version that
  16. // doesn't have the Mises.org header taking up half the first page.
  17. if ( isset ( $_REQUEST[ 'printable' ] ) ) {
  18.         // Vector.printable.php is simply the Vector.php from MW v1.19.2.
  19.         require_once ( "Vector.printable.php" );
  20. } else {
  21.  
  22. /**
  23.  * SkinTemplate class for Vector skin
  24.  * @ingroup Skins
  25.  */
  26. class SkinVector extends SkinTemplate {
  27.  
  28.     var $skinname = 'vector', $stylename = 'vector',
  29.         $template = 'VectorTemplate', $useHeadElement = true;
  30.  
  31.     /**
  32.      * Initializes output page and sets up skin-specific parameters
  33.      * @param $out OutputPage object to initialize
  34.      */
  35.     public function initPage( OutputPage $out ) {
  36.         global $wgLocalStylePath;
  37.  
  38.         parent::initPage( $out );
  39.  
  40.         // Append CSS which includes IE only behavior fixes for hover support -
  41.         // this is better than including this in a CSS fille since it doesn't
  42.         // wait for the CSS file to load before fetching the HTC file.
  43.         $min = $this->getRequest()->getFuzzyBool( 'debug' ) ? '' : '.min';
  44.         $out->addHeadItem( 'csshover',
  45.             '<!--[if lt IE 7]><style type="text/css">body{behavior:url("' .
  46.                 htmlspecialchars( $wgLocalStylePath ) .
  47.                 "/{$this->stylename}/csshover{$min}.htc\")}</style><![endif]-->"
  48.         );
  49.  
  50.         $out->addModuleScripts( 'skins.vector' );
  51.     }
  52.  
  53.     /**
  54.      * Load skin and user CSS files in the correct order
  55.      * fixes bug 22916
  56.      * @param $out OutputPage object
  57.      */
  58.     function setupSkinUserCss( OutputPage $out ){
  59.         parent::setupSkinUserCss( $out );
  60.         $out->addModuleStyles( 'skins.vector' );
  61.        $out->addStyle( 'misesskin/main.css', 'screen');
  62.     }
  63. }
  64.  
  65. /**
  66.  * QuickTemplate class for Vector skin
  67.  * @ingroup Skins
  68.  */
  69. class VectorTemplate extends BaseTemplate {
  70.  
  71.     /* Functions */
  72.  
  73.     /**
  74.      * Outputs the entire contents of the (X)HTML page
  75.      */
  76.     public function execute() {
  77.         global $wgVectorUseIconWatch;
  78.  
  79.         // Build additional attributes for navigation urls
  80.         $nav = $this->data['content_navigation'];
  81.  
  82.         if ( $wgVectorUseIconWatch ) {
  83.             $mode = $this->getSkin()->getTitle()->userIsWatching() ? 'unwatch' : 'watch';
  84.             if ( isset( $nav['actions'][$mode] ) ) {
  85.                 $nav['views'][$mode] = $nav['actions'][$mode];
  86.                 $nav['views'][$mode]['class'] = rtrim( 'icon ' . $nav['views'][$mode]['class'], ' ' );
  87.                 $nav['views'][$mode]['primary'] = true;
  88.                 unset( $nav['actions'][$mode] );
  89.             }
  90.         }
  91.  
  92.         $xmlID = '';
  93.         foreach ( $nav as $section => $links ) {
  94.             foreach ( $links as $key => $link ) {
  95.                 if ( $section == 'views' && !( isset( $link['primary'] ) && $link['primary'] ) ) {
  96.                     $link['class'] = rtrim( 'collapsible ' . $link['class'], ' ' );
  97.                 }
  98.  
  99.                 $xmlID = isset( $link['id'] ) ? $link['id'] : 'ca-' . $xmlID;
  100.                 $nav[$section][$key]['attributes'] =
  101.                     ' id="' . Sanitizer::escapeId( $xmlID ) . '"';
  102.                 if ( $link['class'] ) {
  103.                     $nav[$section][$key]['attributes'] .=
  104.                         ' class="' . htmlspecialchars( $link['class'] ) . '"';
  105.                     unset( $nav[$section][$key]['class'] );
  106.                 }
  107.                 if ( isset( $link['tooltiponly'] ) && $link['tooltiponly'] ) {
  108.                     $nav[$section][$key]['key'] =
  109.                         Linker::tooltip( $xmlID );
  110.                 } else {
  111.                     $nav[$section][$key]['key'] =
  112.                         Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( $xmlID ) );
  113.                 }
  114.             }
  115.         }
  116.         $this->data['namespace_urls'] = $nav['namespaces'];
  117.         $this->data['view_urls'] = $nav['views'];
  118.         $this->data['action_urls'] = $nav['actions'];
  119.         $this->data['variant_urls'] = $nav['variants'];
  120.  
  121.         // Reverse horizontally rendered navigation elements
  122.         if ( $this->data['rtl'] ) {
  123.             $this->data['view_urls'] =
  124.                 array_reverse( $this->data['view_urls'] );
  125.             $this->data['namespace_urls'] =
  126.                 array_reverse( $this->data['namespace_urls'] );
  127.             $this->data['personal_urls'] =
  128.                 array_reverse( $this->data['personal_urls'] );
  129.         }
  130.         // Output HTML Page
  131.         $this->html( 'headelement' );
  132. ?>
  133.  
  134. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
  135. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js" type="text/javascript"></script>
  136. <script>$(document).ready(function(){
  137.     $('#footer').wrap('<div id="footer-wrapper">');
  138.     $('#footer-icons').after('<div id="footer-contact"><h1></h1><p>518 West Magnolia Avenue • Auburn, Alabama 36832-4501 • Phone: 334.321.2100 • Fax: 334.321.2119</br><a href="http://mises.org/contact.aspx">Contact Us:</a> <a title="Comments and Questions about the Mises Institute" href="mailto:contact@mises.org?subject=Comment+or+Question+about+the Mises+Institute">contact@mises.org</a> • <a title="Comments about the Mises.org web site" href="mailto:webmaster@mises.org?subject=Comments+about+the+Mises.org+web+site">webmaster@mises.org</a> • <a href="http://mises.org/sitemap.aspx" rel="directory">Site Map</a> • <a href="http://groups.google.com/group/misesdev">Open Source</a>');
  139.  });</script>
  140. <!-- BEGIN Header HTML -->
  141. <div id="header-wrapper">
  142.     <div id="header-content">
  143.         <div id="header-logo">
  144.             <a href="/">
  145.                 <img src="http://wiki.mises.org/mediawiki/skins/misesskin/images/shield.png">
  146.             </a>
  147.         </div>
  148.         <div id="header-text-block">
  149.             <h1>Ludwig von Mises Institute</h1>
  150.         </div>
  151.     </div>
  152. </div>
  153. <div id="nav-wrapper">
  154.     <div id="nav-content">
  155.         <div id="nav-left">
  156.             <ul>
  157.                 <li><a href="http://mises.org">Mises.org</a></li>
  158.                 <li><a href="http://mises.org/daily/">Daily</a></li>
  159.                 <li><a href="http://mises.org/about">About</a></li>
  160.                 <li><a href="http://bastiat.mises.org/">Blog</a></li>
  161.                 <li><a href="http://mises.org/Literature">Literature</a></li>
  162.                 <li><a href="http://mises.org/media">Audio / Video</a></li>
  163.                 <li><a href="http://mises.org/events/">Events</a></li>
  164.                 <li><a href="http://mises.org/donate.aspx">Donate</a></li>
  165.             </ul>
  166.         </div>
  167.         <div id="nav-right">
  168.             <ul>
  169.                 <li><a href="http://mises.org/store/">Store</a></li>
  170.                 <li><a href="http://academy.mises.org">Academy</a></li>
  171.                 <!-- <li><a href="http://mises.org/community/">Community</a></li> -->
  172.                 <li><a href="http://wiki.mises.org">Wiki</a></li>
  173.             </ul>
  174.         </div>
  175.     </div>
  176. </div><!-- END Header HTML -->
  177.  
  178.  
  179.  
  180.         <div id="mw-page-base" class="noprint"></div>
  181.         <div id="mw-head-base" class="noprint"></div>
  182.         <!-- content -->
  183.         <div id="content" class="mw-body">
  184.             <a id="top"></a>
  185.             <div id="mw-js-message" style="display:none;"<?php $this->html( 'userlangattributes' ) ?>></div>
  186.             <?php if ( $this->data['sitenotice'] ): ?>
  187.             <!-- sitenotice -->
  188.             <div id="siteNotice"><?php $this->html( 'sitenotice' ) ?></div>
  189.             <!-- /sitenotice -->
  190.             <?php endif; ?>
  191.             <!-- firstHeading -->
  192.             <h1 id="firstHeading" class="firstHeading">
  193.                 <span dir="auto"><?php $this->html( 'title' ) ?></span>
  194.             </h1>
  195.             <!-- /firstHeading -->
  196.             <!-- bodyContent -->
  197.             <div id="bodyContent">
  198.                 <?php if ( $this->data['isarticle'] ): ?>
  199.                 <!-- tagline -->
  200.                 <div id="siteSub"><?php $this->msg( 'tagline' ) ?></div>
  201.                 <!-- /tagline -->
  202.                 <?php endif; ?>
  203.                 <!-- subtitle -->
  204.                 <div id="contentSub"<?php $this->html( 'userlangattributes' ) ?>><?php $this->html( 'subtitle' ) ?></div>
  205.                 <!-- /subtitle -->
  206.                 <?php if ( $this->data['undelete'] ): ?>
  207.                 <!-- undelete -->
  208.                 <div id="contentSub2"><?php $this->html( 'undelete' ) ?></div>
  209.                 <!-- /undelete -->
  210.                 <?php endif; ?>
  211.                 <?php if( $this->data['newtalk'] ): ?>
  212.                 <!-- newtalk -->
  213.                 <div class="usermessage"><?php $this->html( 'newtalk' )  ?></div>
  214.                 <!-- /newtalk -->
  215.                 <?php endif; ?>
  216.                 <?php if ( $this->data['showjumplinks'] ): ?>
  217.                 <!-- jumpto -->
  218.                 <div id="jump-to-nav" class="mw-jump">
  219.                     <?php $this->msg( 'jumpto' ) ?> <a href="#mw-head"><?php $this->msg( 'jumptonavigation' ) ?></a>,
  220.                     <a href="#p-search"><?php $this->msg( 'jumptosearch' ) ?></a>
  221.                 </div>
  222.                 <!-- /jumpto -->
  223.                 <?php endif; ?>
  224.                 <!-- bodycontent -->
  225.                 <?php $this->html( 'bodycontent' ) ?>
  226.                 <!-- /bodycontent -->
  227.                 <?php if ( $this->data['printfooter'] ): ?>
  228.                 <!-- printfooter -->
  229.                 <div class="printfooter">
  230.                 <?php $this->html( 'printfooter' ); ?>
  231.                 </div>
  232.                 <!-- /printfooter -->
  233.                 <?php endif; ?>
  234.                 <?php if ( $this->data['catlinks'] ): ?>
  235.                 <!-- catlinks -->
  236.                 <?php $this->html( 'catlinks' ); ?>
  237.                 <!-- /catlinks -->
  238.                 <?php endif; ?>
  239.                 <?php if ( $this->data['dataAfterContent'] ): ?>
  240.                 <!-- dataAfterContent -->
  241.                 <?php $this->html( 'dataAfterContent' ); ?>
  242.                 <!-- /dataAfterContent -->
  243.                 <?php endif; ?>
  244.                 <div class="visualClear"></div>
  245.                 <!-- debughtml -->
  246.                 <?php $this->html( 'debughtml' ); ?>
  247.                 <!-- /debughtml -->
  248.             </div>
  249.             <!-- /bodyContent -->
  250.         </div>
  251.         <!-- /content -->
  252.         <!-- header -->
  253.         <div id="mw-head" class="noprint">
  254.             <?php $this->renderNavigation( 'PERSONAL' ); ?>
  255.             <div id="left-navigation">
  256.                 <?php $this->renderNavigation( array( 'NAMESPACES', 'VARIANTS' ) ); ?>
  257.             </div>
  258.             <div id="right-navigation">
  259.                 <?php $this->renderNavigation( array( 'VIEWS', 'ACTIONS', 'SEARCH' ) ); ?>
  260.             </div>
  261.         </div>
  262.         <!-- /header -->
  263.         <!-- panel -->
  264.             <div id="mw-panel" class="noprint">
  265.                 <!-- logo -->
  266.                     <div id="p-logo"><a style="background-image: url(<?php $this->text( 'logopath' ) ?>);" href="<?php echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] ) ?>" <?php echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ) ?>></a></div>
  267.                 <!-- /logo -->
  268.                 <?php $this->renderPortals( $this->data['sidebar'] ); ?>
  269.             </div>
  270.         <!-- /panel -->
  271.         <!-- footer -->
  272.         <div id="footer"<?php $this->html( 'userlangattributes' ) ?>>
  273.             <?php foreach( $this->getFooterLinks() as $category => $links ): ?>
  274.                 <ul id="footer-<?php echo $category ?>">
  275.                     <?php foreach( $links as $link ): ?>
  276.                         <li id="footer-<?php echo $category ?>-<?php echo $link ?>"><?php $this->html( $link ) ?></li>
  277.                     <?php endforeach; ?>
  278.                 </ul>
  279.             <?php endforeach; ?>
  280.             <?php $footericons = $this->getFooterIcons("icononly");
  281.             if ( count( $footericons ) > 0 ): ?>
  282.                 <ul id="footer-icons" class="noprint">
  283. <?php           foreach ( $footericons as $blockName => $footerIcons ): ?>
  284.                     <li id="footer-<?php echo htmlspecialchars( $blockName ); ?>ico">
  285. <?php               foreach ( $footerIcons as $icon ): ?>
  286.                         <?php echo $this->getSkin()->makeFooterIcon( $icon ); ?>
  287.  
  288. <?php               endforeach; ?>
  289.                     </li>
  290. <?php           endforeach; ?>
  291.                 </ul>
  292.             <?php endif; ?>
  293.             <div style="clear:both"></div>
  294.         </div>
  295.         <!-- /footer -->
  296.         <?php $this->printTrail(); ?>
  297.  
  298.     </body>
  299. </html>
  300. <?php
  301.     }
  302.  
  303.     /**
  304.      * Render a series of portals
  305.      *
  306.      * @param $portals array
  307.      */
  308.     private function renderPortals( $portals ) {
  309.         // Force the rendering of the following portals
  310.         if ( !isset( $portals['SEARCH'] ) ) {
  311.             $portals['SEARCH'] = true;
  312.         }
  313.         if ( !isset( $portals['TOOLBOX'] ) ) {
  314.             $portals['TOOLBOX'] = true;
  315.         }
  316.         if ( !isset( $portals['LANGUAGES'] ) ) {
  317.             $portals['LANGUAGES'] = true;
  318.         }
  319.         // Render portals
  320.         foreach ( $portals as $name => $content ) {
  321.             if ( $content === false )
  322.                 continue;
  323.  
  324.             echo "\n<!-- {$name} -->\n";
  325.             switch( $name ) {
  326.                 case 'SEARCH':
  327.                     break;
  328.                 case 'TOOLBOX':
  329.                     $this->renderPortal( 'tb', $this->getToolbox(), 'toolbox', 'SkinTemplateToolboxEnd' );
  330.                     break;
  331.                 case 'LANGUAGES':
  332.                     if ( $this->data['language_urls'] ) {
  333.                         $this->renderPortal( 'lang', $this->data['language_urls'], 'otherlanguages' );
  334.                     }
  335.                     break;
  336.                 default:
  337.                     $this->renderPortal( $name, $content );
  338.                 break;
  339.             }
  340.             echo "\n<!-- /{$name} -->\n";
  341.         }
  342.     }
  343.  
  344.     private function renderPortal( $name, $content, $msg = null, $hook = null ) {
  345.         if ( $msg === null ) {
  346.             $msg = $name;
  347.         }
  348.         ?>
  349. <div class="portal" id='<?php echo Sanitizer::escapeId( "p-$name" ) ?>'<?php echo Linker::tooltip( 'p-' . $name ) ?>>
  350.     <h5<?php $this->html( 'userlangattributes' ) ?>><?php $msgObj = wfMessage( $msg ); echo htmlspecialchars( $msgObj->exists() ? $msgObj->text() : $msg ); ?></h5>
  351.     <div class="body">
  352. <?php
  353.         if ( is_array( $content ) ): ?>
  354.         <ul>
  355. <?php
  356.             foreach( $content as $key => $val ): ?>
  357.             <?php echo $this->makeListItem( $key, $val ); ?>
  358.  
  359. <?php
  360.             endforeach;
  361.             if ( $hook !== null ) {
  362.                 wfRunHooks( $hook, array( &$this, true ) );
  363.             }
  364.             ?>
  365.         </ul>
  366. <?php
  367.         else: ?>
  368.         <?php echo $content; /* Allow raw HTML block to be defined by extensions */ ?>
  369. <?php
  370.         endif; ?>
  371.     </div>
  372. </div>
  373. <?php
  374.     }
  375.  
  376.     /**
  377.      * Render one or more navigations elements by name, automatically reveresed
  378.      * when UI is in RTL mode
  379.      *
  380.      * @param $elements array
  381.      */
  382.     private function renderNavigation( $elements ) {
  383.         global $wgVectorUseSimpleSearch;
  384.  
  385.         // If only one element was given, wrap it in an array, allowing more
  386.         // flexible arguments
  387.         if ( !is_array( $elements ) ) {
  388.             $elements = array( $elements );
  389.         // If there's a series of elements, reverse them when in RTL mode
  390.         } elseif ( $this->data['rtl'] ) {
  391.             $elements = array_reverse( $elements );
  392.         }
  393.         // Render elements
  394.         foreach ( $elements as $name => $element ) {
  395.             echo "\n<!-- {$name} -->\n";
  396.             switch ( $element ) {
  397.                 case 'NAMESPACES':
  398. ?>
  399. <div id="p-namespaces" class="vectorTabs<?php if ( count( $this->data['namespace_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
  400.     <h5><?php $this->msg( 'namespaces' ) ?></h5>
  401.     <ul<?php $this->html( 'userlangattributes' ) ?>>
  402.         <?php foreach ( $this->data['namespace_urls'] as $link ): ?>
  403.             <li <?php echo $link['attributes'] ?>><span><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo htmlspecialchars( $link['text'] ) ?></a></span></li>
  404.         <?php endforeach; ?>
  405.     </ul>
  406. </div>
  407. <?php
  408.                 break;
  409.                 case 'VARIANTS':
  410. ?>
  411. <div id="p-variants" class="vectorMenu<?php if ( count( $this->data['variant_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
  412.     <h4>
  413.     <?php foreach ( $this->data['variant_urls'] as $link ): ?>
  414.         <?php if ( stripos( $link['attributes'], 'selected' ) !== false ): ?>
  415.             <?php echo htmlspecialchars( $link['text'] ) ?>
  416.         <?php endif; ?>
  417.     <?php endforeach; ?>
  418.     </h4>
  419.     <h5><span><?php $this->msg( 'variants' ) ?></span><a href="#"></a></h5>
  420.     <div class="menu">
  421.         <ul<?php $this->html( 'userlangattributes' ) ?>>
  422.             <?php foreach ( $this->data['variant_urls'] as $link ): ?>
  423.                 <li<?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo htmlspecialchars( $link['text'] ) ?></a></li>
  424.             <?php endforeach; ?>
  425.         </ul>
  426.     </div>
  427. </div>
  428. <?php
  429.                 break;
  430.                 case 'VIEWS':
  431. ?>
  432. <div id="p-views" class="vectorTabs<?php if ( count( $this->data['view_urls'] ) == 0 ) { echo ' emptyPortlet'; } ?>">
  433.     <h5><?php $this->msg('views') ?></h5>
  434.     <ul<?php $this->html('userlangattributes') ?>>
  435.         <?php foreach ( $this->data['view_urls'] as $link ): ?>
  436.             <li<?php echo $link['attributes'] ?>><span><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php
  437.                 // $link['text'] can be undefined - bug 27764
  438.                 if ( array_key_exists( 'text', $link ) ) {
  439.                     echo array_key_exists( 'img', $link ) ?  '<img src="' . $link['img'] . '" alt="' . $link['text'] . '" />' : htmlspecialchars( $link['text'] );
  440.                 }
  441.                 ?></a></span></li>
  442.         <?php endforeach; ?>
  443.     </ul>
  444. </div>
  445. <?php
  446.                 break;
  447.                 case 'ACTIONS':
  448. ?>
  449. <div id="p-cactions" class="vectorMenu<?php if ( count( $this->data['action_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
  450.     <h5><span><?php $this->msg( 'actions' ) ?></span><a href="#"></a></h5>
  451.     <div class="menu">
  452.         <ul<?php $this->html( 'userlangattributes' ) ?>>
  453.             <?php foreach ( $this->data['action_urls'] as $link ): ?>
  454.                 <li<?php echo $link['attributes'] ?>><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php echo htmlspecialchars( $link['text'] ) ?></a></li>
  455.             <?php endforeach; ?>
  456.         </ul>
  457.     </div>
  458. </div>
  459. <?php
  460.                 break;
  461.                 case 'PERSONAL':
  462. ?>
  463. <div id="p-personal" class="<?php if ( count( $this->data['personal_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
  464.     <h5><?php $this->msg( 'personaltools' ) ?></h5>
  465.     <ul<?php $this->html( 'userlangattributes' ) ?>>
  466. <?php           foreach( $this->getPersonalTools() as $key => $item ) { ?>
  467.         <?php echo $this->makeListItem( $key, $item ); ?>
  468.  
  469. <?php           } ?>
  470.     </ul>
  471. </div>
  472. <?php
  473.                 break;
  474.                 case 'SEARCH':
  475. ?>
  476. <div id="p-search">
  477.     <h5<?php $this->html( 'userlangattributes' ) ?>><label for="searchInput"><?php $this->msg( 'search' ) ?></label></h5>
  478.     <form action="<?php $this->text( 'wgScript' ) ?>" id="searchform">
  479.         <?php if ( $wgVectorUseSimpleSearch && $this->getSkin()->getUser()->getOption( 'vector-simplesearch' ) ): ?>
  480.         <div id="simpleSearch">
  481.             <?php if ( $this->data['rtl'] ): ?>
  482.             <?php echo $this->makeSearchButton( 'image', array( 'id' => 'searchButton', 'src' => $this->getSkin()->getSkinStylePath( 'images/search-rtl.png' ) ) ); ?>
  483.             <?php endif; ?>
  484.             <?php echo $this->makeSearchInput( array( 'id' => 'searchInput', 'type' => 'text' ) ); ?>
  485.             <?php if ( !$this->data['rtl'] ): ?>
  486.             <?php echo $this->makeSearchButton( 'image', array( 'id' => 'searchButton', 'src' => $this->getSkin()->getSkinStylePath( 'images/search-ltr.png' ) ) ); ?>
  487.             <?php endif; ?>
  488.         <?php else: ?>
  489.         <div>
  490.             <?php echo $this->makeSearchInput( array( 'id' => 'searchInput' ) ); ?>
  491.             <?php echo $this->makeSearchButton( 'go', array( 'id' => 'searchGoButton', 'class' => 'searchButton' ) ); ?>
  492.             <?php echo $this->makeSearchButton( 'fulltext', array( 'id' => 'mw-searchButton', 'class' => 'searchButton' ) ); ?>
  493.         <?php endif; ?>
  494.             <input type='hidden' name="title" value="<?php $this->text( 'searchtitle' ) ?>"/>
  495.         </div>
  496.     </form>
  497. </div>
  498. <?php
  499.  
  500.                 break;
  501.             }
  502.             echo "\n<!-- /{$name} -->\n";
  503.         }
  504.     }
  505. }
  506. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement