1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Example Private Message Menu in Admin area.

This commit is contained in:
Cameron
2012-11-30 18:14:51 -08:00
parent 6d862f3fdf
commit 01a6e11f44
4 changed files with 63 additions and 8 deletions

View File

@@ -304,8 +304,7 @@ function e_admin_menu($title, $active_page, $e107_vars, $tmpl = array(), $sub_li
{
$temp = $tmpl['button_logout'.$kpost];
}
$replace[0] = str_replace(" ", " ", $e107_vars[$act]['text']);
// valid URLs
$replace[1] = str_replace(array('&', '&'), array('&', '&'), varsettrue($e107_vars[$act]['link'], "#{$act}"));
@@ -317,10 +316,6 @@ function e_admin_menu($title, $active_page, $e107_vars, $tmpl = array(), $sub_li
}
$replace[3] = $title;
$replace[4] = '';
$replace[5] = $id ? " id='eplug-nav-{$rid}'" : '';
$replace[6] = $rid;