diff options
Diffstat (limited to 'templates/show_search_bar.inc')
-rw-r--r-- | templates/show_search_bar.inc | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/templates/show_search_bar.inc b/templates/show_search_bar.inc index a1d0c92a..0e82f0a7 100644 --- a/templates/show_search_bar.inc +++ b/templates/show_search_bar.inc @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2005 Ampache.org + Copyright (c) 2001 - 2006 Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -19,26 +19,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - - -/*! - @header search template - @discussion This is the template for the searches... amazing! - - 7/16/05 Do it in smaller bar format - sigger - -*/ - ?> <form name="search" method="post" action="<?php echo conf('web_path'); ?>/search.php" enctype="multipart/form-data" style="Display:inline"> <table class="tabledata" cellspacing="0" cellpadding="3" border="0" style="clear:both;" width="100%"> <tr class="table-header"> - <td colspan="4"><b><?php echo _("Search Ampache"); ?>...</b></td> + <td colspan="4"><b><?php echo _('Search Ampache'); ?>...</b></td> </tr> <tr class="<?php echo flip_class(); ?>"> - <td><input type="text" name="search_string" value="<?php echo $_REQUEST['search_string']; ?>" /></td> + <td><input type="text" name="search_string" value="<?php echo scrub_out($_REQUEST['search_string']); ?>" /></td> <td> - <input class="button" type="submit" value="<?php echo _("Search"); ; ?>" /> + <input class="button" type="submit" value="<?php echo _('Search'); ; ?>" /> <input type="hidden" name="action" value="quick_search" /> <input type="hidden" name="method" value="fuzzy" /> <input type="hidden" name="object_type" value="song" /> |