templates/de/emails/admin/admin_coupon_purge.tpl svneol=native#text/plain
templates/de/emails/admin/admin_coupon_purge_row.tpl svneol=native#text/plain
templates/de/emails/admin/admin_del_surfbar_urls.tpl svneol=native#text/plain
+templates/de/emails/admin/admin_delete_mem_delete_user_subids.tpl svneol=native#text/plain
templates/de/emails/admin/admin_delete_surfbar_urls.tpl svneol=native#text/plain
templates/de/emails/admin/admin_delete_user_subids.tpl svneol=native#text/plain
templates/de/emails/admin/admin_earning_added.tpl svneol=native#text/plain
templates/de/emails/admin/admin_earning_updated.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_forced_ads.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_forced_costs.tpl svneol=native#text/plain
+templates/de/emails/admin/admin_edit_mem_edit_user_subids.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_points_data.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_surfbar_urls.tpl svneol=native#text/plain
templates/de/emails/admin/admin_edit_user_subids.tpl svneol=native#text/plain
templates/de/emails/member/member_coupon_code.tpl svneol=native#text/plain
templates/de/emails/member/member_del_surfbar_urls.tpl svneol=native#text/plain
templates/de/emails/member/member_delete_links.tpl svneol=native#text/plain
+templates/de/emails/member/member_delete_mem_delete_user_subids.tpl svneol=native#text/plain
templates/de/emails/member/member_delete_surfbar_urls.tpl svneol=native#text/plain
templates/de/emails/member/member_delete_user_subids.tpl svneol=native#text/plain
templates/de/emails/member/member_doubler.tpl svneol=native#text/plain
templates/de/emails/member/member_earning_added.tpl svneol=native#text/plain
templates/de/emails/member/member_earning_updated.tpl svneol=native#text/plain
+templates/de/emails/member/member_edit_mem_edit_user_subids.tpl svneol=native#text/plain
templates/de/emails/member/member_edit_surfbar_urls.tpl svneol=native#text/plain
templates/de/emails/member/member_edit_user_subids.tpl svneol=native#text/plain
templates/de/emails/member/member_forced_campaign_pending_active.tpl svneol=native#text/plain
templates/de/html/admin/admin_delete_surfbar_urls_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_delete_transfer_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_delete_user.tpl svneol=native#text/plain
+templates/de/html/admin/admin_delete_user_subids.tpl svneol=native#text/plain
+templates/de/html/admin/admin_delete_user_subids_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_admin_menu.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_admin_menu_form.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_admin_menu_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_theme.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_theme_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_edit_user.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_user_subids.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_user_subids_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_email_archiv.tpl svneol=native#text/plain
templates/de/html/admin/admin_email_archiv_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_email_nav_row.tpl svneol=native#text/plain
// Filter for sending "build mail" to admin
function FILTER_SEND_BUILD_MAIL ($filterData) {
// Was one line updated?
- //if ($filterData['affected'] == 1) {
+ if ($filterData['affected'] > 0) {
// Then call the proper function
call_user_func_array('sendGenericBuildMails', $filterData);
- //} // END - if
+ } // END - if
// Return data
return $filterData;
setPostRequestElement('userid', getMemberId());
// Call generic change method
- $affected = doGenericEditEntriesConfirm($tableName, $columns, $filterFunctions, $extraValues, $timeColumns, $editNow, $idColumn, $userIdColumn, $rawUserId, $cacheFiles);
+ $affected = doGenericEditEntriesConfirm($tableName, $columns, $filterFunctions, $extraValues, $timeColumns, $editNow, $idColumn, $userIdColumn, $rawUserId, $cacheFiles, 'mem_edit');
// Was this fine?
if ($affected == countPostSelection($idColumn[0])) {
setPostRequestElement('userid', getMemberId());
// Call generic function
- $affected = doGenericDeleteEntriesConfirm($tableName, $columns, $filterFunctions, $extraValues, $deleteNow, $idColumn, $userIdColumn, $rawUserId, $cacheFiles);
+ $affected = doGenericDeleteEntriesConfirm($tableName, $columns, $filterFunctions, $extraValues, $deleteNow, $idColumn, $userIdColumn, $rawUserId, $cacheFiles, 'mem_delete');
// Was this fine?
if ($affected == countPostSelection($idColumn[0])) {
'MODULE_REGISTRY_404' => "Modul <span class=\"data\">{%pipe,getModule%}</span> existiert nicht.",
'MODULE_REGISTRY_LOCKED_404' => "Gsperrtes Modul <span class=\"data\">{%pipe,getModule%}</span> existiert nicht.",
'MODULE_REGISTRY_IS_LOCKED' => "Das Modul <span class=\"data\">{%pipe,getModule%}</span> wurde gesperrt.",
- 'MODULE_ERROR_404' => "Fehler: Modul nicht gefunden",
+ 'MODULE_ERROR_404_TITLE' => "Fehler: Modul nicht gefunden",
'UNKNOWN_MODULE_DETECTED_TITLE' => "Unbekanntes Modul '%s'",
'MAILER_WARNING' => "Warnung",
'DIE_CONFIG_CHANGED_YOU' => "Sie haben Ihre Config-Datei editiert! Auf Wiedersehen...",
'ADMIN_DELETE_USER_SUBID_SUBMIT' => "Sub-Id löschen",
'ADMIN_EDIT_USER_SUBID_SUBMIT' => "Sub-Id editieren",
'ADMIN_DELETE_USER_SUBID_STATS_SUBMIT' => "Sub-Id Logbuch *sofort* löschen",
+ 'ADMIN_CHANGE_USER_SUBID_SUBMIT' => "Sub-Ids ändern",
+ 'ADMIN_REMOVE_USER_SUBID_SUBMIT' => "Sub-Ids löschen",
// Member/admin - sub ids - notices
'MEMBER_ADD_USER_SUBIDS_NOTICE' => "<strong>Hinweise:</strong> Mit Sub-Ids haben Sie die Möglichkeit, die Aufrufe Ihres Referral-Linkes noch genauer zu verfolgen. Zum Beispiel können Sie jedem Besuchertausch oder fremden Paidmailer eine eigene Sub-Id vergeben, indem Sie diese hier zuerst eingeben und dann am Ende des Referral-Linkes mit <strong>&subid=<em>Ihre Sub-Id</em></strong> anhängen. Bewerben Sie nun diesen erweiterten Link. Sobald Aufrufe auf diesen erfolgen, können Sie bei der jeweiligen Sub-Id auf "Aufruf-Statistik" klicken, um eine detailierte Statistik zu erhalten. Leerzeichen oder Bindestrichen werden automatisch in Unterstriche umgewandelt, es wurden nur Zeichen von A-Z (klein- und grossgeschrieben) und alle Zahlenzeichen sowie Unterstriche angenommen.",
'MEMBER_DELETE_USER_SUBIDS_TITLE' => "Ausgewählte Sub-Ids löschen",
'MEMBER_SUBID_STATS_TITLE' => "Aufrufstatistik für Ihre Sub-Ids",
+ // Admin - sub ids - titles
+ 'ADMIN_EDIT_USER_SUBID_TITLE' => "Ausgewählte Sub-Ids ändern",
+ 'ADMIN_DELETE_USER_SUBID_TITLE' => "Ausgewählte Sub-Ids löschen",
+
// Admin/member - sub ids - subject lines
'ADMIN_ADD_USER_SUBIDS_SUBJECT' => "Sub-Id wurde hinzugefügt",
- 'ADMIN_EDIT_USER_SUBIDS_SUBJECT' => "Mitglied hat eine Sub-Id geändert",
- 'ADMIN_DELETE_USER_SUBIDS_SUBJECT' => "Mitglied hat eine Sub-Id gelöscht",
+ 'ADMIN_EDIT_USER_SUBIDS_SUBJECT' => "Änderung einer Sub-Id",
+ 'ADMIN_MEM_EDIT_USER_SUBIDS_SUBJECT' => "Mitglied hat eine Sub-Id geändert",
+ 'ADMIN_DELETE_USER_SUBIDS_SUBJECT' => "Eine Sub-Id wurde gelöscht",
+ 'ADMIN_MEM_DELETE_USER_SUBIDS_SUBJECT' => "Mitglied hat eine Sub-Id gelöscht",
'MEMBER_ADD_USER_SUBIDS_SUBJECT' => "Neue Sub-Id hinzugefügt",
'MEMBER_EDIT_USER_SUBIDS_SUBJECT' => "Änderung Ihrer Sub-Id",
- 'MEMBER_DELETE_USER_SUBIDS_SUBJECT' => "Ihre Sub-Id ist gelöscht",
+ 'MEMBER_MEM_EDIT_USER_SUBIDS_SUBJECT' => "Änderung Ihrer Sub-Id",
+ 'MEMBER_DELETE_USER_SUBIDS_SUBJECT' => "Ihre Sub-Id wurde gelöscht",
+ 'MEMBER_MEM_DELETE_USER_SUBIDS_SUBJECT' => "Ihre Sub-Id ist gelöscht",
// Admin - sub ids - action link
'ADMIN_USER_ACTION_LINK_LIST_USER_SUBID_TITLE' => "Sub-Ids des Mitgliedes auflisten und Statistik einsehen",
'ADMIN_LIST_USER_SUBID_STATS_TITLE' => "Aufruflogbuch vom Mitglied <span class=\"data\">{%get,generateUserProfileLink=userid%}</span> und Sub-Id <span class=\"data\">{%get,getSubId=id%}</span>",
'ADMIN_USER_SUBID_STATS_LINK' => "Logbucheinträge auflisten",
'ADMIN_USER_SUBID_NO_SELECTIONS' => "Sie haben keine Einträge ausgewählt oder es liegt ein Fehler vor. Bitte melden Sie dies im Bug-Tracker (auch wie es dazu gekommen ist).",
+ 'ADMIN_CHANGE_USER_SUBID' => "Sub-Id ändern:",
// Generic - subids
'SUBID_VALUE' => "Sub-Id:",
// Is it 'error'?
if ($module == 'error') {
// Error (real module was not found)
- $data['title'] = '{--MODULE_ERROR_404--}';
+ $data['title'] = '{--MODULE_ERROR_404_TITLE--}';
} else {
// No name found
$data['title'] = '{%message,UNKNOWN_MODULE_DETECTED_TITLE=' . $module . '%}';
// By default all modules are invalid
$isModuleValid = false;
- // Init module state as 'failed' (always failed first)
- $moduleState = 'failed';
-
// Construct module name
$GLOBALS['module_inc'] = sprintf("inc/modules/%s.php", getModule());
}
// Edit rows by given id numbers
-function doGenericEditEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $timeColumns = array(), $editNow = array(false), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array()) {
+function doGenericEditEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $timeColumns = array(), $editNow = array(false), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array(), $subject = '') {
// Change them all
$affected = '0';
foreach (postRequestElement($idColumn[0]) as $id => $sel) {
'table_name' => $tableName,
'content' => $content,
'id' => $id,
- 'subject' => '',
+ 'subject' => $subject,
'userid_column' => $userIdColumn,
'raw_userid' => $rawUserId,
'affected' => $edited,
Hallo Administrator,
-es wurde soeben ein Gutschein durch ein Mitglied eingelöst.
+es wurde soeben ein Gutschein von einem Mitglied eingelöst.
Hier sind alle Daten des Gutscheins:
------------------------------------
--- /dev/null
+Hallo Administrator,
+
+Das Mitglied $content[userid] hat soeben eine Sub-Id gelöscht.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+Sub-Id Kennung: $content[id]
+------------------------------------------
+Sub-Id: $content[subid]
+------------------------------------------
+Hinzugefügt: $content[subid_added]
+------------------------------------------
+Vorname: {%user,surname=$content[userid]%}
+Nachname: {%user,family=$content[userid]%}
+Email-Adresse: {%user,email=$content[userid]%}
+------------------------------------------
+
+Mit freundlichen Grüßen,
+ Ihr {?MAIN_TITLE?} Script
+
+{?URL?}/admin.php
Hallo Administrator,
-Das Mitglied $content[userid] hat soeben eine Sub-Id gelöscht.
+es wurde soeben eine Sub-Id von einem Administrator gelöscht.
Hier sind alle Daten dazu:
------------------------------------------
--- /dev/null
+Hallo Administrator,
+
+Das Mitglied $content[userid] hat soeben eine Sub-Id geändert.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+Sub-Id Kennung: $content[id]
+------------------------------------------
+Sub-Id: $content[subid]
+------------------------------------------
+Hinzugefügt: $content[subid_added]
+------------------------------------------
+Vorname: {%user,surname=$content[userid]%}
+Nachname: {%user,family=$content[userid]%}
+Email-Adresse: {%user,email=$content[userid]%}
+------------------------------------------
+
+Mit freundlichen Grüßen,
+ Ihr {?MAIN_TITLE?} Script
+
+{?URL?}/admin.php
Hallo Administrator,
-Das Mitglied $content[userid] hat soeben eine Sub-Id geändert.
+es wurde soeben eine Sub-Id von einem Administrator geändert.
Hier sind alle Daten dazu:
------------------------------------------
--- /dev/null
+Hallo {%user,gender,translateGender=$content[userid]%} {%user,surname=$content[userid]%} {%user,family=$content[userid]%},
+
+Sie haben soeben eine Ihrer Sub-Id gelöscht.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+Sub-Id Kennung: $content[id]
+------------------------------------------
+Sub-Id: $content[subid]
+------------------------------------------
+Hinzugefügt: $content[subid_added]
+------------------------------------------
+
+Mit freundlichen Grüßen,
+ Ihr {?MAIN_TITLE?} Team
+
+{?URL?}/login.php ({?WEBMASTER?})
Hallo {%user,gender,translateGender=$content[userid]%} {%user,surname=$content[userid]%} {%user,family=$content[userid]%},
-Sie haben soeben eine Ihrer Sub-Id gelöscht.
+eine Ihrer Sub-Ids wurde soeben durch einen Administrator gelöscht.
Hier sind alle Daten dazu:
------------------------------------------
--- /dev/null
+Hallo {%user,gender,translateGender=$content[userid]%} {%user,surname=$content[userid]%} {%user,family=$content[userid]%},
+
+Sie haben soeben eine Ihrer Sub-Id geändert.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+Sub-Id Kennung: $content[id]
+------------------------------------------
+Sub-Id: $content[subid]
+------------------------------------------
+Hinzugefügt: $content[subid_added]
+------------------------------------------
+
+Mit freundlichen Grüßen,
+ Ihr {?MAIN_TITLE?} Team
+
+{?URL?}/login.php ({?WEBMASTER?})
Hallo {%user,gender,translateGender=$content[userid]%} {%user,surname=$content[userid]%} {%user,family=$content[userid]%},
-Sie haben soeben eine Ihrer Sub-Id geändert.
+einer Ihrer Sub-Ids wurde soeben durch einen Administrator geändert.
Hier sind alle Daten dazu:
------------------------------------------
$content
<tr>
<td colspan="2" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
<input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_EDIT_ADMINS_MAILS_SUBMIT--}" />
</td>
</tr>
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_user_subid%}&userid={%get,bigintval=userid%}&do=delete_user_subids" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
+<tr>
+ <td align="center" colspan="3" class="table_header">
+ <strong>{--ADMIN_DELETE_USER_SUBID_TITLE--}</strong>
+ </td>
+</tr>
+<tr>
+ <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center"><strong>{--SUBID_VALUE--}</strong></td>
+ <td class="header_column bottom" align="center"><strong>{--SUBID_ADDED--}</strong></td>
+</tr>
+$content
+<tr>
+ <td class="table_footer" colspan="3">
+ <input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_delete" name="do_delete" value="{--ADMIN_REMOVE_USER_SUBID_SUBMIT--}" />
+ </td>
+</tr>
+</table>
+</form>
+</div>
--- /dev/null
+<tr>
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
+ <strong>$content[id]</strong>
+ <input type="hidden" name="id[$content[id]]" value="1" /></strong>
+ </td>
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
+ <legend for="subid[$content[id]]">{--SUBID_VALUE--}</legend>
+ $content[subid]
+ </td>
+ <td align="center" class="bottom {%template,ColorSwitch%}">
+ $content[subid_added]
+ </td>
+</tr>
$content[rows]
<tr>
<td colspan="5" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
<input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_MENUS--}" />
<input type="submit" class="form_delete submit" name="delete" value="{--ADMIN_DELETE_MENUS--}" />
</td>
</div>
<div class="bottom" style="padding-top:3px;padding-bottom:3px">
- {--ADMIN_CONFIG_NETWORK_HANDLER_SET_ALL--}
+ <legend for="set_all">{--ADMIN_CONFIG_NETWORK_HANDLER_SET_ALL--}</legend>
{%template,NoYesSelectionBox=set_all%}
</div>
<div class="bottom" style="padding-top:3px;padding-bottom:3px">
- {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MAX_RELOAD_TIME--} ({--TIME_UNIT--})<br />
+ <legend for="network_max_reload_time">{--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MAX_RELOAD_TIME--} ({--TIME_UNIT--})</legend>
$content[network_max_reload_time] ({%pipe,translateTimeUnit=$content[network_type_reload_time_unit]%})
</div>
<div class="bottom" style="padding-top:3px;padding-bottom:3px">
- {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_WAITING_TIME--}<br />
+ <legend for="network_min_waiting_time">{--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_WAITING_TIME</legend>
<input type="text" class="form_normal" name="network_min_waiting_time" size="5" maxlength="20" value="$content[network_min_waiting_time]" />
</div>
<div class="bottom" style="padding-top:3px;padding-bottom:3px">
- {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_REMAIN_CLICKS--}<br />
+ <legend for="network_min_remain_clicks">{--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_REMAIN_CLICKS</legend>
<input type="text" class="form_normal" name="network_min_remain_clicks" size="5" maxlength="20" value="$content[network_min_remain_clicks]" />
</div>
<div class="bottom" style="padding-top:3px;padding-bottom:3px">
- {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_PAYMENT--}<br />
+ <legend for="network_min_payment">{--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_PAYMENT</legend>
<input type="text" class="form_normal" name="network_min_payment" size="7" maxlength="20" value="$content[network_min_payment]" />
</div>
<div class="bottom" style="padding-top:3px;padding-bottom:3px">
- {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_ALLOW_EROTIC--}<br />
+ <legend for="network_allow_erotic">{--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_ALLOW_EROTIC</legend>
<input type="text" class="form_normal" name="network_allow_erotic" size="5" maxlength="20" value="$content[network_allow_erotic]" />
</div>
<strong>$content[forced_ads_added]</strong>
</td>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_FORCED_ADS_AD_URL--}<br />
+ <legend for="forced_ads_ad_url[$content[forced_ads_id]]">{--ADMIN_CHANGE_FORCED_ADS_AD_URL--}</legend>
<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_ALTERNATE_TEXT--}<br />
+ <legend for="forced_ads_alt_text[$content[forced_ads_id]]">{--ADMIN_CHANGE_FORCED_ADS_ALTERNATE_TEXT--}</legend>
<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 />
+ <legend for="forced_ads_click_url[$content[forced_ads_id]]">{--ADMIN_CHANGE_FORCED_ADS_CLICK_URL--}</legend>
<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 />
+ <legend for="forced_ads_width[$content[forced_ads_id]]">{--ADMIN_CHANGE_FORCED_ADS_WIDTH--}</legend>
<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 />
+ <legend for="forced_ads_height[$content[forced_ads_id]]">{--ADMIN_CHANGE_FORCED_ADS_HEIGHT--}</legend>
<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 />
+ <legend for="">{--ADMIN_CHANGE_FORCED_ADS_USERID--}</legend>
$content[forced_ads_userid]
</td>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_FORCED_ADS_TYPE--}<br />
+ <legend for="forced_ads_type[$content[forced_ads_id]]">{--ADMIN_CHANGE_FORCED_ADS_TYPE--}</legend>
<select name="forced_ads_type[$content[forced_ads_id]]" class="form_select" size="1">
{%pipe,generateForcedAdsTypeOptions=$content[forced_ads_type]%}
</select>
</tr>
<tr>
<td class="{%template,ColorSwitch%} bottom">
- {--ADMIN_CHANGE_FORCED_ADS_FRAMEBREAKER--}<br />
+ <legend for="forced_ads_framebreaker[$content[forced_ads_id]]">{--ADMIN_CHANGE_FORCED_ADS_FRAMEBREAKER--}</legend>
<select name="forced_ads_framebreaker[$content[forced_ads_id]]" class="form_select" size="1">
{%pipe,generateYesNoOptions=$content[forced_ads_framebreaker]%}
</select>
<strong>$content[forced_campaign_created]</strong>
</td>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_FORCED_CAMPAIGN_ORDERED_CLICKS--}<br />
+ <legend for="forced_campaign_ordered_clicks[$content[forced_campaign_id]]">{--ADMIN_CHANGE_FORCED_CAMPAIGN_ORDERED_CLICKS--}</legend>
<input type="text" class="form_field" name="forced_campaign_ordered_clicks[$content[forced_campaign_id]]" size="5" maxlength="20" value="{%pipe,translateComma=$content[forced_campaign_ordered_clicks]%}" />
</td>
</tr>
<tr>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_FORCED_CAMPAIGN_PAYMENT_API--}<br />
+ <legend for="forced_campaign_payment_api[$content[forced_campaign_id]]">{--ADMIN_CHANGE_FORCED_CAMPAIGN_PAYMENT_API--}</legend>
<input type="text" class="form_field" name="forced_campaign_payment_api[$content[forced_campaign_id]]" size="5" maxlength="20" value="{%pipe,translateComma=$content[forced_campaign_payment_api]%}" />
</td>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_FORCED_CAMPAIGN_RELOAD_LOCK--}<br />
+ <legend for="">{--ADMIN_CHANGE_FORCED_CAMPAIGN_RELOAD_LOCK--}</legend>
$content[forced_campaign_reload_lock]
</td>
</tr>
<tr>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_FORCED_CAMPAIGN_MINIMUM_STAY--}<br />
+ <legend for="forced_campaign_minimum_stay[$content[forced_campaign_id]]">{--ADMIN_CHANGE_FORCED_CAMPAIGN_MINIMUM_STAY--}</legend>
<input type="text" class="form_field" name="forced_campaign_minimum_stay[$content[forced_campaign_id]]" size="5" maxlength="20" value="$content[forced_campaign_minimum_stay]" />
</td>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_FORCED_CAMPAIGN_ADS_ID--}<br />
+ <legend for="">{--ADMIN_CHANGE_FORCED_CAMPAIGN_ADS_ID--}</legend>
{%template,ForcedAdSelectionBox=$content[forced_ads_id]%}
</td>
</tr>
<tr>
<td class="{%template,ColorSwitch%} bottom">
- {--ADMIN_CHANGE_FORCED_CAMPAIGN_USERID--}<br />
+ <legend for="forced_campaign_userid_raw">{--ADMIN_CHANGE_FORCED_CAMPAIGN_USERID--}</legend>
$content[forced_campaign_userid]
<input type="hidden" name="forced_campaign_userid_raw" value="$content[forced_campaign_userid_raw]" />
</td>
<td class="{%template,ColorSwitch%} bottom">
- {--ADMIN_CHANGE_FORCED_CAMPAIGN_COSTS_ID--}<br />
+ <legend for="">{--ADMIN_CHANGE_FORCED_CAMPAIGN_COSTS_ID--}</legend>
{%template,ForcedCostsSelectionBox=$content[forced_costs_id]%}
</td>
</tr>
<tr>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_FORCED_COSTS_PRICE_CLICK--}<br />
+ <legend for="forced_costs_price_click[$content[forced_costs_id]]">{--ADMIN_CHANGE_FORCED_COSTS_PRICE_CLICK--}</legend>
<input type="hidden" name="forced_costs_id[$content[forced_costs_id]]" value="1" />
<input type="text" class="form_field" name="forced_costs_price_click[$content[forced_costs_id]]" size="10" maxlength="20" value="{%pipe,translateComma=$content[forced_costs_price_click]%}" /> ({?POINTS?})
</td>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_FORCED_COSTS_PAYMENT_CLICK--}<br />
+ <legend for="forced_costs_payment_click[$content[forced_costs_id]]">{--ADMIN_CHANGE_FORCED_COSTS_PAYMENT_CLICK--}</legend>
<input type="text" class="form_field" name="forced_costs_payment_click[$content[forced_costs_id]]" size="10" maxlength="20" value="{%pipe,translateComma=$content[forced_costs_payment_click]%}" /> ({?POINTS?})
</td>
</tr>
<tr>
<td class="{%template,ColorSwitch%} bottom">
- {--ADMIN_CHANGE_FORCED_COSTS_VISIBILITY--}<br />
+ <legend for="forced_costs_visibility[$content[forced_costs_id]]">{--ADMIN_CHANGE_FORCED_COSTS_VISIBILITY--}</legend>
<select name="forced_costs_visibility[$content[forced_costs_id]]" class="form_select" size="1">
{%pipe,generateForcedCostsVisibilityOptions=$content[forced_costs_visibility]%}
</select>
$content[rows]
<tr>
<td colspan="5" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
<input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_MENUS--}" />
<input type="submit" class="form_submit" name="status" value="{--ADMIN_CHANGE_MENUS--}" />
<input type="submit" class="form_delete submit" name="delete" value="{--ADMIN_DELETE_MENUS--}" />
$content
<tr>
<td colspan="6" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
<input type="submit" class="form_submit" name="do_edit" value="{--SAVE_CHANGES--}" />
</td>
</tr>
<div class="tiny">({%pipe,translatePointsSubject=$content[subject]%})</div>
</td>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_POINTS_ACCOUNT_COLUMN_NAME--}<br />
+ <legend for="column_name">{--ADMIN_POINTS_ACCOUNT_COLUMN_NAME</legend>
<strong>{%pipe,translatePointsAccountType=$content[column_name]%}</strong>
</td>
</tr>
<tr>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_POINTS_LOCKED_MODE--}<br />
+ <legend for="locked_mode[$content[id]]">{--ADMIN_CHANGE_POINTS_LOCKED_MODE</legend>
<select name="locked_mode[$content[id]]" class="form_select" size="1">
{%pipe,generatePointsLockedModeOptions=$content[locked_mode]%}
</select>
</td>
<td class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_POINTS_PAYMENT_METHOD--}<br />
+ <legend for="payment_method[$content[id]]">{--ADMIN_CHANGE_POINTS_PAYMENT_METHOD</legend>
<select name="payment_method[$content[id]]" class="form_select" size="1">
{%pipe,generatePointsPaymentMethodOptions=$content[payment_method]%}
</select>
<tr>
<td class="bottom {%template,ColorSwitch%}">
- {--ADMIN_CHANGE_POINTS_NOTIFY_RECIPIENT--}<br />
+ <legend for="notify_recipient[$content[id]]">{--ADMIN_CHANGE_POINTS_NOTIFY_RECIPIENT</legend>
<select name="notify_recipient[$content[id]]" class="form_select" size="1">
{%pipe,generatePointsNotifyRecipientOptions=$content[notify_recipient]%}
</select>
</td>
<td class="bottom {%template,ColorSwitch%}">
- {--ADMIN_POINTS_ACCOUNT_PROVIDER--}<br />
+ <legend for="account_provider">{--ADMIN_POINTS_ACCOUNT_PROVIDER</legend>
<strong>{%pipe,translatePointsAccountProvider=$content[account_provider]%}</strong>
</td>
</tr>
$content
<tr>
<td class="table_footer" colspan="2">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
<input type="submit" name="do_edit" class="form_submit" value="{--ADMIN_CHANGE_SURFBAR_ACTIONS_SUBMIT--}" />
</td>
</tr>
<strong>$content[actions_id]</strong>
</td>
<td align="center" class="{%template,ColorSwitch%}">
- {--ADMIN_CHANGE_SURFBAR_ACTIONS_STATUS--}<br />
+ <legend for="">{--ADMIN_CHANGE_SURFBAR_ACTIONS_STATUS</legend>
{%template,SurfbarActionsStatusSelectionBox=$content[actions_id]%}
</td>
</tr>
<tr>
<td align="center" class="bottom {%template,ColorSwitch%}">
- {--ADMIN_CHANGE_SURFBAR_ACTIONS_ACTION--}<br />
+ <legend for="">{--ADMIN_CHANGE_SURFBAR_ACTIONS_ACTION</legend>
{%template,SurfbarActionsActionSelectionBox=$content[actions_id]%}
</td>
<td align="center" class="bottom {%template,ColorSwitch%}">
- {--ADMIN_CHANGE_SURFBAR_ACTIONS_NEW_STATUS--}<br />
+ <legend for="">{--ADMIN_CHANGE_SURFBAR_ACTIONS_NEW_STATUS</legend>
{%template,SurfbarActionsNewStatusSelectionBox=$content[actions_id]%}
</td>
</tr>
$content
<tr>
<td class="table_footer" colspan="2">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
<input type="submit" name="do_edit" class="form_submit" value="{--ADMIN_SURFBAR_EDIT_URL_NOW_SUBMIT--}" />
</td>
</tr>
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_user_subid%}&userid={%get,bigintval=userid%}&do=edit_user_subids" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="800">
+<tr>
+ <td align="center" colspan="3" class="table_header">
+ <strong>{--ADMIN_EDIT_USER_SUBID_TITLE--}</strong>
+ </td>
+</tr>
+<tr>
+ <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+ <td class="header_column bottom right" align="center"><strong>{--SUBID_VALUE--}</strong></td>
+ <td class="header_column bottom" align="center"><strong>{--SUBID_ADDED--}</strong></td>
+</tr>
+$content
+<tr>
+ <td class="table_footer" colspan="3">
+ <input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_CHANGE_USER_SUBID_SUBMIT--}" />
+ </td>
+</tr>
+</table>
+</form>
+</div>
--- /dev/null
+<tr>
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
+ <strong>$content[id]</strong>
+ <input type="hidden" name="id[$content[id]]" value="1" /></strong>
+ </td>
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
+ <legend for="subid[$content[id]]">{--ADMIN_CHANGE_USER_SUBID--}</legend>
+ <input type="text" class="form_field" name="subid[$content[id]]" size="20" maxlength="255" value="$content[subid]" />
+ </td>
+ <td align="center" class="bottom {%template,ColorSwitch%}">
+ $content[subid_added]
+ </td>
+</tr>
<tr>
<td colspan="7" align="center" class="table_footer">
<input type="reset" value="{--ADMIN_UNSELECT_ALL--}" class="form_reset" />
- <input type="submit" name="assign" value="{--ADMIN_ASSIGN_TASKS--}" class="form_submit" />
- <input type="submit" name="unassign" value="{--ADMIN_UNASSIGN_TASKS--}" class="form_submit" />
- <input type="submit" name="redir" value="{--ADMIN_REDIRECT_TASKS--}" class="form_submit" />
- <input type="submit" name="delete" value="{--ADMIN_TASK_DELETE_ENTRIES--}" class="form_delete" />
+ <input type="submit" class="form_submit" name="assign" value="{--ADMIN_ASSIGN_TASKS--}" />
+ <input type="submit" class="form_submit" name="unassign" value="{--ADMIN_UNASSIGN_TASKS--}" />
+ <input type="submit" class="form_submit" name="redir" value="{--ADMIN_REDIRECT_TASKS--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_TASK_DELETE_ENTRIES--}" />
</td>
</tr>
</table>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for doing deletions on user's sub ids.
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<admin-entry-meta-data>
+ <!--
+ Call-back function which should all following parameter handled over
+ to. This will always be type of string but we like homogene XMLs.
+ //-->
+ <callback-function type="string" value="adminDeleteEntriesConfirm" />
+ <!--
+ Name of the database table where the entries should be read/write from/to.
+ //-->
+ <database-table name="" type="string" value="user_subids" />
+ <!--
+ The following three lists must have the same count of list entries, else an
+ error may occur.
+ //-->
+ <!--
+ And all column names to read/write, leave this list tag empty for all (*).
+ //-->
+ <database-column-list>
+ </database-column-list>
+ <!--
+ "Filter" call-back functions to call back for piping the fetched data
+ through (can be left empty, no call-back function will be called)
+ //-->
+ <callback-function-list>
+ </callback-function-list>
+ <!--
+ Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+ is provided, we have more than two parameters to handle over to the
+ call-back function. See function handleExtraValues() for details.
+ //-->
+ <extra-parameter-list>
+ </extra-parameter-list>
+ <!--
+ Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
+ //-->
+ <enable-modify-entries name="" type="bool" value="true" />
+ <!--
+ The table column which should be taken for the ids (see first parameter).
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-id-column name="" type="string" value="id" />
+ <!--
+ The table column which should be taken for user ids
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-userid-column name="" type="string" value="userid" />
+ <!--
+ Raw userid column ($key) to skip which is always an invalid (?) entry
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <raw-userid-column-key name="" type="string" value="userid" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
+</admin-entry-meta-data>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for deleting forced ads.
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<admin-entry-meta-data>
+ <!--
+ Call-back function which should all following parameter handled over
+ to. This will always be type of string but we like homogene XMLs.
+ //-->
+ <callback-function type="string" value="adminDeleteEntriesConfirm" />
+ <!--
+ Name of the database table where the entries should be read/write from/to.
+ //-->
+ <database-table name="" type="string" value="user_subids" />
+ <!--
+ The following three lists must have the same count of list entries, else an
+ error may occur.
+ //-->
+ <!--
+ And all column names to read/write, leave this list tag empty for all (*).
+ //-->
+ <database-column-list>
+ <!--
+ A column name list entry. The type is always string, or do you have
+ numerical column names?
+ //-->
+ <database-column-list-entry name="" type="string" table="" value="id" alias="" function="" />
+ <database-column-list-entry name="" type="string" table="" value="userid" alias="" function="" />
+ <database-column-list-entry name="added_list" type="string" table="" value="subid_added" alias="subid_added" function="UNIX_TIMESTAMP" />
+ <database-column-list-entry name="" type="string" table="" value="subid" alias="" function="" />
+ </database-column-list>
+ <!--
+ "Filter" call-back functions to call back for piping the fetched data
+ through (can be left empty, no call-back function will be called)
+ //-->
+ <callback-function-list>
+ <!--
+ A call-back function list entry
+ //-->
+ <callback-function-list-entry name="" type="string" value="bigintval" />
+ <callback-function-list-entry name="added_list" type="string" value="generateDateTime" />
+ </callback-function-list>
+ <!--
+ Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+ is provided, we have more than two parameters to handle over to the
+ call-back function. See function handleExtraValues() for details.
+ //-->
+ <extra-parameter-list>
+ <!--
+ A one-dimensional array with some entries
+ //-->
+ <extra-parameter-list-entry name="" type="array" value="added">
+ <!--
+ Our 'added' array
+ //-->
+ <extra-parameter-added-list>
+ <!--
+ A bool entry in the 'bar' array, all other types are added in a
+ similar way.
+ //-->
+ <extra-parameter-added-list-entry name="" type="int" value="2" />
+ </extra-parameter-added-list>
+ </extra-parameter-list-entry>
+ </extra-parameter-list>
+ <!--
+ Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
+ //-->
+ <enable-modify-entries name="" type="bool" value="false" />
+ <!--
+ The table column which should be taken for the ids (see first parameter).
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-id-column name="" type="string" value="id" />
+ <!--
+ The table column which should be taken for user ids
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-userid-column name="" type="string" value="userid" />
+ <!--
+ Raw userid column ($key) to skip which is always an invalid (?) entry
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <raw-userid-column-key name="" type="string" value="userid" />
+</admin-entry-meta-data>
<?xml version="1.0" encoding="UTF-8" ?>
<!--
-This template provides meta data for doing edits on forced costs
+This template provides meta data for doing edits on forced ads
@author Roland Haeder <webmaster@mxchange.org>
@version 0.2.1-FINAL
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for doing edits on user's subids
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<admin-entry-meta-data>
+ <!--
+ Call-back function which should all following parameter handled over
+ to. This will always be type of string but we like homogene XMLs.
+ //-->
+ <callback-function type="string" value="adminEditEntriesConfirm" />
+ <!--
+ Name of the database table where the entries should be read/write from/to.
+ //-->
+ <database-table name="" type="string" value="user_subids" />
+ <!--
+ The following three lists must have the same count of list entries, else an
+ error may occur.
+ //-->
+ <!--
+ And all column names to read/write, leave this list tag empty for all (*).
+ //-->
+ <database-column-list>
+ </database-column-list>
+ <!--
+ "Filter" call-back functions to call back for piping the fetched data
+ through (can be left empty, no call-back function will be called)
+ //-->
+ <callback-function-list>
+ </callback-function-list>
+ <!--
+ Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+ is provided, we have more than two parameters to handle over to the
+ call-back function. See function handleExtraValues() for details.
+ //-->
+ <extra-parameter-list>
+ </extra-parameter-list>
+ <!--
+ Columns for converting single time selections into a timestamp
+ //-->
+ <time-columns-list>
+ </time-columns-list>
+ <!--
+ Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
+ //-->
+ <enable-modify-entries name="" type="bool" value="true" />
+ <!--
+ The table column which should be taken for the ids (see first parameter).
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-id-column name="" type="string" value="id" />
+ <!--
+ The table column which should be taken for user ids
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-userid-column name="" type="string" value="userid" />
+ <!--
+ Raw userid column ($key) to skip which is always an invalid (?) entry
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <raw-userid-column-key name="" type="string" value="" />
+ <!--
+ Cache file to delete
+ //-->
+ <cache-file name="" type="string" value="" />
+</admin-entry-meta-data>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for editing user's sub ids.
+
+@author Roland Haeder <webmaster@mxchange.org>
+@version 0.2.1-FINAL
+@copyright (c) 2003 - 2009 by Roland Haeder
+@copyright (c) 2009 - 2012 by Mailer Developer Team
+@license GNU GPL 2.0 or any newer version
+@link http://mxchange.org
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+MA 02110-1301 USA
+//-->
+<admin-entry-meta-data>
+ <!--
+ Call-back function which should all following parameter handled over
+ to. This will always be type of string but we like homogene XMLs.
+ //-->
+ <callback-function type="string" value="adminEditEntriesConfirm" />
+ <!--
+ Name of the database table where the entries should be read/write from/to.
+ //-->
+ <database-table name="" type="string" value="user_subids" />
+ <!--
+ The following three lists must have the same count of list entries, else an
+ error may occur.
+ //-->
+ <!--
+ And all column names to read/write, leave this list tag empty for all (*).
+ //-->
+ <database-column-list>
+ <!--
+ A column name list entry. The type is always string, or do you have
+ numerical column names?
+ //-->
+ <database-column-list-entry name="" type="string" table="" value="id" alias="" function="" />
+ <database-column-list-entry name="added_list" type="string" table="" value="subid_added" alias="subid_added" function="UNIX_TIMESTAMP" />
+ <database-column-list-entry name="" type="string" table="" value="subid" alias="" function="" />
+ </database-column-list>
+ <!--
+ "Filter" call-back functions to call back for piping the fetched data
+ through (can be left empty, no call-back function will be called)
+ //-->
+ <callback-function-list>
+ <!--
+ A call-back function list entry
+ //-->
+ <callback-function-list-entry name="" type="string" value="bigintval" />
+ <callback-function-list-entry name="added_list" type="string" value="generateDateTime" />
+ </callback-function-list>
+ <!--
+ Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+ is provided, we have more than two parameters to handle over to the
+ call-back function. See function handleExtraValues() for details.
+ //-->
+ <extra-parameter-list>
+ <!--
+ A one-dimensional array with some entries
+ //-->
+ <extra-parameter-list-entry name="" type="array" value="member">
+ <!--
+ Our 'member' array
+ //-->
+ <extra-parameter-member-list>
+ <!--
+ A bool entry in the 'member' array, all other types are added in a
+ similar way.
+ //-->
+ <extra-parameter-member-list-entry name="" type="bool" value="false" />
+ <extra-parameter-member-list-entry name="" type="bool" value="true" />
+ <extra-parameter-member-list-entry name="" type="bool" value="true" />
+ <!--
+ The brackets [] are required for addMemberSelectionBox(),
+ please read there for details.
+ //-->
+ <extra-parameter-member-list-entry name="" type="string" value="userid[]" />
+ </extra-parameter-member-list>
+ </extra-parameter-list-entry>
+ <!--
+ A one-dimensional array with some entries
+ //-->
+ <extra-parameter-list-entry name="" type="array" value="added">
+ <!--
+ Our 'added' array
+ //-->
+ <extra-parameter-added-list>
+ <!--
+ A bool entry in the 'added' array, all other types are added in a
+ similar way.
+ //-->
+ <extra-parameter-added-list-entry name="" type="int" value="2" />
+ </extra-parameter-added-list>
+ </extra-parameter-list-entry>
+ </extra-parameter-list>
+ <!--
+ Columns for converting single time selections into a timestamp
+ //-->
+ <time-columns-list>
+ </time-columns-list>
+ <!--
+ Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
+ //-->
+ <enable-modify-entries name="" type="bool" value="false" />
+ <!--
+ The table column which should be taken for the ids (see first parameter).
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-id-column name="" type="string" value="id" />
+ <!--
+ The table column which should be taken for user ids
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <table-userid-column name="" type="string" value="userid" />
+ <!--
+ Raw userid column ($key) to skip which is always an invalid (?) entry
+ This' type can again only be 'string' (remember why?).
+ //-->
+ <raw-userid-column-key name="" type="string" value="userid" />
+</admin-entry-meta-data>
if (empty($GLOBALS['theme_mode'])) $GLOBALS['theme_mode'] = 'load';
// Switch mode
-switch ($GLOBALS['theme_mode'])
-{
-case 'test': // Do stuff while testing the theme: The admin clicked on 'Import'
- break;
+switch ($GLOBALS['theme_mode']) {
+ case 'test': // Do stuff while testing the theme: The admin clicked on 'Import'
+ break;
-case 'load': // Do stuff while theme is loaded normally
- break;
-}
+ case 'load': // Do stuff while theme is loaded normally
+ break;
+} // END - if
// [EOF]
?>
if (empty($GLOBALS['theme_mode'])) $GLOBALS['theme_mode'] = 'load';
switch ($GLOBALS['theme_mode']) {
-case 'test': // Do stuff while testing the theme: The admin clicked on 'Import'
- break;
+ case 'test': // Do stuff while testing the theme: The admin clicked on 'Import'
+ break;
-case 'load': // Do stuff while theme is loaded normally
- break;
-}
+ case 'load': // Do stuff while theme is loaded normally
+ break;
+} // END - if
// [EOF]
?>
// Switch mode
if (empty($GLOBALS['theme_mode'])) $GLOBALS['theme_mode'] = 'load';
-switch ($GLOBALS['theme_mode'])
-{
-case 'test': // Do stuff while testing the theme: The admin clicked on 'Import'
- break;
+switch ($GLOBALS['theme_mode']) {
+ case 'test': // Do stuff while testing the theme: The admin clicked on 'Import'
+ break;
-case 'load': // Do stuff while theme is loaded normally
- break;
-}
+ case 'load': // Do stuff while theme is loaded normally
+ break;
+} // END - switch
// [EOF]
?>