diff options
author | ivan <ivan> | 2009-10-22 12:50:05 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-10-22 12:50:05 +0000 |
commit | 09d3b99715ac707d64b1a06d8a2432b76ddb173d (patch) | |
tree | fb30940e8e62851814f1795dcfa98cabc2c4f56b /httemplate/browse/part_pkg.cgi | |
parent | 11e7e902c43e46585ccf43e67b11ed040f6655f7 (diff) |
restrict additinal package order option, RT#6029
Diffstat (limited to 'httemplate/browse/part_pkg.cgi')
-rwxr-xr-x | httemplate/browse/part_pkg.cgi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi index c6cbb81a3..e226ce13e 100755 --- a/httemplate/browse/part_pkg.cgi +++ b/httemplate/browse/part_pkg.cgi @@ -177,6 +177,12 @@ unless ( 0 ) { #already showing only one class or something? $align .= 'l'; } +if ( $conf->exists('pkg-addon_classnum') ) { + push @header, "Add'l order class"; + push @fields, sub { shift->addon_classname || '(none)'; }; + $align .= 'l'; +} + tie my %plans, 'Tie::IxHash', %{ FS::part_pkg::plan_info() }; tie my %plan_labels, 'Tie::IxHash', |