[fix] Take care of a few 'Undefined variables'
This commit is contained in:
parent
ec0663677d
commit
179865837c
1
CHANGES
1
CHANGES
|
@ -28,6 +28,7 @@ v2.38 (Unreleased)
|
|||
[fix] Better handling when importing images in parallel.
|
||||
[fix] Abort import if a DB insert fails [#466]
|
||||
[misc] Replace '@' with '{at}' in copyright blurb to deter spammers.
|
||||
[fix] Fix a couple of undefined variables.
|
||||
|
||||
2.37 (September 27, 2010)
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ $owner_id = pg_escape_string($_REQUEST['owner_id']);
|
|||
$version_id = pg_escape_string($_REQUEST['version']);
|
||||
$destination_folder = pg_escape_string($_REQUEST['destination_folder']);
|
||||
$destination_album = pg_escape_string($_REQUEST['destination_album']);
|
||||
$source_album = pg_escape_string($_REQUEST['source_album']);
|
||||
$source_album = isset($_REQUEST['source_album']) ? pg_escape_string($_REQUEST['source_album']) : "";
|
||||
$source_folder = pg_escape_string($_REQUEST['source_folder']);
|
||||
|
||||
$detail_info = pg_escape_string($_REQUEST['detail_info']);
|
||||
|
|
|
@ -25,6 +25,7 @@ include_once "include/orderby.php";
|
|||
|
||||
function display_itemized_keyword_list($keywords) {
|
||||
global $thm_elem;
|
||||
global $strings;
|
||||
|
||||
print "<form method=\"post\" action=\"photo.move.php\" accept-charset=\"".$strings['formats_encoding']."\">\n";
|
||||
foreach ($keywords as $keyword) {
|
||||
|
|
|
@ -119,12 +119,12 @@ if ($po_user['type'] == PO_USER_TYPE_ADMIN) {
|
|||
}
|
||||
|
||||
print emit_language_combo($lang);
|
||||
print "<tr><td>".$strings['user_web']."</td><td><input tabindex=\"7\" type=\"text\" name=\"url\" value=\"$url\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_phone']."</td><td><input tabindex=\"8\" type=\"text\" name=\"phone\" value=\"$phone\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_company']."</td><td><input tabindex=\"9\" type=\"text\" name=\"company\" value=\"$company\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td valign=\"center\" rowspan=\"2\" >".$strings['user_address']."</td><td><input tabindex=\"10\" type=\"text\" name=\"address1\" value=\"$address1\" size=\"35%\"/></td></tr><tr><td><input tabindex=\"11\" type=\"text\" name=\"address2\" value=\"$address2\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_city']."</td><td><input tabindex=\"12\" type=\"text\" name=\"city\" value=\"$city\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_post_code']."</td><td><input tabindex=\"13\" type=\"text\" name=\"zipcode\" value=\"$zipcode\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_web']."</td><td><input tabindex=\"7\" type=\"text\" name=\"url\" value=\"\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_phone']."</td><td><input tabindex=\"8\" type=\"text\" name=\"phone\" value=\"\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_company']."</td><td><input tabindex=\"9\" type=\"text\" name=\"company\" value=\"\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td valign=\"center\" rowspan=\"2\" >".$strings['user_address']."</td><td><input tabindex=\"10\" type=\"text\" name=\"address1\" value=\"\" size=\"35%\"/></td></tr><tr><td><input tabindex=\"11\" type=\"text\" name=\"address2\" vale=\"\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_city']."</td><td><input tabindex=\"12\" type=\"text\" name=\"city\" value=\"\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_post_code']."</td><td><input tabindex=\"13\" type=\"text\" name=\"zipcode\" value=\"\" size=\"35%\"/></td></tr>\n";
|
||||
print "<tr><td>".$strings['user_state']."</td><td>"; print emit_combo("state", $all_states, $state, "", 0); print"</td></tr>\n";
|
||||
print "<tr><td>".$strings['user_country']."</td><td>"; print emit_combo("country", $all_countries, $country, "", 0); print"</td></tr>\n";
|
||||
print "</table>\n";
|
||||
|
|
Loading…
Reference in New Issue