Vergleich admin/inc/class_page.php - 1.6.3 - 1.6.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: class_page.php 5380 2011-02-21 12:04:43Z Tomm $

 * $Id: class_page.php 5620 2011-09-26 18:23:52Z ralgith $

 */

/*

 */

/*

Zeile 606Zeile 606
	function output_tab_control($tabs=array(), $observe_onload=true, $id="tabs")
{
global $plugins;

	function output_tab_control($tabs=array(), $observe_onload=true, $id="tabs")
{
global $plugins;

		$plugins->run_hooks_by_ref("admin_page_output_tab_control_start", $tabs);

		$tabs = $plugins->run_hooks("admin_page_output_tab_control_start", $tabs);

		echo "<script type=\"text/javascript\">\n";
if($observe_onload)
{

		echo "<script type=\"text/javascript\">\n";
if($observe_onload)
{

Zeile 651Zeile 651
	function output_nav_tabs($tabs=array(), $active='')
{
global $plugins;

	function output_nav_tabs($tabs=array(), $active='')
{
global $plugins;

		$plugins->run_hooks_by_ref("admin_page_output_nav_tabs_start", $tabs);

		$tabs = $plugins->run_hooks("admin_page_output_nav_tabs_start", $tabs);

		echo "<div class=\"nav_tabs\">";
echo "\t<ul>\n";
foreach($tabs as $id => $tab)

		echo "<div class=\"nav_tabs\">";
echo "\t<ul>\n";
foreach($tabs as $id => $tab)

Zeile 769Zeile 769
	 */
function add_menu_items($items, $active)
{

	 */
function add_menu_items($items, $active)
{

 
		global $run_module;


		$this->_contents = "<ul class=\"menu\">";
foreach($items as $item)
{

		$this->_contents = "<ul class=\"menu\">";
foreach($items as $item)
{

 
			if(!check_admin_permissions(array("module" => $run_module, "action" => $item['id']), false))
{
continue;
}


			$class = "";
if($item['id'] == $active)
{

			$class = "";
if($item['id'] == $active)
{