]> git.mxchange.org Git - mailer.git/blob - inc/extensions/task/mode-update.php
2bfb09ba6027e043d10657dc1ddf8405fe204644
[mailer.git] / inc / extensions / task / mode-update.php
1 <?php
2 /************************************************************************
3  * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
4  * ===================                          Last change: 06/25/2013 *
5  *                                                                      *
6  * -------------------------------------------------------------------- *
7  * File              : mode-update.php                                  *
8  * -------------------------------------------------------------------- *
9  * Short description : Task management                                  *
10  * -------------------------------------------------------------------- *
11  * Kurzbeschreibung  : Aufgabenverwaltung                               *
12  * -------------------------------------------------------------------- *
13  * $Revision::                                                        $ *
14  * $Date::                                                            $ *
15  * $Tag:: 0.2.1-FINAL                                                 $ *
16  * $Author::                                                          $ *
17  * -------------------------------------------------------------------- *
18  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
19  * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
20  * For more information visit: http://mxchange.org                      *
21  *                                                                      *
22  * This program is free software; you can redistribute it and/or modify *
23  * it under the terms of the GNU General Public License as published by *
24  * the Free Software Foundation; either version 2 of the License, or    *
25  * (at your option) any later version.                                  *
26  *                                                                      *
27  * This program is distributed in the hope that it will be useful,      *
28  * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
29  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
30  * GNU General Public License for more details.                         *
31  *                                                                      *
32  * You should have received a copy of the GNU General Public License    *
33  * along with this program; if not, write to the Free Software          *
34  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
35  * MA  02110-1301  USA                                                  *
36  ************************************************************************/
37
38 // Some security stuff...
39 if (!defined('__SECURITY')) {
40         die();
41 } // END - if
42
43 // @TODO Remove double tabs from all lines
44                 switch (getCurrentExtensionVersion()) {
45                         case '0.0.1': // SQL queries for v0.0.1
46                                 // Update notes (these will be set as task text!)
47                                 setExtensionUpdateNotes("Veraltetes Update entfernt.");
48                                 break;
49
50                         case '0.0.1': // SQL queries for v0.0.1
51                                 // Update notes (these will be set as task text!)
52                                 setExtensionUpdateNotes("Unn&ouml;tige Script-Teile aus what-list_tasks.php herausgel&ouml;scht; beim Anzeigen einer Extension-Update, oder -Register Aufgabe werden bei eingeschaltetem Verbose-Modus alle SQL-Anweisungen aufgelistet.");
53                                 break;
54
55                         case '0.0.4': // SQL queries for v0.0.4
56                                 // Update notes (these will be set as task text!)
57                                 setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
58                                 break;
59
60                         case '0.0.5': // SQL queries for v0.0.5
61                                 // Update notes (these will be set as task text!)
62                                 setExtensionUpdateNotes("&amp;admin= in &amp;amp;admin= umgewandelt.");
63                                 break;
64
65                         case '0.0.6': // SQL queries for v0.0.6
66                                 // Update notes (these will be set as task text!)
67                                 setExtensionUpdateNotes("Wegen des Theme-Supportes hat sich die URL zur CSS-Datei ge&auml;ndert.");
68                                 break;
69
70                         case '0.0.7': // SQL queries for v0.0.7
71                                 // Update notes (these will be set as task text!)
72                                 setExtensionUpdateNotes("Erstellung der Extra-&Uuml;bersichten verbessert.");
73                                 break;
74
75                         case '0.0.8': // SQL queries for v0.0.8
76                                 // Update notes (these will be set as task text!)
77                                 setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
78                                 break;
79
80                         case '0.0.9': // SQL queries for v0.0.9
81                                 // Update notes (these will be set as task text!)
82                                 setExtensionUpdateNotes("Fehler bei Abfrage der payout-Erweiterung beseitigt.");
83                                 break;
84
85                         case '0.1.0': // SQL queries for v0.2.1
86                                 // Update notes (these will be set as task text!)
87                                 setExtensionUpdateNotes("Task-Liste ausgelagert als Template");
88                                 break;
89
90                         case '0.1.1': // SQL queries for v0.1.1
91                                 // Update notes (these will be set as task text!)
92                                 setExtensionUpdateNotes("Design &quot;Solid-Business&quot; eingebaut.");
93                                 break;
94
95                         case '0.1.2': // SQL queries for v0.1.2
96                                 // Update notes (these will be set as task text!)
97                                 setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
98                                 break;
99
100                         case '0.1.3': // SQL queries for v0.1.3
101                                 // Update notes (these will be set as task text!)
102                                 setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
103                                 break;
104
105                         case '0.1.4': // SQL queries for v0.1.4
106                                 // Update notes (these will be set as task text!)
107                                 setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
108                                 break;
109
110                         case '0.1.5': // SQL queries for v0.1.5
111                                 // Update notes (these will be set as task text!)
112                                 setExtensionUpdateNotes("Links wegen <strong>what=admins_contct</strong> ge&auml;ndert.");
113                                 break;
114
115                         case '0.1.6': // SQL queries for v0.1.6
116                                 // Update notes (these will be set as task text!)
117                                 setExtensionUpdateNotes("Weitere Direkt-Links eingebaut:<br />
118 <ul>
119   <li>L&auml;ndercodes</li>
120   <li>Wartende Verdopplungen</li>
121   <li><strong>Ge&auml;ndert:</strong> Wartende Auszahlungen</li>
122   <li>Teilnehmer an der Aktiv-Rallye</li>
123   <li>Nett hinweisende Linktitel hinzugef&uuml;gt. :-)</li>
124 </ul>");
125                                 break;
126
127                         case '0.1.7': // SQL queries for v0.1.7
128                                 // Update notes (these will be set as task text!)
129                                 setExtensionUpdateNotes("Direkt Links zum Sponsorenbereich vorbereitend eingebaut.");
130                                 break;
131
132                         case '0.1.8': // SQL queries for v0.1.8
133                                 // Update notes (these will be set as task text!)
134                                 setExtensionUpdateNotes("Es werden alle installierten und aktivierten Themes angezeigt und verlinkt.");
135                                 break;
136
137                         case '0.1.9': // SQL queries for v0.1.9
138                                 // Update notes (these will be set as task text!)
139                                 setExtensionUpdateNotes("CSS-Datei in general.css verschmolzen (Patch 435!)");
140                                 break;
141
142                         case '0.2.0': // SQL queries for v0.2.0
143                                 // Update notes (these will be set as task text!)
144                                 setExtensionUpdateNotes("Alle Administratoren, Referral-Banner und aktivierte Referral-Banner werden nun eingeblendet.");
145                                 break;
146
147                         case '0.2.1': // SQL queries for v0.2.1
148                                 // Update notes (these will be set as task text!)
149                                 setExtensionUpdateNotes("Problem mit &uuml;berlanger Textbreite beseitigt.");
150                                 break;
151
152                         case '0.2.2': // SQL queries for v0.2.2
153                                 // Update notes (these will be set as task text!)
154                                 setExtensionUpdateNotes("Link zum Freischalten von Sponoren-Accounts korregiert.");
155                                 break;
156
157                         case '0.2.3': // SQL queries for v0.2.3
158                                 // Update notes (these will be set as task text!)
159                                 setExtensionUpdateNotes("Sortierungsreihenfolge grundlegend ge&auml;ndert: Es wird jetzt nach Mitglieds-Id, Aufgabenbereich, Infos und nach dem Erstellunsdatum sortiert.");
160                                 break;
161
162                         case '0.2.4': // SQL queries for v0.2.4
163                                 // Update notes (these will be set as task text!)
164                                 setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
165                                 break;
166
167                         case '0.2.5': // SQL queries for v0.2.5
168                                 // Update notes (these will be set as task text!)
169                                 setExtensionUpdateNotes("<strong>Nur mit bonus v0.6.9 oder h&ouml;her:</strong> Zuschaltbare Bonis werden auch bei der Ermittlung Anzahl teilnehmender Mitglieder mit ber&uumk;cksichtigt.");
170                                 break;
171
172                         case '0.2.6': // SQL queries for v0.2.6
173                                 // Update notes (these will be set as task text!)
174                                 setExtensionUpdateNotes("Teilnehmer der Bettel-Rallye werden angezeigt.");
175                                 break;
176
177                         case '0.2.7': // SQL queries for v0.2.7
178                                 // Update notes (these will be set as task text!)
179                                 setExtensionUpdateNotes("Link zum direkten Aufheben einer Urlaubsschaltung eines Mitgliedes korregiert.");
180                                 break;
181
182                         case '0.2.8': // SQL queries for v0.2.8
183                                 // Update notes (these will be set as task text!)
184                                 setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
185                                 break;
186
187                         case '0.2.9': // SQL queries for v0.2.9
188                                 // Update notes (these will be set as task text!)
189                                 setExtensionUpdateNotes("if-Anweisungen auf Funktion <strong>empty()</strong> umgestellt. Update-Aufgaben werden nach &quot;Bearbeitung&quot; nicht mehr als <strong>Erledigt</strong> gesetzt. Dies hatte sonst den Anschein, die Update-Aufgaben m&uuml;ssten erledigt werden, um die Erweiterungs-Updates einzuspielen, was aber automatisch geschieht.");
190                                 break;
191
192                         case '0.3.0': // SQL queries for v0.3.0
193                                 // Update notes (these will be set as task text!)
194                                 setExtensionUpdateNotes("Export-Accounts werden in Task-&Uuml;bersicht aufgelistet.");
195                                 break;
196
197                         case '0.3.1': // SQL queries for v0.3.1
198                                 // Update notes (these will be set as task text!)
199                                 setExtensionUpdateNotes("Diverse Fixes an den Templates (Notice-Hinweise vom PHP-Interpreter entfernt).");
200                                 break;
201
202                         case '0.3.2': // SQL queries for v0.3.2
203                                 // Update notes (these will be set as task text!)
204                                 setExtensionUpdateNotes("H&auml;ngt nun von <u>ext-user</u> ab.");
205                                 break;
206
207                         case '0.3.3': // SQL queries for v0.3.3
208                                 addExtensionChangeTableColumnSql('task_system', 'assigned_admin', 'assigned_admin', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
209                                 addExtensionChangeTableColumnSql('task_system', 'userid', 'userid', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
210                                 addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `assigned_admin`=NULL WHERE `assigned_admin`=0');
211                                 addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `userid`=NULL WHERE `userid`=0');
212
213                                 // Update notes (these will be set as task text!)
214                                 setExtensionUpdateNotes("Zugewiesener Admin und User-Id d&uuml;rfen nun NULL sein.");
215                                 break;
216                 } // END - switch
217
218 // [EOF]
219 ?>