Improved detection for possible javascript errors (i.e. PHP errors, plugins that use invalid PHP 5.4+ syntax, other causes - that people seem to hit a lot)
If the serendipity.spawn function could not be found, we emit a warning (through javascript...) See thread on forums: http://board.s9y.org/viewtopic.php?f=11&t=20286
This commit is contained in:
parent
932f881c27
commit
91df1f41fc
@ -2,6 +2,11 @@
|
||||
|
||||
Version 2.0.1 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Improved detection for possible upgrade/plugin/PHP errors. A
|
||||
warning will be emitted on the dashboard, when the Serendipity
|
||||
JavaScript-library could not be loaded.
|
||||
|
||||
* syndication fix: use absolute urls for subtome
|
||||
|
||||
* Issue 306: localStorage may be deactivated by setting a config
|
||||
|
@ -39,6 +39,7 @@ $bookmarklet = "javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSel
|
||||
|
||||
$data['bookmarklet'] = $bookmarklet;
|
||||
$data['username'] = $user[0]['realname'];
|
||||
$data['js_failure_file'] = serendipity_getTemplateFile('admin/serendipity_editor.js');
|
||||
|
||||
$output = array();
|
||||
serendipity_plugin_api::hook_event('backend_frontpage_display', $output);
|
||||
|
@ -1189,8 +1189,10 @@ function serendipity_smarty_shutdown($serendipity_directory = '') {
|
||||
* Render a smarty-template
|
||||
* $template: path to the template-file
|
||||
* $data: map with the variables to assign
|
||||
* $debugtype: If set, debug string is prepended. Can be set to HTML or JS.
|
||||
* $debug: Possible debug string that is prepended to output
|
||||
*/
|
||||
function serendipity_smarty_show($template, $data = null) {
|
||||
function serendipity_smarty_show($template, $data = null, $debugtype = null, $debug = null) {
|
||||
global $serendipity;
|
||||
|
||||
if (!is_object($serendipity['smarty'])) {
|
||||
@ -1199,5 +1201,14 @@ function serendipity_smarty_show($template, $data = null) {
|
||||
|
||||
$serendipity['smarty']->assign($data);
|
||||
|
||||
return $serendipity['smarty']->fetch(serendipity_getTemplateFile($template, 'serendipityPath'));
|
||||
$tplfile = serendipity_getTemplateFile($template, 'serendipityPath');
|
||||
if ($debug !== null) {
|
||||
if ($debugtype == "HTML") {
|
||||
$debug = "<!-- Dynamically fetched " . htmlspecialchars($tplfile) . " on " . date('Y-m-d H:i') . ", called from: " . $debug . " -->\n";
|
||||
} else {
|
||||
$debug = "/* Dynamically fetched " . htmlspecialchars($tplfile) . " on " . date('Y-m-d H:i') . ", called from: " . $debug . " */\n";
|
||||
}
|
||||
}
|
||||
|
||||
return $debug . $serendipity['smarty']->fetch($tplfile);
|
||||
}
|
@ -88,7 +88,7 @@ function errorHandlerCreateDOM(htmlStr) {
|
||||
header('Content-Type: application/javascript');
|
||||
global $serendipity;
|
||||
|
||||
echo serendipity_smarty_show('admin/serendipity_editor.js.tpl');
|
||||
echo serendipity_smarty_show('admin/serendipity_editor.js.tpl', null, 'JS', 'include/plugin_api.inc.php:external_plugin');
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
@ -140,3 +140,5 @@ foreach($const['missing'] AS $file => $constants) {
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1082,3 +1082,5 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1120,3 +1120,5 @@ $i18n_filename_to = array (
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1120,3 +1120,5 @@ $i18n_filename_to = array (
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1089,3 +1089,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'Keine Tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Vorbereitung');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1091,3 +1091,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1108,3 +1108,5 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1090,3 +1090,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1097,3 +1097,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1088,3 +1088,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1090,3 +1090,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1093,3 +1093,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1094,3 +1094,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1088,3 +1088,5 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1094,3 +1094,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1101,3 +1101,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1091,3 +1091,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1093,3 +1093,5 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1009,3 +1009,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1090,3 +1090,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1080,3 +1080,5 @@ $i18n_filename_to = array (
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1089,3 +1089,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1094,3 +1094,5 @@ $i18n_unknown = 'tw';
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1094,3 +1094,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1095,3 +1095,5 @@ $i18n_unknown = 'tw';
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1090,3 +1090,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
@define('DASHBAORD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -140,3 +140,5 @@ foreach($const['missing'] AS $file => $constants) {
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1082,3 +1082,5 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1120,3 +1120,5 @@ $i18n_filename_to = array (
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1120,3 +1120,5 @@ $i18n_filename_to = array (
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1089,3 +1089,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'Keine Tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Vorbereitung');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1091,3 +1091,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1108,3 +1108,5 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1090,3 +1090,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1097,3 +1097,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1088,3 +1088,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1090,3 +1090,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1093,3 +1093,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1094,3 +1094,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1092,3 +1092,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1088,3 +1088,5 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1094,3 +1094,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1101,3 +1101,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1091,3 +1091,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1093,3 +1093,5 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1009,3 +1009,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1090,3 +1090,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1080,3 +1080,5 @@ $i18n_filename_to = array (
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1089,3 +1089,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1094,3 +1094,5 @@ $i18n_unknown = 'tw';
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1094,3 +1094,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1095,3 +1095,5 @@ $i18n_unknown = 'tw';
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -1090,3 +1090,5 @@
|
||||
@define('EDITOR_TAGS', 'Tags');
|
||||
@define('EDITOR_NO_TAGS', 'No tags');
|
||||
@define('DASHBOARD_ENTRIES', 'In Progress');
|
||||
@define('JS_FAILURE', 'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open <a href="%1$s">%1$s</a> manually in your browser and check for error messages.');
|
||||
|
||||
|
@ -127,3 +127,11 @@
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
if (typeof(serendipity) != 'object' || typeof(serendipity.spawn) != 'function') {
|
||||
$('#dashboard_header').after("<span class=\"msg_error\"><span class=\"icon-attention-circled\"></span> {$CONST.JS_FAILURE|sprintf:$js_failure_file|escape:javascript}</span>");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user