Updated editor and language files
This commit is contained in:
parent
49d83303cc
commit
f2a1bec88b
7 changed files with 57 additions and 98 deletions
|
@ -18,6 +18,11 @@
|
|||
}
|
||||
.yellow-pane h1 { color:#000; font-size:2em; margin:0 1em; }
|
||||
.yellow-pane p { margin:0.5em; }
|
||||
.yellow-pane .yellow-status { margin-bottom:1em; }
|
||||
.yellow-pane .yellow-fields { width:15em; text-align:left; margin:0 auto; }
|
||||
.yellow-pane .yellow-form-control { width:15em; box-sizing:border-box; }
|
||||
.yellow-pane .yellow-fields .yellow-btn { width:15em; margin:1em 0 0.5em 0; }
|
||||
.yellow-pane .yellow-buttons .yellow-btn { width:15em; margin:0.5em 0; }
|
||||
.yellow-close {
|
||||
position:absolute;
|
||||
top:0.8em; right:1em; cursor:pointer;
|
||||
|
@ -157,61 +162,15 @@
|
|||
}
|
||||
.yellow-btn:active { box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.1); }
|
||||
|
||||
#yellow-pane-login { text-align:center; }
|
||||
#yellow-pane-login .yellow-form-control { width:15em; box-sizing:border-box; }
|
||||
#yellow-pane-login .yellow-btn { width:15em; margin:1em 1em 0.5em 0; }
|
||||
#yellow-pane-login-fields { width:15em; text-align:left; margin:0 auto; }
|
||||
#yellow-pane-login-buttons { margin:0.5em 0; }
|
||||
#yellow-pane-login-buttons p { margin:0; }
|
||||
|
||||
#yellow-pane-signup { text-align:center; }
|
||||
#yellow-pane-signup .yellow-form-control { width:15em; box-sizing:border-box; }
|
||||
#yellow-pane-signup .yellow-btn { width:15em; margin:1em 1em 0.5em 0; }
|
||||
#yellow-pane-signup-status { margin:0.5em 0; display:inline-block; }
|
||||
#yellow-pane-signup-fields { width:15em; text-align:left; margin:0 auto; }
|
||||
#yellow-pane-signup-buttons { margin-top:-0.5em; }
|
||||
|
||||
#yellow-pane-forgot { text-align:center; }
|
||||
#yellow-pane-forgot .yellow-form-control { width:15em; box-sizing:border-box; }
|
||||
#yellow-pane-forgot .yellow-btn { width:15em; margin:1em 1em 0.5em 0; }
|
||||
#yellow-pane-forgot-status { margin:0.5em 0; display:inline-block; }
|
||||
#yellow-pane-forgot-fields { width:15em; text-align:left; margin:0 auto; }
|
||||
#yellow-pane-forgot-buttons { margin-top:-0.5em; }
|
||||
|
||||
#yellow-pane-recover { text-align:center; }
|
||||
#yellow-pane-recover .yellow-form-control { width:15em; box-sizing:border-box; }
|
||||
#yellow-pane-recover .yellow-btn { width:15em; margin:1em 1em 0.5em 0; }
|
||||
#yellow-pane-recover-status { margin:0.5em 0; display:inline-block; }
|
||||
#yellow-pane-recover-fields { width:15em; text-align:left; margin:0 auto; }
|
||||
#yellow-pane-recover-buttons { margin-top:-0.5em; }
|
||||
|
||||
#yellow-pane-settings { text-align:center; }
|
||||
#yellow-pane-settings .yellow-form-control { width:15em; box-sizing:border-box; }
|
||||
#yellow-pane-settings .yellow-btn { width:15em; margin:1em 1em 0.5em 0; }
|
||||
#yellow-pane-settings-status { margin:0.5em 0; display:inline-block; }
|
||||
#yellow-pane-settings-fields { width:15em; text-align:left; margin:0 auto; }
|
||||
#yellow-pane-settings-buttons { margin-top:-0.5em; }
|
||||
|
||||
#yellow-pane-version { text-align:center; }
|
||||
#yellow-pane-version .yellow-btn { width:15em; margin:1em 1em 0.5em 0; }
|
||||
#yellow-pane-version-status { margin:0.5em 0; display:inline-block; }
|
||||
#yellow-pane-version-fields { text-align:center; margin:0.5em 0; }
|
||||
#yellow-pane-version-buttons { margin-top:-0.5em; }
|
||||
|
||||
#yellow-pane-quit { text-align:center; }
|
||||
#yellow-pane-quit .yellow-form-control { width:15em; box-sizing:border-box; }
|
||||
#yellow-pane-quit .yellow-btn { width:15em; margin:1em 1em 0.5em 0; }
|
||||
#yellow-pane-quit-status { margin:0.5em 0; display:inline-block; }
|
||||
#yellow-pane-quit-fields { width:15em; text-align:left; margin:0 auto; }
|
||||
#yellow-pane-quit-buttons { margin-top:-0.5em; }
|
||||
|
||||
#yellow-pane-login, #yellow-pane-signup, #yellow-pane-forgot, #yellow-pane-recover, #yellow-pane-settings, #yellow-pane-version, #yellow-pane-quit {
|
||||
text-align:center;
|
||||
}
|
||||
#yellow-pane-edit-toolbar-title { margin:-5px 0 0 0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
||||
#yellow-pane-edit-text { padding:0 2px; outline:none; resize:none; border:none; }
|
||||
#yellow-pane-edit-preview { padding:0; overflow:auto; }
|
||||
#yellow-pane-edit-preview h1 { margin:0.67em 0; }
|
||||
#yellow-pane-edit-preview p { margin:1em 0; }
|
||||
#yellow-pane-edit-preview .content { margin:0; padding:0; }
|
||||
|
||||
#yellow-pane-user { padding:10px 0; }
|
||||
|
||||
#yellow-popup-format, #yellow-popup-heading, #yellow-popup-list { width:16em; }
|
||||
|
|
|
@ -170,6 +170,7 @@ yellow.edit =
|
|||
elementPane.appendChild(elementArrow);
|
||||
}
|
||||
var elementDiv = document.createElement("div");
|
||||
elementDiv.className = "yellow-content";
|
||||
elementDiv.setAttribute("id", paneId+"-content");
|
||||
switch(paneId)
|
||||
{
|
||||
|
@ -177,16 +178,15 @@ yellow.edit =
|
|||
elementDiv.innerHTML =
|
||||
"<form method=\"post\">"+
|
||||
"<a href=\"#\" class=\"yellow-close\" data-action=\"close\"><i class=\"yellow-icon yellow-icon-close\"></i></a>"+
|
||||
"<h1>"+this.getText("LoginTitle")+"</h1>"+
|
||||
"<div id=\"yellow-pane-login-fields\">"+
|
||||
"<div class=\"yellow-title\"><h1>"+this.getText("LoginTitle")+"</h1></div>"+
|
||||
"<div class=\"yellow-fields\" id=\"yellow-pane-login-fields\">"+
|
||||
"<input type=\"hidden\" name=\"action\" value=\"login\" />"+
|
||||
"<p><label for=\"yellow-pane-login-email\">"+this.getText("LoginEmail")+"</label><br /><input class=\"yellow-form-control\" name=\"email\" id=\"yellow-pane-login-email\" maxlength=\"64\" value=\""+yellow.toolbox.encodeHtml(yellow.config.editLoginEmail)+"\" /></p>"+
|
||||
"<p><label for=\"yellow-pane-login-password\">"+this.getText("LoginPassword")+"</label><br /><input class=\"yellow-form-control\" type=\"password\" name=\"password\" id=\"yellow-pane-login-password\" maxlength=\"64\" value=\""+yellow.toolbox.encodeHtml(yellow.config.editLoginPassword)+"\" /></p>"+
|
||||
"<p><input class=\"yellow-btn\" type=\"submit\" value=\""+this.getText("LoginButton")+"\" /></p>"+
|
||||
"</div>"+
|
||||
"<div id=\"yellow-pane-login-buttons\">"+
|
||||
"<p><a href=\"#\" id=\"yellow-pane-login-forgot\" data-action=\"forgot\">"+this.getText("LoginForgot")+"</a></p>"+
|
||||
"<p><a href=\"#\" id=\"yellow-pane-login-signup\" data-action=\"signup\">"+this.getText("LoginSignup")+"</a></p>"+
|
||||
"<div class=\"yellow-actions\" id=\"yellow-pane-login-actions\">"+
|
||||
"<p><a href=\"#\" id=\"yellow-pane-login-forgot\" data-action=\"forgot\">"+this.getText("LoginForgot")+"</a><br /><a href=\"#\" id=\"yellow-pane-login-signup\" data-action=\"signup\">"+this.getText("LoginSignup")+"</a></p>"+
|
||||
"</div>"+
|
||||
"</form>";
|
||||
break;
|
||||
|
@ -194,9 +194,9 @@ yellow.edit =
|
|||
elementDiv.innerHTML =
|
||||
"<form method=\"post\">"+
|
||||
"<a href=\"#\" class=\"yellow-close\" data-action=\"close\"><i class=\"yellow-icon yellow-icon-close\"></i></a>"+
|
||||
"<h1>"+this.getText("SignupTitle")+"</h1>"+
|
||||
"<div id=\"yellow-pane-signup-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</div>"+
|
||||
"<div id=\"yellow-pane-signup-fields\">"+
|
||||
"<div class=\"yellow-title\"><h1>"+this.getText("SignupTitle")+"</h1></div>"+
|
||||
"<div class=\"yellow-status\"><p id=\"yellow-pane-signup-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</p></div>"+
|
||||
"<div class=\"yellow-fields\" id=\"yellow-pane-signup-fields\">"+
|
||||
"<input type=\"hidden\" name=\"action\" value=\"signup\" />"+
|
||||
"<p><label for=\"yellow-pane-signup-name\">"+this.getText("SignupName")+"</label><br /><input class=\"yellow-form-control\" name=\"name\" id=\"yellow-pane-signup-name\" maxlength=\"64\" value=\""+yellow.toolbox.encodeHtml(this.getRequest("name"))+"\" /></p>"+
|
||||
"<p><label for=\"yellow-pane-signup-email\">"+this.getText("SignupEmail")+"</label><br /><input class=\"yellow-form-control\" name=\"email\" id=\"yellow-pane-signup-email\" maxlength=\"64\" value=\""+yellow.toolbox.encodeHtml(this.getRequest("email"))+"\" /></p>"+
|
||||
|
@ -204,7 +204,7 @@ yellow.edit =
|
|||
"<p><input type=\"checkbox\" name=\"consent\" value=\"consent\" id=\"consent\""+(this.getRequest("consent") ? " checked=\"checked\"" : "")+"> <label for=\"consent\">"+this.getText("SignupConsent")+"</label></p>"+
|
||||
"<p><input class=\"yellow-btn\" type=\"submit\" value=\""+this.getText("SignupButton")+"\" /></p>"+
|
||||
"</div>"+
|
||||
"<div id=\"yellow-pane-signup-buttons\">"+
|
||||
"<div class=\"yellow-buttons\" id=\"yellow-pane-signup-buttons\">"+
|
||||
"<p><a href=\"#\" class=\"yellow-btn\" data-action=\"close\">"+this.getText("OkButton")+"</a></p>"+
|
||||
"</div>"+
|
||||
"</form>";
|
||||
|
@ -213,14 +213,14 @@ yellow.edit =
|
|||
elementDiv.innerHTML =
|
||||
"<form method=\"post\">"+
|
||||
"<a href=\"#\" class=\"yellow-close\" data-action=\"close\"><i class=\"yellow-icon yellow-icon-close\"></i></a>"+
|
||||
"<h1>"+this.getText("ForgotTitle")+"</h1>"+
|
||||
"<div id=\"yellow-pane-forgot-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</div>"+
|
||||
"<div id=\"yellow-pane-forgot-fields\">"+
|
||||
"<div class=\"yellow-title\"><h1>"+this.getText("ForgotTitle")+"</h1></div>"+
|
||||
"<div class=\"yellow-status\"><p id=\"yellow-pane-forgot-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</p></div>"+
|
||||
"<div class=\"yellow-fields\" id=\"yellow-pane-forgot-fields\">"+
|
||||
"<input type=\"hidden\" name=\"action\" value=\"forgot\" />"+
|
||||
"<p><label for=\"yellow-pane-forgot-email\">"+this.getText("ForgotEmail")+"</label><br /><input class=\"yellow-form-control\" name=\"email\" id=\"yellow-pane-forgot-email\" maxlength=\"64\" value=\""+yellow.toolbox.encodeHtml(this.getRequest("email"))+"\" /></p>"+
|
||||
"<p><input class=\"yellow-btn\" type=\"submit\" value=\""+this.getText("OkButton")+"\" /></p>"+
|
||||
"</div>"+
|
||||
"<div id=\"yellow-pane-forgot-buttons\">"+
|
||||
"<div class=\"yellow-buttons\" id=\"yellow-pane-forgot-buttons\">"+
|
||||
"<p><a href=\"#\" class=\"yellow-btn\" data-action=\"close\">"+this.getText("OkButton")+"</a></p>"+
|
||||
"</div>"+
|
||||
"</form>";
|
||||
|
@ -229,13 +229,13 @@ yellow.edit =
|
|||
elementDiv.innerHTML =
|
||||
"<form method=\"post\">"+
|
||||
"<a href=\"#\" class=\"yellow-close\" data-action=\"close\"><i class=\"yellow-icon yellow-icon-close\"></i></a>"+
|
||||
"<h1>"+this.getText("RecoverTitle")+"</h1>"+
|
||||
"<div id=\"yellow-pane-recover-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</div>"+
|
||||
"<div id=\"yellow-pane-recover-fields\">"+
|
||||
"<div class=\"yellow-title\"><h1>"+this.getText("RecoverTitle")+"</h1></div>"+
|
||||
"<div class=\"yellow-status\"><p id=\"yellow-pane-recover-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</p></div>"+
|
||||
"<div class=\"yellow-fields\" id=\"yellow-pane-recover-fields\">"+
|
||||
"<p><label for=\"yellow-pane-recover-password\">"+this.getText("RecoverPassword")+"</label><br /><input class=\"yellow-form-control\" type=\"password\" name=\"password\" id=\"yellow-pane-recover-password\" maxlength=\"64\" value=\"\" /></p>"+
|
||||
"<p><input class=\"yellow-btn\" type=\"submit\" value=\""+this.getText("OkButton")+"\" /></p>"+
|
||||
"</div>"+
|
||||
"<div id=\"yellow-pane-recover-buttons\">"+
|
||||
"<div class=\"yellow-buttons\" id=\"yellow-pane-recover-buttons\">"+
|
||||
"<p><a href=\"#\" class=\"yellow-btn\" data-action=\"close\">"+this.getText("OkButton")+"</a></p>"+
|
||||
"</div>"+
|
||||
"</form>";
|
||||
|
@ -255,9 +255,9 @@ yellow.edit =
|
|||
elementDiv.innerHTML =
|
||||
"<form method=\"post\">"+
|
||||
"<a href=\"#\" class=\"yellow-close\" data-action=\"close\"><i class=\"yellow-icon yellow-icon-close\"></i></a>"+
|
||||
"<h1 id=\"yellow-pane-settings-title\">"+this.getText("SettingsTitle")+"</h1>"+
|
||||
"<div id=\"yellow-pane-settings-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</div>"+
|
||||
"<div id=\"yellow-pane-settings-fields\">"+
|
||||
"<div class=\"yellow-title\"><h1 id=\"yellow-pane-settings-title\">"+this.getText("SettingsTitle")+"</h1></div>"+
|
||||
"<div class=\"yellow-status\"><p id=\"yellow-pane-settings-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</p></div>"+
|
||||
"<div class=\"yellow-fields\" id=\"yellow-pane-settings-fields\">"+
|
||||
"<input type=\"hidden\" name=\"action\" value=\"settings\" />"+
|
||||
"<input type=\"hidden\" name=\"csrftoken\" value=\""+yellow.toolbox.encodeHtml(this.getCookie("csrftoken"))+"\" />"+
|
||||
"<p><label for=\"yellow-pane-settings-name\">"+this.getText("SignupName")+"</label><br /><input class=\"yellow-form-control\" name=\"name\" id=\"yellow-pane-settings-name\" maxlength=\"64\" value=\""+yellow.toolbox.encodeHtml(this.getRequest("name"))+"\" /></p>"+
|
||||
|
@ -266,7 +266,7 @@ yellow.edit =
|
|||
"<p>"+this.getText("SettingsQuit")+" <a href=\"#\" data-action=\"quit\">"+this.getText("SettingsMore")+"</a></p>"+
|
||||
"<p><input class=\"yellow-btn\" type=\"submit\" value=\""+this.getText("OkButton")+"\" /></p>"+
|
||||
"</div>"+
|
||||
"<div id=\"yellow-pane-settings-buttons\">"+
|
||||
"<div class=\"yellow-buttons\" id=\"yellow-pane-settings-buttons\">"+
|
||||
"<p><a href=\"#\" class=\"yellow-btn\" data-action=\"close\">"+this.getText("OkButton")+"</a></p>"+
|
||||
"</div>"+
|
||||
"</form>";
|
||||
|
@ -275,10 +275,10 @@ yellow.edit =
|
|||
elementDiv.innerHTML =
|
||||
"<form method=\"post\">"+
|
||||
"<a href=\"#\" class=\"yellow-close\" data-action=\"close\"><i class=\"yellow-icon yellow-icon-close\"></i></a>"+
|
||||
"<h1 id=\"yellow-pane-version-title\">"+yellow.toolbox.encodeHtml(yellow.config.serverVersion)+"</h1>"+
|
||||
"<div id=\"yellow-pane-version-status\" class=\""+paneStatus+"\">"+this.getText("VersionStatus", "", paneStatus)+"</div>"+
|
||||
"<div id=\"yellow-pane-version-fields\">"+yellow.page.rawDataOutput+"</div>"+
|
||||
"<div id=\"yellow-pane-version-buttons\">"+
|
||||
"<div class=\"yellow-title\"><h1 id=\"yellow-pane-version-title\">"+yellow.toolbox.encodeHtml(yellow.config.serverVersion)+"</h1></div>"+
|
||||
"<div class=\"yellow-status\"><p id=\"yellow-pane-version-status\" class=\""+paneStatus+"\">"+this.getText("VersionStatus", "", paneStatus)+"</p></div>"+
|
||||
"<div class=\"yellow-output\" id=\"yellow-pane-version-output\">"+yellow.page.rawDataOutput+"</div>"+
|
||||
"<div class=\"yellow-buttons\" id=\"yellow-pane-version-buttons\">"+
|
||||
"<p><a href=\"#\" class=\"yellow-btn\" data-action=\"close\">"+this.getText("OkButton")+"</a></p>"+
|
||||
"</div>"+
|
||||
"</form>";
|
||||
|
@ -287,15 +287,15 @@ yellow.edit =
|
|||
elementDiv.innerHTML =
|
||||
"<form method=\"post\">"+
|
||||
"<a href=\"#\" class=\"yellow-close\" data-action=\"close\"><i class=\"yellow-icon yellow-icon-close\"></i></a>"+
|
||||
"<h1>"+this.getText("QuitTitle")+"</h1>"+
|
||||
"<div id=\"yellow-pane-quit-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</div>"+
|
||||
"<div id=\"yellow-pane-quit-fields\">"+
|
||||
"<div class=\"yellow-title\"><h1>"+this.getText("QuitTitle")+"</h1></div>"+
|
||||
"<div class=\"yellow-status\"><p id=\"yellow-pane-quit-status\" class=\""+paneStatus+"\">"+this.getText(paneAction+"Status", "", paneStatus)+"</p></div>"+
|
||||
"<div class=\"yellow-fields\" id=\"yellow-pane-quit-fields\">"+
|
||||
"<input type=\"hidden\" name=\"action\" value=\"quit\" />"+
|
||||
"<input type=\"hidden\" name=\"csrftoken\" value=\""+yellow.toolbox.encodeHtml(this.getCookie("csrftoken"))+"\" />"+
|
||||
"<p><label for=\"yellow-pane-quit-name\">"+this.getText("SignupName")+"</label><br /><input class=\"yellow-form-control\" name=\"name\" id=\"yellow-pane-quit-name\" maxlength=\"64\" value=\""+yellow.toolbox.encodeHtml(this.getRequest("name"))+"\" /></p>"+
|
||||
"<p><input class=\"yellow-btn\" type=\"submit\" value=\""+this.getText("DeleteButton")+"\" /></p>"+
|
||||
"</div>"+
|
||||
"<div id=\"yellow-pane-quit-buttons\">"+
|
||||
"<div class=\"yellow-buttons\" id=\"yellow-pane-quit-buttons\">"+
|
||||
"<p><a href=\"#\" class=\"yellow-btn\" data-action=\"close\">"+this.getText("OkButton")+"</a></p>"+
|
||||
"</div>"+
|
||||
"</form>";
|
||||
|
@ -387,12 +387,12 @@ yellow.edit =
|
|||
if(paneStatus=="none" && this.isPlugin("update"))
|
||||
{
|
||||
document.getElementById("yellow-pane-version-status").innerHTML = this.getText("VersionStatusCheck");
|
||||
document.getElementById("yellow-pane-version-fields").innerHTML = "";
|
||||
document.getElementById("yellow-pane-version-output").innerHTML = "";
|
||||
setTimeout("yellow.action('send');", 500);
|
||||
}
|
||||
if(paneStatus=="updates" && yellow.config.userWebmaster)
|
||||
if(paneStatus=="updates" && this.isPlugin("update"))
|
||||
{
|
||||
document.getElementById("yellow-pane-version-status").innerHTML = "<a href=\"#\" data-action=\"update\">"+this.getText("VersionUpdateNormal")+"</a>";
|
||||
document.getElementById("yellow-pane-version-status").innerHTML = "<a href=\"#\" data-action=\"update\">"+this.getText("VersionStatusUpdates")+"</a>";
|
||||
}
|
||||
break;
|
||||
case "yellow-pane-quit":
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
class YellowEdit
|
||||
{
|
||||
const VERSION = "0.7.23";
|
||||
const VERSION = "0.7.24";
|
||||
var $yellow; //access to API
|
||||
var $response; //web response
|
||||
var $users; //user accounts
|
||||
|
@ -624,8 +624,8 @@ class YellowEdit
|
|||
if(strnatcasecmp($dataCurrent[$key], $dataLatest[$key])<0)
|
||||
{
|
||||
++$updates;
|
||||
if(!empty($this->response->rawDataOutput)) $this->response->rawDataOutput .= "<br />\n";
|
||||
$this->response->rawDataOutput .= htmlspecialchars("$key $dataLatest[$key]");
|
||||
$rawData = htmlspecialchars("$key $dataLatest[$key]")."<br />\n";
|
||||
$this->response->rawDataOutput .= $rawData;
|
||||
}
|
||||
}
|
||||
if($updates==0)
|
||||
|
@ -634,20 +634,20 @@ class YellowEdit
|
|||
{
|
||||
if(!is_null($dataModified[$key]) && !is_null($dataLatest[$key]))
|
||||
{
|
||||
$rawData = $this->yellow->text->getTextHtml("editVersionUpdateModified", $this->response->language)." - <a href=\"#\" data-action=\"update\" data-status=\"update\" data-args=\"".$this->yellow->toolbox->normaliseArgs("option:force/feature:$key")."\">".$this->yellow->text->getTextHtml("editVersionUpdateForce", $this->response->language)."</a>";
|
||||
$rawData = $this->yellow->text->getTextHtml("editVersionUpdateModified", $this->response->language)." - <a href=\"#\" data-action=\"update\" data-status=\"update\" data-args=\"".$this->yellow->toolbox->normaliseArgs("option:force/feature:$key")."\">".$this->yellow->text->getTextHtml("editVersionUpdateForce", $this->response->language)."</a><br />\n";
|
||||
$rawData = preg_replace("/@software/i", htmlspecialchars("$key $dataLatest[$key]"), $rawData);
|
||||
if(!empty($this->response->rawDataOutput)) $this->response->rawDataOutput .= "<br />\n";
|
||||
$this->response->rawDataOutput .= $rawData;
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->response->status = $updates ? "updates" : "done";
|
||||
} else {
|
||||
foreach($dataCurrent as $key=>$value)
|
||||
{
|
||||
if(strnatcasecmp($dataCurrent[$key], $dataLatest[$key])<0) ++$updates;
|
||||
}
|
||||
$this->response->status = $updates ? "warning" : "done";
|
||||
}
|
||||
$this->response->status = $updates ? "updates" : "done";
|
||||
if($statusCode!=200) $this->response->status = "error";
|
||||
}
|
||||
$statusCode = $this->yellow->processRequest($scheme, $address, $base, $location, $fileName, false);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
Language: de
|
||||
LanguageDescription: Deutsch
|
||||
LanguageTranslator: David Fehrmann
|
||||
LanguageVersion: 0.7.12
|
||||
LanguageVersion: 0.7.13
|
||||
|
||||
BlogBy: von
|
||||
BlogTag: Tags:
|
||||
|
@ -96,8 +96,8 @@ EditVersionTitle: Über diese Webseite
|
|||
EditVersionStatusNone: Datenstrom Yellow ist für Menschen die Webseiten machen.
|
||||
EditVersionStatusCheck: Nach Aktualisierung suchen…
|
||||
EditVersionStatusDone: Deine Webseite ist auf dem neusten Stand.
|
||||
EditVersionStatusUpdates: Aktualisierung verfügbar, bitte an den Webmaster wenden.
|
||||
EditVersionUpdateNormal: Aktualisierung verfügbar, jetzt aktualisieren.
|
||||
EditVersionStatusWarning: Aktualisierung verfügbar, bitte aktualisiere deine Webseite.
|
||||
EditVersionStatusUpdates: Aktualisierung verfügbar, jetzt aktualisieren.
|
||||
EditVersionUpdateForce: Aktualisierung erzwingen
|
||||
EditVersionUpdateModified: @software wurde modifiziert
|
||||
EditUploadProgress: [Datei hochladen…]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
Language: en
|
||||
LanguageDescription: English
|
||||
LanguageTranslator: Mark Seuffert
|
||||
LanguageVersion: 0.7.12
|
||||
LanguageVersion: 0.7.13
|
||||
|
||||
BlogBy: by
|
||||
BlogTag: Tags:
|
||||
|
@ -96,8 +96,8 @@ EditVersionTitle: About this website
|
|||
EditVersionStatusNone: Datenstrom Yellow is for people who make websites.
|
||||
EditVersionStatusCheck: Checking for updates…
|
||||
EditVersionStatusDone: Your website is up to date.
|
||||
EditVersionStatusUpdates: Updates available, please contact the webmaster.
|
||||
EditVersionUpdateNormal: Updates available, update now.
|
||||
EditVersionStatusWarning: Updates available, please update your website.
|
||||
EditVersionStatusUpdates: Updates available, update now.
|
||||
EditVersionUpdateForce: Force update
|
||||
EditVersionUpdateModified: @software has been modified
|
||||
EditUploadProgress: [Uploading file…]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
Language: fr
|
||||
LanguageDescription: Français
|
||||
LanguageTranslator: Juh Nibreh
|
||||
LanguageVersion: 0.7.12
|
||||
LanguageVersion: 0.7.13
|
||||
|
||||
BlogBy: par
|
||||
BlogTag: Tags:
|
||||
|
@ -95,9 +95,9 @@ EditGoodbyeMessage: Bonjour @usershort,\n\nvotre compte utilisateur a bien été
|
|||
EditVersionTitle: A propos de ce site
|
||||
EditVersionStatusNone: Datenstrom Yellow est fait pour les gens qui font des sites web.
|
||||
EditVersionStatusCheck: Vérification des mises à jour…
|
||||
EditVersionStatusDone: Votre site est à jour.
|
||||
EditVersionStatusUpdates: Mises à jour disponibles, s'il vous plaît contacter le webmestre.
|
||||
EditVersionUpdateNormal: Mises à jour disponibles, mettre à jour maintenant.
|
||||
EditVersionStatusDone: Votre site web est à jour.
|
||||
EditVersionStatusWarning: Mises à jour disponibles, veuillez mettre à jour votre site web.
|
||||
EditVersionStatusUpdates: Mises à jour disponibles, mettre à jour maintenant.
|
||||
EditVersionUpdateForce: Forcer mise à jour
|
||||
EditVersionUpdateModified: @software a été modifié
|
||||
EditUploadProgress: [Téléchargement du fichier…]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
class YellowLanguage
|
||||
{
|
||||
const VERSION = "0.7.12";
|
||||
const VERSION = "0.7.13";
|
||||
}
|
||||
|
||||
$yellow->plugins->register("language", "YellowLanguage", YellowLanguage::VERSION);
|
||||
|
|
Loading…
Add table
Reference in a new issue