X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2Findex.html;h=3dd8ab4f9201ebade1f3ecb4b17bb2ffd775e99b;hp=7956bde8b4a4228a17f024d6b700f2fb6abe9d5c;hb=43a06151e47d2c59b833cbd8c26d97865ee850b6;hpb=6587f6ba7d047ddc1686c080090afe7d53365bd4 diff --git a/rt/share/html/Admin/index.html b/rt/share/html/Admin/index.html index 7956bde8b..3dd8ab4f9 100755 --- a/rt/share/html/Admin/index.html +++ b/rt/share/html/Admin/index.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -45,51 +45,9 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} -<& //Admin/Elements/Header, Title => loc('RT Administration') &> -<& //Admin/Elements/Tabs, Title => loc('RT Administration') &> - -<& /Elements/ListMenu, items => $tabs &> -<%init> - - - -my $tabs = { - A => { - title => loc('Users'), - path => '/Admin/Users/index.html', - description => loc('Manage users and passwords'), - }, - B => { - title => loc('Groups'), - path => '/Admin/Groups/index.html', - description => loc('Manage groups and group membership'), - }, - C => { - title => loc('Queues'), - path => '/Admin/Queues/index.html', - description => loc('Manage queues and queue-specific properties'), - }, - D => { - 'title' => loc('Custom Fields'), - description => loc('Manage custom fields and custom field values'), - path => '/Admin/CustomFields/index.html', - }, - E => { - 'title' => loc('Global'), - path => '/Admin/Global/index.html', - description => - loc('Manage properties and configuration which apply to all queues'), - }, - F => { - 'title' => loc('Tools'), - path => '/Admin/Tools/index.html', - description => loc('Use other RT administrative tools') - }, -}; - - $m->callback( %ARGS, tabs => $tabs ); - - - - - +<& /Admin/Elements/Header, Title => loc('RT Administration') &> +<& /Elements/Tabs &> +<& /Elements/ListMenu, menu => Menu()->child('tools')->child('config') &> +% if (RT->Config->Get('ShowRTPortal')) { +<& /Admin/Elements/Portal &> +% }