update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
class FileController extends MainController implements ControllerInterface
|
||||
{
|
||||
const AVATAR_DEST_DIR = '/upload/File';
|
||||
|
||||
@@ -12,11 +12,13 @@ class IndexController extends MainController implements ControllerInterface {
|
||||
*/
|
||||
public function IndexAction($param) {
|
||||
$kat = '../temp/compile';
|
||||
$katalog = opendir($kat);
|
||||
while ($plik = readdir($katalog)) {
|
||||
if ($plik != '.' AND $plik != '..') {
|
||||
unlink($kat . '/' . $plik);
|
||||
if (is_dir($kat) && ($katalog = opendir($kat))) {
|
||||
while ($plik = readdir($katalog)) {
|
||||
if ($plik != '.' AND $plik != '..' && is_file($kat . '/' . $plik)) {
|
||||
unlink($kat . '/' . $plik);
|
||||
}
|
||||
}
|
||||
closedir($katalog);
|
||||
}
|
||||
$this->AddRedirect(URL_MAIN . '/Structure/', 0);
|
||||
//$this->AddRedirect(URL_MAIN . '/Calc/', 0);
|
||||
@@ -80,4 +82,4 @@ class IndexController extends MainController implements ControllerInterface {
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
class MapsController extends MainController implements ControllerInterface
|
||||
{
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
class UtilsController extends MainController implements ControllerInterface
|
||||
{
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
|
||||
/**
|
||||
* $Id: Admin.mod.php 703 2008-06-26 11:15:09Z pawy $
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
|
||||
/**
|
||||
* $Id: AuthDAL.mod.php 708 2008-06-26 13:48:43Z pawy $
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.30, created on 2026-05-15 18:52:00
|
||||
from "C:\visual studio code\projekty\zurawik.pl\Admin\template\partial\Index\Index.tpl" */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.30',
|
||||
'unifunc' => 'content_6a074f3087e5c1_28132119',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'de22142dedda53f88dda2a50e226170e7019d61d' =>
|
||||
array (
|
||||
0 => 'C:\\visual studio code\\projekty\\zurawik.pl\\Admin\\template\\partial\\Index\\Index.tpl',
|
||||
1 => 1778862571,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6a074f3087e5c1_28132119 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
<div class="panelContentTop"><h2><a href="#" class="long">Witamy w panelu administracyjnym</a></h2></div>
|
||||
<div class="panelContentBody">
|
||||
|
||||
|
||||
|
||||
<center>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
<div class="panelContentBottom"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panelRightBottom">
|
||||
<div class="panelButtons">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Klika ustale<6C> ...<br />
|
||||
|
||||
Je<EFBFBD>li chodzi o formatowanie panelu ... starajcie sie robic wszystko w oparciu o klase admintable, w takich ustawieniach: <br />
|
||||
|
||||
<table class="adminTable" cellpadding="2" cellspacing="2"><br />
|
||||
<br />
|
||||
Ostatnia kolumna, tam gdzie zazwyczaj jest dodaj ... robimy tak:<br />
|
||||
<th class="light"><a href="#">Dodaj</a></th><br />
|
||||
<br />
|
||||
Nag<EFBFBD><EFBFBD>wki robimy tak:<br />
|
||||
<div class="header">Witamy w panelu administracyjnym</div><br />
|
||||
<br />
|
||||
|
||||
|
||||
<br />
|
||||
nie wiem czy tak w<>a<EFBFBD>nie to b<>dzie wygl<67>da<64> finalnie, ale p<>niej b<>dzie <20>atwiej formatowa<77> jak ca<63>o<EFBFBD><6F>. Mo<4D>e narazie jako wz<77>r podpatrzcie do mojego szablonu: ModelAdmin.tpl oraz ModelAdminEdit.tpl.
|
||||
--><?php }
|
||||
}
|
||||
Reference in New Issue
Block a user