1
0
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:
CaMer0n
2012-05-24 16:11:26 +00:00
parent 5b0c587b98
commit 929d0a8d42
3 changed files with 11 additions and 3 deletions

View File

@@ -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);

View File

@@ -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."&amp;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.'&amp;vis='.$menu_id.'" title="'.MENLAN_20.'">'.ADMIN_VIEW_ICON.'</a>';
<a class="e-dialog" target="_top" href="'.e_SELF.'?lay='.$this->curLayout.'&amp;vis='.$menu_id.'&amp;iframe=1" title="'.MENLAN_20.'">'.ADMIN_VIEW_ICON.'</a>';
if($conf)
{

View File

@@ -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'>