Even more fixes/improvements:
authorRoland Häder <roland@mxchange.org>
Sat, 10 Nov 2012 19:11:01 +0000 (19:11 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Nov 2012 19:11:01 +0000 (19:11 +0000)
- Added missing XML node
- Added missing 'class' to all label tags
- Swapped out text from surfbar templates to language file
- Other minor improvements/fixes

19 files changed:
inc/callback-functions.php
inc/functions.php
inc/language/surfbar_de.php
inc/libs/surfbar_functions.php
inc/mysql-manager.php
templates/de/html/admin/admin_add_tester_user.tpl
templates/de/html/admin/admin_config_admin.tpl
templates/de/html/admin/admin_config_autopurge.tpl
templates/de/html/admin/admin_config_order.tpl
templates/de/html/admin/admin_config_refid.tpl
templates/de/html/admin/admin_config_title.tpl
templates/de/html/admin/admin_config_user.tpl
templates/de/html/admin/admin_receive_table.tpl
templates/de/html/admin/admin_unlock_surfbar_urls.tpl
templates/de/html/member/member_add_subid.tpl
templates/de/html/member/member_book_surfbar_dynamic.tpl
templates/de/html/member/member_book_surfbar_static.tpl
templates/de/html/member/member_order_page2.tpl
templates/xml/admin/admin_undelete_show_surfbar_urls.xml

index d42f017e3ae3fc1ca7f0539e8fbcfc297c493790..ba91f20d62aec30d6b0c3016163bde97e6a5b037 100644 (file)
@@ -541,10 +541,13 @@ function doXmlStatusChangeList ($resource, $attributes) {
        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'
index ff6852bb84205a2ef5a390f230ec227af64273af..80b004f5c43e99235acec13be6556aa5f4fff4db 100644 (file)
@@ -1343,7 +1343,7 @@ function handleExtraValues ($filterFunction, $value, $extraValue) {
 }
 
 // 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
@@ -1358,7 +1358,7 @@ function doHandleExtraValues ($filterFunctions, $extraValues, $key, $entries, $u
                // 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
@@ -1367,7 +1367,7 @@ function doHandleExtraValues ($filterFunctions, $extraValues, $key, $entries, $u
                // 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?
@@ -2078,13 +2078,10 @@ function convertZeroToNull ($number) {
 // 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;
index ce5a8b9682d23b1fd2d2147c2f72166c69382d51..b64a39ec67eaaf3dba682597a56a317b54cbc206 100644 (file)
@@ -171,6 +171,20 @@ addMessages(array(
        '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&amp;what=start_surfbar%}\">Surfbar starten</a> nach, wenn Sie genaueres dazu wissen m&ouml;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&uuml;gt durch Admin",
        'ADMIN_SURFBAR_NOTIFY_URL_REG_SUBJECT' => "[Surfbar:] Mitgliedsbuchung einer URL",
index 65f9614cedba0cc281c995383d99760807299698..8a02ca61163e4120500133f2c48080d9a9e32c9a 100644 (file)
@@ -476,7 +476,7 @@ function executeSurfbarMemberEditAction ($urlData) {
 
        // 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`
index 419859d5cb83839c112e1185c22d5841fa180d55..ace74be26f4831d058a6e2687d219abe20fc0e0c 100644 (file)
@@ -2239,7 +2239,7 @@ function doGenericDeleteEntriesConfirm ($tableName, $columns = array(), $filterF
 
        // 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
@@ -2372,7 +2372,7 @@ function doGenericListBuilder ($prefix, $listType, $tableName, $columns, $filter
                                // 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
index 3064d04f6b1aec4e8d67d19c1a86b85b4199860b..846d6745ac6e4d3307d106aec4d61d6954460957 100644 (file)
@@ -8,47 +8,47 @@
        <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" />
@@ -56,7 +56,7 @@
                </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>
index 572d1a43a107ef70b000d526b3014fa9164a54e2..c2e7ed2cc01bb163109eddfb785bda19411ab056 100644 (file)
@@ -9,14 +9,14 @@
                <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>
@@ -27,7 +27,7 @@
                <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>
index 93f6243b86772c210d9dc03ebb3a5782a3aee4d2..f7d6778271f84024836a42aa361fe45878cc0c26 100644 (file)
@@ -9,17 +9,17 @@
                <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>
index edaffe9eec701a1ea12115f9a80406770500aecd..226702d01e8e73ccb79d8b2ab17dde5a94c9b1f1 100644 (file)
@@ -9,14 +9,14 @@
                <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>
@@ -77,7 +77,7 @@
                <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]
@@ -86,7 +86,7 @@
                </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>
index 6891539b4cb6e8bd580c0225f793e2317691d8ff..6606a604fdce27ca078e50e1fd09c0e6ef6997d9 100644 (file)
@@ -9,14 +9,14 @@
                <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>
@@ -30,7 +30,7 @@
                <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>
@@ -40,7 +40,7 @@
                </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>
index a75ec618e92b910d5515cdf0faab1e96e4d838a2..e1c8c4078a63ceeb9ffe5943e320e64d25301892 100644 (file)
@@ -8,17 +8,17 @@
        <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>
index feced38c73180b43f0fcb37f896e1593da04060b..a0e5eb4eecaddbf7dcf7d0d9ed77310fe86c999a 100644 (file)
@@ -8,12 +8,12 @@
        <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">
@@ -75,7 +75,7 @@
                </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>
index 2a15a3b127dbdc74b2a4c109e7fca4de0e3a5923..507288d4703abf21cdc24bb1a62d53d0451cfb79 100644 (file)
@@ -1,5 +1,5 @@
 <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">
index ac963d53d8aac59a946f53e3c63c1fdd6cff9302..5514e3104ccf1739a51f01d7c4a37d173a9833cf 100644 (file)
@@ -17,8 +17,8 @@ $content
 <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>
index bb45eb6522d6b6cd3c6de497b1b1409e66e801d6..b18871b7611da884074e4d3dfb9a35991faffe71 100644 (file)
@@ -9,7 +9,7 @@
                <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>
index 09ae7460b8383792c11461eb08696ac0326b619a..f1b684cf7817e8a28c8ca39213a97951a8632562 100644 (file)
@@ -2,47 +2,45 @@
 {%form,formIdBook,formMethodPost=modules.php?module=login&amp;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() {
@@ -52,15 +50,32 @@ $('#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&amp;what=surfbar_start%}">Surfbar starten</a>
-       nach, wenn Sie genaueres dazu wissen m&ouml;chten.
+       {--MEMBER_BOOK_SURFBAR_URL_DYNAMIC_NOTICE--}
 </span>
 </div>
index ede62c0f329fafd404cb4c01f420808d67a453ec..b53ba54b56268f9782c49bc5cf1ecf9f21341a42 100644 (file)
@@ -2,40 +2,45 @@
 {%form,formIdBook,formMethodPost=modules.php?module=login&amp;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() {
@@ -45,6 +50,26 @@ $('#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>
 
index 12b007a41f7e59c8b70fab6481494431f68c4b76..aef471759c73de2338531fcbb8b24a33c35a663a 100644 (file)
@@ -8,7 +8,7 @@
        $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>
@@ -18,7 +18,7 @@
        </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>
@@ -28,7 +28,7 @@
        </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>
@@ -36,7 +36,7 @@
        </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>
index bf8afe64be40843a84c92438c094142d781a1fb9..b30e651b462d969f55d3b11f14d0592a74e9503f 100644 (file)
@@ -85,6 +85,11 @@ MA  02110-1301  USA
                <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" />