cke upd before sync - automate revision note

This commit is contained in:
Ian 2013-08-02 12:31:57 +02:00
parent 3fc9322540
commit 0246b1812f
9 changed files with 17 additions and 40 deletions

View file

@ -18,11 +18,6 @@
<li>Abyste umožnili ostatním uživatelům použití CKEditoru, umístěte tento plugin (CKEditor) blízko konce seznamu pluginů.</li>
<li>Ujistěte se, že máte v osobním nastavení zapnuto použití WYSIWYG módu.</li>
</ol>
<h3>Plugin obsahuje</h3>
<ul>
<li>CKEditor 4.1.2 (revize d6f1e0e, standardní balíček, 2013-06-10)</li>
<li>KCFinder 2.52-dev (git package, 2013-05-04)</li>
</ul>
<h3>Aktualizace</h3>
<p>Tento plugin bude čas od času umožňovat aktualizace pomocí pluginu Spartacus.<hr>

View file

@ -18,11 +18,6 @@
<li>Abyste umožnili ostatním uživatelům použití CKEditoru, umístěte tento plugin (CKEditor) blízko konce seznamu pluginů.</li>
<li>Ujistěte se, že máte v osobním nastavení zapnuto použití WYSIWYG módu.</li>
</ol>
<h3>Plugin obsahuje</h3>
<ul>
<li>CKEditor 4.1.2 (revize d6f1e0e, standardní balíček, 2013-06-10)</li>
<li>KCFinder 2.52-dev (git package, 2013-05-04)</li>
</ul>
<h3>Aktualizace</h3>
<p>Tento plugin bude čas od času umožňovat aktualizace pomocí pluginu Spartacus.<hr>

View file

@ -8,6 +8,7 @@
@define('PLUGIN_EVENT_CKEDITOR_NAME', 'CKEditor');
@define('PLUGIN_EVENT_CKEDITOR_DESC', 'Nutzt CKEditor als den Standard WYSIWYG Editor. Dieser ist zur Zeit der state-of-the-art Editor im Internet. Benutzung: Empfohlen! Nach der Installation, lies die Plugin Konfigurations Seite für weitere Informationen.');
@define('PLUGIN_EVENT_CKEDITOR_REVISION_TITLE', '<h3>Das Plugin enthält:</h3>');
@define('PLUGIN_EVENT_CKEDITOR_INSTALL', '<h2>Installation</h2>
<ol style="line-height: 1.6">
<li>Gebe den relativen HTTP Pfad des <em>"ckeditor"</em> Verzeichnisses in die Plugin Konfiguration ein.
@ -19,11 +20,6 @@
<li>Um anderen Plugins Zugriff auf das Plugin oder dessen Hook zu gewähren, plaziere das (CKEditor) Plugin nahe dem Ende deiner Pluginliste.</li>
<li>Versichere dich, dass der WYSIWYG Modus in den "Persönlichen Einstellungen" eingeschaltet ist.</li>
</ol>
<h3>Das Plugin enthält</h3>
<ul>
<li>CKEditor 4.1.3 (revision 1baa4c5, standard package, 2013-07-18)</li>
<li>KCFinder 2.52-dev (git package, 2013-05-04)</li>
</ul>
<h3>Manuelle Erweiterungen mit CKEDITOR Plugins</h3>
<ol style="line-height: 1.6">

View file

@ -8,6 +8,7 @@
@define('PLUGIN_EVENT_CKEDITOR_NAME', 'CKEditor');
@define('PLUGIN_EVENT_CKEDITOR_DESC', 'Uses CKEditor as the default WYSIWYG editor. This currently is the state-of-the-art Editor itself. Usage: Recommended! After installation, go to the configuration screen of this plugin for further instructions.');
@define('PLUGIN_EVENT_CKEDITOR_REVISION_TITLE', '<h3>This Plugin includes:</h3>');
@define('PLUGIN_EVENT_CKEDITOR_INSTALL', '<h2>Installation</h2>
<ol style="line-height: 1.6">
<li>Enter the relative HTTP path to the <em>"ckeditor"</em> directory in plugin configuration.
@ -19,11 +20,6 @@
<li>To allow other plugins to use or hook into the editor, place this (CKEditor) plugin near the end of your plugin list.</li>
<li>Make sure to enable WYSIWYG mode in your personal preferences.</li>
</ol>
<h3>Plugin includes</h3>
<ul>
<li>CKEditor 4.1.3 (revision 1baa4c5, standard package, 2013-07-18)</li>
<li>KCFinder 2.52-dev (git package, 2013-05-04)</li>
</ul>
<h3>Manually extending with CKEDITOR Plugins</h3>
<ol style="line-height: 1.6">

View file

@ -18,11 +18,6 @@
<li>Abyste umožnili ostatním uživatelům použití CKEditoru, umístěte tento plugin (CKEditor) blízko konce seznamu pluginů.</li>
<li>Ujistěte se, že máte v osobním nastavení zapnuto použití WYSIWYG módu.</li>
</ol>
<h3>Plugin obsahuje</h3>
<ul>
<li>CKEditor 4.1.2 (revize d6f1e0e, standardní balíèek, 2013-06-10)</li>
<li>KCFinder 2.52-dev (git package, 2013-05-04)</li>
</ul>
<h3>Aktualizace</h3>
<p>Tento plugin bude čas od času umožňovat aktualizace pomocí pluginu Spartacus.<hr>

View file

@ -18,11 +18,6 @@
<li>Abyste umožnili ostatním uživatelům použití CKEditoru, umístěte tento plugin (CKEditor) blízko konce seznamu pluginů.</li>
<li>Ujistěte se, že máte v osobním nastavení zapnuto použití WYSIWYG módu.</li>
</ol>
<h3>Plugin obsahuje</h3>
<ul>
<li>CKEditor 4.1.2 (revize d6f1e0e, standardní balíèek, 2013-06-10)</li>
<li>KCFinder 2.52-dev (git package, 2013-05-04)</li>
</ul>
<h3>Aktualizace</h3>
<p>Tento plugin bude čas od času umožňovat aktualizace pomocí pluginu Spartacus.<hr>

View file

@ -8,6 +8,7 @@
@define('PLUGIN_EVENT_CKEDITOR_NAME', 'CKEditor');
@define('PLUGIN_EVENT_CKEDITOR_DESC', 'Nutzt CKEditor als den Standard WYSIWYG Editor. Dieser ist zur Zeit der state-of-the-art Editor im Internet. Benutzung: Empfohlen! Nach der Installation, lies die Plugin Konfigurations Seite für weitere Informationen.');
@define('PLUGIN_EVENT_CKEDITOR_REVISION_TITLE', '<h3>Das Plugin enthält:</h3>');
@define('PLUGIN_EVENT_CKEDITOR_INSTALL', '<h2>Installation</h2>
<ol style="line-height: 1.6">
<li>Gebe den relativen HTTP Pfad des <em>"ckeditor"</em> Verzeichnisses in die Plugin Konfiguration ein.
@ -19,11 +20,6 @@
<li>Um anderen Plugins Zugriff auf das Plugin oder dessen Hook zu gewähren, plaziere das (CKEditor) Plugin nahe dem Ende deiner Pluginliste.</li>
<li>Versichere dich, dass der WYSIWYG Modus in den "Persönlichen Einstellungen" eingeschaltet ist.</li>
</ol>
<h3>Das Plugin enthält</h3>
<ul>
<li>CKEditor 4.1.3 (revision 1baa4c5, standard package, 2013-07-18)</li>
<li>KCFinder 2.52-dev (git package, 2013-05-04)</li>
</ul>
<h3>Manuelle Erweiterungen mit CKEDITOR Plugins</h3>
<ol style="line-height: 1.6">

View file

@ -7,6 +7,7 @@
*/
@define('PLUGIN_EVENT_CKEDITOR_NAME', 'CKEditor');
@define('PLUGIN_EVENT_CKEDITOR_DESC', 'Uses CKEditor as the default WYSIWYG editor. This currently is the state-of-the-art Editor itself. Usage: Recommended! After installation, go to the configuration screen of this plugin for further instructions.');
@define('PLUGIN_EVENT_CKEDITOR_REVISION_TITLE', '<h3>This Plugin includes:</h3>');
@define('PLUGIN_EVENT_CKEDITOR_INSTALL', '<h2>Installation</h2>
<ol style="line-height: 1.6">
<li>Enter the relative HTTP path to the <em>"ckeditor"</em> directory in plugin configuration.
@ -18,11 +19,6 @@
<li>To allow other plugins to use or hook into the editor, place this (CKEditor) plugin near the end of your plugin list.</li>
<li>Make sure to enable WYSIWYG mode in your personal preferences.</li>
</ol>
<h3>Plugin includes</h3>
<ul>
<li>CKEditor 4.1.3 (revision 1baa4c5, standard package, 2013-07-18)</li>
<li>KCFinder 2.52-dev (git package, 2013-05-04)</li>
</ul>
<h3>Manually extending with CKEDITOR Plugins</h3>
<ol style="line-height: 1.6">

View file

@ -57,6 +57,15 @@ class serendipity_event_ckeditor extends serendipity_event
*/
protected $checkUpdateVersion = array('ckeditor:4.1.3', 'kcfinder:2.52-2');
/**
* Access property revisionPackage
* Note revisions of ckeditor, kcfinder and plugin additions to lang files
* @var array
*/
protected $revisionPackage = array(" <li>CKEditor 4.1.3 (revision 1baa4c5, standard package, 2013-07-18)</li>\n",
" <li>KCFinder 2.52-dev (git package, 2013-05-04)</li>\n",
" <li>Ckeditor-Plugin: mediaembed, author Fabian Vogelsteller [frozeman.de] (git package, 2013-07-25)</li>\n");
function install() {
global $serendipity;
@ -169,6 +178,10 @@ class serendipity_event_ckeditor extends serendipity_event
$installer = $this->get_config('installer'); // Can't use method return value in write context in '' with substr(), get_config() and isset()
$parts = explode(':', $this->checkUpdateVersion[0]); // this is ckeditor only
echo PLUGIN_EVENT_CKEDITOR_REVISION_TITLE;
// hook this as a scalar value into this plugins lang files
echo "\n<ul>\n" . implode('', $this->revisionPackage) . "</ul>\n\n";
if( isset($installer) && !empty($installer) ) {
switch ($installer[0]) {
case '4': // this won't happen, since case 2 is true - just a fake