From 89bbabd77bac2d21739b232e6315f2f09b9c9b56 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Thu, 13 Dec 2012 09:26:25 +0100 Subject: [PATCH] a bit more polish. We are getting there. --- settings/css/settings.css | 3 +++ settings/help.php | 6 ++++++ settings/templates/help.php | 5 +++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/settings/css/settings.css b/settings/css/settings.css index 560862fa12f..36457481911 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -68,3 +68,6 @@ span.securitywarning {color:#C33; font-weight:bold; } span.connectionwarning {color:#933; font-weight:bold; } input[type=radio] { width:1em; } table.shareAPI td { padding-bottom: 0.8em; } + +/* HELP */ +.pressed {background-color:#DDD;} diff --git a/settings/help.php b/settings/help.php index 6f99596b2ba..cdf0c549e44 100644 --- a/settings/help.php +++ b/settings/help.php @@ -15,8 +15,12 @@ OC_App::setActiveNavigationEntry( "help" ); if(isset($_GET['mode']) and $_GET['mode']=='admin') { $url=OC_Helper::linkToAbsolute( 'core', 'docu/admin' ); + $style1=''; + $style2=' pressed'; }else{ $url=OC_Helper::linkToAbsolute( 'core', 'docu/user' ); + $style1=' pressed'; + $style2=''; } $url1=OC_Helper::linkToRoute( "settings_help" ).'?mode=user'; @@ -27,4 +31,6 @@ $tmpl->assign( "admin", OC_Group::inGroup(OC_User::getUser(), 'admin') ); $tmpl->assign( "url", $url ); $tmpl->assign( "url1", $url1 ); $tmpl->assign( "url2", $url2 ); +$tmpl->assign( "style1", $style1 ); +$tmpl->assign( "style2", $style2 ); $tmpl->printPage(); diff --git a/settings/templates/help.php b/settings/templates/help.php index 5ed99420cf4..06f53746c29 100644 --- a/settings/templates/help.php +++ b/settings/templates/help.php @@ -1,9 +1,10 @@
- t( 'User Documentation' ); ?> - t( 'Administrator Documentation' ); ?> + t( 'User Documentation' ); ?> + t( 'Administrator Documentation' ); ?> t( 'Online Documentation' ); ?> t( 'Forum' ); ?> t( 'Bugtracker' ); ?> + t( 'Commercial Support' ); ?>


-- 2.39.5