PageRenderTime 51ms CodeModel.GetById 26ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-content/themes/eclipse/searchform.php

https://github.com/Bochet/festival_lgbt
PHP | 24 lines | 7 code | 2 blank | 15 comment | 1 complexity | 6dfe2c7a7a3f5b47bbaab121ab9f6c1a MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1
  1. <?php
  2. /**
  3. * Searchform template used by Eclipse.
  4. *
  5. * Authors: Tyler Cunningham, Trent Lapinski
  6. * Copyright: Š 2012
  7. * {@link http://cyberchimps.com/ CyberChimps LLC}
  8. *
  9. * Released under the terms of the GNU General Public License.
  10. * You should have received a copy of the GNU General Public License,
  11. * along with this software. In the main directory, see: /licensing/
  12. * If not, see: {@link http://www.gnu.org/licenses/}.
  13. *
  14. * @package Eclipse.
  15. * @since 1.0
  16. */
  17. ?>
  18. <form method="get" class="searchform" action="<?php echo home_url(); ?>/">
  19. <div id="magnify"><img src="<?php echo get_template_directory_uri() ;?>/images/magnify.png" alt="magnify" /></div>
  20. <div><input type="text" name="s" class="s" value="<?php printf( __( 'Search', 'response' )); ?>" id="searchsubmit" onfocus="if (this.value == 'Search') this.value = '';" /></div>
  21. <div><input type="submit" class="searchsubmit" value="" /></div>
  22. </form>