From b123333ee31b4f6a94e7a43b8130588bf68fa9bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 21 Oct 2012 20:23:21 +0000 Subject: [PATCH] Added grade's library include script, added template for adding grades --- .gitattributes | 2 + inc/language/grade_de.php | 18 +++- inc/libs/grade_functions.php | 97 +++++++++++++++++++ .../de/html/admin/admin_add_grade_data.tpl | 52 ++++++++++ 4 files changed, 167 insertions(+), 2 deletions(-) create mode 100644 inc/libs/grade_functions.php create mode 100644 templates/de/html/admin/admin_add_grade_data.tpl diff --git a/.gitattributes b/.gitattributes index c4b7a0969b..ef855fa170 100644 --- a/.gitattributes +++ b/.gitattributes @@ -373,6 +373,7 @@ inc/libs/earning_functions.php svneol=native#text/plain inc/libs/events_functions.php svneol=native#text/plain inc/libs/forced_functions.php svneol=native#text/plain inc/libs/funcoins_functions.php svneol=native#text/plain +inc/libs/grade_functions.php svneol=native#text/plain inc/libs/holiday_functions.php svneol=native#text/plain inc/libs/html_mail_functions.php svneol=native#text/plain inc/libs/jackpot_functions.php svneol=native#text/plain @@ -1180,6 +1181,7 @@ templates/de/html/admin/admin_add_country.tpl svneol=native#text/plain templates/de/html/admin/admin_add_forced_ad.tpl svneol=native#text/plain templates/de/html/admin/admin_add_forced_campaign.tpl svneol=native#text/plain templates/de/html/admin/admin_add_forced_costs.tpl svneol=native#text/plain +templates/de/html/admin/admin_add_grade_data.tpl svneol=native#text/plain templates/de/html/admin/admin_add_guest_menu.tpl svneol=native#text/plain templates/de/html/admin/admin_add_max.tpl svneol=native#text/plain templates/de/html/admin/admin_add_member_menu.tpl svneol=native#text/plain diff --git a/inc/language/grade_de.php b/inc/language/grade_de.php index c92cb654b5..ac7fc3d37e 100644 --- a/inc/language/grade_de.php +++ b/inc/language/grade_de.php @@ -43,8 +43,22 @@ if (!defined('__SECURITY')) { // Language definitions addMessages(array( // Admin - error messages - 'ADMIN_GRADE_DATA_NO_SELECTIONS' => "Es wurde keine Auswahl getroffen, bitte wählen Sie mindestens eine Abstufung aus.", - 'ADMIN_GRADE_DATA_404' => "Es wurden keine Abstufungen gefunden.", + 'ADMIN_GRADE_DATA_NO_SELECTIONS' => "Es wurde keine Auswahl getroffen, bitte wählen Sie mindestens eine Einstufung aus.", + 'ADMIN_GRADE_DATA_404' => "Es wurden keine Einstufungen gefunden.", + + // Admin - general messages + 'ADMIN_ENTER_GRADE_DATA_NAME' => "Namen für Einstufung:", + 'ADMIN_SELECT_GRADE_PARENT_ID' => "Eltern-Einstufung auswählen:", + 'ADMIN_ENTER_GRADE_DATA_DESCRIPTION' => "Erklärung/Beschreibung zur Abstufung eingeben:", + + // Admin - titles + 'ADMIN_ADD_GRADE_DATA_TITLE' => "Neue Abstufung einrichten", + + // Admin - submit buttons + 'ADMIN_ADD_GRADE_DATA_SUBMIT' => "Neue Abstufung hinzufügen", + + // Admin - notices + 'ADMIN_ADD_GRADE_DATA_NOTICE' => "Hinweise: Geben Sie als Namen z.B. Bronze, Silber, Gold oder Platinum ein. Als beschreibender Text könnten Sie z.B. eingeben, was alles ausserdem noch zu beachten gibt oder es dazu gibt.", )); // [EOF] diff --git a/inc/libs/grade_functions.php b/inc/libs/grade_functions.php new file mode 100644 index 0000000000..c44ecbcec3 --- /dev/null +++ b/inc/libs/grade_functions.php @@ -0,0 +1,97 @@ + diff --git a/templates/de/html/admin/admin_add_grade_data.tpl b/templates/de/html/admin/admin_add_grade_data.tpl new file mode 100644 index 0000000000..bb7f79abab --- /dev/null +++ b/templates/de/html/admin/admin_add_grade_data.tpl @@ -0,0 +1,52 @@ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ {--ADMIN_ADD_GRADE_DATA_TITLE--} +
+ {--ADMIN_ENTER_GRADE_DATA_NAME--} + + +
+ {--ADMIN_SELECT_GRADE_PARENT_ID--} + + +
+ {--ADMIN_ENTER_GRADE_DATA_DESCRIPTION--} + + +
+
+
+ +
+ {--ADMIN_ADD_GRADE_DATA_NOTICE--} +
-- 2.39.5