[freeside-commits] freeside/httemplate/browse msgcat.html, NONE, 1.1

Ivan,,, ivan at wavetail.420.am
Fri Jun 3 10:47:41 PDT 2011


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

Added Files:
	msgcat.html 
Log Message:
missing preliminary msgcat.html, RT#12515

--- NEW FILE: msgcat.html ---
<& elements/browse.html,
     title         => mt('Message catalog'),
     name_singular => 'string', #mt?
     menubar       => $menubar,
     query         => { 'table' => 'msgcat',
                      },
     count_query   => $count_query,
     header        => [ mt('Message code'), mt('Message string') ],
     fields        => [ 'msgcode', 'msg' ],
     links         => [ $link, $link ],
&>
<%init>

my $curuser = $FS::CurrentUser::CurrentUser;

die "access denied"
  unless $curuser->access_right('Configuration');

my $menubar = [ mt('Add a string') => $p.'edit/msgcat.html' ];

my $where = '';

my $count_query = 'SELECT COUNT(*) FROM msgcat';

my $link = [ "${p}edit/msgcat.html?", 'msgnum' ];

</%init>



More information about the freeside-commits mailing list