diff options
author | msquare <msquare@notrademark.de> | 2016-08-22 19:32:54 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-08-22 19:32:54 +0200 |
commit | 3f4be08865296431d070e4386a252dac84d528ec (patch) | |
tree | 08ab8c245137dff544c7c928b4a924e604b41ece /db/update.d | |
parent | 14d20933f7dcbf6d4aab3ee2c6444a19c7afdfd6 (diff) |
remove old update script
Diffstat (limited to 'db/update.d')
-rw-r--r-- | db/update.d/01_faq.php | 21 | ||||
-rw-r--r-- | db/update.d/02_AngelTypes.php | 9 | ||||
-rw-r--r-- | db/update.d/03_Messages.php | 14 | ||||
-rw-r--r-- | db/update.d/04_News.php | 4 | ||||
-rw-r--r-- | db/update.d/05_ShiftEntry.php | 9 | ||||
-rw-r--r-- | db/update.d/06_Shifts.php | 31 | ||||
-rw-r--r-- | db/update.d/07_Groups_and_Permissions.php | 170 | ||||
-rw-r--r-- | db/update.d/08_Wecken.php | 4 | ||||
-rw-r--r-- | db/update.d/09_news_comments.php | 3 | ||||
-rw-r--r-- | db/update.d/10_Questions.php | 4 | ||||
-rw-r--r-- | db/update.d/11_Room_and_NeededAngelTypes.php | 52 | ||||
-rw-r--r-- | db/update.d/12_ShiftFreeloader.php | 3 | ||||
-rw-r--r-- | db/update.d/13_User.php | 18 | ||||
-rw-r--r-- | db/update.d/14_Sprache.php | 634 | ||||
-rw-r--r-- | db/update.d/15_UserAngelTypes.php | 17 | ||||
-rw-r--r-- | db/update.d/16_admin_user_angeltypes.php | 21 | ||||
-rw-r--r-- | db/update.d/17_translations.php | 59 | ||||
-rw-r--r-- | db/update.d/18_translations.php | 17 | ||||
-rw-r--r-- | db/update.d/19_password_field.php | 7 | ||||
-rw-r--r-- | db/update.d/20_LogEntriesTable.php | 19 | ||||
-rw-r--r-- | db/update.d/21_Atom.php | 4 | ||||
-rw-r--r-- | db/update.d/22_shifts.php | 5 |
22 files changed, 0 insertions, 1125 deletions
diff --git a/db/update.d/01_faq.php b/db/update.d/01_faq.php deleted file mode 100644 index 759cc109..00000000 --- a/db/update.d/01_faq.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php -if(sql_num_query("DESCRIBE `FAQ` `Sprache`") === 0 && sql_num_query("DESCRIBE `FAQ` `QID`") == 0) { - sql_query("ALTER TABLE `FAQ` - ADD `Sprache` SET('de', 'en') NOT NULL, - ADD `QID` INT NOT NULL, - ADD INDEX(`Sprache`)"); - $res = sql_query("SELECT * FROM `FAQ` WHERE `Sprache` = ''"); - $i = 0; - while($row = mysql_fetch_assoc($res)) { - $question = preg_split('#(?:<|<)br(?:>|>)#i', $row['Frage'], 2, PREG_SPLIT_NO_EMPTY); - $answer = preg_split('#(?:<|<)br(?:>|>)#i', $row['Antwort'], 2, PREG_SPLIT_NO_EMPTY); - if(count($question) == 2 && count($answer) == 2) - sql_query("INSERT INTO `FAQ` (`Frage`, `Antwort`, `Sprache`, `QID`) VALUES ('" . sql_escape(trim($question[1])) . "', '" . sql_escape(trim($answer[1])) . "', 'en', $i)"); - sql_query("UPDATE `FAQ` SET `Frage` = '" . sql_escape(trim($question[0])) . "', `Antwort` = '" . sql_escape(trim($answer[0])) . "', `Sprache` = 'de', `QID` = $i WHERE `FID` = " . $row['FID']); - $i++; - } - _add_index('FAQ', array('QID', 'Sprache'), 'UNIQUE'); - - $applied = true; -} -?> diff --git a/db/update.d/02_AngelTypes.php b/db/update.d/02_AngelTypes.php deleted file mode 100644 index b5561402..00000000 --- a/db/update.d/02_AngelTypes.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php -if(_rename_table("EngelType", "AngelTypes")) - sql_query("ALTER TABLE `AngelTypes` - CHANGE `TID` `id` INT NOT NULL AUTO_INCREMENT, - CHANGE `Name` `name` VARCHAR(25) NOT NULL DEFAULT '', - DROP `Man`, - ADD `restricted` INT(1) NOT NULL - "); -?> diff --git a/db/update.d/03_Messages.php b/db/update.d/03_Messages.php deleted file mode 100644 index 4c6ff232..00000000 --- a/db/update.d/03_Messages.php +++ /dev/null @@ -1,14 +0,0 @@ -<?php -if(sql_num_query("DESCRIBE `Messages` `id`") === 0) { - sql_query("ALTER TABLE `Messages` - DROP PRIMARY KEY, - ADD `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST - "); - $applied = true; -} - -_add_index("Messages", array("SUID")); -_add_index("Messages", array("RUID")); -_datetime_to_int("Messages", "Datum"); -_add_index("Messages", array("Datum")); -?> diff --git a/db/update.d/04_News.php b/db/update.d/04_News.php deleted file mode 100644 index 2b192db2..00000000 --- a/db/update.d/04_News.php +++ /dev/null @@ -1,4 +0,0 @@ -<?php -_datetime_to_int("News", "Datum"); -_add_index("News", array("UID")); -?> diff --git a/db/update.d/05_ShiftEntry.php b/db/update.d/05_ShiftEntry.php deleted file mode 100644 index 3e3a7b6b..00000000 --- a/db/update.d/05_ShiftEntry.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php -if(sql_num_query("DESCRIBE `ShiftEntry` `id`") === 0) { - sql_query("ALTER TABLE `ShiftEntry` ADD `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST"); - $applied = true; -} -_add_index("ShiftEntry", array("SID")); -_add_index("ShiftEntry", array("TID")); -_add_index("ShiftEntry", array("UID")); -?> diff --git a/db/update.d/06_Shifts.php b/db/update.d/06_Shifts.php deleted file mode 100644 index 4aeb59b1..00000000 --- a/db/update.d/06_Shifts.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php -if(sql_num_query("SHOW COLUMNS FROM `Shifts` LIKE 'Date_'") == 2) { - if(sql_num_query("DESCRIBE `Shifts` `Len`") != 0) { - if(sql_num_query("SELECT * FROM `Shifts` WHERE DATE_SUB(`DateE`, INTERVAL (`Len`*60) MINUTE) != `DateS`") != 0) - die("Inconsistent data in Shifts table, won't do update " . __FILE__); - else { - sql_query("ALTER TABLE `Shifts` DROP `Len`"); - } - } - _datetime_to_int("Shifts", "DateS"); - _datetime_to_int("Shifts", "DateE"); - sql_query("ALTER TABLE `Shifts` CHANGE `DateS` `start` INT NOT NULL, CHANGE `DateE` `end` INT NOT NULL"); - - $applied = true; -} - -if(sql_num_query("DESCRIBE `Shifts` `Man`") === 1 && sql_num_query("DESCRIBE `Shifts` `name`") === 0) { - sql_query("ALTER TABLE `Shifts` CHANGE `Man` `name` VARCHAR(1024) NULL"); - - $applied = true; -} - -$res = sql_select("DESCRIBE `Shifts` `PSID`"); -if($res[0]['Type'] == 'text') { - sql_query("ALTER TABLE `Shifts` CHANGE `PSID` `PSID` INT NULL"); - - $applied = true; -} -_add_index("Shifts", array("PSID"), "UNIQUE"); -_add_index("Shifts", array("RID")); -?> diff --git a/db/update.d/07_Groups_and_Permissions.php b/db/update.d/07_Groups_and_Permissions.php deleted file mode 100644 index 7609d756..00000000 --- a/db/update.d/07_Groups_and_Permissions.php +++ /dev/null @@ -1,170 +0,0 @@ -<?php -// Most complex update yet. Let's go... - -_rename_table("UserGroups", "Groups"); - -if(sql_num_query("SHOW TABLES LIKE 'UserCVS'") === 1 && sql_num_query("SHOW TABLES LIKE 'UserGroups'") === 0) { - // First of all, create a separate table for group assignments of users - sql_query("CREATE TABLE `UserGroups` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `uid` int(11) NOT NULL, - `group_id` int(11) NOT NULL, - PRIMARY KEY (`id`), - KEY `uid` (`uid`,`group_id`), - KEY `group_id` (`group_id`) - )"); - // ...and fill it with the old data - sql_query("INSERT INTO UserGroups (`uid`, `group_id`) SELECT `UID`, `GroupID` FROM `UserCVS` WHERE `UID` > 0"); - - if(sql_num_query("SHOW TABLES LIKE 'Privileges'") == 0) { - // Then create a separate table that stores the available privileges... - sql_query("CREATE TABLE IF NOT EXISTS `Privileges` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `name` varchar(128) NOT NULL, - `desc` varchar(1024) NOT NULL, - PRIMARY KEY (`id`), - UNIQUE KEY `name` (`name`) - )"); - // ...and fill it with genuine data. We cannot determine these from the old data! - sql_query("INSERT INTO `Privileges` (`id`, `name`, `desc`) VALUES - (1, 'start', 'Startseite für Gäste/Nicht eingeloggte User'), - (2, 'login', 'Logindialog'), - (3, 'news', 'Anzeigen der News-Seite'), - (4, 'logout', 'User darf sich ausloggen'), - (5, 'register', 'Einen neuen Engel registerieren'), - (6, 'admin_rooms', 'Räume administrieren'), - (7, 'admin_angel_types', 'Engel Typen administrieren'), - (8, 'user_settings', 'User profile settings'), - (9, 'user_messages', 'Writing and reading messages from user to user'), - (10, 'admin_groups', 'Manage usergroups and their rights'), - (11, 'user_questions', 'Let users ask questions'), - (12, 'admin_questions', 'Answer user''s questions'), - (13, 'admin_faq', 'Edit FAQs'), - (14, 'admin_news', 'Administrate the news section'), - (15, 'news_comments', 'User can comment news'), - (16, 'admin_user', 'Administrate the angels'), - (17, 'user_meetings', 'Lists meetings (news)'), - (18, 'admin_language', 'Translate the system'), - (19, 'admin_log', 'Display recent changes'), - (20, 'user_wakeup', 'User wakeup-service organization'), - (21, 'admin_import', 'Import rooms and shifts from pentabarf'), - (22, 'credits', 'View credits'), - (23, 'faq', 'View FAQ'), - (24, 'user_shifts', 'Signup for shifts'), - (25, 'user_shifts_admin', 'Signup other angels for shifts.'), - (26, 'user_myshifts', 'Allow angels to view their own shifts and cancel them.'), - (27, 'admin_arrive', 'Mark angels when they arrive.'), - (28, 'admin_shifts', 'Create shifts'), - (30, 'ical', 'iCal shift export'), - (31, 'admin_active', 'Mark angels as active and if they got a t-shirt.'), - (32, 'admin_free', 'Show a list of free/unemployed angels.') - "); - } - - if(sql_num_query("SHOW TABLES LIKE 'GroupPrivileges'") == 0) { - // Last, we create the table for the privileges a group can have - sql_query("CREATE TABLE `GroupPrivileges` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `group_id` int(11) NOT NULL, - `privilege_id` int(11) NOT NULL, - PRIMARY KEY (`id`), - KEY `group_id` (`group_id`,`privilege_id`) - )"); - - // ...and fill it with data. - /// XXX: We could determine this from the old UserCVS table, at lease partially! - sqL_query("INSERT INTO `GroupPrivileges` (`id`, `group_id`, `privilege_id`) VALUES - (107, -2, 24), - (24, -1, 5), - (106, -2, 8), - (105, -2, 11), - (23, -1, 2), - (142, -5, 16), - (141, -5, 28), - (104, -2, 26), - (103, -2, 9), - (86, -6, 21), - (140, -5, 6), - (139, -5, 12), - (102, -2, 17), - (138, -5, 14), - (137, -5, 13), - (136, -5, 7), - (101, -2, 15), - (87, -6, 18), - (100, -2, 3), - (85, -6, 10), - (99, -2, 4), - (88, -1, 1), - (133, -3, 32), - (108, -2, 20), - (109, -4, 27), - (135, -5, 31), - (134, -3, 25), - (143, -5, 5);"); - } - - - /* Hardest things last: We need to transform the old column-based system - * with filename-based permissions to the new privileges system. - * - * For that to work, we need a manual mapping filename -> privilege, so we - * can use the old data. So here we go: - */ - - #$files_to_privileges = array( - # "index.php" => "start", - # "logout.php" => "logout", - # "faq.php" => "faq", - # "makeuser.php" => "register", - # "nonpublic/index.php" => "login", - # "nonpublic/news.php" => "news", - # "nonpublic/news_comments.php" => "news_comments", - # "nonpublic/myschichtplan.php" => "", - # "nonpublic/myschichtplan_ical.php" => "", - # "nonpublic/schichtplan_beamer.php" => "", - # "nonpublic/engelbesprechung.php" => "", - # "nonpublic/schichtplan.php" => "", - # "nonpublic/schichtplan_add.php" => "", - # "nonpublic/wecken.php" => "", - # "nonpublic/waeckliste.php" => "", - # "nonpublic/messages.php" => "", - # "nonpublic/faq.php" => "", - # "nonpublic/einstellungen.php" => "", - # "Change T_Shirt Size" => "", - # "admin/index.php" => "", - # "admin/room.php" => "", - # "admin/EngelType.php" => "", - # "admin/schichtplan.php" => "", - # "admin/shiftadd.php" => "", - # "admin/schichtplan_druck.php" => "", - # "admin/user.php" => "", - # "admin/userChangeNormal.php" => "", - # "admin/userSaveNormal.php" => "", - # "admin/userChangeSecure.php" => "", - # "admin/userSaveSecure.php" => "", - # "admin/group.php" => "", - # "admin/userDefaultSetting.php" => "", - # "admin/UserPicture.php" => "", - # "admin/userArrived.php" => "", - # "admin/aktiv.php" => "", - # "admin/tshirt.php" => "", - # "admin/news.php" => "", - # "admin/faq.php" => "", - # "admin/free.php" => "", - # "admin/sprache.php" => "", - # "admin/dect.php" => "", - # "admin/dect_call.php" => "", - # "admin/dbUpdateFromXLS.php" => "", - # "admin/Recentchanges.php" => "", - # "admin/debug.php" => "", - # "Herald" => "", - # "Info" => "", - # "Conference" => "", - # "Kasse" => "", - # "Audio-Video" => "", - #); - - $applied = true; -} -?> diff --git a/db/update.d/08_Wecken.php b/db/update.d/08_Wecken.php deleted file mode 100644 index 7155d378..00000000 --- a/db/update.d/08_Wecken.php +++ /dev/null @@ -1,4 +0,0 @@ -<?php -_datetime_to_int("Wecken", "Date"); -_add_index("Wecken", array("UID")); -?> diff --git a/db/update.d/09_news_comments.php b/db/update.d/09_news_comments.php deleted file mode 100644 index 51c0df12..00000000 --- a/db/update.d/09_news_comments.php +++ /dev/null @@ -1,3 +0,0 @@ -<?php -_add_index("news_comments", array("UID")); -?> diff --git a/db/update.d/10_Questions.php b/db/update.d/10_Questions.php deleted file mode 100644 index f0e7df55..00000000 --- a/db/update.d/10_Questions.php +++ /dev/null @@ -1,4 +0,0 @@ -<?php -_add_index("Questions", array("UID")); -_add_index("Questions", array("AID")); -?> diff --git a/db/update.d/11_Room_and_NeededAngelTypes.php b/db/update.d/11_Room_and_NeededAngelTypes.php deleted file mode 100644 index 31cf7f06..00000000 --- a/db/update.d/11_Room_and_NeededAngelTypes.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -if(sql_num_query("SHOW TABLES LIKE 'NeededAngelTypes'") === 0) { - sql_query("CREATE TABLE `NeededAngelTypes` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `room_id` int(11) DEFAULT NULL, - `shift_id` int(11) DEFAULT NULL, - `angel_type_id` int(11) NOT NULL, - `count` int(11) NOT NULL, - PRIMARY KEY (`id`), - KEY `room_id` (`room_id`,`angel_type_id`), - KEY `shift_id` (`shift_id`), - KEY `angel_type_id` (`angel_type_id`) - ) - "); - $data = sql_select("SELECT * FROM `Room`"); - $res = sql_query("SHOW COLUMNS FROM `Room` LIKE 'DEFAULT_EID_%'"); - while($col = mysql_fetch_assoc($res)) { - $tid = explode('_', $col['Field']); - $tid = intval(array_pop($tid)); - if($col['Default'] != '0') - sql_query("INSERT INTO `NeededAngelTypes` (`angel_type_id`, `count`) VALUES (" . $tid . ", " . intval($col['Default']) . ")"); - - foreach($data as $row) { - if($row[$col['Field']] > 0) - sql_query("INSERT INTO `NeededAngelTypes` (`angel_type_id`, `room_id`, `count`) VALUES (" . $tid . ", " . $row['RID'] . ", " . $row[$col['Field']] . ")"); - } - sql_query("ALTER TABLE `Room` DROP `" . $col['Field'] . "`"); - } - - $applied = true; -} - -if(sql_num_query("SELECT * FROM `ShiftEntry` WHERE `UID` = 0")) { - $data = sql_query(" - INSERT INTO `NeededAngelTypes` (`shift_id`, `angel_type_id`, `count`) - SELECT se.`SID`, se.`TID`, se.`count` FROM ( - SELECT `SID`, `TID`, COUNT(`TID`) AS `count` - FROM `ShiftEntry` - GROUP BY `SID`, `TID` - ) AS se - INNER JOIN `Shifts` AS s ON s.`SID` = se.`SID` - INNER JOIN `Room` AS r ON s.`RID` = r.`RID` - LEFT JOIN `NeededAngelTypes` AS nat ON (nat.`room_id` = r.`RID` AND nat.`angel_type_id` = se.`TID`) - WHERE nat.`count` IS NULL OR nat.`count` != se.`count` - "); - - sql_query("DELETE FROM `ShiftEntry` WHERE `UID` = 0 AND `Comment` IS NULL"); - - $applied = true; -} -_add_index("Room", array("Name")); -?> diff --git a/db/update.d/12_ShiftFreeloader.php b/db/update.d/12_ShiftFreeloader.php deleted file mode 100644 index 8e13ce21..00000000 --- a/db/update.d/12_ShiftFreeloader.php +++ /dev/null @@ -1,3 +0,0 @@ -<?php -_add_index("ShiftFreeloader", array("UID")); -?> diff --git a/db/update.d/13_User.php b/db/update.d/13_User.php deleted file mode 100644 index f4da5692..00000000 --- a/db/update.d/13_User.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php -_datetime_to_int("User", "lastLogin"); - -if(sql_num_query("DESCRIBE `User` `ical_key`") === 0) { - sql_query("ALTER TABLE `User` ADD `ical_key` VARCHAR( 32 ) NOT NULL"); -# _add_index("User", array("ical_key"), "UNIQUE"); -# XXX: not everybody has an ical_key, why? - - $applied = true; -} - -$res = sql_select("DESCRIBE `User` `DECT`"); -if($res[0]['Type'] == 'varchar(4)') { - sql_query("ALTER TABLE `User` CHANGE `DECT` `DECT` VARCHAR(5) NULL"); - - $applied = true; -} -?> diff --git a/db/update.d/14_Sprache.php b/db/update.d/14_Sprache.php deleted file mode 100644 index 1efbf5cb..00000000 --- a/db/update.d/14_Sprache.php +++ /dev/null @@ -1,634 +0,0 @@ -<?php -// there have been many new translations added. -// For each of them, check if we already got it and create it if not -// We can conviniently do this with "INSERT IGNORE" and a UNIQUE key: - -$res = sql_select("SHOW INDEX FROM `Sprache` WHERE `Key_name` = 'TextID'"); -if($res[0]['Non_unique'] != 0) { - sql_query("ALTER TABLE `Sprache` DROP INDEX `TextID`, ADD UNIQUE (`TextID`, `Sprache`)"); - $applied = true; -} - -$res = mysql_query("INSERT IGNORE INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES -('Hallo', 'DE', 'Hallo '), -('Hallo', 'EN', 'Greetings '), -('2', 'DE', ',\\r\\n\\r\\nIm Engelsystem eingeloggt..\\r\\nWähle zum Abmelden bitte immer den Abmelden-Button auf der linken Seite.'), -('3', 'DE', 'Neuen Eintrag erfassen...'), -('3', 'EN', 'Create new entry...'), -('4', 'EN', 'Entry saved.\\r\\n\\r\\n'), -('4', 'DE', 'Eintrag wurde gesichert.\\n\\n'), -('2', 'EN', ',\\r\\n\\r\\nyou are now logged in.\\r\\nTo log out please choose the logout-button on the right side.'), -('5', 'DE', 'Seite: '), -('5', 'EN', 'Page: '), -('6', 'DE', 'Neue News erstellen:'), -('6', 'EN', 'Create new News:'), -('7', 'DE', 'Betreff:'), -('7', 'EN', 'Subject:'), -('8', 'EN', 'Text:'), -('8', 'DE', 'Text:'), -('9', 'DE', 'Treffen:'), -('9', 'EN', 'Meeting:'), -('save', 'DE', 'Sichern'), -('save', 'EN', 'save'), -('back', 'DE', 'zurück '), -('back', 'EN', 'back '), -('top', 'DE', 'top'), -('top', 'EN', 'top '), -('13', 'DE', 'auf dieser Seite kannst Du deine persönlichen Einstellungen ändern, wie zum Beispiel dein Kennwort, Farbeinstellungen usw.\\r\\n\\r\\n'), -('13', 'EN', 'here you can change your personal settings i.e. password, color settings etc.\\r\\n\\r\\n'), -('14', 'DE', 'Hier kannst du dein Kennwort ändern.. '), -('14', 'EN', 'Here you can change your password.'), -('15', 'DE', 'Altes Passwort:'), -('15', 'EN', 'Old password:'), -('16', 'DE', 'Neues Passwort:'), -('16', 'EN', 'New password:'), -('17', 'DE', 'Passwortbestätigung:'), -('17', 'EN', 'password confirmation:'), -('18', 'DE', 'Hier kannst du dir dein Farblayout aussuchen:'), -('18', 'EN', 'Here you can choose your color settings:'), -('19', 'DE', 'Farblayout:'), -('19', 'EN', 'color settings:'), -('20', 'DE', 'Hier kannst Du dir deine Sprache aussuchen:\\r\\nHere you can choose your language:'), -('20', 'EN', 'Here you can choose your language:\\r\\nHier kannst Du dir deine Sprache aussuchen:'), -('21', 'DE', 'Sprache:'), -('21', 'EN', 'Language:'), -('22', 'DE', 'Hier kannst du dir einen Avatar aussuchen. Dies lässt neben deinem Nick z. B. in den News das Bildchen erscheinen.'), -('22', 'EN', 'Here you can choose your avatar. It will be displayed next to your Nick. '), -('23', 'DE', 'Avatar:'), -('23', 'EN', 'Avatar:'), -('24', 'DE', 'Keiner'), -('24', 'EN', 'nobody'), -('25', 'DE', 'Eingegebene Kennwörter sind nicht gleich -> OK.\\r\\nCheck ob altes Passwort ok ist:'), -('25', 'EN', 'The passwords entered don't match. -> OK.\\r\\nCheck if the old password is correct:'), -('26', 'DE', '-> OK.\\r\\n'), -('26', 'EN', '-> OK.'), -('27', 'DE', 'Setzen des neuen Kennwortes...:'), -('27', 'EN', 'Set your new password...:'), -('28', 'DE', 'Neues Kennwort wurde gesetzt.'), -('28', 'EN', 'New password saved.'), -('29', 'DE', 'Ein Fehler ist aufgetreten.\\r\\nProbiere es noch einmal.'), -('29', 'EN', 'An error has occured.\\r\\nPlease try again.'), -('30', 'DE', '-> nicht OK.\\r\\nBitte nocheinmal probieren.'), -('30', 'EN', '-> not OK.\\r\\nPlease try again.\\r\\n'), -('31', 'DE', 'Kennwörter sind nicht gleich. Bitte wiederholen.'), -('31', 'EN', 'The passwords don't match. Please try again.'), -('32', 'DE', 'Neues Farblayout wurde gesetzt. Mit der nächsten Seite wird es aktiv.'), -('32', 'EN', 'New color settings are saved. On the next page it will be active.'), -('33', 'DE', 'Sprache wurde gesetzt. Mit der nächsten Seite wird es aktiv.'), -('33', 'EN', 'Language is saved. On the next page it will be active.'), -('34', 'DE', 'Avatar wurde gesetzt.'), -('34', 'EN', 'Avatar is saved.'), -('35', 'DE', '<b>Neue Anfrage:</b>\\r\\nIn diesem Formular hast du die Möglichkeit, den Dispatchern eine Frage zu stellen. Wenn diese beantwortet ist, wirst du hier darüber informiert. Sollte die Frage von allgemeinem Interesse sein, wird diese in die FAQ übernommen.'), -('35', 'EN', '<b>New Question</b>\\r\\nWith this form you may sumbit questions to our Dispatcher. Topics of common interest may be added to the FAQ. (Section: answered questions).\\r\\n'), -('36', 'DE', 'Stelle hier deine Frage'), -('36', 'EN', 'Tell us your question'), -('37', 'DE', 'Deine Anfrage war:'), -('37', 'EN', 'Your question was:'), -('38', 'DE', 'Diese liegt nun bei den Dispatchern zur Beantwortung vor.'), -('38', 'EN', 'It is queued for answering.'), -('39', 'DE', 'Deine bisherigen Anfragen:'), -('39', 'EN', 'Your past inquiries:'), -('40', 'DE', 'Offene Anfragen:'), -('40', 'EN', 'Open inquiries:'), -('41', 'DE', 'keine vorhanden...'), -('41', 'EN', 'nothing exists...'), -('42', 'DE', 'Beantwortete Anfragen:'), -('42', 'EN', 'Answered inquiries:'), -('pub_index_pass_no_ok', 'DE', 'Dein Passwort ist nicht korrekt. Bitte probiere es nocheinmal:'), -('pub_index_User_unset', 'DE', 'Es wurde kein User mit deinem Nick gefunden. Bitte probiere es noch einmal oder wende dich an die Dispatcher.'), -('pub_index_User_more_as_one', 'DE', 'Für deinen Nick gab es mehrere User... bitte wende dich an die Dispatcher'), -('Hello', 'DE', 'Hallo '), -('Hello', 'EN', 'Hello '), -('pub_schicht_beschreibung', 'DE', 'Hier kannst du dich für Schichten eintragen. Dazu such dir eine freie Schicht und klicke auf den Link! Du kannst dir eine Schicht über den Raum bzw. Datum aussuchen. Wähle hierfür einen Tag / ein Datum aus.'), -('pub_schicht_auswahl_raeume', 'DE', 'Zur Auswahl stehende Räume:'), -('pub_schicht_alles_1', 'DE', 'Und natürlich kannst du dir auch '), -('pub_schicht_alles_2', 'DE', 'alles '), -('pub_schicht_alles_3', 'DE', 'auf einmal anzeigen lassen.'), -('pub_schicht_Anzeige_1', 'DE', 'Anzeige des Schichtplans am '), -('pub_schicht_Anzeige_2', 'DE', ' im Raum: '), -('pub_schicht_Anzeige_3', 'DE', 'Anzeige des Schichtplans für den '), -('inc_schicht_engel', 'DE', 'Engel'), -('inc_schicht_engel', 'EN', 'Angel'), -('inc_schicht_ist', 'DE', 'ist'), -('inc_schicht_sind', 'DE', 'sind'), -('inc_schicht_weitere', 'DE', ' weitere'), -('inc_schicht_weiterer', 'DE', ' weiterer'), -('inc_schicht_werden', 'DE', ' werden '), -('inc_schicht_wird', 'DE', ' wird '), -('inc_schicht_noch_gesucht', 'DE', ' noch gesucht'), -('inc_schicht_und', 'DE', ' und '), -('pub_wake_beschreibung', 'DE', 'hier kannst du dich zum Wecken eintragen. Dazu sage einfach wann und wo und der Engel vom Dienst wird dich wecken.'), -('pub_wake_beschreibung2', 'DE', 'Alle eingetragenen Weckwünsche, die nächsten zuerst.'), -('pub_wake_Datum', 'DE', 'Datum'), -('pub_wake_Ort', 'DE', 'Ort'), -('pub_wake_Bemerkung', 'DE', 'Bermerkung'), -('lageplan_text1', 'DE', 'Hier eine Übersicht über die Raumssituation:'), -('pub_wake_Text2', 'DE', 'Hier kannst du einen neuen Eintrag erfassen:'), -('pub_wake_bouton', 'DE', 'Weck mich!'), -('pub_wake_bouton', 'EN', 'wake me up!'), -('pub_wake_del', 'EN', 'delete'), -('pub_mywake_beschreibung1', 'DE', 'Hier siehst du die Schichten, für die du dich eingetragen hast.'), -('pub_mywake_beschreibung2', 'DE', 'Bitte versuche pünktlich zu den Schichten zu erscheinen.'), -('pub_mywake_beschreibung3', 'DE', 'Hier hast du auch die Möglichkeit, dich bis '), -('pub_mywake_beschreibung4', 'DE', ' Stunden vor Schichtbeginn auszutragen.'), -('pub_mywake_anzahl1', 'DE', 'Du hast dich für '), -('pub_mywake_anzahl2', 'DE', ' Schichten eingetragen'), -('pub_mywake_Datum', 'DE', 'Datum'), -('pub_mywake_Uhrzeit', 'DE', 'Uhrzeit'), -('pub_mywake_Ort', 'DE', 'Ort'), -('pub_mywake_Bemerkung', 'DE', 'Bemerkung'), -('pub_mywake_austragen', 'DE', 'austragen'), -('pub_mywake_delate1', 'DE', 'Schicht wird ausgetragen...'), -('pub_mywake_add_ok', 'DE', 'Schicht wurde ausgetragen.'), -('pub_mywake_add_ko', 'DE', 'Sorry, ein kleiner Fehler ist aufgetreten... probiere es doch bitte nocheinmal :)'), -('pub_mywake_after', 'DE', 'zu spät'), -('pub_index_pass_no_ok', 'EN', 'Your password is incorrect. Please try it again:\\r\\n'), -('pub_index_User_unset', 'EN', 'No user was found with that Nickname. Please try again. If you are still having problems, ask an Dispatcher\\r\\n'), -('pub_index_User_more_as_one', 'EN', 'This nickname is registered for more than one user, please contact an Dispatcher.\\r\\n'), -('pub_schicht_beschreibung', 'EN', 'Here, you can register for shifts. To do this, please choose an empty shift, and click the link. You can choose the place, time and date of the shift. You can choose the date at the right.\\r\\n'), -('pub_schicht_alles_1', 'EN', 'And of course you can also choose to show\\r\\n'), -('pub_schicht_alles_2', 'EN', 'everything'), -('pub_schicht_alles_3', 'EN', ' at once.'), -('pub_schicht_auswahl_raeume', 'EN', 'To the selection of available areas.\\r\\n'), -('pub_schicht_Anzeige_1', 'EN', 'Show the shift schedule\\r\\n'), -('pub_schicht_Anzeige_2', 'EN', ' in Area: '), -('pub_schicht_Anzeige_3', 'EN', 'Show the shift schedule for\\r\\n'), -('inc_schicht_ist', 'EN', 'is'), -('inc_schicht_sind', 'EN', 'are '), -('pub_wake_beschreibung', 'EN', 'Here you can register for a wake-up \"call\". Simply say when and where the drone should come to wake you.\\r\\n'), -('inc_schicht_weitere', 'EN', ' more'), -('inc_schicht_weiterer', 'EN', ' more'), -('inc_schicht_werden', 'EN', ' are '), -('inc_schicht_wird', 'EN', ' is '), -('inc_schicht_noch_gesucht', 'EN', ' still needed '), -('inc_schicht_und', 'EN', ' and '), -('pub_wake_beschreibung2', 'EN', 'All ordered wake-up calls, next first.'), -('pub_wake_Datum', 'EN', 'Date'), -('pub_wake_Ort', 'EN', 'Place'), -('pub_wake_change', 'EN', 'delete'), -('pub_wake_Bemerkung', 'EN', 'Notes'), -('pub_wake_change', 'DE', 'löschen'), -('pub_wake_del', 'DE', 'löschen'), -('pub_wake_Text2', 'EN', 'Schedule a new wake-up here:'), -('pub_mywake_beschreibung1', 'EN', 'Here are the shifts that you have signed up for.\\r\\n'), -('pub_mywake_beschreibung2', 'EN', 'Please try to arrive for your shift on time. Be punctual!\\r\\n'), -('pub_mywake_beschreibung3', 'EN', 'Here you can remove yourself from a shift up to\\r\\n'), -('pub_mywake_beschreibung4', 'EN', ' hours before your shift is scheduled to begin.'), -('pub_mywake_anzahl1', 'EN', 'You have signed up for '), -('pub_mywake_anzahl2', 'EN', ' shift(s) so far'), -('pub_mywake_Datum', 'EN', 'Date'), -('pub_mywake_Uhrzeit', 'EN', 'Time'), -('pub_mywake_Ort', 'EN', 'Place'), -('pub_mywake_Bemerkung', 'EN', 'Notes'), -('pub_schichtplan_add_Error', 'EN', 'An error occurred'), -('pub_mywake_austragen', 'EN', 'remove'), -('pub_mywake_austragen_n_c', 'EN', 'is no longer possible'), -('pub_mywake_austragen_n_c', 'DE', 'nicht mehr möglich'), -('pub_mywake_delate1', 'EN', 'Shift is being removed...'), -('pub_mywake_add_ok', 'EN', 'Shift has been removed.'), -('pub_mywake_add_ko', 'EN', 'Sorry, something went wrong somewhere. Please try it again. :)\\r\\n'), -('pub_mywake_after', 'EN', 'sorry, too late!'), -('index_text1', 'DE', 'Wiederstand ist zwecklos!'), -('index_text2', 'DE', 'Deine physikalischen und biologischen Eigenschaften werden den unsrigen hinzugefuegt!'), -('index_text1', 'EN', 'Resistance is futile!\\r\\n'), -('index_text3', 'DE', 'Datenerfassungsbogen:'), -('index_text2', 'EN', 'Your biological and physical parameters will be added to our collectiv!'), -('index_text4', 'EN', 'Please note: You have to activate cookies!'), -('index_text4', 'DE', 'Achtung: Cookies müssen aktiviert sein'), -('index_text3', 'EN', 'Assimilating drone:'), -('index_lang_nick', 'DE', 'Wie ist Dein Nick:'), -('index_lang_pass', 'DE', 'Wie ist Dein Passwort:'), -('index_lang_send', 'DE', 'Fullfill order!'), -('index_lang_nick', 'EN', 'What is your Loginname:\\r\\n'), -('index_lang_pass', 'EN', 'What is your password:'), -('index_logout', 'DE', 'Du wurdest erfolgreich abgemeldet.'), -('index_logout', 'EN', 'You have been successfully logged out.'), -('menu_index', 'DE', 'Index'), -('menu_FAQ', 'DE', 'FAQ'), -('menu_plan', 'DE', 'Lageplan'), -('menu_index', 'EN', 'Index'), -('menu_FAQ', 'EN', 'FAQ'), -('pub_menu_menuname', 'DE', 'Menü'), -('menu_plan', 'EN', 'Map'), -('news', 'EN', 'News'), -('news', 'DE', 'News'), -('pub_menu_Engelbesprechung', 'DE', 'Engelbesprechung'), -('pub_menu_menuname', 'EN', 'Menu'), -('pub_menu_Schichtplan', 'DE', 'Schichtplan'), -('pub_menu_Wecken', 'DE', 'Wecken'), -('pub_menu_mySchichtplan', 'DE', 'Mein Schichtplan'), -('pub_menu_questionEngel', 'DE', 'Anfragen an die Dispatcher'), -('user_settings', 'DE', 'Einstellungen'), -('pub_menu_Engelbesprechung', 'EN', 'Drone meeting'), -('logout', 'DE', 'Abmelden'), -('pub_menu_Schichtplan', 'EN', 'Available Shifts'), -('pub_menu_Wecken', 'EN', 'Wake-up Service'), -('index_lang_send', 'EN', 'Fullfill order!'), -('pub_menu_mySchichtplan', 'EN', 'My Shifts'), -('pub_menu_questionEngel', 'EN', 'Questions for the Dispatcher'), -('logout', 'EN', 'Logout'), -('user_settings', 'EN', 'Settings'), -('menu_Name', 'DE', 'Garage'), -('menu_Name', 'EN', 'Garage'), -('menu_MakeUser', 'DE', 'Benutzer anlegen'), -('menu_MakeUser', 'EN', 'Create new account'), -('pub_menu_Waeckerlist', 'DE', 'Weckerlist'), -('pub_menu_Waeckerlist', 'EN', 'Wake-up list'), -('pub_waeckliste_Text1', 'DE', 'dies ist die Weckliste. Schau hier bitte, wann die Leute geweckt werden wollen und erledige dies... schliesslich willst du bestimmt nicht deren Schichten uebernehmen :-)\\r\\n<br><br>\\r\\nDie bisherigen eingetragenen Zeiten:'), -('pub_waeckliste_Nick', 'DE', 'Nick'), -('pub_waeckliste_Nick', 'EN', 'Nick'), -('pub_waeckliste_Datum', 'DE', 'Datum'), -('pub_waeckliste_Datum', 'EN', 'Date'), -('pub_waeckliste_Ort', 'DE', 'Ort'), -('pub_waeckliste_Ort', 'EN', 'Place'), -('pub_waeckliste_Comment', 'DE', 'Bemerkung'), -('pub_waeckliste_Comment', 'EN', 'comment'), -('pub_waeckliste_Text1', 'EN', 'This is the wake-up list. Pleace look here, when the drones want to wake-up and \\r\\nhandle this... you don't want to take on this shift, isn't it?:-)\\r\\n<br><br>\\r\\nShow all entries:'), -('pub_schichtplan_add_ToManyYousers', 'DE', 'FEHLER: Es wurden keine weiteren Engel benötigt !!'), -('pub_schichtplan_add_ToManyYousers', 'EN', 'ERROR: There are enough drones for this shift'), -('pub_mywake_Len', 'DE', 'Länge'), -('pub_mywake_Len', 'EN', 'length'), -('pub_schichtplan_add_AllreadyinShift', 'DE', 'du bist bereits in einer Schicht eingetragen!'), -('pub_schichtplan_add_AllreadyinShift', 'EN', 'you have another shift on this time'), -('pub_schichtplan_add_Error', 'DE', 'Ein Fehler ist aufgetreten'), -('pub_schichtplan_add_WriteOK', 'DE', 'Du bist jetzt der Schicht zugeteilt. Vielen Dank für deine Mitarbeit.'), -('pub_schichtplan_add_Text1', 'DE', 'Hier kannst du dich in eine Schicht eintragen. Als Kommentar kannst du etwas x-beliebiges eintragen, wie z. B.\\r\\nwelcher Vortrag dies ist oder ähnliches. Den Kommentar kannst nur du sehen. '), -('pub_schichtplan_add_Date', 'DE', 'Datum'), -('pub_schichtplan_add_Place', 'DE', 'Ort'), -('pub_schichtplan_add_Job', 'DE', 'Aufgabe'), -('pub_schichtplan_add_Len', 'DE', 'Dauer'), -('pub_schichtplan_add_TextFor', 'DE', 'Text zur Schicht'), -('pub_schichtplan_add_Comment', 'DE', 'Dein Kommentar'), -('pub_schichtplan_add_submit', 'DE', 'Ja, ich will helfen..."'), -('index_text5', 'DE', 'Bitte überprüfen Sie den SSL Key'), -('index_text5', 'EN', 'Please check your SSL-Key:'), -('pub_myshift_Edit_Text1', 'DE', 'Hier könnt ihr euren Kommentar ändern:'), -('pub_myshift_EditSave_Text1', 'DE', 'Text wird gespeichert'), -('pub_myshift_EditSave_OK', 'DE', 'erfolgreich gespeichert.'), -('pub_myshift_EditSave_KO', 'DE', 'Fehler beim Speichern'), -('pub_sprache_text1', 'DE', 'hier kannst du die übersetzten Texte bearbeiten.'), -('pub_sprache_text1', 'EN', 'here can you edit the texts of the dronesystem'), -('pub_sprache_TextID', 'EN', 'TextID'), -('pub_sprache_TextID', 'DE', 'TextID'), -('pub_sprache_Sprache', 'DE', 'Sprache '), -('pub_sprache_Sprache', 'EN', 'Language '), -('pub_schichtplan_add_Place', 'EN', 'place'), -('pub_sprache_Edit', 'DE', 'Bearbeiten'), -('pub_sprache_Edit', 'EN', 'edit'), -('pub_schichtplan_add_Date', 'EN', 'Date'), -('pub_myshift_EditSave_KO', 'EN', 'Error on saving'), -('pub_myshift_EditSave_OK', 'EN', 'save OK'), -('pub_myshift_EditSave_Text1', 'EN', 'Text was saved'), -('pub_myshift_Edit_Text1', 'EN', 'Here can you change your comment:'), -('pub_schichtplan_add_Comment', 'EN', 'Your comment'), -('pub_aktive_Text1', 'DE', 'Diese Funktion ermöglicht es den Dispatchern, schnell einen Engel mit einer vorgebbaren Anzahl an Stunden als Aktiv zu markieren.'), -('pub_aktive_Text1', 'EN', 'This function enables the archdrones to mark drones as active who worked enough hours.'), -('pub_aktive_Text2', 'DE', 'Über die Engelliste kann dies für einzelne Drohne erledigt werden.'), -('pub_aktive_Text2', 'EN', 'Over the dronelist you can do this for single drones.'), -('pub_aktive_Text31', 'DE', 'Alle Engel mit mindestens'), -('pub_aktive_Text31', 'EN', 'All drones with at least'), -('pub_aktive_Text32', 'DE', 'Schichten als Aktiv markieren'), -('pub_aktive_Text32', 'EN', 'mark shifts as "active"'), -('pub_aktive_Nick', 'DE', 'Nick'), -('pub_aktive_Nick', 'EN', 'Nick'), -('pub_aktive_Anzahl', 'DE', 'Anzahl Schichten'), -('pub_aktive_Anzahl', 'EN', 'number of shifts'), -('pub_aktive_Time', 'DE', 'Gesamtzeit'), -('pub_aktive_Time', 'EN', 'summary time'), -('pub_schichtplan_add_submit', 'EN', 'Yes, I want to help..."'), -('pub_schichtplan_add_Len', 'EN', 'duration'), -('pub_schichtplan_add_Job', 'EN', 'job'), -('pub_aktive_Text5_1', 'DE', 'Alle Engel mit mindestens '), -('pub_aktive_Text5_1', 'EN', 'All drones with at least '), -('pub_aktive_Text5_2', 'DE', ' Schichten werden jetzt als "Aktiv" markiert'), -('pub_aktive_Text5_2', 'EN', ' shifts were marked as "active"'), -('pub_aktive_Active', 'DE', 'Aktiv'), -('pub_aktive_Active', 'EN', 'active'), -('pub_schichtplan_add_TextFor', 'EN', 'text for shift'), -('pub_schichtplan_add_WriteOK', 'EN', 'Now, you signed up for this shift. Thank you for your cooperation.'), -('pub_schichtplan_add_Text1', 'EN', 'Here you can sign up for a shift. As commend can you write what you want, it is only for you.'), -('pub_schichtplan_colision', 'DE', '<h1>Fehler</h1>\\r\\nÜberschneidung von Schichten:'), -('pub_schichtplan_colision', 'EN', '<h1>error</h1>\\r\\noverlap on shift:'), -('pub_schicht_EmptyShifts', 'DE', 'Die nächsten 15 freien Schichten:'), -('pub_schicht_EmptyShifts', 'EN', 'The next 15 empty shifts:'), -('inc_schicht_date', 'DE', 'Datum'), -('inc_schicht_date', 'EN', 'Date'), -('inc_schicht_time', 'DE', 'Zeit'), -('inc_schicht_time', 'EN', 'Time'), -('inc_schicht_room', 'DE', 'Raum'), -('inc_schicht_room', 'EN', 'room'), -('inc_schicht_commend', 'DE', 'Kommentar'), -('inc_schicht_commend', 'EN', 'comment'), -('pub_einstellungen_Name', 'DE', 'Nachname:'), -('pub_einstellungen_Name', 'EN', 'Last name:'), -('pub_einstellungen_Nick', 'DE', 'Nick:'), -('pub_einstellungen_Nick', 'EN', 'nick:'), -('pub_einstellungen_Vorname', 'DE', 'Vorname:'), -('pub_einstellungen_Vorname', 'EN', 'first name:'), -('pub_einstellungen_Alter', 'DE', 'Alter:'), -('pub_einstellungen_Alter', 'EN', 'Age:'), -('pub_einstellungen_Telefon', 'DE', 'Telefon:'), -('pub_einstellungen_Telefon', 'EN', 'Phone:'), -('pub_einstellungen_Handy', 'DE', 'Handy:'), -('pub_einstellungen_Handy', 'EN', 'Mobile Phone:'), -('pub_einstellungen_DECT', 'DE', 'DECT:'), -('pub_einstellungen_DECT', 'EN', 'DECT:'), -('pub_einstellungen_email', 'DE', 'E-Mail:'), -('pub_einstellungen_email', 'EN', 'email:'), -('pub_einstellungen_Text_UserData', 'EN', 'Here you can change your user details.'), -('pub_einstellungen_UserDateSaved', 'DE', 'Deine Beschreibung für unsere Dronenverwaltung wurde geändert.'), -('pub_einstellungen_UserDateSaved', 'EN', 'Your user details were saved.'), -('pub_menu_SchichtplanBeamer', 'DE', 'Schichtplan für Beamer optimiert'), -('pub_menu_SchichtplanBeamer', 'EN', 'Shifts for beamer optimice'), -('pub_einstellungen_Text_UserData', 'DE', 'Hier kannst du deine Beschreibung für unsere Engelverwaltung ändern.'), -('lageplan_text1', 'EN', 'This is a map of available rooms:'), -('register', 'DE', 'Engel werden'), -('register', 'EN', 'Become an angel'), -('makeuser_text1', 'DE', 'Mit dieser Maske meldet ihr euch im Engelsystem an. Durch das Engelsystem findet auf der Veranstaltung die Aufgabenverteilung der Engel statt.\\r\\n\\r\\n'), -('makeuser_text1', 'EN', 'By completing this form you're registering as a Chaos-Drone. This script will create you an account in the drone task sheduler.\\r\\n\\r\\n'), -('makeuser_Nickname', 'DE', 'Nickname'), -('makeuser_Nickname', 'EN', 'nick'), -('makeuser_text2', 'DE', 'Habt ihr schon einmal bei einer<br />\\r\\nCCC-Veranstaltung mitgeholfen? <br />\\r\\nWenn ja, in welchem <br />\\r\\nwelchen Aufgabengebiet(en)?'), -('makeuser_text2', 'EN', 'Did you help at former <br />\\r\\nCCC events and which tasks <br />\\r\\nhave you performed then?'), -('makeuser_Nachname', 'DE', 'Nachname'), -('makeuser_Nachname', 'EN', 'last name'), -('makeuser_Vorname', 'DE', 'Vorname'), -('makeuser_Vorname', 'EN', 'first name'), -('makeuser_Alter', 'DE', 'Alter'), -('makeuser_Alter', 'EN', 'age'), -('makeuser_Telefon', 'DE', 'Telefon'), -('makeuser_Telefon', 'EN', 'phone'), -('makeuser_DECT', 'DE', 'DECT'), -('makeuser_DECT', 'EN', 'DECT'), -('makeuser_Handy', 'DE', 'Handy'), -('makeuser_Handy', 'EN', 'mobile'), -('makeuser_E-Mail', 'DE', 'E-Mail'), -('makeuser_E-Mail', 'EN', 'e-mail'), -('makeuser_T-Shirt', 'DE', 'T-Shirt Größe'), -('makeuser_T-Shirt', 'EN', 'shirt size'), -('makeuser_Engelart', 'DE', 'Zuteilung'), -('makeuser_Engelart', 'EN', 'designation'), -('makeuser_Passwort', 'DE', 'Passwort'), -('makeuser_Passwort', 'EN', 'password'), -('makeuser_Passwort2', 'DE', 'Passwort Bestätigung'), -('makeuser_Passwort2', 'EN', 'password confirm'), -('makeuser_Anmelden', 'DE', 'Anmelden...'), -('makeuser_Anmelden', 'EN', 'register me...'), -('makeuser_text3', 'DE', '*Dieser Eintrag ist eine Pflichtangabe.'), -('makeuser_text3', 'EN', '* entry required!'), -('makeuser_error_nick1', 'DE', 'Fehler: Nickname "'), -('makeuser_error_nick1', 'EN', 'error: your nick "'), -('makeuser_error_nick2', 'DE', '" ist zu kurz gewählt (Mindestens 2 Zeichen).'), -('makeuser_error_nick2', 'EN', '" is too short (min. 2 characters)'), -('makeuser_error_mail', 'DE', 'Fehler: E-Mail-Adresse ist nicht gültig.'), -('makeuser_error_mail', 'EN', 'error: e-mail address is not correct'), -('makeuser_error_password1', 'DE', 'Fehler: Passwörter sind nicht identisch.'), -('makeuser_error_password1', 'EN', 'error: your passwords don't match'), -('makeuser_error_password2', 'DE', 'Fehler: Passwort ist zu kurz (Mindestens 6 Zeichen)'), -('makeuser_error_password2', 'EN', 'error: your password is to short (at least 6 characters)'), -('makeuser_error_write1', 'DE', 'Fehler: Kann die eingegebenen Daten nicht sichern?!?'), -('makeuser_error_write1', 'EN', 'error: can t save your data...'), -('makeuser_writeOK', 'DE', 'Registration erfolgreich.'), -('makeuser_writeOK', 'EN', 'transmitted.'), -('makeuser_error_write2', 'DE', 'Fehler: Beim Speichern der Userrechte...'), -('makeuser_error_write2', 'EN', 'error: can't save userrights... '), -('makeuser_writeOK2', 'DE', 'Userrechte wurden gespeichert...'), -('makeuser_writeOK2', 'EN', 'userright was saved...'), -('makeuser_writeOK3', 'EN', 'Your account was successfully created, have a lot of fun.'), -('makeuser_writeOK3', 'DE', 'Dein Account wurde erfolgreich gespeichert, have a lot of fun.'), -('makeuser_writeOK4', 'DE', 'Engel Registriert!'), -('makeuser_writeOK4', 'EN', 'Drone registered!'), -('makeuser_text4', 'DE', 'Wenn du dich als Engel registrieren möchtest, fülle bitte folgendes Formular aus:'), -('makeuser_text4', 'EN', 'If you would like to be a chaos drone please insert following details into this form:'), -('makeuser_error_nick3', 'DE', '" existiert bereits.'), -('makeuser_error_nick3', 'EN', '" already exist.'), -('makeuser_Hometown', 'EN', 'hometown'), -('makeuser_Hometown', 'DE', 'Wohnort'), -('pub_einstellungen_Hometown', 'DE', 'Wohnort'), -('pub_einstellungen_Hometown', 'EN', 'hometown'), -('makeuser_error_Alter', 'DE', 'Fehler: Dein Alter muss eine Zahl oder leer sein'), -('makeuser_error_Alter', 'EN', 'error: your age must be a number or empty'), -('user_messages', 'DE', 'Nachrichten'), -('user_messages', 'EN', 'Messages'), -('pub_messages_Datum', 'DE', 'Datum'), -('pub_messages_Datum', 'EN', 'date'), -('pub_messages_Von', 'DE', 'Gesendet'), -('pub_messages_Von', 'EN', 'transmitted'), -('pub_messages_An', 'DE', 'Empfänger'), -('pub_messages_An', 'EN', 'receiver'), -('pub_messages_Text', 'DE', 'Text'), -('pub_messages_Text', 'EN', 'text'), -('pub_messages_Send1', 'DE', 'Nachricht wird gesendet'), -('pub_messages_Send1', 'EN', 'message will be send'), -('pub_messages_Send_OK', 'DE', 'Senden erfolgeich'), -('pub_messages_Send_OK', 'EN', 'transmitting was OK'), -('pub_messages_Send_Error', 'DE', 'Senden ist fehlgeschlagen'), -('pub_messages_Send_Error', 'EN', 'transmitting was terminate with an Error'), -('pub_messages_MarkRead', 'DE', 'als gelesen makieren'), -('pub_messages_MarkRead', 'EN', 'mark as read'), -('pub_messages_NoCommand', 'DE', 'kein Kommando erkannt'), -('pub_messages_NoCommand', 'EN', 'no command recognised'), -('pub_messages_MarkRead_OK', 'DE', 'als gelesen markiert'), -('pub_messages_MarkRead_OK', 'EN', 'mark as read'), -('pub_messages_MarkRead_KO', 'DE', 'Fehler beim als gelesen Markieren'), -('pub_messages_MarkRead_KO', 'EN', 'error on: mark as read'), -('pub_messages_text1', 'DE', 'hier kannst du Nachrichten an andere Engel versenden'), -('pub_messages_text1', 'EN', 'here can you leave messages for other drones'), -('pub_messages_DelMsg', 'DE', 'Nachricht löschen'), -('pub_messages_DelMsg', 'EN', 'delete message'), -('pub_messages_DelMsg_OK', 'DE', 'Nachricht gelöscht'), -('pub_messages_DelMsg_OK', 'EN', 'delete message'), -('pub_messages_DelMsg_KO', 'DE', 'Nachricht konnte nicht gelöscht werden'), -('pub_messages_DelMsg_KO', 'EN', 'cannot delete message'), -('pub_messages_new1', 'DE', 'Du hast'), -('pub_messages_new1', 'EN', 'You have'), -('pub_messages_new2', 'DE', 'neue Nachrichten'), -('pub_messages_new2', 'EN', 'new messages'), -('pub_messages_NotRead', 'DE', 'nicht gelesen'), -('pub_messages_NotRead', 'EN', 'not read'), -('pub_mywake_Name', 'DE', 'Schicht Titel'), -('pub_mywake_Name', 'EN', 'shift title'), -('pub_sprache_ShowEntry', 'DE', 'Einträge anzeigen'), -('pub_sprache_ShowEntry', 'EN', 'show entrys'), -('admin_rooms', 'DE', 'Räume'), -('admin_rooms', 'EN', 'Rooms'), -('admin_angel_types', 'DE', 'Engeltypen'), -('admin_angel_types', 'EN', 'Angel types'), -('pub_menu_SchichtplanEdit', 'DE', 'Schichtplan'), -('pub_menu_SchichtplanEdit', 'EN', 'Shiftplan'), -('pub_menu_UpdateDB', 'DE', 'UpdateDB'), -('pub_menu_UpdateDB', 'EN', 'UpdateDB'), -('pub_menu_Dect', 'DE', 'Dect'), -('pub_menu_Dect', 'EN', 'Dect'), -('pub_menu_Engelliste', 'DE', 'Engelliste'), -('pub_menu_Engelliste', 'EN', 'Drone-list'), -('pub_menu_EngelDefaultSetting', 'DE', 'Engel Voreinstellungen'), -('pub_menu_EngelDefaultSetting', 'EN', 'Drone Default Setting'), -('pub_menu_Aktivliste', 'DE', 'Aktiv Liste'), -('pub_menu_Aktivliste', 'EN', 'active list'), -('pub_menu_T-Shirtausgabe', 'DE', 'T-Shirtausgabe'), -('pub_menu_T-Shirtausgabe', 'EN', 'T-Shirt handout'), -('pub_menu_News-Verwaltung', 'DE', 'News-Verwaltung'), -('pub_menu_News-Verwaltung', 'EN', 'News-Center'), -('faq', 'DE', 'FAQ'), -('faq', 'EN', 'FAQ'), -('pub_menu_FreeEngel', 'DE', 'Freie Engel'), -('pub_menu_FreeEngel', 'EN', 'free Drones'), -('pub_menu_Debug', 'DE', 'Debug'), -('pub_menu_Debug', 'EN', 'Debug'), -('pub_menu_Recentchanges', 'DE', 'Letzte Änderungen'), -('pub_menu_Recentchanges', 'EN', 'recent changes'), -('pub_menu_Language', 'DE', 'Sprachen'), -('pub_menu_Language', 'EN', 'Language'), -('makeuser_text0', 'DE', 'Anmeldung als Engel'), -('makeuser_text0', 'EN', 'Drone registration'), -('/', 'DE', 'Willkommen'), -('/', 'EN', 'welcome'), -('nonpublic/', 'DE', 'Garage'), -('nonpublic/', 'EN', 'garage'), -('admin/', 'DE', 'admin'), -('admin/', 'EN', 'admin'), -('index.php', 'DE', 'Start'), -('index.php', 'EN', 'Start'), -('logout.php', 'DE', 'logout'), -('logout.php', 'EN', 'logout'), -('faq.php', 'DE', 'FAQ'), -('faq.php', 'EN', 'FAQ'), -('lageplan.php', 'DE', 'Lageplan'), -('lageplan.php', 'EN', 'Map'), -('nonpublic/index.php', 'DE', ' '), -('nonpublic/index.php', 'EN', ' '), -('nonpublic/news.php', 'EN', 'News'), -('nonpublic/news.php', 'DE', 'News'), -('nonpublic/news_comments.php', 'EN', ' '), -('nonpublic/news_comments.php', 'DE', ' '), -('nonpublic/engelbesprechung.php', 'DE', 'Engelbesprechung'), -('nonpublic/engelbesprechung.php', 'EN', 'Drone gathering'), -('nonpublic/schichtplan.php', 'DE', 'Schichtplan'), -('nonpublic/schichtplan.php', 'EN', 'Available Shifts'), -('nonpublic/schichtplan_add.php', 'DE', ' '), -('nonpublic/schichtplan_add.php', 'EN', ' '), -('nonpublic/myschichtplan.php', 'DE', 'Mein Schichtplan'), -('nonpublic/myschichtplan.php', 'EN', 'My Shifts'), -('nonpublic/myschichtplan_ical.php', 'DE', ' '), -('nonpublic/myschichtplan_ical.php', 'EN', ' '), -('nonpublic/einstellungen.php', 'DE', 'Einstellungen'), -('nonpublic/einstellungen.php', 'EN', 'Options'), -('nonpublic/wecken.php', 'DE', 'Wecken'), -('nonpublic/wecken.php', 'EN', 'Wake-up Service'), -('nonpublic/waeckliste.php', 'DE', 'Weckerlist'), -('nonpublic/waeckliste.php', 'EN', 'Wake-up list'), -('nonpublic/messages.php', 'DE', 'Nachrichten'), -('nonpublic/messages.php', 'EN', 'messages'), -('nonpublic/schichtplan_beamer.php', 'DE', 'Schichtplan für Beamer optimiert'), -('nonpublic/schichtplan_beamer.php', 'EN', 'Shifts for beamer optimice'), -('nonpublic/faq.php', 'DE', 'Anfragen an die Dispatcher'), -('nonpublic/faq.php', 'EN', 'Questions for the Dispatcher'), -('admin/index.php', 'DE', ' '), -('admin/index.php', 'EN', ' '), -('pub_einstellungen_PictureUpload', 'DE', 'Hochzuladendes Bild auswählen:'), -('pub_einstellungen_PictureUpload', 'EN', 'Choose a picture to Upload:'), -('pub_einstellungen_send_OK', 'EN', 'The file was uploaded successfully'), -('pub_einstellungen_send_OK', 'DE', 'Die Datei wurde erfolgreich hochgeladen.'), -('pub_einstellungen_PictureNoShow', 'EN', 'The photo isnot free at the moment'), -('pub_einstellungen_PictureShow', 'DE', 'Das Foto ist freigegeben'), -('pub_einstellungen_PictureShow', 'EN', 'The photo is free at the moment'), -('pub_einstellungen_del_OK', 'DE', 'Bild wurde erfolgreich gel?scht.'), -('pub_einstellungen_del_OK', 'EN', 'Picture was deleted successfully.'), -('pub_einstellungen_del_KO', 'DE', 'Bild wurde nicht erfolgreich gel?scht.'), -('pub_einstellungen_del_KO', 'EN', 'Picture was not deleted successfully.'), -('delete', 'DE', 'l?schen'), -('delete', 'EN', 'delete'), -('upload', 'EN', 'upload'), -('upload', 'DE', 'hochladen'), -('pub_einstellungen_PictureNoShow', 'DE', 'Das Foto ist nicht freigegeben'), -('pub_einstellungen_send_KO', 'DE', 'Beim Hochladen ist ein Fehler aufgetreten.'), -('pub_einstellungen_send_KO', 'EN', 'An error was detected. Please try again!'), -('admin/room.php', 'DE', 'Räume'), -('admin/room.php', 'EN', 'rooms'), -('admin/EngelType.php', 'DE', 'Engeltypen'), -('admin/EngelType.php', 'EN', 'Drone-Types'), -('admin/schichtplan.php', 'DE', 'Schichtplan'), -('admin/schichtplan.php', 'EN', 'Shiftplan'), -('admin/shiftadd.php', 'DE', ' '), -('admin/shiftadd.php', 'EN', ' '), -('admin/schichtplan_druck.php', 'DE', ' '), -('admin/schichtplan_druck.php', 'EN', ' '), -('admin/dbUpdateFromXLS.php', 'DE', 'UpdateDB'), -('admin/dbUpdateFromXLS.php', 'EN', 'UpdateDB'), -('admin/dect.php', 'DE', 'Dect'), -('admin/dect.php', 'EN', 'Dect'), -('admin/dect_call.php', 'DE', ' '), -('admin/dect_call.php', 'EN', ' '), -('admin_user', 'DE', 'Engelliste'), -('admin_user', 'EN', 'Manage angels'), -('admin/userDefaultSetting.php', 'DE', 'Engel Voreinstellungen'), -('admin/userDefaultSetting.php', 'EN', 'Drone Default Setting'), -('admin/UserPicture.php', 'DE', 'Benutzerbilder'), -('admin/UserPicture.php', 'EN', 'User Pictures'), -('admin/aktiv.php', 'DE', 'Aktiv Liste'), -('admin/aktiv.php', 'EN', 'active list'), -('admin/tshirt.php', 'DE', 'T-Shirtausgabe'), -('admin/tshirt.php', 'EN', 'T-Shirt handout'), -('admin/news.php', 'DE', 'News-Verwaltung'), -('admin/news.php', 'EN', 'News-Center'), -('admin/free.php', 'DE', 'Freie Engel'), -('admin/free.php', 'EN', 'free Drones'), -('admin/debug.php', 'DE', 'Debug'), -('admin/debug.php', 'EN', 'Debug'), -('admin/Recentchanges.php', 'DE', 'Letzte ?nderungen'), -('admin/Recentchanges.php', 'EN', 'recentchanges'), -('admin/sprache.php', 'DE', 'Sprachen'), -('admin/sprache.php', 'EN', 'Language'), -('admin/faq.php', 'DE', 'FAQ'), -('admin/faq.php', 'EN', 'FAQ'), -('pub_myschichtplan_ical', 'DE', 'export my Shifts as iCal file'), -('pub_myschichtplan_ical', 'EN', 'iCal File exportieren'), -('Sprache', 'DE', 'Sprache'), -('Sprache', 'EN', 'Language'), -('start', 'DE', 'Start'), -('start', 'EN', 'Start'), -('login', 'DE', 'Login'), -('login', 'EN', 'Login'), -('credits', 'DE', 'Credits'), -('credits', 'EN', 'Credits'), -('pub_messages_Neu', 'DE', 'Neu'), -('pub_messages_Neu', 'EN', 'New'), -('admin_groups', 'DE', 'Gruppenrechte'), -('admin_groups', 'EN', 'Grouprights'), -('user_questions', 'DE', 'Erzengel fragen'), -('user_questions', 'EN', 'Ask arch angel'), -('admin_questions', 'DE', 'Fragen beantworten'), -('admin_questions', 'EN', 'Answer questions'), -('admin_faq', 'DE', 'FAQs bearbeiten'), -('admin_faq', 'EN', 'Edit FAQs'), -('news_comments', 'DE', 'News Kommentare'), -('news_comments', 'EN', 'News comments'), -('admin_news', 'DE', 'News verwalten'), -('admin_news', 'EN', 'Manage news'), -('user_meetings', 'DE', 'Treffen'), -('user_meetings', 'EN', 'Meetings'), -('admin_language', 'DE', 'Übersetzung'), -('admin_language', 'EN', 'Translation'), -('admin_log', 'EN', 'Log'), -('admin_log', 'DE', 'Log'), -('user_wakeup', 'DE', 'Weckservice'), -('user_wakeup', 'EN', 'Wakeup service'), -('admin_import', 'DE', 'Pentabarf Import'), -('admin_import', 'EN', 'Pentabarf import'), -('user_shifts', 'DE', 'Schichtplan'), -('user_shifts', 'EN', 'Shifts'), -('user_myshifts', 'DE', 'Meine Schichten'), -('user_myshifts', 'EN', 'My shifts'), -('admin_arrive', 'DE', 'Engel Ankunft'), -('admin_arrive', 'EN', 'Arrived angels'), -('admin_shifts', 'DE', 'Schichten erstellen'), -('admin_shifts', 'EN', 'Create shifts'), -('admin_active', 'DE', 'Engel Aktiv/T-Shirt'), -('admin_active', 'EN', 'Angel active/t-shirt'), -('admin_free', 'DE', 'Freie Engel'), -('admin_free', 'EN', 'Free angels')"); - -if(mysql_affected_rows() > 0) - $applied = true; - diff --git a/db/update.d/15_UserAngelTypes.php b/db/update.d/15_UserAngelTypes.php deleted file mode 100644 index 5609c06f..00000000 --- a/db/update.d/15_UserAngelTypes.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -if(sql_num_query("SHOW TABLES LIKE 'UserAngelTypes'") === 0) { - sql_query("CREATE TABLE `UserAngelTypes` ( - `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , - `user_id` INT NOT NULL , - `angeltype_id` INT NOT NULL , - `confirm_user_id` INT NULL , - INDEX ( `user_id` , `angeltype_id` , `confirm_user_id` ) - )"); - sql_query("INSERT INTO `UserAngelTypes` (`user_id`, `angeltype_id`) - SELECT `User`.`UID`, `AngelTypes`.`id` - FROM `User` - INNER JOIN `AngelTypes` - ON TRIM(TRAILING 'Engel' FROM TRIM(TRAILING 'Angel' FROM `User`.`Art`)) = `AngelTypes`.`name`"); - - $applied = true; -} diff --git a/db/update.d/16_admin_user_angeltypes.php b/db/update.d/16_admin_user_angeltypes.php deleted file mode 100644 index 29fc9f54..00000000 --- a/db/update.d/16_admin_user_angeltypes.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - - -// create admin_user_angeltypes permission/privilege and assign it to the archangel usergroup. -if (sql_num_query("SELECT * FROM `Privileges` WHERE `name`='admin_user_angeltypes'") == 0) { - sql_query("INSERT INTO `Privileges` (`id`, `name`, `desc`) VALUES ( NULL , 'admin_user_angeltypes', 'Confirm restricted angel types' );"); - $id = sql_id(); - sql_query("INSERT INTO `GroupPrivileges` SET `group_id`=-5, `privilege_id`='" . sql_escape($id) . "'"); - sql_query("INSERT INTO `Sprache` ( - `TextID` , - `Sprache` , - `Text` - ) - VALUES ( - 'admin_user_angeltypes', 'DE', 'Engeltypen freischalten' - ), ( - 'admin_user_angeltypes', 'EN', 'Confirm angeltypes' - );"); - $applied = true; -} -?>
\ No newline at end of file diff --git a/db/update.d/17_translations.php b/db/update.d/17_translations.php deleted file mode 100644 index 962b6052..00000000 --- a/db/update.d/17_translations.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -// there have been some new translations added. -// For each of them, check if we already got it and create it if not -// We can conviniently do this with "INSERT IGNORE" and a UNIQUE key: - -$res = sql_select("SHOW INDEX FROM `Sprache` WHERE `Key_name` = 'TextID'"); -if($res[0]['Non_unique'] != 0) { - sql_query("ALTER TABLE `Sprache` DROP INDEX `TextID`, ADD UNIQUE (`TextID`, `Sprache`)"); - $applied = true; -} - -$res = mysql_query("INSERT IGNORE INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES -('no_access_text', 'DE', 'Du hast keinen Zugriff auf diese Seite. Vermutlich muss du dich erst anmelden/registrieren!'), -('no_access_text', 'EN', 'You don't have permission to view this page. You probably have to sign in or register in order to gain access!'), -('no_access_title', 'DE', 'Kein Zugriff'), -('no_access_title', 'EN', 'No Access'), -('rooms', 'DE', 'Räume'), -('rooms', 'EN', 'rooms'), -('days', 'DE', 'Tage'), -('days', 'EN', 'days'), -('tasks', 'DE', 'Aufgaben'), -('tasks', 'EN', 'tasks'), -('occupancy', 'DE', 'Belegung'), -('occupancy' ,'EN', 'occupancy'), -('all', 'DE', 'alle'), -('all', 'EN', 'all'), -('none', 'DE', 'keine'), -('none', 'EN', 'none'), -('entries', 'DE', 'Einträge'), -('entries', 'EN', 'entries'), -('time', 'DE', 'Zeit'), -('time', 'EN', 'time'), -('room', 'DE', 'Raum'), -('room' ,'EN', 'room'), -('to_filter', 'DE', 'filtern'), -('to_filter', 'EN', 'filter'), -('pub_schichtplan_tasks_notice', 'DE', 'Die hier angezeigten Aufgaben werden durch die Präferenzen in deinen Einstellungen beeinflusst!'), -('pub_schichtplan_tasks_notice', 'EN', 'The tasks shown here are influenced by the preferences you defined in your settings!'), -('inc_schicht_ical_text', 'DE', 'Zum Abonnieren der angezeigten Schichten in deiner Kalender-Software benutze <a href=\"%s\">diesen Link</a> (bitte geheimhalten, im Notfall Deinen <a href=\"%s\">iCal-Key zurücksetzen</a>):'), -('inc_schicht_ical_text', 'EN', 'To subscribe the shifts shown in your calendar software, use <a href=\"%s\">this link</a> (please keep secret, otherwise <a href=\"%s\">reset the ical key</a>):'), -('helpers', 'DE', 'Helfer'), -('helpers', 'EN', 'helpers'), -('helper', 'DE', 'Helfer'), -('helper', 'EN', 'helper'), -('needed', 'DE', 'gebraucht'), -('needed', 'EN', 'needed'), -('pub_myshifts_intro', 'DE', 'Hier sind Deine Schichten.<br/>Versuche bitte <b>15 Minuten</b> vor Schichtbeginn anwesend zu sein!<br/>Du kannst Dich %d Stunden vor Schichtbeginn noch aus Schichten wieder austragen.'), -('pub_myshifts_intro', 'EN', 'These are your shifts.<br/>Please try to appear <b>15 minutes</b> before your shift begins!<br/>You can remove yourself from a shift up to %d hours before it starts.'), -('pub_myshifts_goto_shifts', 'DE', 'Gehe zum <a href=\"%s\">Schichtplan</a> um Dich für Schichten einzutragen.'), -('pub_myshifts_goto_shifts', 'EN', 'Go to the <a href=\"%s\">shifts table</a> to sign yourself up for some shifts.'), -('pub_myshifts_signed_off', 'DE', 'Du wurdest aus der Schicht ausgetragen.'), -('pub_myshifts_signed_off', 'EN', 'You have been signed off from the shift.'), -('pub_myshifts_too_late', 'DE', 'Es ist zu spät um sich aus der Schicht auszutragen. Frage ggf. den Schichtkoordinator, ob er dich austragen kann.'), -('pub_myshifts_too_late', 'EN', 'It\'s too late to sign yourself off the shift. If neccessary, as the dispatcher to do so.'), -('sign_off', 'DE', 'austragen'), -('sign_off', 'EN', 'sign off');"); - -if(mysql_affected_rows() > 0) - $applied = true; diff --git a/db/update.d/18_translations.php b/db/update.d/18_translations.php deleted file mode 100644 index 995a2450..00000000 --- a/db/update.d/18_translations.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -// one translation pair added last commit was faulty (contained a closing : -// even though it should have been a .), we fix it now -mysql_query("UPDATE `Sprache` -SET `Text` = CONCAT(SUBSTR(`Text`, 1, CHAR_LENGTH(`Text`)-1), '.') -WHERE `TextID` = 'inc_schicht_ical_text' AND `Text` LIKE '%:';"); - -$applied = mysql_affected_rows() > 0; - -// more translations -$res = mysql_query("INSERT IGNORE INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES -('occupied', 'DE', 'belegt'), -('occupied', 'EN', 'occupied'), -('free', 'DE', 'frei'), -('free', 'EN', 'free');"); - -$applied |= mysql_affected_rows() > 0; diff --git a/db/update.d/19_password_field.php b/db/update.d/19_password_field.php deleted file mode 100644 index 85333f28..00000000 --- a/db/update.d/19_password_field.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php -// make the Passwort column in the User table longer to store more advanced hashes with salts -$res = sql_select("DESCRIBE `User` `Passwort`"); -if ($res[0]['Type'] == 'varchar(40)') { - sql_query("ALTER TABLE `User` CHANGE `Passwort` `Passwort` VARCHAR(128) NULL"); - $applied = true; -} diff --git a/db/update.d/20_LogEntriesTable.php b/db/update.d/20_LogEntriesTable.php deleted file mode 100644 index 5ea82efc..00000000 --- a/db/update.d/20_LogEntriesTable.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -if(sql_num_query("SHOW TABLES LIKE 'LogEntries'") == 0) { - sql_query("CREATE TABLE `LogEntries` ( - `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , - `timestamp` INT NOT NULL , - `nick` VARCHAR( 23 ) NOT NULL , - `message` TEXT NOT NULL , - INDEX ( `timestamp` ) - ) ENGINE = InnoDB;"); - $applied = true; -} - -if(sql_num_query("SHOW TABLES LIKE 'ChangeLog'") == 0) { - sql_query("DROP TABLE `ChangeLog`"); - $applied = true; -} - -?>
\ No newline at end of file diff --git a/db/update.d/21_Atom.php b/db/update.d/21_Atom.php deleted file mode 100644 index f592e0e6..00000000 --- a/db/update.d/21_Atom.php +++ /dev/null @@ -1,4 +0,0 @@ -<?php -mysql_query("INSERT IGNORE INTO `Privileges` (`name`, `desc`) VALUES ('atom', ' Atom news export')"); -$applied = mysql_affected_rows() > 0; -?> diff --git a/db/update.d/22_shifts.php b/db/update.d/22_shifts.php deleted file mode 100644 index 3055c778..00000000 --- a/db/update.d/22_shifts.php +++ /dev/null @@ -1,5 +0,0 @@ -<?php -if(sql_num_query("SHOW INDEX FROM `ShiftEntry` WHERE `Key_name` = 'SID' AND `Column_name` = 'TID'") == 0) { - sql_query("ALTER TABLE `ShiftEntry` DROP INDEX `SID`, ADD INDEX `SID` ( `SID` , `TID` )"); - $applied = true; -} |