) TYPE=MyISAM";
// Load CSS file?
- $EXT_CSS = 'Y';
+ $EXT_CSS = "Y";
break;
case "remove": // Do stuff when removing extension
$SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD beg_active enum('Y', 'N') not null default 'N'";
$SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD beg_rallye enum('Y', 'N') not null default 'N'";
$SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_user_data ADD beg_points double(21,5) not null default '0.00000'";
- $VIS = 'N'; $LOCKED = 'Y';
- if (EXT_IS_ACTIVE("beg")) { $VIS = 'Y'; $LOCKED = 'N'; }
+ $VIS = "N"; $LOCKED = "Y";
+ if (EXT_IS_ACTIVE("beg")) { $VIS = "Y"; $LOCKED = "N"; }
$SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_member_menu (action, what, title, visible, locked, sort) VALUES ('main', 'beg2', 'Bettel-Rallye', '".$VIS."', '".$LOCKED."', '7')";
$SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (action, what, title, descr, sort) VALUES('user', 'list_beg', 'Bettel-Rallye', 'Listet alle Teilnehmer der monatlichen Bettel-Rallye auf.', '12')";
if (defined('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
{
// Daily reset was run so let's check if begging rallye is active
- if ($_CONFIG['beg_rallye'] == 'Y')
+ if ($_CONFIG['beg_rallye'] == "Y")
{
// Check for our winers
$INC_POOL[] = PATH."inc/monthly/monthly_beg.php";
}
// Check for beg rallye is active and send mails out
- if (($_CONFIG['beg_rallye'] == 'Y') && ($_CONFIG['beg_new_mem_notify'] == 'Y'))
+ if (($_CONFIG['beg_rallye'] == "Y") && ($_CONFIG['beg_new_mem_notify'] == "Y"))
{
// Include file for sending out mails
$INC_POOL[] = PATH."inc/mails/beg_mails.php";
$EXT_LANG_PREFIX = "beg";
// Extension is always active?
-$EXT_ALWAYS_ACTIVE = 'N';
+$EXT_ALWAYS_ACTIVE = "N";
//
?>