X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-surfbar_list.php;h=a596223d35bbd7c88d84f62ade9ed1217e09b106;hb=fe553854ad47736f21c7673f244c58a1ab258b16;hp=83210ee9d7512cd89dcd8bb790dc62e5d9632dd2;hpb=29385a0483bbcbbe940a32a49d488b1d5add15c5;p=mailer.git
diff --git a/inc/modules/member/what-surfbar_list.php b/inc/modules/member/what-surfbar_list.php
index 83210ee9d7..a596223d35 100644
--- a/inc/modules/member/what-surfbar_list.php
+++ b/inc/modules/member/what-surfbar_list.php
@@ -14,8 +14,6 @@
* $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
* $Author:: $ *
- * Needs to be in all Files and every File needs "svn propset *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* Copyright (c) 2009, 2010 by Mailer Developer Team *
@@ -45,7 +43,7 @@ if (!defined('__SECURITY')) {
}
// Add description as navigation point
-addMenuDescription('member', __FILE__);
+addYouAreHereLink('member', __FILE__);
if ((!isExtensionActive('surfbar')) && (!isAdmin())) {
loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('surfbar'));
@@ -56,7 +54,7 @@ if ((!isExtensionActive('surfbar')) && (!isAdmin())) {
$urlArray = SURFBAR_GET_USER_URLS();
// Are there entries or form is submitted?
-if ((isFormSent()) && (isPostRequestParameterSet(('action'))) && (isPostRequestParameterSet('id'))) {
+if ((isFormSent()) && (isPostRequestParameterSet('action')) && (isPostRequestParameterSet('id'))) {
// Process the form
if (SURFBAR_MEMBER_DO_FORM(postRequestArray(), $urlArray)) {
// Action performed but shall we display it?
@@ -70,13 +68,12 @@ if ((isFormSent()) && (isPostRequestParameterSet(('action'))) && (isPostRequestP
}
} elseif (count($urlArray) > 0) {
// List all URLs
- $OUT = ''; $SW = 2;
+ $OUT = '';
foreach ($urlArray as $id => $content) {
// "Translate"/insert data
- $content['sw'] = $SW;
if ($content['views_total'] > 0) {
// Include link to stats
- $content['views_total'] = '[' . translateComma($content['views_total']) . ']';
+ $content['views_total'] = '[{%pipe,translateComma=' . $content['views_total'] . '%}]';
} // END - if
$content['url_registered'] = generateDateTime($content['url_registered'], 2);
$content['url_last_locked'] = generateDateTime($content['url_last_locked'], 2);
@@ -84,9 +81,6 @@ if ((isFormSent()) && (isPostRequestParameterSet(('action'))) && (isPostRequestP
// Load row template
$OUT .= loadTemplate('member_surfbar_list_row', true, $content);
-
- // Switch color
- $SW = 3 - $SW;
} // END - if
// Load main template