New extension added, update activated, TODO extended:
authorRoland Häder <roland@mxchange.org>
Sat, 13 Dec 2008 05:46:06 +0000 (05:46 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 13 Dec 2008 05:46:06 +0000 (05:46 +0000)
- New extension 'events' added which shall record events around the user
  account to the database
- Update 0.5.8 in extension 'sql_patches' activated. I simply missed it...
- ToDo extended and re-organized (English file not updated so far)

.gitattributes
DOCS/de/TODO.txt
inc/databases.php
inc/extensions/ext-events.php [new file with mode: 0644]
inc/extensions/ext-sql_patches.php
templates/de/html/ext/ext_events.tpl [new file with mode: 0644]

index 2ac9cc3e6cf60852ae59485108be77871c8694a3..7e7e3213b671d1fd4cad5d145cc36ade5bb3795a 100644 (file)
@@ -112,6 +112,7 @@ inc/extensions/ext-country.php -text
 inc/extensions/ext-debug.php -text
 inc/extensions/ext-demo.php -text
 inc/extensions/ext-doubler.php -text
+inc/extensions/ext-events.php -text
 inc/extensions/ext-holiday.php -text
 inc/extensions/ext-html_mail.php -text
 inc/extensions/ext-iso3166.php -text
@@ -1214,6 +1215,7 @@ templates/de/html/ext/ext_country.tpl -text
 templates/de/html/ext/ext_debug.tpl -text
 templates/de/html/ext/ext_demo.tpl -text
 templates/de/html/ext/ext_doubler.tpl -text
+templates/de/html/ext/ext_events.tpl -text
 templates/de/html/ext/ext_holiday.tpl -text
 templates/de/html/ext/ext_html_mail.tpl -text
 templates/de/html/ext/ext_mailid.tpl -text
index 9862993a06f12ba0e55563a77617b4f399ed44a7..c8c8ac1c89b2bfd7661488721321db427f4b6e30 100644 (file)
@@ -2,20 +2,20 @@
 = TODO-Liste =
 ==============
 
-[12/10/2006 11:50 Uhr]:
+[13.12.2008 06:50 Uhr]:
 
 --- OFFEN: ---
-- Dokumentation erweitern!
-- Englische Uebersetzung komplettieren!
+- Die Datenbankspalten ext_has_css nach ext_css und id nach ext_id umbenennen
+- Dokumentation erweitern
+- Englische Uebersetzung komplettieren
 - Mehr Datenbank-Schichten hinzufuegen, wie fuer ODBC/M$SQL/Oracle
-- Hoeren Sie auf, "unfreie" Software zu verwenden und treten Sie unserer
-  Community bei. :-)
-- Kaempft gegen Softwarepatente! Das ist Teufelszeug!
 - CSS-Klassen reduzieren und weiter vereinfachen
-- Von TABLE auf DIV-Container umstellen (behindertengerechter)
+- Von TABLE auf DIV-Container umstellen
 - AJAX einbinden
+- Hoere auf, "unfreie" Software zu verwenden und trete meiner Community bei.
+- Kaempft gegen Softwarepatente! Das ist Teufelszeug!
 
---- ERLEDIGT: ---
+--- ERLEDIGT: (alte TODO) ---
 
 - Replace all HTTP_GET_VARS and HTTP_POST_VARS with _GET and _POST
 - Replace SQL_QUERY() command with SQL_QUERY_ESC() commands where ever it is
index d2292ed10f7dce6d91b2cc648506ec38ec88f2ac..3e6ef11fe774e315b9ac1fbe56d00a9f48a4c31c 100644 (file)
@@ -114,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // Current SVN revision
-define('CURR_SVN_REVISION', "626");
+define('CURR_SVN_REVISION', "627");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
diff --git a/inc/extensions/ext-events.php b/inc/extensions/ext-events.php
new file mode 100644 (file)
index 0000000..cc814d3
--- /dev/null
@@ -0,0 +1,85 @@
+<?php
+/************************************************************************
+ * MXChange v0.2.1                                    Start: 12/13/2008 *
+ * ================                             Last change: 12/13/2008 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : ext-events.php                                   *
+ * -------------------------------------------------------------------- *
+ * Short description : Records events around a user account             *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Speichert Ereignisse rund um das                 *
+ *                     Mitgliederaccount ab                             *
+ * -------------------------------------------------------------------- *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2008 by Roland Haeder                           *
+ * For more information visit: http://www.mxchange.org                  *
+ *                                                                      *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or    *
+ * (at your option) any later version.                                  *
+ *                                                                      *
+ * This program is distributed in the hope that it will be useful,      *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
+ * GNU General Public License for more details.                         *
+ *                                                                      *
+ * You should have received a copy of the GNU General Public License    *
+ * along with this program; if not, write to the Free Software          *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
+ * MA  02110-1301  USA                                                  *
+ ************************************************************************/
+
+// Some security stuff...
+if (!defined('__SECURITY')) {
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       require($INC);
+}
+
+// Version number
+$EXT_VERSION = "0.0";
+
+// Auto-set extension version
+if (empty($EXT_VER)) $EXT_VER = $EXT_VERSION;
+
+// Version history array (add more with , "0.1" and so on)
+$EXT_VER_HISTORY = array("0.0");
+
+switch ($EXT_LOAD_MODE)
+{
+case "register": // Do stuff when installation is running (modules.php?module=admin&action=login is called)
+       // SQL commands to run
+       break;
+
+case "remove": // Do stuff when removing extension
+       // SQL commands to run
+       break;
+
+case "activate": // Do stuff when admin activates this extension
+       // SQL commands to run
+       break;
+
+case "deactivate": // Do stuff when admin deactivates this extension
+       // SQL commands to run
+       break;
+
+case "update": // Update an extension
+       switch ($EXT_VER)
+       {
+       case "0.0.1": // SQL queries for v0.0.1
+               $SQLs[] = "";
+
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "";
+               break;
+       }
+       break;
+
+default: // Do stuff when extension is loaded
+       break;
+}
+
+//
+?>
index b07b7288c8ef0fcc71328d04eb9f8e6c200e262b..c6d34125ee115926806f0e716ccce5e5df758af9 100644 (file)
@@ -38,13 +38,13 @@ if (!defined('__SECURITY')) {
 }
 
 // Version number
-$EXT_VERSION = "0.5.7";
+$EXT_VERSION = "0.5.8";
 
 // Auto-set extension version
 if (!isset($EXT_VER)) $EXT_VER = $EXT_VERSION;
 
 // Version history array (add more with , "0.1" and so on)
-$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9", "0.1.0", "0.1.1", "0.1.2", "0.1.3", "0.1.4", "0.1.5", "0.1.6", "0.1.7", "0.1.8", "0.1.9", "0.2.0", "0.2.1", "0.2.2", "0.2.3", "0.2.4", "0.2.5", "0.2.6", "0.2.7", "0.2.8", "0.2.9", "0.3.0", "0.3.1", "0.3.2", "0.3.3", "0.3.4", "0.3.5", "0.3.6", "0.3.7", "0.3.8", "0.3.9", "0.4.0", "0.4.1", "0.4.2", "0.4.3", "0.4.4", "0.4.5", "0.4.6", "0.4.7", "0.4.8", "0.4.9", "0.5.0", "0.5.1", "0.5.2", "0.5.3", "0.5.4", "0.5.5", "0.5.6", "0.5.7");
+$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9", "0.1.0", "0.1.1", "0.1.2", "0.1.3", "0.1.4", "0.1.5", "0.1.6", "0.1.7", "0.1.8", "0.1.9", "0.2.0", "0.2.1", "0.2.2", "0.2.3", "0.2.4", "0.2.5", "0.2.6", "0.2.7", "0.2.8", "0.2.9", "0.3.0", "0.3.1", "0.3.2", "0.3.3", "0.3.4", "0.3.5", "0.3.6", "0.3.7", "0.3.8", "0.3.9", "0.4.0", "0.4.1", "0.4.2", "0.4.3", "0.4.4", "0.4.5", "0.4.6", "0.4.7", "0.4.8", "0.4.9", "0.5.0", "0.5.1", "0.5.2", "0.5.3", "0.5.4", "0.5.5", "0.5.6", "0.5.7", "0.5.8");
 
 switch ($EXT_LOAD_MODE)
 {
diff --git a/templates/de/html/ext/ext_events.tpl b/templates/de/html/ext/ext_events.tpl
new file mode 100644 (file)
index 0000000..a544552
--- /dev/null
@@ -0,0 +1,6 @@
+Wichtige Ereignisse wie das Registrieren des betreffenden Mitgliederaccounts,
+&Auml;nderungen an den Interessen, Aktualisierung der Profildaten,
+fehlgeschlagene Loginversuche, Zusenden eines neuen Passwortes und vieles mehr
+werden mit dieser Erweiterung f&uuml;r eine einstellbare Dauer in der Datenbank
+gespeichert und dem jeweiligen Mitglied einsehbar im Mitgliederaccount zur
+Verf&uuml;gung gestellt.