in _admin/manage_placeholder.php
=== SUCHE ===
Code: Alles auswählen
break;
case 'url':
Code: Alles auswählen
print('<tr><td>'.___('Selectbox options:').'</td><td>');
print('<input name="placeholder[options]" type="text" value="'.htmlspecialchars($placeholder['options']).'" class="inputwidth">');
print('<br />Durch Semikolon getrennte Werte eingeben!');
print(help('').'</td></tr>');
=== SUCHE ===
Code: Alles auswählen
printf('<textarea name="content[%s][text]" cols="80" rows="15" class="inputwidth">%s</textarea>',
htmlspecialchars($key),
htmlspecialchars($content[$key]['text'])
);
print(help(''));
print('</td></tr>');
break;
Code: Alles auswählen
if (isset($value['selectbox']) && isset($value['options'])) {
printf('<select name="content[%s][text]">',
htmlspecialchars($key)
);
$select_options = explode(";",$value['options']);
foreach ($select_options AS $select_option) {
$selected = ($select_option == htmlspecialchars($content[$key]['text'])) ? ' selected="selected"' : '';
printf('<option value="%s"%s>%s</option>', $select_option, $selected, $select_option);
}
printf('</select>');
print('</td></tr>');
break;
}