Hello!
I´ve a problem
In the db_fields_definitions i add the following line
$additional_categories_fields['cat_cost'] = array($lang['cat_cost'], "dropdown", 0, array("0" => "0", "10" => "10", "25" => "25", "100" => "100", "250" => "250"), 1, 0, 0, 0);
And in the admin/categories.php
function show_cat_cost_select($title = "", $type, $status, $array) {
global $HTTP_POST_VARS;
if (isset($HTTP_POST_VARS[$type])) {
$status = $HTTP_POST_VARS[$type];
}
echo "<tr class=\"".get_row_bg()."\" valign=\"top\">\n<td><p class=\"rowtitle\">".$title."</p></td>\n";
echo "<td>\n<select name=\"".$type."\">\n";
foreach ($array as $key => $val) {
echo "<option value=\"".$key."\"";
if ($status == $key) {
echo " selected=\"selected\"";
}
echo ">".$val."</option>\n";
}
echo "</select>\n</td>\n</tr>\n";
}
But in the sourcetext ist following
<tr class="tablerow" valign="top">
<td><p class="rowtitle">Kosten pro Image</p></td>
<td>
<select name="cat_cost">
<option value="0">0</option>
<option value="1">10</option>
<option value="2" selected="selected">25</option>
<option value="3">100</option>
<option value="4">250</option>
</select>
</td>
</tr>
Where can i change this?
Thanks