From ef90affb5df1071c8bca8da7a796f63905d74f62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 7 Sep 2010 15:06:49 +0000 Subject: [PATCH] Direct call now possible, template renamed --- .gitattributes | 1 + DOCS/TODOs.txt | 1 + inc/language/holiday_de.php | 1 - inc/modules/admin/what-del_holiday.php | 4 ++-- .../html/admin/admin_form_selection_box.tpl | 21 ++++++++++++++++++ .../html/admin/admin_member_selection_box.tpl | 22 +------------------ 6 files changed, 26 insertions(+), 24 deletions(-) create mode 100644 templates/de/html/admin/admin_form_selection_box.tpl diff --git a/.gitattributes b/.gitattributes index 38756deb79..64c96d3354 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1135,6 +1135,7 @@ templates/de/html/admin/admin_extensions_edit_row.tpl -text svneol=unset#text/pl templates/de/html/admin/admin_extensions_row.tpl -text svneol=unset#text/plain templates/de/html/admin/admin_extensions_text.tpl -text svneol=unset#text/plain templates/de/html/admin/admin_footer.tpl -text svneol=unset#text/plain +templates/de/html/admin/admin_form_selection_box.tpl -text svneol=unset#text/plain templates/de/html/admin/admin_guest_menu_status.tpl -text svneol=unset#text/plain templates/de/html/admin/admin_import_theme.tpl -text svneol=unset#text/plain templates/de/html/admin/admin_import_theme_none.tpl svneol=native#text/plain diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index c5a8c22577..41b2808223 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -258,6 +258,7 @@ ./templates/de/html/admin/admin_del_sponsor.tpl:1: ./templates/de/html/admin/admin_del_transfer_row.tpl:1: ./templates/de/html/admin/admin_del_user.tpl:1: +./templates/de/html/admin/admin_member_selection_box.tpl:1: ./templates/de/html/admin/admin_mods_edit_row.tpl:1: ./templates/de/html/admin/admin_mods_edit.tpl:1: ./templates/de/html/admin/admin_theme_edit_row.tpl:1: diff --git a/inc/language/holiday_de.php b/inc/language/holiday_de.php index 4473d02158..ba58ac1dc1 100644 --- a/inc/language/holiday_de.php +++ b/inc/language/holiday_de.php @@ -47,7 +47,6 @@ addMessages(array( // Admin & member strings 'HOLIDAY_COMMENTS' => "Sonstige Hinweise an uns", // Admin strings - 'ADMIN_HOLIDAY_NO_DIRECT_CALL' => "Bite rufen Sie dieses Script über Auflisten auf.", 'ADMIN_TASK_IS_HOLIDAY_REQUEST' => "Urlaubsanfrage", 'ADMIN_HOLIDAY_NOTHING_FOUND' => "Niemand hat Urlaub beantragt.", 'ADMIN_HOLIDAY_TSTART' => "Anfang", diff --git a/inc/modules/admin/what-del_holiday.php b/inc/modules/admin/what-del_holiday.php index ae2a6a8931..320349d382 100644 --- a/inc/modules/admin/what-del_holiday.php +++ b/inc/modules/admin/what-del_holiday.php @@ -130,8 +130,8 @@ LIMIT 1", array(bigintval(getRequestParameter('userid'))), __FILE__, __LINE__); // Output message loadTemplate('admin_settings_saved', false, $message); } else { - // Please call me over other scripts... ;) - loadTemplate('admin_settings_saved', false, '{--HOLIDAY_NO_DIRECT_CALL--}'); + // Add member selection box + addMemberSelectionBox(); } // [EOF] diff --git a/templates/de/html/admin/admin_form_selection_box.tpl b/templates/de/html/admin/admin_form_selection_box.tpl new file mode 100644 index 0000000000..ff85013754 --- /dev/null +++ b/templates/de/html/admin/admin_form_selection_box.tpl @@ -0,0 +1,21 @@ +
+
+ + +
+
+ {--ADMIN_SELECTION_BOX_TITLE--} +
+
+ {--ADMIN_SELECT_USER--}: + +
+ +
+
+
diff --git a/templates/de/html/admin/admin_member_selection_box.tpl b/templates/de/html/admin/admin_member_selection_box.tpl index ff85013754..11f5d85d80 100644 --- a/templates/de/html/admin/admin_member_selection_box.tpl +++ b/templates/de/html/admin/admin_member_selection_box.tpl @@ -1,21 +1 @@ -
-
- - -
-
- {--ADMIN_SELECTION_BOX_TITLE--} -
-
- {--ADMIN_SELECT_USER--}: - -
- -
-
-
+ -- 2.39.5