• hi,

    I need to edit the widget.php file to change the widget-search.
    As now it look like this:

    <p id=”widget-search”>
    <input type=”text” id=”widget-search-input” name=”s” value=”<?php echo attribute_escape( $widget_search ); ?>” />
    <input type=”submit” class=”button” value=”<?php _e( ‘Search Widgets’ ); ?>” />
    </p>

    I like to change it to this if possible:

    <li id=”Search”>
    <form method=”get” id=”search_form” action=”<?php bloginfo(‘home’); ?>/”>
    <input type=”text” class=”search_input” value=”Recherche, tapez puis enter” name=”s” id=”s” onfocus=”if (this.value == ‘Recherche, tapez puis enter’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘Recherche, tapez puis enter’;}” />
    <input type=”hidden” id=”searchsubmit” value=”Search” /></form>

    I’m not sure if I should just replace it or not ??
    Can someone help me ??

The topic ‘widget.php’ is closed to new replies.