diff options
author | Andrew Dolgov <[email protected]> | 2005-11-18 07:29:36 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-18 07:29:36 +0100 |
commit | 7d4c898ab3adbfbb0ad2c6887afc391273762828 (patch) | |
tree | ceee8f3919ea21a66a7be2abad674212fec9b5cd /backend.php | |
parent | c8437f35c62f0ad12eee5d4b2ac075c44d7ed2c7 (diff) |
optional SINGLE_USER_MODE
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/backend.php b/backend.php index ed8ab6c18..edef18a03 100644 --- a/backend.php +++ b/backend.php @@ -1621,28 +1621,32 @@ } else { - print "<form action=\"backend.php\" method=\"POST\">"; - - print "<table width=\"100%\" class=\"prefPrefsList\">"; - print "<tr><td colspan='3'><h3>Authentication</h3></tr></td>"; - - print "<tr><td width=\"40%\">Old password</td>"; - print "<td><input class=\"editbox\" type=\"password\" - name=\"OLD_PASSWORD\"></td></tr>"; - - print "<tr><td width=\"40%\">New password</td>"; - - print "<td><input class=\"editbox\" type=\"password\" - name=\"NEW_PASSWORD\"></td></tr>"; + if (!SINGLE_USER_MODE) { - print "</table>"; - - print "<input type=\"hidden\" name=\"op\" value=\"pref-prefs\">"; - - print "<p><input class=\"button\" type=\"submit\" - value=\"Change password\" name=\"subop\">"; + print "<form action=\"backend.php\" method=\"POST\">"; + + print "<table width=\"100%\" class=\"prefPrefsList\">"; + print "<tr><td colspan='3'><h3>Authentication</h3></tr></td>"; + + print "<tr><td width=\"40%\">Old password</td>"; + print "<td><input class=\"editbox\" type=\"password\" + name=\"OLD_PASSWORD\"></td></tr>"; + + print "<tr><td width=\"40%\">New password</td>"; + + print "<td><input class=\"editbox\" type=\"password\" + name=\"NEW_PASSWORD\"></td></tr>"; + + print "</table>"; + + print "<input type=\"hidden\" name=\"op\" value=\"pref-prefs\">"; + + print "<p><input class=\"button\" type=\"submit\" + value=\"Change password\" name=\"subop\">"; + + print "</form>"; - print "</form>"; + } $result = db_query($link, "SELECT ttrss_user_prefs.pref_name,short_desc,help_text,value,type_name, |