194 lines
8.0 KiB
Smarty
194 lines
8.0 KiB
Smarty
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
|
|
<title>{$pageTitle}</title>
|
|
<link rel="stylesheet" type="text/css" href="{$urlStatic}/css/Admin/style.css" />
|
|
<link rel="stylesheet" type="text/css" href="{$urlStatic}/css/Admin/style2.css" />
|
|
<link rel="stylesheet" type="text/css" href="{$urlStatic}/css/Admin/styleUP.css" />
|
|
<link rel="stylesheet" type="text/css" href="{$urlStatic}/css/jquery-ui.css"/ >
|
|
<link rel="stylesheet" type="text/css" href="{$urlStatic}/css/Admin/jquery-ui.theme.css"/ >
|
|
<link rel="stylesheet" type="text/css" href="{$urlStatic}/css/jquery.datetimepicker.css"/ >
|
|
<link rel="stylesheet" href="{$urlStatic}/css/drag-drop-folder-tree.css" type="text/css"></link>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Content-Language" content="pl" />
|
|
<link rel="apple-touch-icon" sizes="57x57" href="{$urlStatic}/image/Strona/favicon/apple-icon-57x57.png">
|
|
<link rel="apple-touch-icon" sizes="60x60" href="{$urlStatic}/image/Strona/favicon/apple-icon-60x60.png">
|
|
<link rel="apple-touch-icon" sizes="72x72" href="{$urlStatic}/image/Strona/favicon/apple-icon-72x72.png">
|
|
<link rel="apple-touch-icon" sizes="76x76" href="{$urlStatic}/image/Strona/favicon/apple-icon-76x76.png">
|
|
<link rel="apple-touch-icon" sizes="114x114" href="{$urlStatic}/image/Strona/favicon/apple-icon-114x114.png">
|
|
<link rel="apple-touch-icon" sizes="120x120" href="{$urlStatic}/image/Strona/favicon/apple-icon-120x120.png">
|
|
<link rel="apple-touch-icon" sizes="144x144" href="{$urlStatic}/image/Strona/favicon/apple-icon-144x144.png">
|
|
<link rel="apple-touch-icon" sizes="152x152" href="{$urlStatic}/image/Strona/favicon/apple-icon-152x152.png">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{$urlStatic}/image/Strona/favicon/apple-icon-180x180.png">
|
|
<link rel="icon" type="image/png" sizes="192x192" href="{$urlStatic}/image/Strona/favicon/android-icon-192x192.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{$urlStatic}/image/Strona/favicon/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="96x96" href="{$urlStatic}/image/Strona/favicon/favicon-96x96.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{$urlStatic}/image/Strona/favicon/favicon-16x16.png">
|
|
<link rel="manifest" href="{$urlStatic}/image/Strona/favicon/manifest.json">
|
|
<meta name="msapplication-TileColor" content="#ffffff">
|
|
<meta name="msapplication-TileImage" content="{$urlStatic}/image/Strona/favicon/ms-icon-144x144.png">
|
|
<meta name="theme-color" content="#ffffff">
|
|
{section name=s loop=$javaScript}
|
|
{if $javaScript[s].file!=''}
|
|
<script src="{$javaScript[s].file}" type="text/javascript" charset="utf-8"></script>
|
|
{/if}
|
|
{if $javaScript[s].code!=''}
|
|
<script type="text/javascript">
|
|
<!-- <![CDATA[
|
|
{$javaScript[s].code}
|
|
// ]]> -->
|
|
</script>
|
|
{/if}
|
|
{/section}
|
|
<script type="text/javascript">
|
|
var LinkUrl = '{url Structure=link}';
|
|
|
|
|
|
|
|
</script>
|
|
{*{literal}
|
|
<script>
|
|
$( function() {
|
|
|
|
$( "select" ).selectmenu();
|
|
$( "checkbox" ).checkboxradio();
|
|
|
|
|
|
} );
|
|
</script>
|
|
{/literal}*}
|
|
</head>
|
|
<body>
|
|
<div id="dialog-message" class="none" title="Info"></div>
|
|
<div id="dialog-confirm" class="none" title="Info"></div>
|
|
<div class="titleHeader">
|
|
<img src="{$urlStatic}/image/Admin/aem-cms-white.png" alt="" title="" border="0"/>
|
|
<div style="float: right; display: block;">
|
|
<form action="{url Structure=ChangeLang}" method="post">
|
|
<select id="lang" name="lang" onchange="submit();">
|
|
<option value="pl" {if $lang == 'pl'}selected{/if}>Polski</option>
|
|
<option value="en" {if $lang == 'en'}selected{/if}>English</option>
|
|
</select>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- TOP NAV -->
|
|
<ul class="tabs">
|
|
<li><a href="{url structure=index}" class="{if $titleAdmin == 'Struktura strony' || $titleAdmin == 'Pliki' || $titleAdmin == 'Aktualności'}selected{/if}">Struktura</a></li>
|
|
<li><a href="{url HomeSite=ArticleBox}" class="{if $titleAdmin == 'Elementy Strony'}selected{/if}">Elementy Strony</a></li>
|
|
{* <li><a href="{url Setup=Index}" class="{if $titleAdmin == 'Administracja'}selected{/if}">Administracja</a></li>*}
|
|
<li><a href="{url Login=logout}" class="{if $titleAdmin == 'Logowanie'}selected{/if}">Wyloguj</a></li>
|
|
</ul>
|
|
<!-- END TOP NAV -->
|
|
|
|
<div class="cb"></div>
|
|
<!-- MAIN FRAME -->
|
|
<div class="mainContentFrame">
|
|
<!-- SIDE MENU -->
|
|
|
|
<div class="sideMenuContainer">
|
|
<!-- SIDE MENU OPTION -->
|
|
{*<div class="sideMenu">
|
|
<h2><a href="#"><img align="absmiddle" src="{$urlStatic}/image/Admin/expand.gif" alt="konto" />Opcje zwinięte</a></h2>
|
|
<div class="section">
|
|
</div>
|
|
</div>
|
|
*}
|
|
|
|
|
|
<!-- SIDE MENU OPTION -->
|
|
<div class="sideMenu">
|
|
<h2>{$titleAdmin}</h2>
|
|
<div class="section">
|
|
<div class="sideMenuIcons">
|
|
{if isset($showIcon) && $showIcon == true}
|
|
<div class="overflow">
|
|
<a class="addItemMenu" href="{url Structure='Add'}" title="Dodaj element">Dodaj element</a>
|
|
<a class="deleteItemMenu" href="{url structure=delete}" onclick="{literal}if (ConfirmAction('Czy napewno usunęć ten element?', '{/literal}{url structure=delete}{literal}')) { } else {return false;}{/literal}" title="Usuń element">Usuń element</a>
|
|
{* <a class="deleteItemMenu" href="{url structure=delete}" onclick="{literal}if (confirm('Czy napewno usunąć ten element?')) {} else {return false;}{/literal}" title="Usuń element">Usuń element</a>*}
|
|
|
|
{if !$idStucture}{assign var=idStucture value=-1}{/if}
|
|
{*<a href="{url label=copyStructure id=$idStucture}" {if $idStucture < 0} onclick="alert('Nie wybrano elementu do skopiowania!'); return false;" {/if}}><img src="{$urlStatic}/image/Admin/iconCopy.gif" border="0" title="Kopiuj" alt="Kopiuj"/></a>*}
|
|
{*<a href="#"><img src="{$urlStatic}/image/Admin/iconPreview.gif" border="0" title="" alt=""/></a>*}
|
|
<div class="cb"></div>
|
|
<div class="paddedContent"></div>
|
|
</div>
|
|
|
|
|
|
<div class="framePopver" id="stucturePopover" style="display: none; background: #ffffff;">
|
|
<form action="{url Structure='Add'}" method="post" id="sendModule" enctype="multipart/form-data" >
|
|
<div class="panelPopoverTop"><b>Utwórz stronę</b></div>
|
|
<div class="panelPopoverContent">
|
|
<div class="floatLeft frameLeftPopover">
|
|
Podaj nazwę:
|
|
</div>
|
|
<input type="text" name="title" />
|
|
</div>
|
|
|
|
<div class="panelPopoverContent">
|
|
|
|
<div class="floatLeft frameLeftPopover">
|
|
Wybierz rodzaj strony:
|
|
</div>
|
|
{*
|
|
<select name="idModule" id="idModule" onchange="GetModuleCategory(document.getElementById('idModule').value, '{url structure='AjaxGetModuleCategory'}');">
|
|
<option value="0">Wybierz</option>
|
|
{html_options options=$arrayModuleName}
|
|
</select>
|
|
*}
|
|
</div>
|
|
|
|
|
|
|
|
{*<div class="panelPopoverContent" id="categoryOptions" style="display: hidden;">
|
|
</div>*}
|
|
|
|
|
|
<div class="panelPopoverBottom">
|
|
|
|
{*
|
|
<input class="cancel" type="button" name="back" value="Anuluj" onclick="javascript: document.getElementById('stucturePopover').style.display = 'none';"/>
|
|
|
|
|
|
|
|
|
|
<input id="dalejPopover" type="submit" name="name" value="Dalej" style="display: none;" />
|
|
*}
|
|
<div class="cb"></div>
|
|
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
{else}
|
|
|
|
|
|
{/if}
|
|
</div>
|
|
{$structure}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="cb"></div>
|
|
</div>
|
|
|
|
<!-- END SIDE MENU -->
|
|
<div class="mainContent">
|
|
{if isset($info) && $info != 'wybrana strona nie istnieje'}
|
|
<div class="{if $type && $type=='error'}messageError{elseif $type == 'info'}messageInfo{else}messageOk{/if}">{$info}</div>
|
|
{/if}
|
|
<div id="infoMessage"></div>
|
|
{$content}
|
|
<!-- /panelRight -->
|
|
</div>
|
|
|
|
<div class="cb"></div>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html> |