X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-surfbar_list.php;h=d2d14180d91c3e438833a880b33ff51b3e341750;hp=da9bfd255138a082b6a2d05ffb6c758558513bbf;hb=074b138e44c79cb56666b412781b17467ec79e6e;hpb=98e932344cf1462454f0a875a25fed3d1df4f812 diff --git a/inc/modules/member/what-surfbar_list.php b/inc/modules/member/what-surfbar_list.php index da9bfd2551..d2d14180d9 100644 --- a/inc/modules/member/what-surfbar_list.php +++ b/inc/modules/member/what-surfbar_list.php @@ -1,106 +1,3 @@ 0) { - // List all URLs - $OUT = ''; $SW = 2; - foreach ($urlArray as $id => $content) { - // "Translate"/insert data - $content['sw'] = $SW; - $content['url'] = generateDerefererUrl($content['url']); - if ($content['views_total'] > 0) { - // Include link to stats - $content['views_total'] = "[".translateComma($content['views_total'])."]"; - } // END - if - $content['url_registered'] = generateDateTime($content['url_registered'], 2); - $content['url_last_locked'] = generateDateTime($content['url_last_locked'], 2); - $content['actions'] = SURFBAR_MEMBER_ACTIONS($content['id'], $content['url_status']); - $content['url_status'] = translateSurfbarUrlStatus($content['url_status']); - if (empty($content['url_lock_reason'])) { - // Fixes some HTML problems with empty cells - $content['url_lock_reason'] = '---'; - } // END - if - - // Load row template - $OUT .= loadTemplate('member_surfbar_list_row', true, $content); - - // Switch color - $SW = 3 - $SW; - } // END - if - - // Load main template - loadTemplate('member_surfbar_list', false, $OUT); -} else { - // No URLs booked so far - loadTemplate('admin_settings_saved', false, getMessage('MEMBER_SURFBAR_NO_URLS_FOUND')); -} - -// +// @DEPRECTAED ?>