[fix] keyword search button on photo page was busted.

This commit is contained in:
Solomon Peachy 2012-01-25 09:23:49 -05:00
parent 679b8302ca
commit 8b00999634
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@ v2.38 (Unreleased)
[fix] URLEncode filenames when downloading images.
[fix] Fix 'current volume' display in admin interface.
[fix] Admin user registration page redirected to wrong place.
[fix] Keyword search on the photo page was busted.
2.37 (September 27, 2010)

View File

@ -26,10 +26,12 @@ include_once "include/orderby.php";
function display_itemized_keyword_list($keywords) {
global $thm_elem;
print "<form method=\"post\" action=\"photo.move.php\" accept-charset=\"".$strings['formats_encoding']."\">\n";
foreach ($keywords as $keyword) {
print "<input type=\"checkbox\" name=\"keywords[]\" value=\"$keyword\" />$keyword ";
}
print $thm_elem['button.search'];
print "</form>\n";
}
$database = site_prolog();