mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit bf62544d8c29dbaf6cc92a947cf3763138a391bc
parent e0191fc4ddc67773a3e36e868f162135a92d023a
Author: markseu <mark2011@mayberg.se>
Date:   Sat, 29 Oct 2016 14:18:02 +0200

System update (for learningchannel)

Diffstat:
Msystem/plugins/webinterface.css | 5++---
Msystem/plugins/webinterface.js | 2+-
Msystem/plugins/webinterface.php | 5+++--
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/system/plugins/webinterface.css b/system/plugins/webinterface.css @@ -1,4 +1,4 @@ -/* Yellow web interface 0.6.13 */ +/* Yellow web interface 0.6.14 */ .yellow-bar { position:relative; overflow:hidden; height:2em; margin-bottom:10px; } .yellow-bar-left { display:block; float:left; } @@ -7,7 +7,6 @@ .yellow-bar-right #yellow-pane-create-link { padding:0 0.5em; } .yellow-bar-right #yellow-pane-delete-link { padding:0 0.5em; } .yellow-body-modal-open { overflow:hidden; } -.yellow-body-modal-open .page { display:none; } .yellow-pane { position:absolute; display:none; z-index:100; @@ -117,7 +116,7 @@ #yellow-pane-version-buttons { margin-top:-0.5em; } #yellow-pane-edit { } -#yellow-pane-edit h1 { margin:0 0 10px 0; font-size:1.5em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } +#yellow-pane-edit h1 { margin:0 0 10px 0; font-size:2em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } #yellow-pane-edit-page { padding:5px; outline:none; resize:none; } #yellow-pane-edit-buttons { margin-top:5px; } #yellow-pane-edit-buttons input { margin-right:10px; } diff --git a/system/plugins/webinterface.js b/system/plugins/webinterface.js @@ -4,7 +4,7 @@ // Yellow API var yellow = { - version: "0.6.13", + version: "0.6.14", action: function(action) { yellow.webinterface.action(action, "none"); }, onLoad: function() { yellow.webinterface.loadInterface(); }, onClick: function(e) { yellow.webinterface.hidePanesOnClick(yellow.toolbox.getEventElement(e)); }, diff --git a/system/plugins/webinterface.php b/system/plugins/webinterface.php @@ -5,7 +5,7 @@ // Web interface plugin class YellowWebinterface { - const VERSION = "0.6.13"; + const VERSION = "0.6.14"; var $yellow; //access to API var $response; //web interface response var $users; //web interface users @@ -213,8 +213,9 @@ class YellowWebinterface } if($statusCode==0) { - $statusCode = $this->yellow->processRequest($serverScheme, $serverName, $base, $location, $fileName, false); if($this->response->action=="fail") $this->yellow->page->error(500, "Login failed, [please log in](javascript:yellow.action('login');)!"); + $this->yellow->pages->requestHandler = "core"; + $statusCode = $this->yellow->processRequest($serverScheme, $serverName, $base, $location, $fileName, false); } return $statusCode; }