templates/de/html/admin/admin_del_email_bonus.tpl -text
templates/de/html/admin/admin_del_email_normal.tpl -text
templates/de/html/admin/admin_del_email_notify.tpl -text
+templates/de/html/admin/admin_del_network_types.tpl -text
+templates/de/html/admin/admin_del_network_types_row.tpl -text
templates/de/html/admin/admin_del_networks.tpl -text
templates/de/html/admin/admin_del_networks_row.tpl -text
templates/de/html/admin/admin_del_payments.tpl -text
'ADMIN_NETWORK_SELECT_TITLE' => "Werbenetzwerk auswählen",
'ADMIN_NETWORK_TYPE_ADD_TITLE' => "Werbenetzwerk verwalten - Neue Werbeart hinzufügen",
'ADMIN_NETWORK_TYPE_EDIT_TITLE' => "Werbeart-Handler editieren",
+ 'ADMIN_NETWORK_TYPE_DELETE_TITLE' => "Werbeart-Handle löschen",
+ 'ADMIN_NETWORK_TYPE_LIST_TITLE' => "Werbeart-Handler auflisten und verwalten",
// - Link titles
'ADMIN_NETWORK_LIST_TYPES_LINK_TITLE' => "Weiter zu den Werbearten",
'ADMIN_NETWORK_LIST_PARAMS_LINK_TITLE' => "Weiter zu den Abfrageparametern",
'ADMIN_NETWORK_LIST_CODE_TYPES_LINK_TITLE' => "Weiter zu den Rückgabewerten",
'ADMIN_NETWORK_LIST_CODES_LINK_TITLE' => "Weiter zu den Fehlercodes",
- 'ADMIN_NETWORK_ADDED_TITLE' => "Allgemeine Werbenetzwerkdaten hinzugefügt.",
- 'ADMIN_NETWORK_TYPE_ADDED_TITLE' => "Werbeart-Handler hinzugefügt.",
- 'ADMIN_NETWORK_TYPE_LIST_TITLE' => "Werbeart-Handler auflisten und verwalten",
// - Buttons
'ADMIN_NETWORK_ADD' => "Allgemeine Daten anlegen",
'ADMIN_NETWORK_EDIT' => "Editieren",
'ADMIN_NETWORK_TYPE_EDIT' => "Editieren",
'ADMIN_NETWORK_TYPE_DELETE' => "Löschen",
'ADMIN_NETWORK_TYPE_CHANGE' => "Handler ändern",
+ 'ADMIN_NETWORK_TYPE_REMOVE' => "Handler entfernen",
+ // - Success titles
+ 'ADMIN_NETWORK_ADDED_TITLE' => "Allgemeine Werbenetzwerkdaten hinzugefügt.",
+ 'ADMIN_NETWORK_TYPE_ADDED_TITLE' => "Werbeart-Handler hinzugefügt.",
// - Success nots
'ADMIN_NETWORK_UPDATED' => "Es wurden <span class=\"data\">%s</span> Einträge in den allgemeinen Daten aktualisiert.",
'ADMIN_NETWORK_REMOVED' => "Es wurden <span class=\"data\">%s</span> Einträge aus den allgemeinen Dateen gelöscht.",
// Add row template for deleting
$OUT .= loadTemplate('admin_edit_network_types_row', true, $networkTypeData);
} elseif (isPostRequestElementSet('del')) {
+ // Fix empty banner URL
+ if (trim($networkTypeData['network_type_banner_url']) == '') $networkTypeData['network_type_banner_url'] = '---';
+
// Add row template for deleting
$OUT .= loadTemplate('admin_del_network_types_row', true, $networkTypeData);
} else {
--- /dev/null
+<div align="center">
+<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=list_network_types&do=removenetworktype%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
+ <tr>
+ <td align="center" class="admin_title bottom" height="25" colspan="2">
+ <div>
+ <strong>{--ADMIN_NETWORK_TYPE_DELETE_TITLE--}</strong>
+ </div>
+ <div class="tiny">
+ (<a href="$content[network_data][network_reflink]" title="$content[network_data][network_title]" target="_blank">$content[network_data][network_title]</a>)
+ </div>
+ </td>
+ </tr>
+ $content[rows]
+ <tr>
+ <td colspan="2" class="admin_footer">
+ <input type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" name="remove" class="admin_delete" value="{--ADMIN_NETWORK_TYPE_REMOVE--}" />
+ </td>
+ </tr>
+</table>
+</form>
+
+<div class="admin_note">
+ {--ADMIN_NETWORK_TYPE_LIST_NOTE--}
+</div>
+</div>
--- /dev/null
+<tr>
+ <td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_TYPE_HANDLE--}:</td>
+ <td class="switch_sw$content[sw]">
+ <input type="hidden" name="sel[$content[network_id]]" value="1" />
+ $content[network_type_handle]
+ </td>
+</tr>
+<tr>
+ <td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_TYPE_API_URL--}:</td>
+ <td class="switch_sw$content[sw]">
+ $content[network_type_api_url]
+ </td>
+</tr>
+<tr>
+ <td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_TYPE_CLICK_URL--}:</td>
+ <td class="switch_sw$content[sw]">
+ $content[network_type_click_url]
+ </td>
+</tr>
+<tr>
+ <td class="switch_sw$content[sw] bottom" style="padding-left:5px">{--ADMIN_NETWORK_TYPE_BANNER_URL--}:</td>
+ <td class="switch_sw$content[sw] bottom">
+ $content[network_type_banner_url]
+ </td>
+</tr>
-<tr><td colspan="4" class="switch_sw$content[sw] seperator" height="5"> </td></tr>
<tr>
<td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_TITLE--}:</td>
<td class="switch_sw$content[sw]">
$content[network_short_name]
</td>
</tr>
-<tr><td colspan="4" class="switch_sw$content[sw] seperator" height="5"> </td></tr>
<tr>
<td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_REFLINK--}:</td>
<td class="switch_sw$content[sw]">
$content[network_data_seperator]
</td>
</tr>
-<tr><td colspan="4" class="switch_sw$content[sw] seperator" height="5"> </td></tr>
<tr>
<td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_REQUEST_TYPE--}:</td>
<td class="switch_sw$content[sw]">
$content[network_row_seperator]
</td>
</tr>
-<tr><td colspan="4" class="switch_sw$content[sw] seperator" height="5"> </td></tr>
<tr>
- <td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_CHARSET--}:</td>
- <td class="switch_sw$content[sw]">
+ <td class="switch_sw$content[sw] bottom" style="padding-left:5px">{--ADMIN_NETWORK_CHARSET--}:</td>
+ <td class="switch_sw$content[sw] bottom">
$content[network_charset]
</td>
- <td class="switch_sw$content[sw] seperator" colspan="2"> </td>
+ <td class="switch_sw$content[sw] bottom seperator" colspan="2"> </td>
</tr>
-<tr><td colspan="4" class="bottom switch_sw$content[sw] seperator" height="6"> </td></tr>
<div align="center">
-<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=list_networks&network=$content[network_data][network_id]&do=changenetworktype%}" method="post">
+<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=list_network_types&network=$content[network_data][network_id]&do=changenetworktype%}" method="post">
<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
<tr>
<td align="center" class="admin_title bottom" height="25" colspan="2">
-<tr><td colspan="4" class="switch_sw$content[sw] seperator" height="5"> </td></tr>
<tr>
<td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_TITLE--}:</td>
<td class="switch_sw$content[sw]">
<input type="text" name="network_short_name[$content[network_id]]" class="admin_normal" size="10" maxlength="50" value="$content[network_short_name]" />
</td>
</tr>
-<tr><td colspan="4" class="switch_sw$content[sw] seperator" height="5"> </td></tr>
<tr>
<td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_REFLINK--}:</td>
<td class="switch_sw$content[sw]">
<input type="text" name="network_data_seperator[$content[network_id]]" class="admin_normal" size="4" maxlength="4" value="$content[network_data_seperator]" />
</td>
</tr>
-<tr><td colspan="4" class="switch_sw$content[sw] seperator" height="5"> </td></tr>
<tr>
<td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_REQUEST_TYPE--}:</td>
<td class="switch_sw$content[sw]">
<input type="text" name="network_row_seperator[$content[network_id]]" class="admin_normal" size="4" maxlength="4" value="$content[network_row_seperator]" />
</td>
</tr>
-<tr><td colspan="4" class="switch_sw$content[sw] seperator" height="5"> </td></tr>
<tr>
- <td class="switch_sw$content[sw]" style="padding-left:5px">{--ADMIN_NETWORK_CHARSET--}:</td>
- <td class="switch_sw$content[sw]">
+ <td class="switch_sw$content[sw] bottom" style="padding-left:5px">{--ADMIN_NETWORK_CHARSET--}:</td>
+ <td class="switch_sw$content[sw] bottom">
<input type="text" name="network_charset[$content[network_id]]" class="admin_normal" size="15" maxlength="20" value="$content[network_charset]" />
</td>
- <td class="switch_sw$content[sw] seperator" colspan="2"> </td>
+ <td class="switch_sw$content[sw] bottom seperator" colspan="2"> </td>
</tr>
-<tr><td colspan="4" class="bottom switch_sw$content[sw] seperator" height="6"> </td></tr>