mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Dialog for visibility.
This commit is contained in:
@@ -93,7 +93,7 @@ if(e_AJAX_REQUEST)
|
||||
exit;
|
||||
}
|
||||
|
||||
if(isset($_GET['configure']))
|
||||
if(isset($_GET['configure']) || isset($_GET['iframe']))
|
||||
{
|
||||
//No layout parse when in iframe mod
|
||||
define('e_IFRAME', true);
|
||||
|
@@ -508,7 +508,7 @@ class e_menuManager {
|
||||
$menu_pages = str_replace("|", "\n", $menu_pages);
|
||||
|
||||
$text = "<div style='text-align:center;'>
|
||||
<form method='post' action='".e_SELF."?lay=".$this->curLayout."'>
|
||||
<form method='post' action='".e_SELF."?lay=".$this->curLayout."&iframe=1'>
|
||||
<fieldset id='core-menus-visibilityform'>
|
||||
<legend>". MENLAN_7." ".$row['menu_name']."</legend>
|
||||
<table class='adminform'>
|
||||
@@ -1208,7 +1208,7 @@ class e_menuManager {
|
||||
//DEBUG remove inline style, switch to simple quoted string for title text value
|
||||
//TODO hardcoded text
|
||||
$text .= '<div class="center">
|
||||
<a target="_top" href="'.e_SELF.'?lay='.$this->curLayout.'&vis='.$menu_id.'" title="'.MENLAN_20.'">'.ADMIN_VIEW_ICON.'</a>';
|
||||
<a class="e-dialog" target="_top" href="'.e_SELF.'?lay='.$this->curLayout.'&vis='.$menu_id.'&iframe=1" title="'.MENLAN_20.'">'.ADMIN_VIEW_ICON.'</a>';
|
||||
|
||||
if($conf)
|
||||
{
|
||||
|
@@ -25,6 +25,14 @@ define("ADLINK_COLS",5);
|
||||
|
||||
include_lan(e_THEME."_blank/languages/".e_LANGUAGE.".php");
|
||||
|
||||
|
||||
$ADMIN_LOGIN = "<div class='admin-wrapper'>Something</div>"; // TODO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//{FS_ADMIN_ALT_NAV}
|
||||
$ADMIN_HEADER = "
|
||||
<div class='admin-wrapper'>
|
||||
|
Reference in New Issue
Block a user