From f276b698a43029f66ba4481e6e886445a722344d Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 3 Dec 2012 02:27:19 -0800 Subject: [PATCH] Fixed function typo --- e107_admin/includes/beginner.php | 2 +- e107_admin/includes/cascade.php | 2 +- e107_admin/includes/categories.php | 6 +++--- e107_admin/includes/classis.php | 2 +- e107_admin/includes/combo.php | 2 +- e107_admin/includes/compact.php | 2 +- e107_admin/includes/tabbed.php | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/e107_admin/includes/beginner.php b/e107_admin/includes/beginner.php index 79d1aa534..4d5b45809 100644 --- a/e107_admin/includes/beginner.php +++ b/e107_admin/includes/beginner.php @@ -35,7 +35,7 @@ if($_GET['mode'] == "e_advanced"){ // $selection = array(21,11,17,24,5,19,7,27,28,25); foreach($selection as $id) { - $buts .= e107::renderAdminButton($newarray[$id][0],$newarray[$id][1],$newarray[$id][2],$newarray[$id][3],$newarray[$id][6],'beginner'); + $buts .= e107::getNav()->renderAdminButton($newarray[$id][0],$newarray[$id][1],$newarray[$id][2],$newarray[$id][3],$newarray[$id][6],'beginner'); } $text .= $buts; diff --git a/e107_admin/includes/cascade.php b/e107_admin/includes/cascade.php index 14a58c7ec..5600032a2 100644 --- a/e107_admin/includes/cascade.php +++ b/e107_admin/includes/cascade.php @@ -24,7 +24,7 @@ $text = "
while (list($key, $funcinfo) = each($newarray)) { - $text .= e107::renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'adminb'); + $text .= e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'adminb'); } $text .= " diff --git a/e107_admin/includes/categories.php b/e107_admin/includes/categories.php index b1805efe5..202fb36c2 100644 --- a/e107_admin/includes/categories.php +++ b/e107_admin/includes/categories.php @@ -36,7 +36,7 @@ foreach ($admin_cat['id'] as $cat_key => $cat_id) { if ($funcinfo[4] == $cat_key) { - $text_rend = e107::renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default'); + $text_rend = e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default'); if ($text_rend) { $text_check = TRUE; @@ -47,7 +47,7 @@ foreach ($admin_cat['id'] as $cat_key => $cat_id) } else { - $text_rend = e107::renderAdminButton(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", E_16_PLUGMANAGER, 'default'); + $text_rend = e107::getNav()->renderAdminButton(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", E_16_PLUGMANAGER, 'default'); $xml = e107::getXml(); $xml->filter = array('@attributes' => FALSE,'administration' => FALSE); // .. and they're all going to need the same filter @@ -94,7 +94,7 @@ foreach ($admin_cat['id'] as $cat_key => $cat_id) ksort($plugin_array, SORT_STRING); foreach ($plugin_array as $plug_key => $plug_value) { - $text_cat .= e107::renderAdminButton($plug_value['link'], $plug_value['title'], $plug_value['caption'], $plug_value['perms'], $plug_value['icon'], 'default'); + $text_cat .= e107::getNav()->renderAdminButton($plug_value['link'], $plug_value['title'], $plug_value['caption'], $plug_value['perms'], $plug_value['icon'], 'default'); } } $text_cat .= render_clean(); diff --git a/e107_admin/includes/classis.php b/e107_admin/includes/classis.php index 8a9cb4471..3f81b48a9 100644 --- a/e107_admin/includes/classis.php +++ b/e107_admin/includes/classis.php @@ -23,7 +23,7 @@ $buts = ""; while (list($key, $funcinfo) = each($newarray)) { - $buts .= e107::renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[6], "classis"); + $buts .= e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[6], "classis"); } if($buts != "") { diff --git a/e107_admin/includes/combo.php b/e107_admin/includes/combo.php index 0df5de0b3..5b677587b 100644 --- a/e107_admin/includes/combo.php +++ b/e107_admin/includes/combo.php @@ -23,7 +23,7 @@ $text = "
"; $buts = ""; while (list($key, $funcinfo) = each($newarray)) { - $buts .= e107::renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default'); + $buts .= e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default'); } $text .= $buts; while ($td <= 5) { diff --git a/e107_admin/includes/compact.php b/e107_admin/includes/compact.php index 31428a0c7..035a0539e 100644 --- a/e107_admin/includes/compact.php +++ b/e107_admin/includes/compact.php @@ -24,7 +24,7 @@ $text = "
"; while (list($key, $funcinfo) = each($newarray)) { - $buts .= e107::renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default'); + $buts .= e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default'); } $text .= $buts; diff --git a/e107_admin/includes/tabbed.php b/e107_admin/includes/tabbed.php index 89af1569c..220ddb22f 100644 --- a/e107_admin/includes/tabbed.php +++ b/e107_admin/includes/tabbed.php @@ -49,7 +49,7 @@ foreach ($admin_cat['id'] as $cat_key => $cat_id) { if ($funcinfo[4] == $cat_key) { - $text_rend = e107::renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[6], 'classis'); + $text_rend = e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[6], 'classis'); if ($text_rend) { $text_check = TRUE;