From: Roland Häder Date: Sun, 21 Oct 2012 18:35:10 +0000 (+0000) Subject: Templates renamed, missing language id added (still no email template for surfbar... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=62220d980d8f0d189e7ebe8d1a1335af590133d3;p=mailer.git Templates renamed, missing language id added (still no email template for surfbar actions) --- diff --git a/.gitattributes b/.gitattributes index 2f1d4fc965..5a852719eb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2167,6 +2167,12 @@ templates/de/html/removeip_level.tpl svneol=native#text/plain templates/de/html/runtime_fatal_row.tpl svneol=native#text/plain templates/de/html/runtime_fatal_table.tpl svneol=native#text/plain templates/de/html/select/.htaccess svneol=native#text/plain +templates/de/html/select/select_actions_action_surfbar_box.tpl svneol=native#text/plain +templates/de/html/select/select_actions_action_surfbar_option.tpl svneol=native#text/plain +templates/de/html/select/select_actions_new_status_surfbar_box.tpl svneol=native#text/plain +templates/de/html/select/select_actions_new_status_surfbar_option.tpl svneol=native#text/plain +templates/de/html/select/select_actions_status_surfbar_box.tpl svneol=native#text/plain +templates/de/html/select/select_actions_status_surfbar_option.tpl svneol=native#text/plain templates/de/html/select/select_admins_box.tpl svneol=native#text/plain templates/de/html/select/select_admins_option.tpl svneol=native#text/plain templates/de/html/select/select_forced_ads_id_popup_box.tpl svneol=native#text/plain diff --git a/inc/language/surfbar_de.php b/inc/language/surfbar_de.php index fed5628dec..480875f754 100644 --- a/inc/language/surfbar_de.php +++ b/inc/language/surfbar_de.php @@ -191,6 +191,7 @@ addMessages(array( 'ADMIN_EDIT_SURFBAR_URLS_SUBJECT' => "[Surfbar:] URL geändert", 'ADMIN_ACTIVE_SURFBAR_URLS_SUBJECT' => "[Surfbar:] Freigabe einer URL", 'ADMIN_LOCKED_SURFBAR_URLS_SUBJECT' => "[Surfbar:] Sperrung einer URL", + 'ADMIN_EDIT_SURFBAR_ACTIONS_SUBJECT' => "[Surfbar:] Mitgliederaktion geändert", // Subject lines for members 'MEMBER_SURFBAR_NOTIFY_URL_UNLOCK_SUBJECT' => "[Surfbar:] Ihre URL wurde aufgenommen", diff --git a/inc/libs/network_functions.php b/inc/libs/network_functions.php index 4752ac40c1..2a52309768 100644 --- a/inc/libs/network_functions.php +++ b/inc/libs/network_functions.php @@ -1970,7 +1970,7 @@ function doAdminNetworkProcessEditHandlerTypesConfig ($displayMessage = TRUE) { } // END - foreach // Convert time selections in POST data - convertSelectionsToEpocheTimeInPostArray('network_max_reload_time_ye'); + convertSelectionsToEpocheTimeInPostData('network_max_reload_time_ye'); // Is there already an entry? if (!isNetworkTypeHandlerConfigured(getRequestElement('network_id'), getRequestElement('network_type_id'))) { diff --git a/inc/libs/surfbar_functions.php b/inc/libs/surfbar_functions.php index bcb6e6ca07..e0911aee6d 100644 --- a/inc/libs/surfbar_functions.php +++ b/inc/libs/surfbar_functions.php @@ -1936,7 +1936,7 @@ function doTemplateSurfbarActionsActionSelectionBox ($templateName, $clear = FAL ); // Handle it over to generateSelectionBoxFromArray() - $content = generateSelectionBoxFromArray($actionsAction, 'surfbar_actions_action', 'actions_action', '', '', '', $default, '', FALSE, TRUE); + $content = generateSelectionBoxFromArray($actionsAction, 'actions_action', 'actions_action', '', '_surfbar', '', $default, '', FALSE, TRUE); // Return prepared content return $content; @@ -1957,7 +1957,7 @@ function doTemplateSurfbarActionsStatusSelectionBox ($templateName, $clear = FAL ); // Handle it over to generateSelectionBoxFromArray() - $content = generateSelectionBoxFromArray($status, 'surfbar_actions_status', 'actions_status', '', '', '', $default, '', FALSE, TRUE); + $content = generateSelectionBoxFromArray($status, 'actions_status', 'actions_status', '', '_surfbar', '', $default, '', FALSE, TRUE); // Return prepared content return $content; @@ -1978,7 +1978,7 @@ function doTemplateSurfbarActionsNewStatusSelectionBox ($templateName, $clear = ); // Handle it over to generateSelectionBoxFromArray() - $content = generateSelectionBoxFromArray($status, 'surfbar_actions_new_status', 'actions_new_status', '', '', '', $default, '', TRUE, TRUE); + $content = generateSelectionBoxFromArray($status, 'actions_new_status', 'actions_new_status', '', '_surfbar', '', $default, '', TRUE, TRUE); // Return prepared content return $content; diff --git a/inc/modules/admin/what-add_surfbar_url.php b/inc/modules/admin/what-add_surfbar_url.php index 969aed280f..a8ad93716f 100644 --- a/inc/modules/admin/what-add_surfbar_url.php +++ b/inc/modules/admin/what-add_surfbar_url.php @@ -46,7 +46,7 @@ addYouAreHereLink('admin', __FILE__); // Was an URL added? if ((isFormSent('add')) && (isPostRequestElementSet('url'))) { // Convert the "reload selections" - convertSelectionsToEpocheTimeInPostArray('reload_ye'); + convertSelectionsToEpocheTimeInPostData('reload_ye'); // Then add this URL if (doSurfbaradminAddUrl(postRequestElement('url'), postRequestElement('limit'), postRequestElement('reload'))) { diff --git a/templates/de/html/admin/admin_edit_surfbar_actions_row.tpl b/templates/de/html/admin/admin_edit_surfbar_actions_row.tpl index 9dac53adb3..c3b0490366 100644 --- a/templates/de/html/admin/admin_edit_surfbar_actions_row.tpl +++ b/templates/de/html/admin/admin_edit_surfbar_actions_row.tpl @@ -5,18 +5,18 @@ $content[actions_id] - {--ADMIN_CHANGE_SURFBAR_ACTIONS_STATUS + {--ADMIN_CHANGE_SURFBAR_ACTIONS_STATUS--} {%template,SurfbarActionsStatusSelectionBox=$content[actions_id]%} - {--ADMIN_CHANGE_SURFBAR_ACTIONS_ACTION + {--ADMIN_CHANGE_SURFBAR_ACTIONS_ACTION--} {%template,SurfbarActionsActionSelectionBox=$content[actions_id]%} - {--ADMIN_CHANGE_SURFBAR_ACTIONS_NEW_STATUS + {--ADMIN_CHANGE_SURFBAR_ACTIONS_NEW_STATUS--} {%template,SurfbarActionsNewStatusSelectionBox=$content[actions_id]%} diff --git a/templates/de/html/select/select_actions_action_surfbar_box.tpl b/templates/de/html/select/select_actions_action_surfbar_box.tpl new file mode 100644 index 0000000000..8bc5eb9120 --- /dev/null +++ b/templates/de/html/select/select_actions_action_surfbar_box.tpl @@ -0,0 +1,3 @@ +
+ $content[selection_box] +
diff --git a/templates/de/html/select/select_actions_action_surfbar_option.tpl b/templates/de/html/select/select_actions_action_surfbar_option.tpl new file mode 100644 index 0000000000..775e87e22c --- /dev/null +++ b/templates/de/html/select/select_actions_action_surfbar_option.tpl @@ -0,0 +1,3 @@ + diff --git a/templates/de/html/select/select_actions_new_status_surfbar_box.tpl b/templates/de/html/select/select_actions_new_status_surfbar_box.tpl new file mode 100644 index 0000000000..8bc5eb9120 --- /dev/null +++ b/templates/de/html/select/select_actions_new_status_surfbar_box.tpl @@ -0,0 +1,3 @@ +
+ $content[selection_box] +
diff --git a/templates/de/html/select/select_actions_new_status_surfbar_option.tpl b/templates/de/html/select/select_actions_new_status_surfbar_option.tpl new file mode 100644 index 0000000000..10a96488c0 --- /dev/null +++ b/templates/de/html/select/select_actions_new_status_surfbar_option.tpl @@ -0,0 +1,3 @@ + diff --git a/templates/de/html/select/select_actions_status_surfbar_box.tpl b/templates/de/html/select/select_actions_status_surfbar_box.tpl new file mode 100644 index 0000000000..8bc5eb9120 --- /dev/null +++ b/templates/de/html/select/select_actions_status_surfbar_box.tpl @@ -0,0 +1,3 @@ +
+ $content[selection_box] +
diff --git a/templates/de/html/select/select_actions_status_surfbar_option.tpl b/templates/de/html/select/select_actions_status_surfbar_option.tpl new file mode 100644 index 0000000000..1e436ddf4a --- /dev/null +++ b/templates/de/html/select/select_actions_status_surfbar_option.tpl @@ -0,0 +1,3 @@ + diff --git a/templates/de/html/select/select_surfbar_actions_action_box.tpl b/templates/de/html/select/select_surfbar_actions_action_box.tpl index 8bc5eb9120..11f5d85d80 100644 --- a/templates/de/html/select/select_surfbar_actions_action_box.tpl +++ b/templates/de/html/select/select_surfbar_actions_action_box.tpl @@ -1,3 +1 @@ -
- $content[selection_box] -
+ diff --git a/templates/de/html/select/select_surfbar_actions_action_option.tpl b/templates/de/html/select/select_surfbar_actions_action_option.tpl index 775e87e22c..11f5d85d80 100644 --- a/templates/de/html/select/select_surfbar_actions_action_option.tpl +++ b/templates/de/html/select/select_surfbar_actions_action_option.tpl @@ -1,3 +1 @@ - + diff --git a/templates/de/html/select/select_surfbar_actions_new_status_box.tpl b/templates/de/html/select/select_surfbar_actions_new_status_box.tpl index 8bc5eb9120..11f5d85d80 100644 --- a/templates/de/html/select/select_surfbar_actions_new_status_box.tpl +++ b/templates/de/html/select/select_surfbar_actions_new_status_box.tpl @@ -1,3 +1 @@ -
- $content[selection_box] -
+ diff --git a/templates/de/html/select/select_surfbar_actions_new_status_option.tpl b/templates/de/html/select/select_surfbar_actions_new_status_option.tpl index 10a96488c0..11f5d85d80 100644 --- a/templates/de/html/select/select_surfbar_actions_new_status_option.tpl +++ b/templates/de/html/select/select_surfbar_actions_new_status_option.tpl @@ -1,3 +1 @@ - + diff --git a/templates/de/html/select/select_surfbar_actions_status_box.tpl b/templates/de/html/select/select_surfbar_actions_status_box.tpl index 8bc5eb9120..11f5d85d80 100644 --- a/templates/de/html/select/select_surfbar_actions_status_box.tpl +++ b/templates/de/html/select/select_surfbar_actions_status_box.tpl @@ -1,3 +1 @@ -
- $content[selection_box] -
+ diff --git a/templates/de/html/select/select_surfbar_actions_status_option.tpl b/templates/de/html/select/select_surfbar_actions_status_option.tpl index 1e436ddf4a..11f5d85d80 100644 --- a/templates/de/html/select/select_surfbar_actions_status_option.tpl +++ b/templates/de/html/select/select_surfbar_actions_status_option.tpl @@ -1,3 +1 @@ - + diff --git a/templates/xml/admin/admin_edit_do_surfbar_actions.xml b/templates/xml/admin/admin_edit_do_surfbar_actions.xml new file mode 100644 index 0000000000..08ca40abf1 --- /dev/null +++ b/templates/xml/admin/admin_edit_do_surfbar_actions.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +