DEDITAG Eingabefeld
Content
1.1
1
1066927900
1085515617
1
Gibt die Möglichkeit, DEDI:TAGs, DEDIPHP und gecachtes PHP innerhalb der Templatekonfiguration einzugeben.
<?PHP
//configmode
$mip_form['13']['desc'] = 'Konfigurationsmodus';
$mip_form['13']['cat'] = 'option';
$mip_form['13']['size'] = '1';
$mip_form['13']['option_desc'][] = 'Normal';
$mip_form['13']['option_val'][] = '';
$mip_form['13']['option_desc'][] = 'Ausgeblendet';
$mip_form['13']['option_val'][] = 'hidden';
$mip_form['13']['cms_var'] = 'MOD_VAR[13]';
$mip_form['13']['cms_val'] = $dedi_mod['value']['13'];
$mip_form['13']['flag'] = 'reload';
mip_formsp($mip_form['13']);//configmode
$mip_form['hide_in_standard_mode'] = array(0);
//hidden config
if($dedi_mod['value']['13'] == 'hidden'){
foreach($dedi_mod['value'] AS $ke=>$va){
if($ke != '13'){
?>
<input name="MOD_VAR[<?php echo $ke; ?>]" type="hidden" value="<?php echo htmlentities($va);?>">
<?php
}
}
}
//simple and advanced config
else if($dedi_mod['value']['13'] == ''){
// Template
$mip_form['0']['desc'] = 'Template';
$mip_form['0']['cat'] = 'txtarea';
$mip_form['0']['rows'] = '20';
$mip_form['0']['type'] = 'long';
$mip_form['0']['cms_var'] = 'MOD_VAR[0]';
$mip_form['0']['cms_val'] = $dedi_mod['value']['0'];
$mip_form['0']['cms_val_default'] = '<dedi:mod type="wysiwyg" id="1">';
mip_formsp($mip_form['0']);
}
unset($mip_form);
?>
mod:5236a828296b056b6c0c911442e0f89c:e6cf821e