[freeside-commits] freeside/httemplate/browse nas.html, NONE, 1.1.2.2

Ivan,,, ivan at wavetail.420.am
Fri Oct 14 01:56:13 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv13355/httemplate/browse

Added Files:
      Tag: FREESIDE_2_3_BRANCH
	nas.html 
Log Message:
maintain freeradius nas table, RT#14697

--- NEW FILE: nas.html ---
<& elements/browse.html,
     'title'              => 'RADIUS clients',
     'name_singular'      => 'RADIUS client',
     'query'              => { 'table' => 'nas', },
     'count_query'        => 'SELECT COUNT(*) FROM nas',
     'header'             => [ 'Hostname', 'Short name', #'Shared secret',
                               'Type', 'Ports', 'Server', 'Community',
                               'Description',
                             ],
     'fields'             => [ 'nasname',
                               'shortname',
                               #'secret',
                               'type',
                               'ports',
                               'server',
                               'community',
                               'description',
                             ],
     'links'               => [ $link, $link ],
     'align'               => 'lllrlll',
     'add_link'            => 1,
     #'disableable'        => 1,
     #'disabled_statuspos' => 2,
     #All options from /search/elements/search.html are available.
&>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');

my $link = [ $p.'edit/nas.html?', 'nasnum' ];

</%init>



More information about the freeside-commits mailing list