diff options
| author | Barak Korren <barak.korren@gmail.com> | 2013-04-01 18:39:57 +0300 |
|---|---|---|
| committer | Barak Korren <barak.korren@gmail.com> | 2013-04-01 18:39:57 +0300 |
| commit | 3f44977129ef0ab3c6233dc94d8c46ca2fa039f0 (patch) | |
| tree | 53001b5acd5637666abe9281f880c33376ab0466 /classes/pref | |
| parent | 32b7a340adb9c1acd209049512c0b5d53ed04276 (diff) | |
| parent | c050148df4b81eca3c0e1110b94a649e9b56f9b0 (diff) | |
Merge branch 'master' of https://github.com/gothfox/Tiny-Tiny-RSS.git into tunable-fetches
Diffstat (limited to 'classes/pref')
| -rw-r--r-- | classes/pref/users.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/classes/pref/users.php b/classes/pref/users.php index 5b5120e1b..891a69a52 100644 --- a/classes/pref/users.php +++ b/classes/pref/users.php @@ -19,15 +19,8 @@ class Pref_Users extends Handler_Protected { function userdetails() { - header("Content-Type: text/xml"); - print "<dlg>"; - $uid = sprintf("%d", $_REQUEST["id"]); - print "<title>".__('User details')."</title>"; - - print "<content><![CDATA["; - $result = db_query($this->link, "SELECT login, ".SUBSTRING_FOR_DATE."(last_login,1,16) AS last_login, access_level, @@ -106,22 +99,13 @@ class Pref_Users extends Handler_Protected { <button onclick=\"closeInfoBox()\">".__("Close this window"). "</button></div>"; - print "]]></content></dlg>"; - return; } function edit() { global $access_level_names; - header("Content-Type: text/xml"); - $id = db_escape_string($this->link, $_REQUEST["id"]); - - print "<dlg id=\"$method\">"; - print "<title>".__('User Editor')."</title>"; - print "<content><![CDATA["; - print "<form id=\"user_edit_form\" onsubmit='return false'>"; print "<input type=\"hidden\" name=\"id\" value=\"$id\">"; @@ -193,8 +177,6 @@ class Pref_Users extends Handler_Protected { <button onclick=\"return userEditCancel()\">". __('Cancel')."</button></div>"; - print "]]></content></dlg>"; - return; } |