3 * Vector - Branch of MonoBook which has many usability improvements and
4 * somewhat cleaner code.
11 if( !defined( 'MEDIAWIKI' ) ) {
16 * SkinTemplate class for Vector skin
19 class SkinVector
extends SkinTemplate
{
22 var $skinname = 'vector', $stylename = 'vector',
23 $template = 'VectorTemplate', $useHeadElement = true;
26 * Initializes output page and sets up skin-specific parameters
27 * @param $out OutputPage object to initialize
29 public function initPage( OutputPage
$out ) {
30 global $wgLocalStylePath;
32 parent
::initPage( $out );
34 // Append CSS which includes IE only behavior fixes for hover support -
35 // this is better than including this in a CSS fille since it doesn't
36 // wait for the CSS file to load before fetching the HTC file.
38 '<!--[if lt IE 7]><style type="text/css">body{behavior:url("' .
39 htmlspecialchars( $wgLocalStylePath ) .
40 "/{$this->stylename}/csshover.htc\")}</style><![endif]-->"
45 * Load skin and user CSS files in the correct order
47 * @param $out OutputPage object
49 function setupSkinUserCss( OutputPage
$out ){
50 parent
::setupSkinUserCss( $out );
51 $out->addModuleStyles( 'skins.vector' );
55 * Builds a structured array of links used for tabs and menus
59 function buildNavigationUrls() {
60 global $wgContLang, $wgLang, $wgOut, $wgUser, $wgRequest, $wgArticle;
61 global $wgDisableLangConversion, $wgVectorUseIconWatch;
63 wfProfileIn( __METHOD__
);
66 'namespaces' => array(),
73 $action = $wgRequest->getVal( 'action', 'view' );
74 $section = $wgRequest->getVal( 'section' );
76 $userCanRead = $this->mTitle
->userCanRead();
78 // Checks if page is some kind of content
79 if( $this->iscontent
) {
80 // Gets page objects for the related namespaces
81 $subjectPage = $this->mTitle
->getSubjectPage();
82 $talkPage = $this->mTitle
->getTalkPage();
84 // Determines if this is a talk page
85 $isTalk = $this->mTitle
->isTalkPage();
87 // Generates XML IDs from namespace names
88 $subjectId = $this->mTitle
->getNamespaceKey( '' );
90 if ( $subjectId == 'main' ) {
93 $talkId = "{$subjectId}_talk";
96 // Adds namespace links
97 $links['namespaces'][$subjectId] = $this->tabAction(
98 $subjectPage, 'nstab-' . $subjectId, !$isTalk, '', $userCanRead
100 $links['namespaces'][$subjectId]['context'] = 'subject';
101 $links['namespaces'][$talkId] = $this->tabAction(
102 $talkPage, 'talk', $isTalk, '', $userCanRead
104 $links['namespaces'][$talkId]['context'] = 'talk';
106 // Adds view view link
107 if ( $this->mTitle
->exists() && $userCanRead ) {
108 $links['views']['view'] = $this->tabAction(
109 $isTalk ?
$talkPage : $subjectPage,
110 'vector-view-view', ( $action == 'view' ), '', true
114 wfProfileIn( __METHOD__
. '-edit' );
116 // Checks if user can...
118 // read and edit the current page
119 $userCanRead && $this->mTitle
->quickUserCan( 'edit' ) &&
122 $this->mTitle
->exists() ||
123 // or they can create one here
124 $this->mTitle
->quickUserCan( 'create' )
127 // Builds CSS class for talk page links
128 $isTalkClass = $isTalk ?
' istalk' : '';
130 // Determines if we're in edit mode
132 ( $action == 'edit' ||
$action == 'submit' ) &&
133 ( $section != 'new' )
135 $links['views']['edit'] = array(
136 'class' => ( $selected ?
'selected' : '' ) . $isTalkClass,
137 'text' => $this->mTitle
->exists()
138 ?
wfMsg( 'vector-view-edit' )
139 : wfMsg( 'vector-view-create' ),
141 $this->mTitle
->getLocalURL( $this->editUrlOptions() )
143 // Checks if this is a current rev of talk page and we should show a new
145 if ( ( $isTalk && $wgArticle && $wgArticle->isCurrent() ) ||
( $wgOut->showNewSectionLink() ) ) {
146 // Checks if we should ever show a new section link
147 if ( !$wgOut->forceHideNewSectionLink() ) {
148 // Adds new section link
149 //$links['actions']['addsection']
150 $links['views']['addsection'] = array(
151 'class' => 'collapsible ' . ( $section == 'new' ?
'selected' : false ),
152 'text' => wfMsg( 'vector-action-addsection' ),
153 'href' => $this->mTitle
->getLocalURL(
154 'action=edit§ion=new'
159 // Checks if the page has some kind of viewable content
160 } elseif ( $this->mTitle
->hasSourceText() && $userCanRead ) {
161 // Adds view source view link
162 $links['views']['viewsource'] = array(
163 'class' => ( $action == 'edit' ) ?
'selected' : false,
164 'text' => wfMsg( 'vector-view-viewsource' ),
166 $this->mTitle
->getLocalURL( $this->editUrlOptions() )
169 wfProfileOut( __METHOD__
. '-edit' );
171 wfProfileIn( __METHOD__
. '-live' );
173 // Checks if the page exists
174 if ( $this->mTitle
->exists() && $userCanRead ) {
175 // Adds history view link
176 $links['views']['history'] = array(
177 'class' => 'collapsible ' . ( ( $action == 'history' ) ?
'selected' : false ),
178 'text' => wfMsg( 'vector-view-history' ),
179 'href' => $this->mTitle
->getLocalURL( 'action=history' ),
183 if( $wgUser->isAllowed( 'delete' ) ) {
184 $links['actions']['delete'] = array(
185 'class' => ( $action == 'delete' ) ?
'selected' : false,
186 'text' => wfMsg( 'vector-action-delete' ),
187 'href' => $this->mTitle
->getLocalURL( 'action=delete' )
190 if ( $this->mTitle
->quickUserCan( 'move' ) ) {
191 $moveTitle = SpecialPage
::getTitleFor(
192 'Movepage', $this->thispage
194 $links['actions']['move'] = array(
195 'class' => $this->mTitle
->isSpecial( 'Movepage' ) ?
197 'text' => wfMsg( 'vector-action-move' ),
198 'href' => $moveTitle->getLocalURL()
203 $this->mTitle
->getNamespace() !== NS_MEDIAWIKI
&&
204 $wgUser->isAllowed( 'protect' )
206 if ( !$this->mTitle
->isProtected() ) {
207 $links['actions']['protect'] = array(
208 'class' => ( $action == 'protect' ) ?
210 'text' => wfMsg( 'vector-action-protect' ),
212 $this->mTitle
->getLocalURL( 'action=protect' )
216 $links['actions']['unprotect'] = array(
217 'class' => ( $action == 'unprotect' ) ?
219 'text' => wfMsg( 'vector-action-unprotect' ),
221 $this->mTitle
->getLocalURL( 'action=unprotect' )
226 // article doesn't exist or is deleted
228 $wgUser->isAllowed( 'deletedhistory' ) &&
229 $wgUser->isAllowed( 'undelete' )
231 $n = $this->mTitle
->isDeleted();
233 $undelTitle = SpecialPage
::getTitleFor( 'Undelete' );
234 $links['actions']['undelete'] = array(
237 'vector-action-undelete',
239 $wgLang->formatNum( $n )
241 'href' => $undelTitle->getLocalURL(
242 'target=' . urlencode( $this->thispage
)
249 $this->mTitle
->getNamespace() !== NS_MEDIAWIKI
&&
250 $wgUser->isAllowed( 'protect' )
252 if ( !$this->mTitle
->getRestrictions( 'create' ) ) {
253 $links['actions']['protect'] = array(
254 'class' => ( $action == 'protect' ) ?
256 'text' => wfMsg( 'vector-action-protect' ),
258 $this->mTitle
->getLocalURL( 'action=protect' )
262 $links['actions']['unprotect'] = array(
263 'class' => ( $action == 'unprotect' ) ?
265 'text' => wfMsg( 'vector-action-unprotect' ),
267 $this->mTitle
->getLocalURL( 'action=unprotect' )
272 wfProfileOut( __METHOD__
. '-live' );
274 * The following actions use messages which, if made particular to
275 * the Vector skin, would break the Ajax code which makes this
276 * action happen entirely inline. Skin::makeGlobalVariablesScript
277 * defines a set of messages in a javascript object - and these
278 * messages are assumed to be global for all skins. Without making
279 * a change to that procedure these messages will have to remain as
280 * the global versions.
282 // Checks if the user is logged in
283 if ( $this->loggedin
) {
284 if ( $wgVectorUseIconWatch ) {
291 $mode = $this->mTitle
->userIsWatching() ?
'unwatch' : 'watch';
292 $links[$place][$mode] = array(
293 'class' => $class . ( ( $action == 'watch' ||
$action == 'unwatch' ) ?
' selected' : false ),
294 'text' => wfMsg( $mode ), // uses 'watch' or 'unwatch' message
295 'href' => $this->mTitle
->getLocalURL( 'action=' . $mode )
298 // This is instead of SkinTemplateTabs - which uses a flat array
299 wfRunHooks( 'SkinTemplateNavigation', array( &$this, &$links ) );
301 // If it's not content, it's got to be a special page
303 $links['namespaces']['special'] = array(
304 'class' => 'selected',
305 'text' => wfMsg( 'nstab-special' ),
306 'href' => $wgRequest->getRequestURL()
310 // Gets list of language variants
311 $variants = $wgContLang->getVariants();
312 // Checks that language conversion is enabled and variants exist
313 if( !$wgDisableLangConversion && count( $variants ) > 1 ) {
314 // Gets preferred variant
315 $preferred = $wgContLang->getPreferredVariant();
316 // Loops over each variant
317 foreach( $variants as $code ) {
318 // Gets variant name from language code
319 $varname = $wgContLang->getVariantname( $code );
320 // Checks if the variant is marked as disabled
321 if( $varname == 'disable' ) {
322 // Skips this variant
325 // Appends variant link
326 $links['variants'][] = array(
327 'class' => ( $code == $preferred ) ?
'selected' : false,
329 'href' => $this->mTitle
->getLocalURL( '', $code )
334 wfProfileOut( __METHOD__
);
341 * QuickTemplate class for Vector skin
344 class VectorTemplate
extends BaseTemplate
{
349 * @var Cached skin object
356 * Outputs the entire contents of the XHTML page
358 public function execute() {
359 global $wgRequest, $wgLang;
361 $this->skin
= $this->data
['skin'];
362 $action = $wgRequest->getText( 'action' );
364 // Build additional attributes for navigation urls
365 $nav = $this->skin
->buildNavigationUrls();
366 foreach ( $nav as $section => $links ) {
367 foreach ( $links as $key => $link ) {
369 if ( isset( $link['context'] ) && $link['context'] == 'subject' ) {
370 $xmlID = 'ca-nstab-' . $xmlID;
371 } else if ( isset( $link['context'] ) && $link['context'] == 'talk' ) {
374 $xmlID = 'ca-' . $xmlID;
376 $nav[$section][$key]['attributes'] =
377 ' id="' . Sanitizer
::escapeId( $xmlID ) . '"';
378 if ( $nav[$section][$key]['class'] ) {
379 $nav[$section][$key]['attributes'] .=
380 ' class="' . htmlspecialchars( $link['class'] ) . '"';
381 unset( $nav[$section][$key]['class'] );
383 // We don't want to give the watch tab an accesskey if the page
384 // is being edited, because that conflicts with the accesskey on
385 // the watch checkbox. We also don't want to give the edit tab
386 // an accesskey, because that's fairly superfluous and conflicts
387 // with an accesskey (Ctrl-E) often used for editing in Safari.
389 in_array( $action, array( 'edit', 'submit' ) ) &&
390 in_array( $key, array( 'edit', 'watch', 'unwatch' ) )
392 $nav[$section][$key]['key'] =
393 $this->skin
->tooltip( $xmlID );
395 $nav[$section][$key]['key'] =
396 $this->skin
->tooltipAndAccesskey( $xmlID );
400 $this->data
['namespace_urls'] = $nav['namespaces'];
401 $this->data
['view_urls'] = $nav['views'];
402 $this->data
['action_urls'] = $nav['actions'];
403 $this->data
['variant_urls'] = $nav['variants'];
404 // Build additional attributes for personal_urls
405 foreach ( $this->data
['personal_urls'] as $key => $item) {
406 $this->data
['personal_urls'][$key]['attributes'] =
407 ' id="' . Sanitizer
::escapeId( "pt-$key" ) . '"';
408 if ( isset( $item['active'] ) && $item['active'] ) {
409 $this->data
['personal_urls'][$key]['attributes'] .=
412 $this->data
['personal_urls'][$key]['key'] =
413 $this->skin
->tooltipAndAccesskey('pt-'.$key);
416 // Reverse horizontally rendered navigation elements
417 if ( $wgLang->isRTL() ) {
418 $this->data
['view_urls'] =
419 array_reverse( $this->data
['view_urls'] );
420 $this->data
['namespace_urls'] =
421 array_reverse( $this->data
['namespace_urls'] );
422 $this->data
['personal_urls'] =
423 array_reverse( $this->data
['personal_urls'] );
426 $this->html( 'headelement' );
428 <div id
="mw-page-base" class="noprint"></div
>
429 <div id
="mw-head-base" class="noprint"></div
>
431 <div id
="content"<?php
$this->html('specialpageattributes') ?
>>
433 <div id
="mw-js-message" style
="display:none;"<?php
$this->html('userlangattributes') ?
>></div
>
434 <?php
if ( $this->data
['sitenotice'] ): ?
>
436 <div id
="siteNotice"><?php
$this->html( 'sitenotice' ) ?
></div
>
439 <!-- firstHeading
-->
440 <h1 id
="firstHeading" class="firstHeading"><?php
$this->html( 'title' ) ?
></h1
>
441 <!-- /firstHeading
-->
443 <div id
="bodyContent">
445 <div id
="siteSub"><?php
$this->msg( 'tagline' ) ?
></div
>
448 <div id
="contentSub"<?php
$this->html('userlangattributes') ?
>><?php
$this->html( 'subtitle' ) ?
></div
>
450 <?php
if ( $this->data
['undelete'] ): ?
>
452 <div id
="contentSub2"><?php
$this->html( 'undelete' ) ?
></div
>
455 <?php
if($this->data
['newtalk'] ): ?
>
457 <div
class="usermessage"><?php
$this->html( 'newtalk' ) ?
></div
>
460 <?php
if ( $this->data
['showjumplinks'] ): ?
>
462 <div id
="jump-to-nav">
463 <?php
$this->msg( 'jumpto' ) ?
> <a href
="#mw-head"><?php
$this->msg( 'jumptonavigation' ) ?
></a
>,
464 <a href
="#p-search"><?php
$this->msg( 'jumptosearch' ) ?
></a
>
469 <?php
$this->html( 'bodytext' ) ?
>
471 <?php
if ( $this->data
['catlinks'] ): ?
>
473 <?php
$this->html( 'catlinks' ); ?
>
476 <?php
if ( $this->data
['dataAfterContent'] ): ?
>
477 <!-- dataAfterContent
-->
478 <?php
$this->html( 'dataAfterContent' ); ?
>
479 <!-- /dataAfterContent
-->
481 <div
class="visualClear"></div
>
483 <!-- /bodyContent
-->
487 <div id
="mw-head" class="noprint">
488 <?php
$this->renderNavigation( 'PERSONAL' ); ?
>
489 <div id
="left-navigation">
490 <?php
$this->renderNavigation( array( 'NAMESPACES', 'VARIANTS' ) ); ?
>
492 <div id
="right-navigation">
493 <?php
$this->renderNavigation( array( 'VIEWS', 'ACTIONS', 'SEARCH' ) ); ?
>
498 <div id
="mw-panel" class="noprint">
500 <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 $this->skin
->tooltipAndAccesskey( 'p-logo' ) ?
>></a
></div
>
502 <?php
$this->renderPortals( $this->data
['sidebar'] ); ?
>
506 <div id
="footer"<?php
$this->html('userlangattributes') ?
>>
507 <?php
foreach( $this->getFooterLinks() as $category => $links ): ?
>
508 <ul id
="footer-<?php echo $category ?>">
509 <?php
foreach( $links as $link ): ?
>
510 <li id
="footer-<?php echo $category ?>-<?php echo $link ?>"><?php
$this->html( $link ) ?
></li
>
514 <?php
$footericons = $this->getFooterIcons("icononly");
515 if ( count( $footericons ) > 0 ): ?
>
516 <ul id
="footer-icons" class="noprint">
517 <?php
foreach ( $footericons as $blockName => $footerIcons ): ?
>
518 <li id
="footer-<?php echo htmlspecialchars($blockName); ?>ico">
519 <?php
foreach ( $footerIcons as $icon ): ?
>
520 <?php
echo $this->skin
->makeFooterIcon( $icon ); ?
>
527 <div style
="clear:both"></div
>
530 <?php
$this->html( 'bottomscripts' ); /* JS call to runBodyOnloadHook */ ?
>
532 <script type
="<?php $this->text('jsmimetype') ?>"> if ( window
.isMSIE55
) fixalpha(); </script
>
534 <?php
$this->html( 'reporttime' ) ?
>
535 <?php
if ( $this->data
['debug'] ): ?
>
536 <!-- Debug output
: <?php
$this->text( 'debug' ); ?
> -->
544 * Render a series of portals
546 private function renderPortals( $portals ) {
547 // Force the rendering of the following portals
548 if ( !isset( $portals['SEARCH'] ) ) $portals['SEARCH'] = true;
549 if ( !isset( $portals['TOOLBOX'] ) ) $portals['TOOLBOX'] = true;
550 if ( !isset( $portals['LANGUAGES'] ) ) $portals['LANGUAGES'] = true;
552 foreach ( $portals as $name => $content ) {
553 echo "\n<!-- {$name} -->\n";
558 $this->renderPortal( "tb", $this->getToolbox(), "toolbox", "SkinTemplateToolboxEnd" );
561 if ( $this->data
['language_urls'] ) {
562 $this->renderPortal("lang", $this->data
['language_urls'], "otherlanguages");
566 $this->renderPortal($name, $content);
569 echo "\n<!-- /{$name} -->\n";
573 private function renderPortal($name, $content, $msg=null, $hook=null) {
574 if ( !isset($msg) ) {
578 <div
class="portal" id
='<?php echo Sanitizer::escapeId( "p-$name" ) ?>'<?php
echo $this->skin
->tooltip( 'p-' . $name ) ?
>>
579 <h5
<?php
$this->html('userlangattributes') ?
>><?php
$out = wfMsg( $msg ); if ( wfEmptyMsg( $msg, $out ) ) echo htmlspecialchars( $msg ); else echo htmlspecialchars( $out ); ?
></h5
>
582 if ( is_array( $content ) ): ?
>
585 foreach( $content as $key => $val ): ?
>
586 <?php
echo $this->makeListItem($key, $val); ?
>
590 if ( isset($hook) ) {
591 wfRunHooks( $hook, array( &$this ) );
597 <?php
echo $content; /* Allow raw HTML block to be defined by extensions */ ?
>
606 * Render one or more navigations elements by name, automatically reveresed
607 * when UI is in RTL mode
609 private function renderNavigation( $elements ) {
610 global $wgVectorUseSimpleSearch, $wgVectorShowVariantName, $wgUser;
612 // If only one element was given, wrap it in an array, allowing more
613 // flexible arguments
614 if ( !is_array( $elements ) ) {
615 $elements = array( $elements );
616 // If there's a series of elements, reverse them when in RTL mode
617 } else if ( wfUILang()->isRTL() ) {
618 $elements = array_reverse( $elements );
621 foreach ( $elements as $name => $element ) {
622 echo "\n<!-- {$name} -->\n";
623 switch ( $element ) {
626 <div id
="p-namespaces" class="vectorTabs<?php if ( count( $this->data['namespace_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
627 <h5
><?php
$this->msg('namespaces') ?
></h5
>
628 <ul
<?php
$this->html('userlangattributes') ?
>>
629 <?php
foreach ($this->data
['namespace_urls'] as $link ): ?
>
630 <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
>
638 <div id
="p-variants" class="vectorMenu<?php if ( count( $this->data['variant_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
639 <?php
if ( $wgVectorShowVariantName ): ?
>
641 <?php
foreach ( $this->data
['variant_urls'] as $link ): ?
>
642 <?php
if ( stripos( $link['attributes'], 'selected' ) !== false ): ?
>
643 <?php
echo htmlspecialchars( $link['text'] ) ?
>
648 <h5
><span
><?php
$this->msg('variants') ?
></span
><a href
="#"></a
></h5
>
650 <ul
<?php
$this->html('userlangattributes') ?
>>
651 <?php
foreach ( $this->data
['variant_urls'] as $link ): ?
>
652 <li
<?php
echo $link['attributes'] ?
>><a href
="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php
echo $link['key'] ?
>><?php
echo htmlspecialchars( $link['text'] ) ?
></a
></li
>
661 <div id
="p-views" class="vectorTabs<?php if ( count( $this->data['view_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
662 <h5
><?php
$this->msg('views') ?
></h5
>
663 <ul
<?php
$this->html('userlangattributes') ?
>>
664 <?php
foreach ( $this->data
['view_urls'] as $link ): ?
>
665 <li
<?php
echo $link['attributes'] ?
>><span
><a href
="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php
echo $link['key'] ?
>><?php
echo (array_key_exists('img',$link) ?
'<img src="'.$link['img'].'" alt="'.$link['text'].'" />' : htmlspecialchars( $link['text'] ) ) ?
></a
></span
></li
>
673 <div id
="p-cactions" class="vectorMenu<?php if ( count( $this->data['action_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
674 <h5
><span
><?php
$this->msg('actions') ?
></span
><a href
="#"></a
></h5
>
676 <ul
<?php
$this->html('userlangattributes') ?
>>
677 <?php
foreach ($this->data
['action_urls'] as $link ): ?
>
678 <li
<?php
echo $link['attributes'] ?
>><a href
="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php
echo $link['key'] ?
>><?php
echo htmlspecialchars( $link['text'] ) ?
></a
></li
>
687 <div id
="p-personal" class="<?php if ( count( $this->data['personal_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
688 <h5
><?php
$this->msg('personaltools') ?
></h5
>
689 <ul
<?php
$this->html('userlangattributes') ?
>>
690 <?php
foreach($this->data
['personal_urls'] as $item): ?
>
691 <li
<?php
echo $item['attributes'] ?
>><a href
="<?php echo htmlspecialchars($item['href']) ?>"<?php
echo $item['key'] ?
><?php
if(!empty($item['class'])): ?
> class="<?php echo htmlspecialchars($item['class']) ?>"<?php
endif; ?
>><?php
echo htmlspecialchars($item['text']) ?
></a
></li
>
700 <h5
<?php
$this->html('userlangattributes') ?
>><label
for="searchInput"><?php
$this->msg( 'search' ) ?
></label
></h5
>
701 <form action
="<?php $this->text( 'wgScript' ) ?>" id
="searchform">
702 <input type
='hidden' name
="title" value
="<?php $this->text( 'searchtitle' ) ?>"/>
703 <?php
if ( $wgVectorUseSimpleSearch && $wgUser->getOption( 'vector-simplesearch' ) ): ?
>
704 <div id
="simpleSearch">
705 <?php
if ( $this->data
['rtl'] ): ?
>
706 <?php
echo $this->makeSearchButton("image", array( "id" => "searchButton", "src" => $this->skin
->getSkinStylePath('images/search-rtl.png') )); ?
>
708 <?php
echo $this->makeSearchInput(array( "id" => "searchInput", "type" => "text" )); ?
>
709 <?php
if ( !$this->data
['rtl'] ): ?
>
710 <?php
echo $this->makeSearchButton("image", array( "id" => "searchButton", "src" => $this->skin
->getSkinStylePath('images/search-ltr.png') )); ?
>
714 <?php
echo $this->makeSearchInput(array( "id" => "searchInput" )); ?
>
715 <?php
echo $this->makeSearchButton("go", array( "id" => "searchGoButton", "class" => "searchButton" )); ?
>
716 <?php
echo $this->makeSearchButton("fulltext", array( "id" => "mw-searchButton", "class" => "searchButton" )); ?
>
724 echo "\n<!-- /{$name} -->\n";