From: Roland Häder Date: Fri, 28 May 2010 18:26:44 +0000 (+0000) Subject: Added new files from EL branch X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=33989fa4a558317899c3e68cb51e1be552c4ce8e;p=mailer.git Added new files from EL branch --- diff --git a/inc/modules/admin/what-list_network_array_translation.php b/inc/modules/admin/what-list_network_array_translation.php new file mode 100644 index 0000000000..0777636159 --- /dev/null +++ b/inc/modules/admin/what-list_network_array_translation.php @@ -0,0 +1,151 @@ + 0) { + // List all entries + $OUT = ''; $SW = 2; + while ($row = SQL_FETCHARRAY($result)) { + // Add/translate some data + $row['sw'] = $SW; + + // Add it to network if the type matches selected + if ($row['network_type_id'] == getRequestParameter('network_type_id')) { + // Matches, then add it for disabling this entry + $GLOBALS['network_array_translation_disabled'][$row['network_array_index']] = true; + } // END - if + + // Add row template and switch color + $OUT .= loadTemplate('admin_list_network_array_translation_row', true, $row); + $SW = 3 - $SW; + } // END - while + + // Prepare data for template + $content = array( + 'rows' => $OUT, + 'network_id' => bigintval(getRequestParameter('network')), + 'network_title' => $networkData['network_title'], + 'network_reflink' => $networkData['network_reflink'], + ); + + // Load main template + loadTemplate('admin_list_network_array_translation', false, $content); + } else { + // No entries found + loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_NETWORK_ARRAY_TRANSLATION_404', $networkData['network_title'])); + } + + // Free result + SQL_FREERESULT($result); + + // Add options list for network type + $networkData['type_options'] = generateNetworkTypeOptions(getRequestParameter('network_type_id')); + + // Add form for adding new array_translation pair + loadTemplate('admin_add_network_array_translation', false, $networkData); +} else { + // Generate network list for this script + outputHtml(generateAdminNetworkList()); +} + +// [EOF] +?> diff --git a/templates/de/html/admin/admin_add_network_array_translation.tpl b/templates/de/html/admin/admin_add_network_array_translation.tpl new file mode 100644 index 0000000000..0c5ae2edd5 --- /dev/null +++ b/templates/de/html/admin/admin_add_network_array_translation.tpl @@ -0,0 +1,46 @@ +
+
+ + + + + + + + + + + + + + + + + + + +
+ {--ADMIN_NETWORK_ARRAY_TRANSLATION_ADD_TITLE--} + +
{--ADMIN_NETWORK_TYPE_SELECT--}: + +
{--ADMIN_NETWORK_ARRAY_TRANSLATION_INDEX--}: + +
{--ADMIN_NETWORK_ARRAY_TRANSLATION_INDEX_TRANSLATION--}: + +
+
+
+ +
+ {--ADMIN_NETWORK_ARRAY_TRANSLATION_ADD_NOTE--} +
diff --git a/templates/de/html/select/select_network_type_box.tpl b/templates/de/html/select/select_network_type_box.tpl new file mode 100644 index 0000000000..0fee2b9b3f --- /dev/null +++ b/templates/de/html/select/select_network_type_box.tpl @@ -0,0 +1,28 @@ +
+
+ + + +
+
+
+ {--ADMIN_NETWORK_TYPE_SELECT_TITLE--} +
+ + +
+ +
+ $content[selection_box] +
+ + +
+
+
diff --git a/templates/de/html/select/select_network_type_option.tpl b/templates/de/html/select/select_network_type_option.tpl new file mode 100644 index 0000000000..652a9ba278 --- /dev/null +++ b/templates/de/html/select/select_network_type_option.tpl @@ -0,0 +1 @@ + diff --git a/templates/de/html/tlock_message.tpl b/templates/de/html/tlock_message.tpl new file mode 100644 index 0000000000..d4d661039e --- /dev/null +++ b/templates/de/html/tlock_message.tpl @@ -0,0 +1,12 @@ +
+ {--MEMBER_URL_TIME_LOCK--} +
+
+ {--CONFIG_URL_TLOCK--} + $content[hours] {--_HOURS--}, + $content[minutes] {--_MINUTES--} {--_AND--} + $content[seconds] {--_SECONDS--} +
+
+ {--MEMBER_LAST_TLOCK--}: $content[timestamp] +