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

global $page;
$mainmodid=intval($_REQUEST["id"]);
$settingsarray=explode(',',$modsettings);

$date = explode('.',$settingsarray[1]);
if (!checkdate($date[1],$date[0],$date[2])) { $settingsarray[1] = ''; }

$editform .= '<h3>'.$mod_bugtrap['lbl_bugtrap'].'</h3>'.

'<table cellspacing="10px">'.
//open for new tickets?
'<tr><td><span class="floatleft">'.$mod_bugtrap['lbl_newtickets'].'</span></td>'.
'<td><input class="button" type="checkbox" name="openforinput" value="1"';
if ($settingsarray[0]==1) { $editform .= ' checked="checked"'; }
$editform .= ' /></td></tr>'.
//planned end of project
'<tr><td><span class="floatleft">'.$mod_bugtrap['lbl_projectend'].'</span>'.
'<a class="info floatright" title="'.$mod_bugtrap['tip_date'].'"></a></td>'.
'<td><input type="text" name="targetdate" value="'.$settingsarray[1].'" class="textinput" maxlength="10" /></td></tr>'.
//description
'<tr><td><span class="floatleft">'.$mod_bugtrap['lbl_desc'].'</span></td>'.
'<td><textarea cols="30" rows="5" name="ckeditor" class="textinput">'.$content.'</textarea></td></tr>'.
'</table>';

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