XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 4, 2009, 2:02:54 PM (15 years ago)
Author:
toemon
Message:

WordPressME2.0.11への対応,(ブロック周りは未完)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/searchform.php

    r96 r252  
    11<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> 
    22<label class="hidden" for="s"><?php _e('Search for:', 'xpress'); ?></label> 
    3 <div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> 
     3<?php if(function_exists('the_search_query')) : ?>                       
     4        <div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> 
     5<?php else : ?> 
     6        <div><input type="text" value="<?php echo attribute_escape($s); ?>" name="s" id="s" /> 
     7<?php endif; ?> 
    48<input type="submit" id="searchsubmit" value="<?php _e('Search', 'xpress'); ?>" /> 
    59</div> 
Note: See TracChangeset for help on using the changeset viewer.