fixes some PHP warnings
This commit is contained in:
parent
9ec0668da5
commit
5ab6a47862
|
@ -61,7 +61,7 @@ if ($show == "all" && !$subadmin == 1 && $cuid != 2000) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// show all accounts by default for admin-like accounts
|
// show all accounts by default for admin-like accounts
|
||||||
if (($show=="")&&($subadmin == 1 || $cuid == 2000)) $show=all;
|
if (($show=="")&&($subadmin == 1 || $cuid == 2000)) $show="all";
|
||||||
|
|
||||||
if ($pattern && $pattern_type) {
|
if ($pattern && $pattern_type) {
|
||||||
$accountList = $admin->get_list($show == 'all' ? 1 : 0, $creator, $pattern, $pattern_type);
|
$accountList = $admin->get_list($show == 'all' ? 1 : 0, $creator, $pattern, $pattern_type);
|
||||||
|
|
|
@ -107,7 +107,7 @@ if($admin->enabled) {
|
||||||
} // if $admin->enabled
|
} // if $admin->enabled
|
||||||
|
|
||||||
$blocks=$hooks->invoke("hook_homepageblock");
|
$blocks=$hooks->invoke("hook_homepageblock");
|
||||||
uasort($blocks, function($a, $b) {return $a->order<$b->order ? -1 : 1;});
|
uasort($blocks, function($a, $b) {return $a->pos<$b->pos ? -1 : 1;});
|
||||||
foreach ($blocks as $v) {
|
foreach ($blocks as $v) {
|
||||||
if (property_exists($v, "call")) {
|
if (property_exists($v, "call")) {
|
||||||
$func=$v->call;
|
$func=$v->call;
|
||||||
|
|
|
@ -6080,7 +6080,7 @@ msgstr "Anzeige der Einschränkungen"
|
||||||
#: ../class/m_quota.php:78
|
#: ../class/m_quota.php:78
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s%% of %s"
|
msgid "%s%% of %s"
|
||||||
msgstr "%s%% von %s"
|
msgstr "%s% von %s"
|
||||||
|
|
||||||
#: ../class/m_quota.php:78 ../class/m_quota.php:106 ../class/m_quota.php:197
|
#: ../class/m_quota.php:78 ../class/m_quota.php:106 ../class/m_quota.php:197
|
||||||
msgid "quota_"
|
msgid "quota_"
|
||||||
|
|
|
@ -6090,7 +6090,7 @@ msgstr "Quotas du compte AlternC"
|
||||||
#: ../class/m_quota.php:78
|
#: ../class/m_quota.php:78
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s%% of %s"
|
msgid "%s%% of %s"
|
||||||
msgstr "%s%% de %s"
|
msgstr "%s% de %s"
|
||||||
|
|
||||||
#: ../class/m_quota.php:78 ../class/m_quota.php:106 ../class/m_quota.php:197
|
#: ../class/m_quota.php:78 ../class/m_quota.php:106 ../class/m_quota.php:197
|
||||||
msgid "quota_"
|
msgid "quota_"
|
||||||
|
|
|
@ -6075,7 +6075,7 @@ msgstr "Toon mijn quota's"
|
||||||
#: ../class/m_quota.php:78
|
#: ../class/m_quota.php:78
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s%% of %s"
|
msgid "%s%% of %s"
|
||||||
msgstr "%s%% van %s"
|
msgstr "%s% van %s"
|
||||||
|
|
||||||
#: ../class/m_quota.php:78 ../class/m_quota.php:106 ../class/m_quota.php:197
|
#: ../class/m_quota.php:78 ../class/m_quota.php:106 ../class/m_quota.php:197
|
||||||
msgid "quota_"
|
msgid "quota_"
|
||||||
|
|
Loading…
Reference in New Issue