version 1.52, 2008/05/29 02:58:41
|
version 1.53, 2008/05/29 03:27:33
|
Line 2165 sub initialize_categories {
|
Line 2165 sub initialize_categories {
|
$css_class = $itemcount%2?' class="LC_odd_row"':''; |
$css_class = $itemcount%2?' class="LC_odd_row"':''; |
$chgstr = ' onchange="javascript:reorderCats(this.form,'."'','addcategory_pos','0'".');"'; |
$chgstr = ' onchange="javascript:reorderCats(this.form,'."'','addcategory_pos','0'".');"'; |
$datatable .= '<tr '.$css_class.'><td><span class="LC_nobreak">' |
$datatable .= '<tr '.$css_class.'><td><span class="LC_nobreak">' |
.'<select name="addcategory_pos"'.$chgstr/'><option value="0">1</option>' |
.'<select name="addcategory_pos"'.$chgstr.'><option value="0">1</option>' |
.'<option value="1" selected="selected">2</option></select> ' |
.'<option value="1" selected="selected">2</option></select> ' |
.&mt('Add category').'</td><td>'.&mt('Name:') |
.&mt('Add category').'</td><td>'.&mt('Name:') |
.' <input type="text" size="20" name="addcategory_name" value="" /></td></tr>'; |
.' <input type="text" size="20" name="addcategory_name" value="" /></td></tr>'; |