System update (for learningchannel)

This commit is contained in:
markseu 2016-10-29 14:18:02 +02:00
parent e0191fc4dd
commit bf62544d8c
3 changed files with 6 additions and 6 deletions

View file

@ -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; }

View file

@ -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)); },

View file

@ -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;
}