version 1.12, 2010/03/22 17:29:11
|
version 1.13, 2010/04/02 21:47:54
|
Line 320 sub display_choices {
|
Line 320 sub display_choices {
|
'// ]]>'."\n". |
'// ]]>'."\n". |
'</script>'."\n"); |
'</script>'."\n"); |
$r->print('<h3>'.&mt('Settings to display/modify').'</h3>'. |
$r->print('<h3>'.&mt('Settings to display/modify').'</h3>'. |
'<input type="button" value="'.&mt('check all').'" '. |
'<div><input type="button" value="'.&mt('check all').'" '. |
'onclick="javascript:checkAll(document.pickactions.actions)"'. |
'onclick="javascript:checkAll(document.pickactions.actions)"'. |
' />'.(' 'x2). |
' />'.(' 'x2). |
'<input type="button" value="'.&mt('uncheck all').'" '. |
'<input type="button" value="'.&mt('uncheck all').'" '. |
'onclick="javascript:uncheckAll(document.pickactions.actions)" />'. |
'onclick="javascript:uncheckAll(document.pickactions.actions)" />'. |
"\n". |
"\n". |
'<div class="LC_left_float">'); |
'</div><div class="LC_left_float">'); |
my ($numitems,$maxincol,$firstthird,$secondthird,$seconddiv,$thirddiv,$count); |
my ($numitems,$maxincol,$firstthird,$secondthird,$seconddiv,$thirddiv,$count); |
if (ref($prefs_order) eq 'ARRAY') { |
if (ref($prefs_order) eq 'ARRAY') { |
$numitems = @{$prefs_order}; |
$numitems = @{$prefs_order}; |
Line 353 sub display_choices {
|
Line 353 sub display_choices {
|
if ((!$thirddiv) && ($count >= $secondthird)) { |
if ((!$thirddiv) && ($count >= $secondthird)) { |
$r->print('</div>'."\n".'<div class="LC_left_float">'."\n"); |
$r->print('</div>'."\n".'<div class="LC_left_float">'."\n"); |
$thirddiv = 1; |
$thirddiv = 1; |
} |
} |
} |
} |
$r->print('</div><br clear="all" />'); |
$r->print('</div><br clear="all" />'); |
} |
} |