Location: PHPKode > projects > chillyCMS > chillyCMS/modules/subcontent/backend.php
<?php
defined('DOIT') or die('Restricted access');

$modsettings=explode(",",$modsettings);

$editform .= "<p>$mod_subcontent[lbl_settings]</p><br /><br />".
"<p>$mod_subcontent[lbl_displayname]</p>".
"<select size='1' name='displayname'>";
if ($modsettings[0]==1) {
	$editform .= "<option value='1' selected='selected'>$l_gen[lbl_yes]</option>";
	$editform .= "<option value='0'>$l_gen[lbl_no]</option>";
} else {
	$editform .= "<option value='1'>$l_gen[lbl_yes]</option>";
	$editform .= "<option value='0' selected='selected'>$l_gen[lbl_no]</option>";
}
$editform .= "</select><br /><br /><p>$mod_subcontent[lbl_id]</p>".
"<input type='text' name='whicharticle' value='$modsettings[1]'/><br /><br />";

//since the data is to be saved in an array, the order is important!
$specialsettings="displayname,whicharticle";
?>
Return current item: chillyCMS