This commit has been accessed 606 times via Git panel.
commit 6e9beff804ab94a9b50e801ce9893c93d487bcad
tree 0291349b287eaf7c49030dd2060cb3c58bf7b4a0
parent 09471ab97998311713b903f11b785cfc1c03e217
author Psylocke Antonio <psylocke@majcms.org> 1307994289 +0800
committer Psylocke Antonio <psylocke@majcms.org> 1307994289 +0800
Fix city or municipality display in options.php
diff --git a/options.php b/options.php
index 81a81f5..111f841 100644
--- a/options.php
+++ b/options.php
@@ -764,7 +764,7 @@ if (file_exists("data/members/active/{$_SESSION['logged_in']}/bb-last.txt")) {
</td></tr>
-<tr><td bgcolor="#ffffff"><p>city or municipality</p></td><td bgcolor="#ffffff" colspan="2"><input required class="input" type="text" autocomplete="off" name="city" maxlength="100" <?php if (file_exists("data/members/active/{$_SESSION['logged_in']}/url.txt")) { echo "value=\""; readfile("data/members/active/{$_SESSION['logged_in']}/city.txt");echo "\""; } ?>></td></tr>
+<tr><td bgcolor="#ffffff"><p>city or municipality</p></td><td bgcolor="#ffffff" colspan="2"><input required class="input" type="text" autocomplete="off" name="city" maxlength="100" <?php if (file_exists("data/members/active/{$_SESSION['logged_in']}/city.txt")) { echo "value=\""; readfile("data/members/active/{$_SESSION['logged_in']}/city.txt");echo "\""; } ?>></td></tr>
<?php if (file_exists("data/bb.txt") and file_exists("data/bb-sig.txt")) { ?>
tree 0291349b287eaf7c49030dd2060cb3c58bf7b4a0
parent 09471ab97998311713b903f11b785cfc1c03e217
author Psylocke Antonio <psylocke@majcms.org> 1307994289 +0800
committer Psylocke Antonio <psylocke@majcms.org> 1307994289 +0800
Fix city or municipality display in options.php
diff --git a/options.php b/options.php
index 81a81f5..111f841 100644
--- a/options.php
+++ b/options.php
@@ -764,7 +764,7 @@ if (file_exists("data/members/active/{$_SESSION['logged_in']}/bb-last.txt")) {
</td></tr>
-<tr><td bgcolor="#ffffff"><p>city or municipality</p></td><td bgcolor="#ffffff" colspan="2"><input required class="input" type="text" autocomplete="off" name="city" maxlength="100" <?php if (file_exists("data/members/active/{$_SESSION['logged_in']}/url.txt")) { echo "value=\""; readfile("data/members/active/{$_SESSION['logged_in']}/city.txt");echo "\""; } ?>></td></tr>
+<tr><td bgcolor="#ffffff"><p>city or municipality</p></td><td bgcolor="#ffffff" colspan="2"><input required class="input" type="text" autocomplete="off" name="city" maxlength="100" <?php if (file_exists("data/members/active/{$_SESSION['logged_in']}/city.txt")) { echo "value=\""; readfile("data/members/active/{$_SESSION['logged_in']}/city.txt");echo "\""; } ?>></td></tr>
<?php if (file_exists("data/bb.txt") and file_exists("data/bb-sig.txt")) { ?>