]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_birthday.php
A lot double-quotes rewritten to single-quotes, some redirect URLs fixed
[mailer.git] / inc / modules / admin / what-config_birthday.php
index a0c83d98405e18bbdfcd70b00ed475109e9a0717..f93e242854a981ac7b22a507b498977c02bb9b21 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Geburtstagsgruesse einstellen                    *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+ADD_DESCR('admin', __FILE__);
 
 if (IS_FORM_SENT()) {
        // Save configuration
@@ -53,26 +53,26 @@ if (IS_FORM_SENT()) {
        define('__POINTS_VALUE', getConfig('birthday_points'));
        switch (getConfig('birthday_active'))
        {
-       case "Y":
-               define('__BIRTHDAY_ACTIVE_Y', " checked=\"checked\"");
-               define('__BIRTHDAY_ACTIVE_N', "");
+       case 'Y':
+               define('__BIRTHDAY_ACTIVE_Y', ' chkecked="checked"');
+               define('__BIRTHDAY_ACTIVE_N', '');
                break;
 
-       case "N":
-               define('__BIRTHDAY_ACTIVE_Y', "");
-               define('__BIRTHDAY_ACTIVE_N', " checked=\"checked\"");
+       case 'N':
+               define('__BIRTHDAY_ACTIVE_Y', '');
+               define('__BIRTHDAY_ACTIVE_N', ' chkecked="checked"');
                break;
        }
        switch (getConfig('birthday_mode'))
        {
        case "DIRECT":
-               define('__BIRTHDAY_MODE_DIRECT', " checked=\"checked\"");
-               define('__BIRTHDAY_MODE_REF'   , "");
+               define('__BIRTHDAY_MODE_DIRECT', ' chkecked="checked"');
+               define('__BIRTHDAY_MODE_REF'   , '');
                break;
 
        case "REF":
-               define('__BIRTHDAY_MODE_DIRECT', "");
-               define('__BIRTHDAY_MODE_REF'   , " checked=\"checked\"");
+               define('__BIRTHDAY_MODE_DIRECT', '');
+               define('__BIRTHDAY_MODE_REF'   , ' chkecked="checked"');
                break;
        }