summaryrefslogtreecommitdiffstats
path: root/templates/show_search.inc
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2006-01-11 02:59:17 +0000
committerxgizzmo <xgizzmo@ampache>2006-01-11 02:59:17 +0000
commit603f145952f39164b961ac94a46b8a459e7adac0 (patch)
tree90fb10a0f1a1ea8396af8a41e629b1e63bac30d2 /templates/show_search.inc
parent67d76f09c28d0c6abae6d966f4cc00a5428bdc74 (diff)
downloadampache-603f145952f39164b961ac94a46b8a459e7adac0.tar.gz
ampache-603f145952f39164b961ac94a46b8a459e7adac0.tar.bz2
ampache-603f145952f39164b961ac94a46b8a459e7adac0.zip
More code clean up this should about cover /templates
Diffstat (limited to 'templates/show_search.inc')
-rw-r--r--templates/show_search.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/show_search.inc b/templates/show_search.inc
index 0b11639d..7450d260 100644
--- a/templates/show_search.inc
+++ b/templates/show_search.inc
@@ -28,11 +28,11 @@ foreach ($_REQUEST['search_object'] as $key) {
$field_name = $key . "_string";
${$name} = "checked=\"checked\"";
$final_javascript .= "flipField('$field_name'); \n";
- if($i++ == 0) /* Focus the first checked field */
+ if ($i++ == 0) { /* Focus the first checked field */
$final_javascript .= "selectField('$field_name'); \n";
-}
-if($i == 0) /* Select the artist/title/album one by default */
-{
+ }
+} /* end foreach ($_REQUEST['search_object'] as $key) */
+if ($i == 0) { /* Select the artist/title/album one by default */
$final_javascript .= "flipField('all_string'); \n";
$final_javascript .= "selectField('all_string'); \n";
$check_all = "checked=\"checked\"";
@@ -182,7 +182,7 @@ $final_javascript .= " // END-->\n </script>";
<br />
<form method="post" action="<?php echo conf('web_path'); ?>/playlist.php?action=add_dyn_song">
<?php echo _('Save Search As Track on'); ?>:
-<?php show_playlist_dropdown('',true); ?>
+<?php show_playlist_dropdown('', true); ?>
<input type="submit" value="<?php echo _('Save'); ?>" /></form>
<?php } ?>
<br />