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/mayor-base/www/skin/api | |
parent | c76a004b0135786f2742283f8d5f917106f58bd8 (diff) | |
download | mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip |
további rendrakás
Diffstat (limited to 'mayor-orig/mayor-base/www/skin/api')
-rw-r--r-- | mayor-orig/mayor-base/www/skin/api/base/html/alert.phtml | 13 | ||||
-rw-r--r-- | mayor-orig/mayor-base/www/skin/api/base/html/base.phtml | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/mayor-orig/mayor-base/www/skin/api/base/html/alert.phtml b/mayor-orig/mayor-base/www/skin/api/base/html/alert.phtml new file mode 100644 index 00000000..fe4c54e4 --- /dev/null +++ b/mayor-orig/mayor-base/www/skin/api/base/html/alert.phtml @@ -0,0 +1,13 @@ +<?php + + function html_alert() { + // global $ALERT_MSG; // jelenleg nem használjuk + if (isset($_SESSION['alert'])===true && is_array($_SESSION['alert'] === true && count($_SESSION['alert'])>0)) { + var_dump($_SESSION['alert']); + return false; // ne jelenjen meg az oldal + } else { + return true; // nincs hiba + } + } + +?> diff --git a/mayor-orig/mayor-base/www/skin/api/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/api/base/html/base.phtml new file mode 100644 index 00000000..34ca652f --- /dev/null +++ b/mayor-orig/mayor-base/www/skin/api/base/html/base.phtml @@ -0,0 +1,11 @@ +<?php + + function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) { + global $_JSON; + @header("Content-Type: application/json; charset=utf-8"); + define('_UNIQUE', uniqid()); //--TODO GLOBAL + page($page,$sub,$f,$lang,$skin,$policy); + echo json_encode($_JSON); + } + +?> |