templates/de/html/admin/admin_edit_email_max_rec_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_email_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_email_select.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_forced_ads.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_forced_ads_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_guest_menu.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_guest_menu_form.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_guest_menu_row.tpl svneol=native#text/plain
templates/en/html/welcome.tpl svneol=native#text/plain
templates/xml/.htaccess svneol=native#text/plain
templates/xml/admin/.htaccess svneol=native#text/plain
+theme/README.txt svneol=native#text/plain
theme/business/images/code_bg.jpg -text svneol=unset#image/jpeg
theme/business/images/code_bg.png -text svneol=unset#image/png
theme/business/theme.php svneol=native#text/plain
'ADMIN_ENTER_FORCED_ALTERNATE_TEXT' => "Alternativen Text/Titel des Forced-Werbemittels eingeben:",
'ADMIN_ENTER_FORCED_AD_WIDTH' => "Breite (in Pixel) des Forced-Werbemittels eingeben:",
'ADMIN_ENTER_FORCED_AD_HEIGHT' => "Höhe (in Pixel) des Forced-Werbemittels eingeben:",
- 'ADMIN_FORCED_AD_TYPE_UNKNOWN' => "Unbekanntes Forced-Werbemittel %s erkannt.",
- 'ADMIN_FORCED_AD_TYPE_BANNER' => "Forced-Banner",
- 'ADMIN_FORCED_AD_TYPE_TEXTLINK' => "Forced-Textlink",
- 'ADMIN_FORCED_AD_TYPE_POPUP' => "Forced-PopUp",
+ 'ADMIN_FORCED_ADS_TYPE_UNKNOWN' => "Unbekanntes Forced-Werbemittel %s erkannt.",
+ 'ADMIN_FORCED_ADS_TYPE_BANNER' => "Forced-Banner",
+ 'ADMIN_FORCED_ADS_TYPE_TEXTLINK' => "Forced-Textlink",
+ 'ADMIN_FORCED_ADS_TYPE_POPUP' => "Forced-PopUp",
'ADMIN_LIST_FORCED_ADS_TITLE' => "Auflisten aller Forced-Werbemittel",
'ADMIN_FORCED_ADS_TYPE' => "Forced-Werbemittel",
'ADMIN_FORCED_ADS_VIEWS_COUNTER' => "Anzahl Forced-Views",
'ADMIN_FORCED_ADS_CLICKS_COUNTER' => "Anzahl Forced-Klicks",
'ADMIN_FORCED_ADS_HAS_FRAMEBREAKER' => "Framekiller?",
- 'ADMIN_FORCED_ADS_ADDED' => "Hinzugefügt",
+ 'ADMIN_FORCED_ADS_ADDED' => "Hinzugefügt:",
+ 'ADMIN_CHANGE_FORCED_ADS_AD_URL' => "Banner-URL ändern:",
+ 'ADMIN_CHANGE_FORCED_ADS_CLICK_URL' => "Klick-URL ändern:",
+ 'ADMIN_CHANGE_FORCED_ADS_ALT_TEXT' => "Alternativen Text ändern:",
+ 'ADMIN_CHANGE_FORCED_ADS_WIDTH' => "Breite ändern:",
+ 'ADMIN_CHANGE_FORCED_ADS_HEIGHT' => "Höhe ändern:",
+ 'ADMIN_CHANGE_FORCED_ADS_USERID' => "Zugewiesenes Mitglied ändern:",
+ 'ADMIN_CHANGE_FORCED_ADS_TYPE' => "Art ändern:",
+ 'ADMIN_CHANGE_FORCED_ADS_FRAMEBREAKER' => "Ändern ob ein Framekiller vorhanden ist:",
+ 'ADMIN_EDIT_FORCED_ADS_TITLE' => "Ändern von Forced-Werbemitteln:",
// Admin - forced campaigns
'ADMIN_FORCED_CAMPAIGNS_404' => "Es wurde keine Forced-Kampagnen gefunden.",
// Earning names
'EARNING_PROVIDER_FORCED_POPUP' => "Forced-PopUp",
+
+ // Submit buttons
+ 'ADMIN_FORCED_ADS_CHANGE_SUBMIT' => "Forced-Werbemittel ändern",
+
));
// [EOF]
'ADMIN_NETWORK_API_TRANSLATION_ALREADY_ADDED' => "Eine Array-Element-Übersetzung <span class=\"data\">%s</span> existiert bereits.",
// - Form titles
'ADMIN_NETWORK_ADD_TITLE' => "Neues Werbenetzwerk hinzufügen - Allgemeine Daten",
- 'ADMIN_NETWORK_EDIT_TITLE' => "Werbenetzwerk editieren - Allgemeine Daten",
- 'ADMIN_NETWORK_DELETE_TITLE' => "Werbenetzwerk löschen - Allgemeine Daten",
+ 'ADMIN_EDIT_NETWORK_DATA_TITLE' => "Werbenetzwerk editieren - Allgemeine Daten",
+ 'ADMIN_DELETE_NETWORK_DATA_TITLE' => "Werbenetzwerk löschen - Allgemeine Daten",
'ADMIN_NETWORK_SELECT_TITLE' => "Bitte wählen Sie ein Werbenetzwerk aus",
'ADMIN_NETWORK_TYPE_SELECT_TITLE' => "Bitte wählen Sie einen Werbeart-Handler aus",
'ADMIN_NETWORK_TYPES_ADD_TITLE' => "Werbenetzwerk verwalten - Neue Werbeart hinzufügen",
}
// Translate the status IN/OUT
-function translateForcedAdType ($status) {
+function translateForcedAdsType ($status) {
// Is the status null or empty?
if (is_null($status)) {
// Is NULL
} // END - if
// Default status is unknown
- $return = '{%message,ADMIN_FORCED_AD_TYPE_UNKNOWN=' . $status . '%}';
+ $return = '{%message,ADMIN_FORCED_ADS_TYPE_UNKNOWN=' . $status . '%}';
// Construct message id
- $messageId = 'ADMIN_FORCED_AD_TYPE_' . $status;
+ $messageId = 'ADMIN_FORCED_ADS_TYPE_' . $status;
// Is it there?
if (isMessageIdValid($messageId)) {
debug_report_bug(__FUNCTION__, __LINE__, 'content=' . print_r($content, true));
}
+// Generator (somewhat getter) for network type options
+function generateForcedAdsTypeOptions ($type = NULL) {
+ // Is this cached?
+ if (!isset($GLOBALS[__FUNCTION__][$type])) {
+ // Generate output and cache it
+ $GLOBALS[__FUNCTION__][$type] = generateOptionList(
+ '/ARRAY/',
+ array(
+ 'BANNER',
+ 'TEXTLINK',
+ 'POPUP',
+ ),
+ array(),
+ $type,
+ '', '',
+ array(),
+ 'translateForcedAdsType'
+ );
+ } // END - if
+
+ // Return content
+ return $GLOBALS[__FUNCTION__][$type];
+}
+
// [EOF]
?>
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
- <strong>{--ADMIN_NETWORK_DELETE_TITLE--}</strong>
+ <strong>{--ADMIN_DELETE_NETWORK_DATA_TITLE--}</strong>
</td>
</tr>
$content
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_forced_ads&do=edit_forced_ads%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td align="center" class="table_header bottom" height="25" colspan="4">
+ <strong>{--ADMIN_EDIT_FORCED_ADS_TITLE--}</strong>
+ </td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="4" class="table_footer">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_FORCED_ADS_CHANGE_SUBMIT--}" />
+ </td>
+ </tr>
+</table>
+</form>
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%}">
+ {--ADMIN_FORCED_ADS_ADDED--}<br />
+ <input type="hidden" name="sel[$content[forced_ads_id]]" value="1" />
+ <strong>$content[forced_ads_added]</strong>
+ </td>
+ <td class="{%template,ColorSwitch%}">
+ {--ADMIN_CHANGE_FORCED_ADS_AD_URL--}<br />
+ <input type="text" class="form_field" name="forced_ads_ad_url[$content[forced_ads_id]]" size="20" maxlength="255" value="$content[forced_ads_ad_url]" />
+ </td>
+</tr>
+<tr>
+ <td class="{%template,ColorSwitch%}">
+ {--ADMIN_CHANGE_FORCED_ADS_ALT_TEXT--}<br />
+ <input type="text" class="form_field" name="forced_ads_alt_text[$content[forced_ads_id]]" size="15" maxlength="255" value="$content[forced_ads_alt_text]" />
+ </td>
+ <td class="{%template,ColorSwitch%}">
+ {--ADMIN_CHANGE_FORCED_ADS_CLICK_URL--}<br />
+ <input type="text" class="form_field" name="forced_ads_click_url[$content[forced_ads_id]]" size="30" maxlength="255" value="$content[forced_ads_click_url]" />
+ </td>
+</tr>
+<tr>
+ <td class="{%template,ColorSwitch%}">
+ {--ADMIN_CHANGE_FORCED_ADS_WIDTH--}<br />
+ <input type="text" class="form_field" name="forced_ads_width[$content[forced_ads_id]]" size="4" maxlength="4" value="$content[forced_ads_width]" />
+ </td>
+ <td class="{%template,ColorSwitch%}">
+ {--ADMIN_CHANGE_FORCED_ADS_HEIGHT--}<br />
+ <input type="text" class="form_field" name="forced_ads_height[$content[forced_ads_id]]" size="4" maxlength="4" value="$content[forced_ads_height]" />
+ </td>
+</tr>
+<tr>
+ <td class="{%template,ColorSwitch%}">
+ {--ADMIN_CHANGE_FORCED_ADS_USERID--}<br />
+ $content[forced_ads_userid]
+ </td>
+ <td class="{%template,ColorSwitch%}">
+ {--ADMIN_CHANGE_FORCED_ADS_TYPE--}<br />
+ <select name="forced_ads_type[$content[forced_ads_id]]" class="form_select" size="1">
+ {%pipe,generateForcedAdsTypeOptions=$content[forced_ads_type]%}
+ </select>
+ </td>
+</tr>
+<tr>
+ <td class="{%template,ColorSwitch%} bottom">
+ {--ADMIN_CHANGE_FORCED_ADS_FRAMEBREAKER--}<br />
+ <select name="forced_ads_framebreaker[$content[forced_ads_id]]" class="form_select" size="1">
+ {%pipe,generateYesNoOptionList=$content[forced_ads_framebreaker]%}
+ </select>
+ </td>
+ <td class="{%template,ColorSwitch%} bottom seperator"> </td>
+</tr>
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td align="center" class="table_header bottom" height="25" colspan="4">
- <strong>{--ADMIN_NETWORK_EDIT_TITLE--}</strong>
+ <strong>{--ADMIN_EDIT_NETWORK_DATA_TITLE--}</strong>
</td>
</tr>
$content
<a href="{%pipe,generateFrametesterUrl=$content[forced_ads_click_url]%}" target="_blank" title="{--ADMIN_TEST_URL--} - $content[forced_ads_alt_text]">{--ADMIN_TEST_URL--}</a>
</td>
<td align="center" class="bottom right {%template,ColorSwitch%}">
- {%pipe,translateForcedAdType=$content[forced_ads_type]%}
+ {%pipe,translateForcedAdsType=$content[forced_ads_type]%}
</td>
<td align="center" class="bottom right {%template,ColorSwitch%}">
{%pipe,translateYesNo=$content[forced_ads_framebreaker]%}
<option value="$content[type]">
- {%pipe,translateForcedAdType=$content[type]%}
+ {%pipe,translateForcedAdsType=$content[type]%}
</option>
--- /dev/null
+Please read these notes before creating your own design:
+--------------------------------------------------------
+
+Design names all lower-case, a-z, numbers, dash and underscore. Spaces in the
+name are not spported.