1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 15:31:41 +02:00

Issue #223 - File Inspector UI cleanup.

This commit is contained in:
Cameron
2016-03-17 18:53:33 -07:00
parent 329401bda5
commit 9d3e1ad5e7
4 changed files with 269 additions and 83 deletions

View File

@@ -148,11 +148,12 @@ class admin_shortcodes
$ns = e107::getRender();
$pref = e107::getPref();
$help_text = '';
if(function_exists('e_help') && ($tmp = e_help())) // new in v2.x for non-admin-ui admin pages.
{
return $ns->tablerender($tmp['caption'],$tmp['text'],'e_help',true);
$help_text = $ns->tablerender($tmp['caption'],$tmp['text'],'e_help',true);
}
$helpfile = '';
@@ -185,7 +186,7 @@ class admin_shortcodes
ob_start();
include_once($helpfile);
$help_text = ob_get_contents();
$help_text .= ob_get_contents();
ob_end_clean();
return $help_text;
}