- case "0.1.6":
- // Dependency is needed for ext-registration!! (want to alter a non existent Table)
- $EXT_UPDATE_DEPENDS = "bonus";
- $UPDATE_NOTES = "Abhänigkeit von der Erweiterung <strong>bonus</strong> hinzugefügt.";
- break;
- }
- break;
-
-case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
- break;
-
-default: // Do stuff when extension is loaded
- // Define all arrary variables as global!
- global $HTML_TAGS, $URL_ENDS, $VALID_EMAI_CHARS;
-
- // Valid HTML tags (only simple and no attributes!)
- $HTML_TAGS = array(
- "b",
- "i",
- "u",
- "ol",
- "ul",
- "li",
- "strong",
- "center",
- "left",
- "right",
- "br",
- );
-
- // URL ends which are used to indentify the end of an URL or email link
- // Don't use these chars in links... ;-)
- //
- $URL_ENDS = array(
- " ",
- "\n",
- "\r",
- ")",
- );
-
- // Valid email chars (without @, or do you want to have another @ inside your email addy?)
- $VALID_EMAIL_CHARS = array(
- 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s',
- 't','u','v','w','x','y','z','a','B','C','D','E','F','G','H','I','J','K','L',
- 'M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','-','.','_','0','1',
- '2','3','4','5','6','7','8','9'
- );
- break;
-}
-
-//