]> git.mxchange.org Git - friendica.git/blobdiff - mod/admin.php
Just some more fixed notice
[friendica.git] / mod / admin.php
index da50007131535e5ddcda2c885accb10cdfc5de62..9a289dda5a2365ce6950b820205fd069605121e0 100644 (file)
@@ -14,6 +14,7 @@ use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Core\Theme;
 use Friendica\Core\Worker;
+use Friendica\Database\dba;
 use Friendica\Database\DBM;
 use Friendica\Database\DBStructure;
 use Friendica\Model\Contact;
@@ -783,6 +784,11 @@ function admin_page_workerqueue(App $a)
        $statement = dba::select('workerqueue', ['id', 'parameter', 'created', 'priority'], ['done' => 0], ['order'=> ['priority']]);
        $r = dba::inArray($statement);
 
+       for($i = 0; $i < count($r); $i++) {
+               $r[$i]['parameter'] = stripslashes(implode(': ', explode('","', $r[$i]['parameter'])));
+               $r[$i]['parameter'] = substr($r[$i]['parameter'], 2, -2);
+       }
+
        $t = get_markup_template('admin/workerqueue.tpl');
        return replace_macros($t, [
                '$title' => L10n::t('Administration'),
@@ -848,7 +854,7 @@ function admin_page_summary(App $a)
        // Legacy config file warning
        if (file_exists('.htconfig.php')) {
                $showwarning = true;
-               $warningtext[] = L10n::t('Friencia\'s configuration now is stored in config/local.ini.php, please copy config/local-sample.ini.php and move your config from <code>.htconfig.php</code>.');
+               $warningtext[] = L10n::t('Friendica\'s configuration now is stored in config/local.ini.php, please copy config/local-sample.ini.php and move your config from <code>.htconfig.php</code>. See <a href="%s">the Config help page</a> for help with the transition.', $a->get_baseurl() . '/help/Config');
        }
 
        $r = q("SELECT `page-flags`, COUNT(`uid`) AS `count` FROM `user` GROUP BY `page-flags`");