// Setup constants for the template
switch ($CONFIG['ap_inactive'])
{
- case "Y": define('__YES_IN', " checked"); define('__NO_IN', ""); break;
- case "N": define('__YES_IN', ""); define('__NO_IN', " checked"); break;
+ case 'Y': define('__YES_IN', " checked"); define('__NO_IN', ""); break;
+ case 'N': define('__YES_IN', ""); define('__NO_IN', " checked"); break;
}
switch ($CONFIG['ap_unconfirmed'])
{
- case "Y": define('__YES_UN', " checked"); define('__NO_UN', ""); break;
- case "N": define('__YES_UN', ""); define('__NO_UN', " checked"); break;
+ case 'Y': define('__YES_UN', " checked"); define('__NO_UN', ""); break;
+ case 'N': define('__YES_UN', ""); define('__NO_UN', " checked"); break;
}
define('__AP_IN_SINCE', $CONFIG['ap_in_since']);
define('__AP_IN_TIME' , $CONFIG['ap_in_time']);