diff options
-rw-r--r-- | DB/change_db_to_v163.sql | 33 | ||||
-rwxr-xr-x | www-ssl/admin/Recentchanges.php | 12 | ||||
-rwxr-xr-x | www-ssl/admin/debug.php | 3 | ||||
-rwxr-xr-x | www-ssl/admin/menu.php | 30 | ||||
-rwxr-xr-x | www-ssl/admin/sprache.php | 2 |
5 files changed, 62 insertions, 18 deletions
diff --git a/DB/change_db_to_v163.sql b/DB/change_db_to_v163.sql new file mode 100644 index 00000000..27f2eefe --- /dev/null +++ b/DB/change_db_to_v163.sql @@ -0,0 +1,33 @@ +ALTER TABLE `UserCVS` ADD `admin/Recentchanges.php` VARCHAR( 1 ) DEFAULT 'N' NOT NULL AFTER `admin/debug.php` ; + +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Rooms', 'DE', 'Räume'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Rooms', 'EN', 'rooms');; +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Engeltypen', 'DE', 'Engeltypen'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Engeltypen', 'EN', 'Engeltypes'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_SchichtplanEdit', 'DE', 'Schichtplan'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_SchichtplanEdit', 'EN', 'Shiftplan'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_UpdateDB', 'DE', 'UpdateDB'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_UpdateDB', 'EN', 'UpdateDB'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Dect', 'DE', 'Dect'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Dect', 'EN', 'Dect'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Engelliste', 'DE', 'Engelliste'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Engelliste', 'EN', 'Engel-list'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_EngelDefaultSetting', 'DE', 'Engel Default einstellungen'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_EngelDefaultSetting', 'EN', 'Engel Default Setting'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Aktivliste', 'DE', 'Aktiv liste'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Aktivliste', 'EN', 'Aktiv list'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_T-Shirtausgabe', 'DE', 'T-Shirtausgabe'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_T-Shirtausgabe', 'EN', 'T-Shirt handout'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_News-Verwaltung', 'DE', 'News-Verwaltung'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_News-Verwaltung', 'EN', 'News-Center'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_FAQ', 'DE', 'FAQ'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_FAQ', 'EN', 'FAQ'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_FreeEngel', 'DE', 'Freie Engel'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_FreeEngel', 'EN', 'free Engels'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Debug', 'DE', 'Debug'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Debug', 'EN', 'Debug'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Recentchanges', 'DE', 'Letzte Änderungen'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('pub_menu_Recentchanges', 'EN', 'recentchanges'); + + + diff --git a/www-ssl/admin/Recentchanges.php b/www-ssl/admin/Recentchanges.php new file mode 100755 index 00000000..564c9e96 --- /dev/null +++ b/www-ssl/admin/Recentchanges.php @@ -0,0 +1,12 @@ +<?PHP + +$title = "ChangeLog"; +$header = "Datenbank-Auszug"; +include ("./inc/header.php"); +include ("./inc/funktion_db_list.php"); + +funktion_db_list("ChangeLog"); + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/debug.php b/www-ssl/admin/debug.php index 27781ce5..aaf1bcb4 100755 --- a/www-ssl/admin/debug.php +++ b/www-ssl/admin/debug.php @@ -41,9 +41,6 @@ for ($i=0; $i<$rowcount; $i++) echo mysql_result($Erg, $i, 1). "x '". mysql_result($Erg, $i, 0). "'<br>\n"; -echo "<h1>ChangeLog</h1> <br>"; -funktion_db_list("ChangeLog"); - include ("./inc/footer.php"); ?> diff --git a/www-ssl/admin/menu.php b/www-ssl/admin/menu.php index f809c9f3..7137b68c 100755 --- a/www-ssl/admin/menu.php +++ b/www-ssl/admin/menu.php @@ -4,38 +4,40 @@ include ("./inc/funktion_faq.php"); $Menu["Path"] = "admin/"; $Menu["Name"] = "Kategorie"; $Menu["Entry"][1]["File"] = "room.php"; -$Menu["Entry"][1]["Name"] = "Räume"; +$Menu["Entry"][1]["Name"] = Get_Text("pub_menu_Rooms"); $Menu["Entry"][12]["File"] = "EngelType.php"; -$Menu["Entry"][12]["Name"] = "Engeltypen"; +$Menu["Entry"][12]["Name"] = Get_Text("pub_menu_Engeltypen"); $Menu["Entry"][2]["File"] = "schichtplan.php"; -$Menu["Entry"][2]["Name"] = "Schichtplan"; +$Menu["Entry"][2]["Name"] = Get_Text("pub_menu_SchichtplanEdit"); $Menu["Entry"][2]["Line"] = "<br>"; $Menu["Entry"][3]["File"] = "dbUpdateFromXLS.php"; -$Menu["Entry"][3]["Name"] = "UpdateDB"; +$Menu["Entry"][3]["Name"] = Get_Text("pub_menu_UpdateDB"); $Menu["Entry"][13]["File"] = "dect.php"; -$Menu["Entry"][13]["Name"] = "Dect"; +$Menu["Entry"][13]["Name"] = Get_Text("pub_menu_Dect"); $Menu["Entry"][13]["Line"] = "<br>"; $Menu["Entry"][4]["File"] = "user.php"; -$Menu["Entry"][4]["Name"] = "Engelliste"; +$Menu["Entry"][4]["Name"] = Get_Text("pub_menu_Engelliste"); $Menu["Entry"][14]["File"] = "userDefaultSetting.php"; -$Menu["Entry"][14]["Name"] = "EngelDefaultSetting"; +$Menu["Entry"][14]["Name"] = Get_Text("pub_menu_EngelDefaultSetting"); $Menu["Entry"][5]["File"] = "aktiv.php"; -$Menu["Entry"][5]["Name"] = "Aktivliste"; +$Menu["Entry"][5]["Name"] = Get_Text("pub_menu_Aktivliste"); $Menu["Entry"][6]["File"] = "tshirt.php"; -$Menu["Entry"][6]["Name"] = "T-Shirtausgabe"; +$Menu["Entry"][6]["Name"] = Get_Text("pub_menu_T-Shirtausgabe"); $Menu["Entry"][6]["Line"] = "<br><br>"; $Menu["Entry"][7]["File"] = "news.php"; -$Menu["Entry"][7]["Name"] = "News-Verwaltung"; +$Menu["Entry"][7]["Name"] = Get_Text("pub_menu_News-Verwaltung"); $Menu["Entry"][8]["File"] = "faq.php"; -$Menu["Entry"][8]["Name"] = "FAQ (". noAnswer(). ")"; +$Menu["Entry"][8]["Name"] = Get_Text("pub_menu_FAQ"). " (". noAnswer(). ")"; $Menu["Entry"][9]["File"] = "free.php"; -$Menu["Entry"][9]["Name"] = "Freie Engel"; +$Menu["Entry"][9]["Name"] = Get_Text("pub_menu_FreeEngel"); $Menu["Entry"][9]["Line"] = "<br><br>"; $Menu["Entry"][11]["File"] = "sprache.php"; -$Menu["Entry"][11]["Name"] = "Language"; +$Menu["Entry"][11]["Name"] = Get_Text("pub_menu_Language"); $Menu["Entry"][11]["Line"] = "<br><br>"; $Menu["Entry"][10]["File"] = "debug.php"; -$Menu["Entry"][10]["Name"] = "Debug"; +$Menu["Entry"][10]["Name"] = Get_Text("pub_menu_Debug"); +$Menu["Entry"][15]["File"] = "Recentchanges.php"; +$Menu["Entry"][15]["Name"] = Get_Text("pub_menu_Recentchanges"); if ($_SESSION['CVS']["nonpublic/index.php"] == "Y") { diff --git a/www-ssl/admin/sprache.php b/www-ssl/admin/sprache.php index 8b7b63fa..17dc1b69 100755 --- a/www-ssl/admin/sprache.php +++ b/www-ssl/admin/sprache.php @@ -66,7 +66,7 @@ if( !isset( $_GET["TextID"] ) ) //fuer neu eintraege echo "<form action=\"sprache.php\">"; echo "<tr class=\"content\">\n"; - echo "\t\t<td><input name=\"TextID\" type=\"text\" value=\"new\"> </td>\n"; + echo "\t\t<td><input name=\"TextID\" type=\"text\" size=\"40\" value=\"new\"> </td>\n"; foreach( $Sprachen as $Name => $Value ) echo "\t\t<td><textarea name=\"$Name\" cols=\"22\" rows=\"8\">$Name Text</textarea></td>\n"; |