if (count($attributes) > 0) {
// Please don't add any attributes to foo-list nodes
reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
- } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['status_list'])) {
+ } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction'])) {
// doXmlCallbackFunction is missing
- reportBug(__FUNCTION__, __LINE__, 'Required XML node callback-function/status-list not included around this node. Please fix your XML.');
+ reportBug(__FUNCTION__, __LINE__, 'Required XML node callback-function not included around this node. Please fix your XML.');
}
+
+ // Add the entry to the list
+ $GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['status_list'] = array();
}
// Handles the XML node 'status-change-list-entry'
}
// Tries to determine if call-back functions and/or extra values shall be parsed
-function doHandleExtraValues ($filterFunctions, $extraValues, $key, $entries, $userIdColumn, $search) {
+function doHandleExtraValues ($filterFunctions, $extraValues, $key, $entries, $userIdColumn, $search, $id = NULL) {
// Debug mode enabled?
if (isDebugModeEnabled()) {
// Debug message
// Debug mode enabled?
if (isDebugModeEnabled()) {
// Then log it
- /* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'search=' . $search . ',filterFunctions=' . $filterFunctions[$search] . ',extraValues=' . $extraValues[$key] . ',key=' . $key . ',id=' . $id . ',entries[' . gettype($entries) . ']=' . $entries . ' - BEFORE!');
+ /* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'search=' . $search . ',filterFunctions=' . $filterFunctions[$key] . ',extraValues=' . $extraValues[$key] . ',key=' . $key . ',id=' . $id . ',entries[' . gettype($entries) . ']=' . $entries . ' - BEFORE!');
} // END - if
// Filter function + extra value set
// Debug mode enabled?
if (isDebugModeEnabled()) {
// Then log it
- /* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'search=' . $search . ',filterFunctions=' . $filterFunctions[$search] . ',extraValues=' . $extraValues[$key] . ',key=' . $key . ',id=' . $id . ',entries[' . gettype($entries) . ']=' . $entries . ' - AFTER!');
+ /* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'search=' . $search . ',filterFunctions=' . $filterFunctions[$key] . ',extraValues=' . $extraValues[$key] . ',key=' . $key . ',id=' . $id . ',entries[' . gettype($entries) . ']=' . $entries . ' - AFTER!');
} // END - if
} elseif ((!empty($filterFunctions[$search])) && (!empty($extraValues[$search]))) {
// Debug mode enabled?
// Converts a NULL to zero
function convertNullToZero ($number) {
// Is it a valid username?
- if ((!is_null($number)) && (!empty($number)) && ($number > 0)) {
- // Always secure it
- $number = bigintval($number);
- } else {
+ if ((is_null($number)) || (empty($number)) || ($number < 1)) {
// Is not valid or zero
$number = '0';
- }
+ } // END - if
// Return it
return $number;
'MEMBER_SURFBAR_UNLIMITED_VIEWS' => "Unbegrenzt",
'MEMBER_SURFBAR_TEST_URL' => "URL-Tester",
+ // Member - book URLs
+ 'MEMBER_BOOK_SURFBAR_URL_DYNAMIC_TITLE' => "URL in Surfbar buchen - Dynamisch:",
+ 'MEMBER_BOOK_SURFBAR_URL_STATIC_TITLE' => "URL in Surfbar buchen - Statisch:",
+ 'MEMBER_BOOK_SURFBAR_URL_DYNAMIC_NOTICE' => "Die maximalen Kosten bzw. Einnahmen pro Surfbaraufruf richten sich nach verschiedenen Faktoren. Schauen Sie unter <a href=\"{%url=modules.php?module=login&what=start_surfbar%}\">Surfbar starten</a> nach, wenn Sie genaueres dazu wissen möchten.",
+ 'MEMBER_BOOK_SURFBAR_URL_LIMITED' => "Soll die Anzahl Aufrufe begrenzt werden?",
+ 'MEMBER_BOOK_SURFBAR_URL_ENTER_LIMIT' => "Aufrufe begrenzen auf:",
+ 'MEMBER_BOOK_SURFBAR_URL_ENTER_URL' => "URL eingeben:",
+ 'MEMBER_BOOK_SURFBAR_URL_TOTAL_AMOUNT' => "Sie haben bereits <strong>{%pipe,getSurfbarTotalUserUrls,translateComma%}</strong> von maximal <strong>{%config,translateComma=surfbar_max_order%}</strong> erlaubten URLs gebucht.",
+ 'MEMBER_BOOK_SURFBAR_URL_DYNAMIC_COSTS' => "Jeder Seiten-Aufruf durch andere Mitglieder kostet Ihnen mindestens <strong>{%pipe,determineSurfbarCosts,translateComma=true%} {?POINTS?}</strong>. Surfen Sie mit der Surfbar erhalten Sie mindestens <strong>{%pipe,determineSurfbarReward,translateComma=true%} {?POINTS?}</strong> auf Ihr Konto gutgeschrieben.",
+ 'MEMBER_BOOK_SURFBAR_URL_STATIC_COSTS' => "Jeder Seiten-Aufruf durch andere Mitglieder kostet Ihnen <span class=\"surfbar_points\">{%pipe,determineSurfbarCosts,translateComma=true%}{?POINTS?}</span>. Surfen Sie mit der Surfbar erhalten Sie <span class=\"surfbar_points\">{%pipe,determineSurfbarReward,translateComma=true%} {?POINTS?}</span> auf Ihr Konto gutgeschrieben.",
+
+ // Member - legends
+ 'MEMBER_BOOK_SURFBAR_URL_DATA_LEGEND' => "Geben Sie die Daten zu Ihrer URL ein:",
+
// Subject lines for admins
'ADMIN_SURFBAR_NOTIFY_URL_UNLOCK_SUBJECT' => "[Surfbar:] URL hinzugefügt durch Admin",
'ADMIN_SURFBAR_NOTIFY_URL_REG_SUBJECT' => "[Surfbar:] Mitgliedsbuchung einer URL",
// Has the URL or limit changed?
if (TRUE) {
- //if (($urlData['url_views_allowed'] != $urlData['edit']['limit']) || ($url1 != $url2)) {
+ // @TODO if (($urlData['url_views_allowed'] != $urlData['edit']['limit']) || ($url1 != $url2)) {
// Run the query
SQL_QUERY_ESC("UPDATE
`{?_MYSQL_PREFIX?}_surfbar_urls`
// Is a user id provided?
//* BUG: */ die('<pre>'.print_r($rawUserId,TRUE).'</pre><pre>'.print_r($userIdColumn,TRUE).'</pre>');
- if ((isset($rawUserId[0])) && (isPostRequestElementSet($rawUserId[0])) && (isset($userIdColumn[0]))) {
+ if ((isset($rawUserId[0])) && (isset($userIdColumn[0])) && (isPostRequestElementSet($rawUserId[0])) && (!is_array(postRequestElement($rawUserId[0])))) {
// Add user id as well
$sql .= ' AND `' . $userIdColumn[0] . '`=' . bigintval(postRequestElement($rawUserId[0]));
} // END - if
// Try to handle call-back functions and/or extra values
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'idx=' . $idx . ',row[' . $key . ']=' . $row[$key]);
//if ($key == 'forced_campaign_created') die($idx.'=<pre>'.print_r($columns,true).'</pre><pre>'.print_r($extraValues,true).'</pre>');
- $row[$key] = doHandleExtraValues($filterFunctions, $extraValues, $idx, $row[$key], $userIdColumn, ((!is_null($name)) ? $name : $key));
+ $row[$key] = doHandleExtraValues($filterFunctions, $extraValues, $idx, $row[$key], $userIdColumn, ((!is_null($name)) ? $name : $key), $id);
} // END - foreach
// Then list it
<fieldset id="add_tester_user_fields">
<legend>{--ADMIN_ADD_TESTER_USER_LEGEND--}</legend>
<div class="table_row">
- <label for="tester_user_family">{--ADMIN_ADD_TESTER_USER_GENDER--}</label>
+ <label class="admin_label" for="tester_user_family">{--ADMIN_ADD_TESTER_USER_GENDER--}</label>
<div align="left">{%config,generateGenderSelectionBox=tester_user_gender%}</div>
</div>
<div class="table_row">
- <label for="tester_user_surname_prefix">{--ADMIN_ADD_TESTER_USER_SURNAME--}</label>
+ <label class="admin_label" for="tester_user_surname_prefix">{--ADMIN_ADD_TESTER_USER_SURNAME--}</label>
<div align="left"><em>{?tester_user_surname_prefix?}{%pipe,getNextFreeTesterUserNumber%}</em></div>
</div>
<div class="table_row">
- <label for="tester_user_family">{--ADMIN_ADD_TESTER_USER_FAMILY--}</label>
+ <label class="admin_label" for="tester_user_family">{--ADMIN_ADD_TESTER_USER_FAMILY--}</label>
<div align="left"><input type="text" class="form_field" name="family" value="{?tester_user_family?}" size="10" maxlength="255" /></div>
</div>
<div class="table_row">
- <label for="tester_user_street_nr">{--ADMIN_ADD_TESTER_USER_STREET_NR--}</label>
+ <label class="admin_label" for="tester_user_street_nr">{--ADMIN_ADD_TESTER_USER_STREET_NR--}</label>
<div align="left"><input type="text" class="form_field" name="street_nr" value="{?tester_user_street_nr?}" size="15" maxlength="255" /></div>
</div>
<div class="table_row">
- <label for="tester_user_default_refid">{--ADMIN_ADD_TESTER_USER_COUNTRY--}</label>
+ <label class="admin_label" for="tester_user_default_refid">{--ADMIN_ADD_TESTER_USER_COUNTRY--}</label>
<div align="left">{%pipe,addCountryCodeSelectionBox%}</div>
</div>
<div class="table_row">
- <label for="tester_user_zip">{--ADMIN_ADD_TESTER_USER_ZIP--}</label>
+ <label class="admin_label" for="tester_user_zip">{--ADMIN_ADD_TESTER_USER_ZIP--}</label>
<div align="left"><input type="text" class="form_field" name="zip" value="{?tester_user_zip?}" size="6" maxlength="6" /></div>
</div>
<div class="table_row">
- <label for="tester_user_city">{--ADMIN_ADD_TESTER_USER_CITY--}</label>
+ <label class="admin_label" for="tester_user_city">{--ADMIN_ADD_TESTER_USER_CITY--}</label>
<div align="left"><input type="text" class="form_field" name="city" value="{?tester_user_city?}" size="10" maxlength="255" /></div>
</div>
<div class="table_row">
- <label for="tester_user_email">{--ADMIN_ADD_TESTER_USER_EMAIL--}</label>
+ <label class="admin_label" for="tester_user_email">{--ADMIN_ADD_TESTER_USER_EMAIL--}</label>
<div align="left"><input type="text" class="form_field" name="email" value="{?tester_user_email?}" size="20" maxlength="255" /></div>
</div>
<div class="table_row">
- <label for="tester_user_email">{--ADMIN_ADD_TESTER_USER_BIRTHDAY--}</label>
+ <label class="admin_label" for="tester_user_email">{--ADMIN_ADD_TESTER_USER_BIRTHDAY--}</label>
<input type="hidden" name="day" value="01" />
<input type="hidden" name="month" value="01" />
<input type="hidden" name="year" value="1970" />
</div>
<div class="table_row">
- <label for="tester_user_default_refid">{--ADMIN_ADD_TESTER_USER_DEFAULT_REFID--}</label>
+ <label class="admin_label" for="tester_user_default_refid">{--ADMIN_ADD_TESTER_USER_DEFAULT_REFID--}</label>
<div align="left">{%pipe,addTesterUserDefaultRefidSelectionBox=refid%}</div>
</div>
</fieldset>
<legend>{--ADMIN_ADD_TESTER_USER_PASSWORDS_LEGEND--}</legend>
<div class="table_row">
- <label for="tester_user_email">{--ADMIN_ADD_TESTER_USER_PASSWORD1--}</label>
+ <label class="admin_label" for="tester_user_email">{--ADMIN_ADD_TESTER_USER_PASSWORD1--}</label>
<input type="password" class="form_field" name="pass1" value="{?tester_user_password?}" size="10" maxlength="255" />
</div>
<div class="table_row">
- <label for="tester_user_email">{--ADMIN_ADD_TESTER_USER_PASSWORD2--}</label>
+ <label class="admin_label" for="tester_user_email">{--ADMIN_ADD_TESTER_USER_PASSWORD2--}</label>
<input type="password" class="form_field" name="pass2" value="{?tester_user_password?}" size="10" maxlength="255" />
</div>
</fieldset>
<legend>{--ADMIN_CONFIG_ADMIN_MENU_TYPE_LEGEND--}</legend>
<div class="table_row">
- <label for="admin_menu">{--ADMIN_CONFIG_ADMIN_MENU_NEW--}</label>
+ <label class="admin_label" for="admin_menu">{--ADMIN_CONFIG_ADMIN_MENU_NEW--}</label>
<div align="center">
<input type="radio" class="form_field disabled" disabled="disabled" name="admin_menu" value="NEW"$content[admin_menu_new] />
</div>
</div>
<div class="table_row">
- <label for="admin_menu">{--ADMIN_CONFIG_ADMIN_MENU_OLD--}</label>
+ <label class="admin_label" for="admin_menu">{--ADMIN_CONFIG_ADMIN_MENU_OLD--}</label>
<div align="center">
<input type="radio" class="form_field" name="admin_menu" value="OLD"$content[admin_menu_old] />
</div>
<legend>{--ADMIN_CONFIG_ADMIN_MENU_MISC_LEGEND--}</legend>
<div class="table_row">
- <label for="admin_menu_javascript">{--ADMIN_CONFIG_ADMIN_MENU_JAVASCRIPT_ENABLED--}</label>
+ <label class="admin_label" for="admin_menu_javascript">{--ADMIN_CONFIG_ADMIN_MENU_JAVASCRIPT_ENABLED--}</label>
<div align="center">
{%template,ConfigurationYesNoSelectionBox=admin_menu_javascript%}
</div>
<legend>{--ADMIN_CONFIG_AUTOPURGE_INACTIVE_TITLE--}</legend>
<div class="table_row">
- <label for="autopurge_inactive">{--ADMIN_CONFIG_AUTOPURGE_INACTIVE--}</label>
+ <label class="admin_label" for="autopurge_inactive">{--ADMIN_CONFIG_AUTOPURGE_INACTIVE--}</label>
<div align="center">$content[ap_inactive_selection]</div>
</div>
<div class="table_row">
- <label for="ap_inactive_since">{--ADMIN_CONFIG_AUTOPURGE_INACTIVE_SINCE--}</label>
+ <label class="admin_label" for="ap_inactive_since">{--ADMIN_CONFIG_AUTOPURGE_INACTIVE_SINCE--}</label>
<div align="center">$content[ap_in_since]</div>
</div>
<div class="table_row">
- <label for="ap_inactive_time">{--ADMIN_CONFIG_AUTOPURGE_INACTIVE_TIME--}</label>
+ <label class="admin_label" for="ap_inactive_time">{--ADMIN_CONFIG_AUTOPURGE_INACTIVE_TIME--}</label>
<div align="center">$content[ap_in_time]</div>
</div>
</fieldset>
<legend>{--ADMIN_CONFIG_AUTOPURGE_UNCONFIRMED_TITLE--}</legend>
<div class="table_row">
- <label for="autopurge_unconfirmed">{--ADMIN_CONFIG_AUTOPURGE_UNCONFIRMED--}</label>
+ <label class="admin_label" for="autopurge_unconfirmed">{--ADMIN_CONFIG_AUTOPURGE_UNCONFIRMED--}</label>
<div align="center">$content[ap_unconfirmed_selection]</div>
</div>
<div class="table_row">
- <label for="ap_un_time">{--ADMIN_CONFIG_AUTOPURGE_UNCONFIRMED_TIME--}:</label>
+ <label class="admin_label" for="ap_un_time">{--ADMIN_CONFIG_AUTOPURGE_UNCONFIRMED_TIME--}:</label>
<div align="center">$content[ap_un_time]</div>
</div>
</fieldset>
<legend>{--ADMIN_CONFIG_AUTOPURGE_TASKS_TITLE--}</legend>
<div class="table_row">
- <label for="autopurge_tasks">{--ADMIN_CONFIG_AUTOPURGE_TASKS--}</label>
+ <label class="admin_label" for="autopurge_tasks">{--ADMIN_CONFIG_AUTOPURGE_TASKS--}</label>
<div align="center">$content[ap_tasks_selection]</div>
</div>
<div class="table_row">
- <label for="ap_task_time">{--ADMIN_CONFIG_AUTOPURGE_TASKS_TIME--}</label>
+ <label class="admin_label" for="ap_task_time">{--ADMIN_CONFIG_AUTOPURGE_TASKS_TIME--}</label>
<div align="center">$content[ap_task_time]</div>
</div>
</fieldset>
<legend>{--ADMIN_CONFIG_AUTOPURGE_MAILID_TITLE--}</legend>
<div class="table_row">
- <label for="auto_purge">{--ADMIN_CONFIG_AUTOPURGE_ACTIVE--}</label>
+ <label class="admin_label" for="auto_purge">{--ADMIN_CONFIG_AUTOPURGE_ACTIVE--}</label>
<div align="center">{%template,ConfigurationYesNoSelectionBox=auto_purge%}</div>
</div>
<div class="table_row">
- <label for="auto_purge">{--ADMIN_CONFIG_MAIL_LIFETIME--}</label>
+ <label class="admin_label" for="auto_purge">{--ADMIN_CONFIG_MAIL_LIFETIME--}</label>
<div align="center">$content[auto_purge]</div>
</div>
<div class="table_row">
- <label for="ap_notify_del_mails">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_DELETE_MAILS--}</label>
+ <label class="admin_label" for="ap_notify_del_mails">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_DELETE_MAILS--}</label>
<div align="center">$content[ap_notify_del_mails]</div>
</div>
</fieldset>
<legend>{--ADMIN_CONFIG_AUTOPURGE_DELETE_MAILS_TITLE--}</legend>
<div class="table_row">
- <label for="ap_del_mails">{--ADMIN_CONFIG_AUTOPURGE_DELETE_MAILS--}</label>
+ <label class="admin_label" for="ap_del_mails">{--ADMIN_CONFIG_AUTOPURGE_DELETE_MAILS--}</label>
<div align="center">$content[ap_del_mails_selection]</div>
</div>
<div class="table_row">
- <label for="ap_del_mails_time">{--ADMIN_CONFIG_AUTOPURGE_DELETE_MAILS_TIME--}</label>
+ <label class="admin_label" for="ap_del_mails_time">{--ADMIN_CONFIG_AUTOPURGE_DELETE_MAILS_TIME--}</label>
<div align="center">$content[ap_del_mails_time]</div>
</div>
</fieldset>
<legend>{--ADMIN_CONFIG_AUTOPURGE_NOTIFICATION_TITLE--}</legend>
<div class="table_row">
- <label for="ap_notify_inactive">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_INACTIVE--}</label>
+ <label class="admin_label" for="ap_notify_inactive">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_INACTIVE--}</label>
<div align="center">$content[ap_notify_inactive]</div>
</div>
<div class="table_row">
- <label for="ap_notify_unconfirmed">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_UNCONFIRMED--}</label>
+ <label class="admin_label" for="ap_notify_unconfirmed">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_UNCONFIRMED--}</label>
<div align="center">$content[ap_notify_unconfirmed]</div>
</div>
<div class="table_row">
- <label for="ap_notify_tasks">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_TASKS--}</label>
+ <label class="admin_label" for="ap_notify_tasks">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_TASKS--}</label>
<div align="center">$content[ap_notify_tasks]</div>
</div>
</fieldset>
<legend>{--ADMIN_CONFIG_ORDER_SELECT_MAX_LEGEND--}</legend>
<div class="table_row">
- <label for="order_max_full">{--ADMIN_CONFIG_ORDER_OPTION_MAX--}</label>
+ <label class="admin_label" for="order_max_full">{--ADMIN_CONFIG_ORDER_OPTION_MAX--}</label>
<div align="center">
<input type="radio" class="form_field" name="order_max_full" value="MAX"$content[order_max_full_max] />
</div>
</div>
<div class="table_row">
- <label for="order_max_full">{--ADMIN_CONFIG_ORDER_OPTION_ORDER--}</label>
+ <label class="admin_label" for="order_max_full">{--ADMIN_CONFIG_ORDER_OPTION_ORDER--}</label>
<div align="center">
<input type="radio" class="form_field" name="order_max_full" value="ORDER"$content[order_max_full_order] />
</div>
<legend>{--ADMIN_CONFIG_ORDER_MEMBER_LEGEND--}</legend>
<div class="table_row">
- <label for="unconfirmed">{--ADMIN_CONFIG_MAX_UNCONFIRMED_MAILS--}</label>
+ <label class="admin_label" for="unconfirmed">{--ADMIN_CONFIG_MAX_UNCONFIRMED_MAILS--}</label>
<div align="center">
<input type="text" class="form_field" name="unconfirmed" size="10" maxlength="10" value="{?unconfirmed?}" />
</div>
</div>
<div class="table_row">
- <label for="max_tlength">{--ADMIN_CONFIG_MAX_TEXT_LENGTH--}</label>
+ <label class="admin_label" for="max_tlength">{--ADMIN_CONFIG_MAX_TEXT_LENGTH--}</label>
<div align="center">
<input type="text" class="form_field" name="max_tlength" size="10" maxlength="100" value="{?max_tlength?}" />
</div>
</div>
<div class="table_row">
- <label for="allow_url_in_text"> {--ADMIN_CONFIG_CHECK_EMAIL_TEXT--}</label>
+ <label class="admin_label" for="allow_url_in_text"> {--ADMIN_CONFIG_CHECK_EMAIL_TEXT--}</label>
<div align="center">
{%template,ConfigurationYesNoSelectionBox=allow_url_in_text%}
</div>
</div>
<div class="table_row">
- <label for="allow_url_in_subject">{--ADMIN_CONFIG_CHECK_EMAIL_SUBJECT--}</label>
+ <label class="admin_label" for="allow_url_in_subject">{--ADMIN_CONFIG_CHECK_EMAIL_SUBJECT--}</label>
<div align="center">
{%template,ConfigurationYesNoSelectionBox=allow_url_in_subject%}
</div>
</div>
<div class="table_row">
- <label for="url_blacklist">{--ADMIN_CONFIG_URL_BLACKLIST--}</label>
+ <label class="admin_label" for="url_blacklist">{--ADMIN_CONFIG_URL_BLACKLIST--}</label>
<div align="center">
{%template,ConfigurationYesNoSelectionBox=url_blacklist%}
</div>
</div>
<div class="table_row">
- <label for="repay_deleted_mails">{--ADMIN_REPAY_ON_DELETE_MODE--}</label>
+ <label class="admin_label" for="repay_deleted_mails">{--ADMIN_REPAY_ON_DELETE_MODE--}</label>
<div align="center">
<select name="repay_deleted_mails" class="form_select" size="1">
<option value="REPAY"$content[repay_deleted_mails_repay]>{--ADMIN_CONFIG_REPAY_POINTS_REPAY--}</option>
<legend>{--ADMIN_CONFIG_ORDER_SELECTION_LEGEND--}</legend>
<div class="table_row">
- <label for="order_select">{--ADMIN_CONFIG_ORDER_SELECTION_COLUMN--}</label>
+ <label class="admin_label" for="order_select">{--ADMIN_CONFIG_ORDER_SELECTION_COLUMN--}</label>
<div align="center">
<select name="order_select" class="form_select" size="1">
$content[order_selection]
</div>
<div class="table_row">
- <label for="order_mode">{--ADMIN_CONFIG_ORDER_SELECTION_MODE--}</label>
+ <label class="admin_label" for="order_mode">{--ADMIN_CONFIG_ORDER_SELECTION_MODE--}</label>
<div align="center">
<select name="order_mode" class="form_select" size="1">
<option value="ASC"$content[order_mode_asc]>{--SORT_ASCENDING--}</option>
<legend>{--ADMIN_CONFIG_ORDER_MISC_LEGEND--}</legend>
<div class="table_row">
- <label for="order_min">{--ADMIN_CONFIG_ORDER_MIN_RECEIVER_PER_ORDER--}</label>
+ <label class="admin_label" for="order_min">{--ADMIN_CONFIG_ORDER_MIN_RECEIVER_PER_ORDER--}</label>
<div align="center">
<input type="input" class="form_field" name="order_min" value="{?order_min?}" size="5" maxlength="20" />
</div>
<legend>{--ADMIN_CONFIG_REFID_GENERAL_LEGEND--}</legend>
<div class="table_row">
- <label for="default_refid">{--ADMIN_CONFIG_SELECT_DEFAULT_REFID--}</label>
+ <label class="admin_label" for="default_refid">{--ADMIN_CONFIG_SELECT_DEFAULT_REFID--}</label>
<div align="center">
$content[def_refid]
</div>
</div>
<div class="table_row">
- <label for="refid_target">{--ADMIN_CONFIG_SELECT_REFID_TARGRT--}:</label>
+ <label class="admin_label" for="refid_target">{--ADMIN_CONFIG_SELECT_REFID_TARGRT--}:</label>
<div align="center">
<select name="refid_target" size="1" class="form_select">
<option value="register"$content[refid_target_register]>{--ADMIN_CONFIG_REFERRAL_TARGET_REGISTER--}</option>
<legend>{--ADMIN_CONFIG_RANDOM_REFID_LEGEND--}</legend>
<div class="table_row">
- <label for="select_user_zero_refid">{--ADMIN_CONFIG_RANDOM_ZERO_REFID--}</label>
+ <label class="admin_label" for="select_user_zero_refid">{--ADMIN_CONFIG_RANDOM_ZERO_REFID--}</label>
<div align="center">
<select name="select_user_zero_refid" size="1" class="form_select">
<option value="Y"$content[select_user_zero_refid_y]>{--ADMIN_CONFIG_RANDOM_REFID_ENABLED--}</option>
</div>
<div class="table_row">
- <label for="user_min_confirmed">{--ADMIN_CONFIG_RANDOM_MIN_CONFIRMED--}</label>
+ <label class="admin_label" for="user_min_confirmed">{--ADMIN_CONFIG_RANDOM_MIN_CONFIRMED--}</label>
<div align="center">
<input type="text" class="form_field" name="user_min_confirmed" size="3" maxlength="3" value="{?user_min_confirmed?}" />
</div>
<fieldset id="config_title_general_fields">
<legend>{--ADMIN_CONFIG_TITLE_LEGEND--}</legend>
<div class="table_row">
- <label for="enable_title_deco">{--ADMIN_CONFIG_TITLE_ENABLE_DECORATIONS--}:</label>
+ <label class="admin_label" for="enable_title_deco">{--ADMIN_CONFIG_TITLE_ENABLE_DECORATIONS--}:</label>
<div align="center">$content[enable_title_deco]</div>
</div>
<div class="table_row">
- <label for="enable_mod_title">{--ADMIN_CONFIG_TITLE_ENABLE_MODULE_TITLE--}:</label>
+ <label class="admin_label" for="enable_mod_title">{--ADMIN_CONFIG_TITLE_ENABLE_MODULE_TITLE--}:</label>
<div align="center">$content[enable_mod_title]</div>
</div>
<div class="table_row">
- <label for="enable_what_title">{--ADMIN_CONFIG_TITLE_ENABLE_WHAT_TITLE--}:</label>
+ <label class="admin_label" for="enable_what_title">{--ADMIN_CONFIG_TITLE_ENABLE_WHAT_TITLE--}:</label>
<div align="center">$content[enable_what_title]</div>
</div>
</fieldset>
<legend>{--ADMIN_CONFIG_TITLE_DECORATIONS--}</legend>
<div class="table_row">
- <label for="title_left">{--ADMIN_CONFIG_TITLE_LEFT--}:</label>
+ <label class="admin_label" for="title_left">{--ADMIN_CONFIG_TITLE_LEFT--}:</label>
<div align="center"><input type="text" class="form_field" name="title_left" value="{?title_left?}" size="4" maxlength="10" /></div>
</div>
<div class="table_row">
- <label for="title_middle">{--ADMIN_CONFIG_TITLE_MIDDLE--}:</label>
+ <label class="admin_label" for="title_middle">{--ADMIN_CONFIG_TITLE_MIDDLE--}:</label>
<div align="center"><input type="text" class="form_field" name="title_middle" value="{?title_middle?}" size="4" maxlength="10" /></div>
</div>
<div class="table_row">
- <label for="title_right">{--ADMIN_CONFIG_TITLE_RIGHT--}:</label>
+ <label class="admin_label" for="title_right">{--ADMIN_CONFIG_TITLE_RIGHT--}:</label>
<div align="center"><input type="text" class="form_field" name="title_right" value="{?title_right?}" size="4" maxlength="10" /></div>
</div>
</fieldset>
<fieldset id="config_user_fields">
<legend>{--ADMIN_CONFIG_USER_LEGEND--}</legend>
<div class="table_row">
- <label for="user_limit">{--ADMIN_CONFIG_USER_LIMIT--}</label>
+ <label class="admin_label" for="user_limit">{--ADMIN_CONFIG_USER_LIMIT--}</label>
<div align="center"><input type="text" class="form_field" name="user_limit" value="{?user_limit?}" size="4" maxlength="6" /></div>
</div>
<div class="table_row">
- <label for="user_alpha">{--ADMIN_CONFIG_USER_ALPHA--}</label>
+ <label class="admin_label" for="user_alpha">{--ADMIN_CONFIG_USER_ALPHA--}</label>
<div align="center"><input type="text" class="form_field" name="user_alpha" value="{?user_alpha?}" size="4" maxlength="6" /></div>
</div>
</fieldset>
<fieldset id="config_tester_user_fields">
<legend>{--ADMIN_CONFIG_TESTER_USER_LEGEND--}</legend>
<div class="table_row">
- <label for="tester_user_maximum">{--ADMIN_CONFIG_TESTER_USER_MAXIMUM--}</label>
+ <label class="admin_label" for="tester_user_maximum">{--ADMIN_CONFIG_TESTER_USER_MAXIMUM--}</label>
<div align="left"><input type="text" class="form_field" name="tester_user_maximum" value="{?tester_user_maximum?}" size="5" maxlength="5" /></div>
</div>
<div class="table_row">
- <label for="tester_user_family">{--ADMIN_CONFIG_TESTER_USER_GENDER--}</label>
+ <label class="admin_label" for="tester_user_family">{--ADMIN_CONFIG_TESTER_USER_GENDER--}</label>
<div align="left">$content[tester_user_gender_selection]</div>
</div>
<div class="table_row">
- <label for="tester_user_surname_prefix">{--ADMIN_CONFIG_TESTER_USER_SURNAME_PREFIX--}</label>
+ <label class="admin_label" for="tester_user_surname_prefix">{--ADMIN_CONFIG_TESTER_USER_SURNAME_PREFIX--}</label>
<div align="left"><input type="text" class="form_field" name="tester_user_surname_prefix" value="{?tester_user_surname_prefix?}" size="10" maxlength="100" /></div>
</div>
<div class="table_row">
- <label for="tester_user_family">{--ADMIN_CONFIG_TESTER_USER_FAMILY--}</label>
+ <label class="admin_label" for="tester_user_family">{--ADMIN_CONFIG_TESTER_USER_FAMILY--}</label>
<div align="left"><input type="text" class="form_field" name="tester_user_family" value="{?tester_user_family?}" size="10" maxlength="255" /></div>
</div>
<div class="table_row">
- <label for="tester_user_street_nr">{--ADMIN_CONFIG_TESTER_USER_STREET_NR--}</label>
+ <label class="admin_label" for="tester_user_street_nr">{--ADMIN_CONFIG_TESTER_USER_STREET_NR--}</label>
<div align="left"><input type="text" class="form_field" name="tester_user_street_nr" value="{?tester_user_street_nr?}" size="15" maxlength="255" /></div>
</div>
<div class="table_row">
- <label for="tester_user_zip">{--ADMIN_CONFIG_TESTER_USER_ZIP--}</label>
+ <label class="admin_label" for="tester_user_zip">{--ADMIN_CONFIG_TESTER_USER_ZIP--}</label>
<div align="left"><input type="text" class="form_field" name="tester_user_zip" value="{?tester_user_zip?}" size="6" maxlength="6" /></div>
</div>
<div class="table_row">
- <label for="tester_user_city">{--ADMIN_CONFIG_TESTER_USER_CITY--}</label>
+ <label class="admin_label" for="tester_user_city">{--ADMIN_CONFIG_TESTER_USER_CITY--}</label>
<div align="left"><input type="text" class="form_field" name="tester_user_city" value="{?tester_user_city?}" size="10" maxlength="255" /></div>
</div>
<div class="table_row">
- <label for="tester_user_email">{--ADMIN_CONFIG_TESTER_USER_EMAIL--}</label>
+ <label class="admin_label" for="tester_user_email">{--ADMIN_CONFIG_TESTER_USER_EMAIL--}</label>
<div align="left"><input type="text" class="form_field" name="tester_user_email" value="{?tester_user_email?}" size="20" maxlength="255" /></div>
</div>
<div class="table_row">
- <label for="tester_user_password">{--ADMIN_CONFIG_TESTER_USER_PASSWORD--}</label>
+ <label class="admin_label" for="tester_user_password">{--ADMIN_CONFIG_TESTER_USER_PASSWORD--}</label>
<div align="left"><input type="password" class="form_field" name="tester_user_password" value="{?tester_user_password?}" size="20" maxlength="255" /></div>
</div>
<div class="table_row">
- <label for="tester_user_check_cat">{--ADMIN_CONFIG_TESTER_USER_CHECK_CAT--}</label>
+ <label class="admin_label" for="tester_user_check_cat">{--ADMIN_CONFIG_TESTER_USER_CHECK_CAT--}</label>
<div align="left">{%template,ConfigurationYesNoSelectionBox=tester_user_check_cat%}</div>
<div class="field_note">
</div>
<div class="table_row">
- <label for="tester_user_default_refid">{--ADMIN_CONFIG_TESTER_USER_DEFAULT_REFID--}</label>
+ <label class="admin_label" for="tester_user_default_refid">{--ADMIN_CONFIG_TESTER_USER_DEFAULT_REFID--}</label>
<div align="left">{%pipe,addTesterUserDefaultRefidSelectionBox%}</div>
</div>
</fieldset>
<div class="table_row">
- <label for="max_mails">{--ADMIN_MAX_MAILS_PER_DAY--}</label>
+ <label class="admin_label" for="max_mails">{--ADMIN_MAX_MAILS_PER_DAY--}</label>
<div align="left">
<select name="max_mails" size="1" class="form_select">
<tr>
<td class="table_footer" colspan="5">
<input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" name="reject" class="form_delete" value="{--ADMIN_SURFBAR_REJECT_URL_SUBMIT--}" />
<input type="submit" name="unlock" class="form_submit" value="{--ADMIN_SURFBAR_CONFIRM_URL_SUBMIT--}" />
+ <input type="submit" name="reject" class="form_delete" value="{--ADMIN_SURFBAR_REJECT_URL_SUBMIT--}" />
</td>
</tr>
</table>
<legend>{--MEMBER_ADD_SUBID_LEGEND--}</legend>
<div class="table_row">
- <label for="subid">{--MEMBER_ENTER_SUBID--}</label>
+ <label class="member_label" for="subid">{--MEMBER_ENTER_SUBID--}</label>
<input type="text" class="form_field" name="subid" size="30" />
</div>
</fieldset>
{%form,formIdBook,formMethodPost=modules.php?module=login&what=book_surfbar%}
<div class="table3 dashed" style="margin-top:10px">
<div class="table_header bottom" style="padding-top:5px;padding-bottom:5px">
- <strong>URL in Surfbar buchen - Dynamisch:</strong>
+ <strong>{--MEMBER_BOOK_SURFBAR_URL_DYNAMIC_TITLE--}</strong>
</div>
- <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
- URL eingeben: <input type="text" class="form_field" id="url" name="url" size="20" maxlength="255" value="http://" />
- </div>
+ <fieldset id="url_data">
+ <legend>{--MEMBER_BOOK_SURFBAR_URL_DATA_LEGEND--}</legend>
+ <div class="member_input" style="padding-top:5px;padding-bottom:5px">
+ <label class="member_label" for="url">{--MEMBER_BOOK_SURFBAR_URL_ENTER_URL--}</label>
+ <input type="text" class="form_field" id="url" name="url" size="20" maxlength="255" value="http://" />
+ </div>
- <div class="member_input" style="padding-top:5px;padding-bottom:5px">
- Soll die Anzahl Aufrufe begrenzt werden?<br />
- <input type="radio" id="limited_no" onclick="return focusLimitedNo()" name="limited" value="N" checked="checked" /> {--NO--}
- <input type="radio" id="limited_yes" onclick="return focusLimitedYes()" name="limited" value="Y" /> {--YES--}
- </div>
+ <div class="member_input" style="padding-top:5px;padding-bottom:5px">
+ <label class="member_label" for="limited">{--MEMBER_BOOK_SURFBAR_URL_LIMITED--}</label>
+ <input type="radio" id="limited_no" name="limited" value="N" checked="checked" /> {--NO--}
+ <input type="radio" id="limited_yes" name="limited" value="Y" /> {--YES--}
+ </div>
- <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
- Aufrufe begrenzen auf: <input type="text" onchange="return changeLimited()" onclick="return focusLimit()" onblur="return blurLimit()" class="form_field" id="limit" name="limit" size="7" maxlength="20" value="-" />
- </div>
+ <div class="member_input" style="padding-top:5px;padding-bottom:5px">
+ <label class="member_label" for="limit">{--MEMBER_BOOK_SURFBAR_URL_ENTER_LIMIT--}</label>
+ <input type="text" class="form_field" id="limit" name="limit" size="7" maxlength="20" value="-" />
+ </div>
+ </fieldset>
- <div class="member_input" style="padding-top:5px;padding-bottom:5px">
+ <div style="padding-top:5px">
<div class="para">
- Jeder Seiten-Aufruf durch andere Mitglieder kostet Ihnen mindestens
- <strong>{%pipe,determineSurfbarCosts,translateComma=true%} {?POINTS?}</strong>.
- Surfen Sie mit der Surfbar erhalten Sie mindestens
- <strong>{%pipe,determineSurfbarReward,translateComma=true%} {?POINTS?}</strong>
- auf Ihr Konto gutgeschrieben.
+ {--MEMBER_BOOK_SURFBAR_URL_DYNAMIC_COSTS--}
</div>
<div class="para">
- Sie haben bereits
- <strong>{%pipe,getSurfbarTotalUserUrls,translateComma%}</strong>
- von maximal
- <strong>{%config,translateComma=surfbar_max_order%}</strong>
- erlaubten URLs gebucht.
+ {--MEMBER_BOOK_SURFBAR_URL_TOTAL_AMOUNT--}
</div>
</div>
- <div class="table_header top" style="padding-top:5px;padding-bottom:5px">
+ <div class="table_header top">
<input type="reset" class="form_reset" id="reset" value="{--CLEAR_FORM--}" />
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_SURFBAR_ADD_URL_SUBMIT--}" />
</div>
</div>
<script type="text/javascript" src="{%url=js.php?js=surfbar_member_book%}{%ext,version=surfbar%}"></script>
+
<script type="text/javascript">
<!--
$('#book').submit(function() {
$('#reset').click(function() {
return resetForm();
});
+
+$('#limit').click(function() {
+ return focusLimit();
+});
+
+$('#limit').blur(function() {
+ return blurLimit();
+});
+
+$('#limit').change(function() {
+ return changeLimited();
+});
+
+$('#limited_no').click(function() {
+ return focusLimitedNo();
+});
+
+$('#limited_yes').click(function() {
+ return focusLimitedYes();
+});
//-->
</script>
{%form_close%}
<span class="notice" style="padding:5px">
- Die maximalen Kosten bzw. Einnahmen pro Surfbaraufruf richten sich nach
- verschiedenen Faktoren. Schauen Sie unter <a
- href="{%url=modules.php?module=login&what=surfbar_start%}">Surfbar starten</a>
- nach, wenn Sie genaueres dazu wissen möchten.
+ {--MEMBER_BOOK_SURFBAR_URL_DYNAMIC_NOTICE--}
</span>
</div>
{%form,formIdBook,formMethodPost=modules.php?module=login&what=book_surfbar%}
<div class="table3 dashed" style="margin-top:10px">
<div class="table_header bottom" style="padding-top:5px;padding-bottom:5px">
- <strong>URL in Surfbar buchen - Statisch:</strong>
+ <strong>{--MEMBER_BOOK_SURFBAR_URL_STATIC_TITLE--}</strong>
</div>
- <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
- URL eingeben: <input type="text" class="form_field" id="url" name="url" size="20" maxlength="255" value="http://" />
- </div>
+ <fieldset id="url_data">
+ <legend>{--MEMBER_BOOK_SURFBAR_URL_DATA_LEGEND--}</legend>
+ <div class="member_input" style="padding-top:5px;padding-bottom:5px">
+ <label class="member_label" for="url">{--MEMBER_BOOK_SURFBAR_URL_ENTER_URL--}</label>
+ <input type="text" class="form_field" id="url" name="url" size="20" maxlength="255" value="http://" />
+ </div>
- <div class="member_input" style="padding-top:5px;padding-bottom:5px">
- Soll die Anzahl Aufrufe begrenzt werden?<br />
- <input type="radio" id="limited_no" onclick="return focusLimitedNo()" name="limited" value="N" checked="checked" /> {--NO--}
- <input type="radio" id="limited_yes" onclick="return focusLimitedYes()" name="limited" value="Y" /> {--YES--}
- </div>
+ <div class="member_input" style="padding-top:5px;padding-bottom:5px">
+ <label class="member_label" for="limited">{--MEMBER_BOOK_SURFBAR_URL_LIMITED--}</label>
+ <input type="radio" id="limited_no" name="limited" value="N" checked="checked" /> {--NO--}
+ <input type="radio" id="limited_yes" name="limited" value="Y" /> {--YES--}
+ </div>
- <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
- Aufrufe begrenzen auf: <input type="text" class="form_field" onchange="return changeLimited()" onclick="return focusLimit()" onblur="return blurLimit()" id="limit" name="limit" size="7" maxlength="20" value="-" />
- </div>
+ <div class="member_input" style="padding-top:5px;padding-bottom:5px">
+ <label class="member_label" for="limit">{--MEMBER_BOOK_SURFBAR_URL_ENTER_LIMIT--}</label>
+ <input type="text" class="form_field" id="limit" name="limit" size="7" maxlength="20" value="-" />
+ </div>
+ </fieldset>
- <div class="member_input" style="padding-top:5px;padding-bottom:5px">
- Jeder Seiten-Aufruf durch andere Mitglieder kostet Ihnen <span
- class="surfbar_points">{%pipe,determineSurfbarCosts,translateComma=true%}{?POINTS?}</span>. Surfen Sie mit
- der Surfbar erhalten Sie <span class="surfbar_points">{%pipe,determineSurfbarReward,translateComma=true%}
- {?POINTS?}</span> auf Ihr Konto gutgeschrieben.<br />
- <br />
- Sie haben bereits <strong>{%pipe,getSurfbarTotalUserUrls,translateComma%}</strong> von maximal
- <strong>{%config,translateComma=surfbar_max_order%}</strong> erlaubten URLs gebucht.
+ <div style="padding-top:5px">
+ <div class="para">
+ {--MEMBER_BOOK_SURFBAR_URL_STATIC_COSTS--}
+ </div>
+ <div class="para">
+ {--MEMBER_BOOK_SURFBAR_URL_TOTAL_AMOUNT--}
+ </div>
</div>
- <div class="table_header top" style="padding-top:5px;padding-bottom:5px">
+ <div class="table_header top">
<input type="reset" class="form_reset" id="reset" value="{--CLEAR_FORM--}" />
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_SURFBAR_ADD_URL_SUBMIT--}" />
</div>
</div>
<script type="text/javascript" src="{%url=js.php?js=surfbar_member_book%}{%ext,version=surfbar%}"></script>
+
<script type="text/javascript">
<!--
$('#book').submit(function() {
$('#reset').click(function() {
return resetForm();
});
+
+$('#limit').click(function() {
+ return focusLimit();
+});
+
+$('#limit').blur(function() {
+ return blurLimit();
+});
+
+$('#limit').change(function() {
+ return changeLimited();
+});
+
+$('#limited_no').click(function() {
+ return focusLimitedNo();
+});
+
+$('#limited_yes').click(function() {
+ return focusLimitedYes();
+});
//-->
</script>
$content[zip_content]
<div class="para">
- <label for="mail_type">{--MEMBER_SELECT_MAIL_TYPE--}</label>
+ <label class="member_label" for="mail_type">{--MEMBER_SELECT_MAIL_TYPE--}</label>
<div>
<select name="mail_type" size="1" class="form_select">
<option value="X" disabled="disabled">{--PLEASE_SELECT--}</option>
</div>
<div class="para">
- <label for="">{--SELECT_CATEGORY--}</label>
+ <label class="member_label" for="">{--SELECT_CATEGORY--}</label>
<div>
<select name="cat" size="1" class="form_select">
<option value="X" disabled="disabled">{--PLEASE_SELECT--}</option>
</div>
<div class="para">
- <label for="receiver">{--ENTER_RECEIVER--}</label>
+ <label class="member_label" for="receiver">{--ENTER_RECEIVER--}</label>
<div>
<input type="text" class="form_field" name="receiver" size="4" maxlength="5" value="$content[target_send]" />
<span class="notice tiny">(Minimum: <strong>{?order_min?})</strong></span>
</div>
<div class="para">
- <label for="subject">{--ENTER_SUBJECT--}</label>
+ <label class="member_label" for="subject">{--ENTER_SUBJECT--}</label>
<div>
<input type="text" class="form_field" name="subject" size="30" maxlength="150" value="$content[subject]" />
</div>
$content[html_extension]
<div class="para">
- <label for="text">{--ENTER_TEXT--}</label>
+ <label class="member_label" for="text">{--ENTER_TEXT--}</label>
<div>
<textarea name="text" class="form_field" rows="10" cols="50">$content[text]</textarea>
</div>
</div>
<div class="para">
- <label for="url">{--MEMBER_ENTER_URL--}</label>
+ <label class="member_label" for="url">{--MEMBER_ENTER_URL--}</label>
<div>
<input type="text" class="form_field" name="url" size="60" maxlength="350" value="$content[url]" />
</div>
<extra-parameter-list-entry name="" type="string" value="" />
</extra-parameter-list>
<!--
+ Status change array.
+ //-->
+ <status-change-list>
+ </status-change-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" />