define('TASK_ADMIN_LIST_EXTENSIONS_ALL_TITLE', "Es exisitieren Erweiterungen in Ihrem ".MT_WORD.".");
define('TASK_ADMIN_LIST_EXTENSIONS_ACTIVE', "Aktivierte Erweit.");
define('TASK_ADMIN_LIST_EXTENSIONS_ACTIVE_TITLE', "Sie haben Erweiterungen aktiviert!");
-define('TAKS_ADMIN_LIST_ACCOUNT_NOREF', "Accounts ohne Werber");
-define('TAKS_ADMIN_LIST_ACCOUNT_NOREF_TITLE', "Es wurden Accounts ohne Werber-ID (refid=0) gefunden!");
+define('TASK_ADMIN_LIST_ACCOUNT_NOREF', "Accounts ohne Werber");
+define('TASK_ADMIN_LIST_ACCOUNT_NOREF_TITLE', "Es wurden Accounts ohne Werber-ID (refid=0) gefunden!");
+define('TASK_ADMIN_LIST_SURFBAR_URLS_ALL', "Alle URLs in Surfbar");
+define('TASK_ADMIN_LIST_SURFBAR_URLS_ALL_TITLE', "In der Surfbar sind URLs gebucht worden.");
+define('TASK_ADMIN_LIST_SURFBAR_URLS_PENDING', "Wartende URLs in Surfbar");
+define('TASK_ADMIN_LIST_SURFBAR_URLS_PENDING_TITLE', "Es warten noch URLs auf Freischaltung für die Surfbar");
//
?>
if (GET_EXT_VERSION("sql_patches") >= "0.3.4") {
// Check for accounts without referral
$SQLs[] = "SELECT userid FROM "._MYSQL_PREFIX."_user_data WHERE refid='0' ORDER BY userid";
- $DESCRs[] = TAKS_ADMIN_LIST_ACCOUNT_NOREF;
- $TITLEs[] = TAKS_ADMIN_LIST_ACCOUNT_NOREF_TITLE;
+ $DESCRs[] = TASK_ADMIN_LIST_ACCOUNT_NOREF;
+ $TITLEs[] = TASK_ADMIN_LIST_ACCOUNT_NOREF_TITLE;
$WHATs[] = "list_norefs";
}
$TITLEs[] = TASK_ADMIN_LIST_ADMINS_ALL_TITLE;
}
+ if (EXT_IS_ACTIVE("surfbar")) {
+ // List all URLs in surfbar
+ $SQLs[] = "SELECT id FROM "._MYSQL_PREFIX."_surfbar_urls ORDER BY id";
+ $WHATs[] = "list_surfbar_urls";
+ $DESCRs[] = TASK_ADMIN_LIST_SURFBAR_URLS_ALL;
+ $TITLEs[] = TASK_ADMIN_LIST_SURFBAR_URLS_ALL_TITLE;
+
+ // List all pending URLs in surfbar
+ $SQLs[] = "SELECT id FROM "._MYSQL_PREFIX."_surfbar_urls WHERE status='PENDING' ORDER BY id";
+ $WHATs[] = "unlock_surfbar_urls";
+ $DESCRs[] = TASK_ADMIN_LIST_SURFBAR_URLS_PENDING;
+ $TITLEs[] = TASK_ADMIN_LIST_SURFBAR_URLS_PENDING_TITLE;
+ }
+
// Generate extra overview rows
$EXTRAS .= TASK_CREATE_EXTRA_ROWS($SQLs, $WHATs, $DESCRs, $TITLEs);