summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php44
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,