diff options
author | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2011-10-02 15:51:24 +0200 |
---|---|---|
committer | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2011-10-02 15:51:24 +0200 |
commit | daee88fd26b69d997b5a203c42d6a3cb1dbe46dc (patch) | |
tree | 3e71eb59e39500d8d7c4749b02efe44f18d17d00 /settings/personal.php | |
parent | ba49bcd5a912d6b70e408d8216a178bcaf554a7a (diff) | |
download | nextcloud-server-daee88fd26b69d997b5a203c42d6a3cb1dbe46dc.tar.gz nextcloud-server-daee88fd26b69d997b5a203c42d6a3cb1dbe46dc.zip |
Changed multiple select for days of weekend to 'chosen'. Cleaned up some code. Removed success message when changing timezone.
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/settings/personal.php b/settings/personal.php index 687b1a7aa34..0e15f176f98 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -9,9 +9,12 @@ require_once('../lib/base.php'); OC_Util::checkLoggedIn(); // Highlight navigation entry -OC_Util::addScript( "settings", "personal" ); -OC_Util::addStyle( "settings", "settings" ); -OC_App::setActiveNavigationEntry( "personal" ); +OC_Util::addScript( 'settings', 'personal' ); +OC_Util::addScript( 'core', 'multiselect' ); +OC_Util::addStyle( 'settings', 'settings' ); +OC_Util::addScript( '3rdparty', 'chosen/chosen.jquery.min' ); +OC_Util::addStyle( '3rdparty', 'chosen' ); +OC_App::setActiveNavigationEntry( 'personal' ); // calculate the disc space $used=OC_Filesystem::filesize('/'); @@ -33,7 +36,7 @@ foreach($languageCodes as $lang){ } // Return template -$tmpl = new OC_Template( "settings", "personal", "user"); +$tmpl = new OC_Template( 'settings', 'personal', 'user'); $tmpl->assign('usage',OC_Helper::humanFileSize($used)); $tmpl->assign('total_space',OC_Helper::humanFileSize($total)); $tmpl->assign('usage_relative',$relative); |