diff options
author | M.Gergo | 2019-03-08 21:20:34 +0100 |
---|---|---|
committer | M.Gergo | 2019-03-08 21:20:34 +0100 |
commit | f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (patch) | |
tree | e13e60e4b94a3b58f1e2bfbe271102c8f04b67bd /mayor-orig/www/skin/rpc | |
parent | c76a004b0135786f2742283f8d5f917106f58bd8 (diff) | |
download | mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip |
további rendrakás
Diffstat (limited to 'mayor-orig/www/skin/rpc')
-rw-r--r-- | mayor-orig/www/skin/rpc/base/html/alert.phtml | 56 | ||||
-rw-r--r-- | mayor-orig/www/skin/rpc/base/html/base.phtml | 23 | ||||
-rw-r--r-- | mayor-orig/www/skin/rpc/module-naplo/html/base.phtml | 6 |
3 files changed, 0 insertions, 85 deletions
diff --git a/mayor-orig/www/skin/rpc/base/html/alert.phtml b/mayor-orig/www/skin/rpc/base/html/alert.phtml deleted file mode 100644 index adda7354..00000000 --- a/mayor-orig/www/skin/rpc/base/html/alert.phtml +++ /dev/null @@ -1,56 +0,0 @@ -<?php - - function html_alert() { - - /* TODO hibakezelés info */ - - global $ALERT_MSG; - - if (!isset($_SESSION['alert']) || (is_array($_SESSION['alert']) && count($_SESSION['alert'])==0)) { - return true; - exit; - } -/* - $showPage = true; - for ($j = 0; $j < count($_SESSION['alert']); $j++) { - - // Nincs mindig paraméter - ezért a $param nem kap értéket! - így az explode Notice üzenetet váltana ki... - $param = array(); - $tmp = explode(':', $_SESSION['alert'][$j]); - $aType = readVariable($tmp[0], 'enum', 'message', array('message','info','page')); $aCode = $tmp[1]; - for ($p = 2; $p < count($tmp); $p++) $param[] = htmlspecialchars($tmp[$p]); - $pstr = ''; - // preparing $msg - if (!isset($ALERT_MSG[$aCode]) || $ALERT_MSG[$aCode] == '') - $msg = $ALERT_MSG['default'].' (<span class="alertParam">'.$aType.':'.$aCode.')</span>'; - else $msg = $ALERT_MSG[$aCode]; - - // paraméter behelyettesítés - for($i = 0; $i < count($param); $i++) { - $_msg = $msg; - $msg = @str_replace("%$i%",'<span class="alertParam">'.($param[$i]).'</span>',$msg); - if ($param[$i] != '' and $_msg == $msg) $pstr .= '<span class="alertParam">'.($param[$i]).'</span>,'; - } - if ($pstr != '') $msg .= ' (' . substr($pstr,0,-1) . ')'; - if (($aType == 'message') or ($aType == 'page')) { - $title = _ERROR; - $class = 'errorMsg'; - if ($aType == 'page') $showPage = false; - } else { - $title = _INFORMATION; - $class = 'infoMsg'; - } - $msg = '<span>'.$title.':</span> ' . $msg; - if (isset($_GET['showAlert'])) echo '<div class="'.$class.'">'.$msg.'</div>'."\n"; - } - - return $showPage; -*/ - - echo 'ERROR'; - var_dump($_SESSION['alert']); - return false; - - } - -?> diff --git a/mayor-orig/www/skin/rpc/base/html/base.phtml b/mayor-orig/www/skin/rpc/base/html/base.phtml deleted file mode 100644 index 49a2ce14..00000000 --- a/mayor-orig/www/skin/rpc/base/html/base.phtml +++ /dev/null @@ -1,23 +0,0 @@ -<?php - - // http_base - function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { - @header("Content-Type: text/html; charset=utf-8"); - @header("Last-Modified: Mon, 20 Oct 2003 01:01:01 GMT"); - @header("Cache-Control: no-store, no-cache, must-revalidate"); - @header("Cache-Control: post-check=0, pre-check=0", false); - @header("Pragma: no-cache"); - define('_UNIQUE', uniqid()); - // page($page,$sub,$f,$lang,$skin,$policy); - global $RPC; - if (isset($RPC)) - $RPC->sendResponse(); - } - - //function putResponse($DATA) { - // echo json_encode($DATA); - //} - // function formBegin($SET=array('method'=>'post','action'=>''),$SET2=array('print'=>true)) { } - // function formEnd($SET2=array('print'=>true)) { } - -?> diff --git a/mayor-orig/www/skin/rpc/module-naplo/html/base.phtml b/mayor-orig/www/skin/rpc/module-naplo/html/base.phtml deleted file mode 100644 index e3208ad5..00000000 --- a/mayor-orig/www/skin/rpc/module-naplo/html/base.phtml +++ /dev/null @@ -1,6 +0,0 @@ -<?php - - // Placeholder - // nincs szükségünk a napló modul phtml-jére - -?> |