X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2Findex.html;h=17e93fa9f40cec1a361b775f98966cf829fc5ea5;hb=31f3763747b82764bb019cfab5b2a2945fc9a99d;hp=7956bde8b4a4228a17f024d6b700f2fb6abe9d5c;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Admin/index.html b/rt/share/html/Admin/index.html index 7956bde8b..17e93fa9f 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-2015 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 &> +% }