1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Core Improvements: Next Round #79 #80

This commit is contained in:
Awilum
2013-01-08 22:16:29 +02:00
parent 0c984788c0
commit 7e71457a2e
72 changed files with 524 additions and 369 deletions

View File

@@ -14,7 +14,7 @@ function checkMonstraVersion()
<script type="text/javascript">
$.getJSON("http://monstra.org/api/version.php?jsoncallback=?",
function(data){
var current_monstra_version = "'.Core::VERSION.'";
var current_monstra_version = "'.Monstra::VERSION.'";
var stable_monstra_version = data.version;
if (current_monstra_version < stable_monstra_version) {
$("#update-monstra").addClass("alert").html("'.__("Published a new version of the :monstra", "system", array(":monstra" => "<a target='_blank' href='http://monstra.org/download'>Monstra</a>")).'");