Feminist SF Wiki:Sidebar search: Difference between revisions
Jump to navigation
Jump to search
(cat) |
No edit summary |
||
| Line 19: | Line 19: | ||
<input type='submit' name="go" class="searchButton" id="searchGoButton" | <input type='submit' name="go" class="searchButton" id="searchGoButton" | ||
value="<?php $this->msg('go') ?>" | value="<?php $this->msg('go') ?>" | ||
/> | /> | ||
Revision as of 07:51, 10 April 2007
Copied from http://meta.wikimedia.org/wiki/Layout_customization#Customizing_the_page_layout on 2007/1/4
How do I move the location of the search box?
This is for the Monobook theme and involves modifying the Monobook.php file - you can see the effect here.
- Find and select the following code in MonoBook.php:
<label for="searchInput"><?php $this->msg('search') ?></label>
<form name="searchform" action="<?php $this->text('searchaction') ?>" id="searchform"> <input id="searchInput" name="search" type="text" <?php if($this->haveMsg('accesskey-search')) { ?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php } if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> /> <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('go') ?>" />