1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Radio button fix and support for VIEWPORT in the admin area. More admin-menu fixes.

This commit is contained in:
Cameron
2012-11-27 02:34:02 -08:00
parent d2660e96d7
commit b5a8963f00
4 changed files with 39 additions and 17 deletions

View File

@@ -152,7 +152,7 @@ else // XHTML
echo(defined("CORE_LC")) ? "<meta http-equiv='content-language' content='".CORE_LC."' />\n" : "";
echo "<meta http-equiv='content-type' content='text/html; charset=utf-8' />\n";
}
echo (defined("VIEWPORT")) ? "<meta name=\"viewport\" content=\"".VIEWPORT."\" />\n" : "";
echo "<title>".(defined("e_PAGETITLE") ? e_PAGETITLE." - " : (defined("PAGE_NAME") ? PAGE_NAME." - " : "")).LAN_head_4." :: ".SITENAME."</title>\n";
@@ -663,6 +663,7 @@ if ($e107_popup != 1)
return e_admin_menu($title, $active_page, $e107_vars, false, false, $sortlist);
/*
global $ns,$BUTTON,$BUTTON_OVER,$BUTTONS_START,$BUTTONS_END,$SUB_BUTTON,$SUB_BUTTON_OVER,$SUB_BUTTONS_START,$SUB_BUTTONS_END;
$id_title = "yop_".str_replace(" ", "", $title);
@@ -782,9 +783,15 @@ if ($e107_popup != 1)
{
$ns->tablerender($title, $text, array('id'=>$id_title, 'style'=>'button_menu'));
}
*/
}
}
if (file_exists(THEME.'admin_template.php'))
{
require_once (THEME.'admin_template.php');