diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-04-16 17:49:57 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-04-16 17:49:57 +0200 |
commit | af1e48df80680dfa2b6e1367752a41aee750c308 (patch) | |
tree | 6207783e6124c9fb795f2eb12b3d67886c239731 /settings | |
parent | b5f913a3fc66a3036fc7ea291d67a72f7a0ecd40 (diff) | |
download | nextcloud-server-af1e48df80680dfa2b6e1367752a41aee750c308.tar.gz nextcloud-server-af1e48df80680dfa2b6e1367752a41aee750c308.zip |
Changes in the user experience
Diffstat (limited to 'settings')
-rw-r--r-- | settings/img/information.png | bin | 0 -> 803 bytes | |||
-rw-r--r-- | settings/index.php | 21 | ||||
-rw-r--r-- | settings/templates/index.php | 18 |
3 files changed, 2 insertions, 37 deletions
diff --git a/settings/img/information.png b/settings/img/information.png Binary files differnew file mode 100644 index 00000000000..cbabb0e54a5 --- /dev/null +++ b/settings/img/information.png diff --git a/settings/index.php b/settings/index.php index 85e4281c919..31db326f6bc 100644 --- a/settings/index.php +++ b/settings/index.php @@ -7,27 +7,8 @@ if( !OC_USER::isLoggedIn()){ exit(); } -$settings = array(); -// Do the work ... -if( $_POST["submit"] ) -{ - if( $_POST["newpassword"] != $_POST["newpasswordconfirm"] ){ - // Say "Passwords not equal" - } - else{ - if( OC_USER::checkPassword( $_SESSION["username"], $_POST["password"] )){ - // Set password - OC_USER::setPassord( $_SESSION["username"], $_POST["newpassword"] ); - } - else{ - // Say "old password bad" - } - } -} - -$tmpl = new OC_TEMPLATE( "settings", "index", "user" ); -$tmpl->assign( "settings", $settings ); +$tmpl = new OC_TEMPLATE( "settings", "index", "admin" ); $tmpl->printPage(); ?> diff --git a/settings/templates/index.php b/settings/templates/index.php index 20410e06d12..106d313c014 100644 --- a/settings/templates/index.php +++ b/settings/templates/index.php @@ -5,20 +5,4 @@ ?> <h1>Settings</h1> -<form action="" type=""> - <p> - <span>New password:</span> - <input type="password" name="newpassword" value=""> - </p> - <p> - <span>Confirm new password:</span> - <input type="password" name="newpasswordconfirm" value=""> - </p> - <p> - <span>Old password:</span> - <input type="password" name="password" value=""> - </p> - <p> - <input type="submit" name="submit" value="Send"> - </p> -</form> +Welcome to the settings! Bla bla bla
\ No newline at end of file |