Improve accessibility of iconfont icons

Iconfont icons are of no value to screenreader users; in our case,
they get alternative text. By adding 'aria-hidden="true"' to the
<span> holding the iconfont icon, we avoid the screenreader trying
to announce the iconfont icon.

This commit is to ensure consistency with the core across the
additional_plugins repository. While I was at it, I also cleaned
up the ChangeLogs, trying to establish a common pattern.
This commit is contained in:
Matthias Mees 2016-10-26 15:07:46 +02:00
parent 190509ecd3
commit c3e8443d73
62 changed files with 698 additions and 1028 deletions

View file

@ -1,3 +1,5 @@
0.16: Iconfont a11y fix (yellowled)
0.15: Fix lang file encoding, clean up CSS (yellowled)
0.14: Fix incorrect variable

View file

@ -27,7 +27,7 @@ class serendipity_event_adminnotes extends serendipity_event {
'php' => '4.1.0'
));
$propbag->add('version', '0.15');
$propbag->add('version', '0.16');
$propbag->add('author', 'Garvin Hicking, Matthias Mees');
$propbag->add('stackable', false);
$propbag->add('configuration', array('feedback', 'limit', 'html', 'markup', 'cutoff'));
@ -237,7 +237,7 @@ class serendipity_event_adminnotes extends serendipity_event {
if ($serendipity['version'][0] < 2) {
echo '<div class="serendipityAdminMsgSuccess"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_success.png') . '" alt="" />' . DONE . ': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) . '</div>';
} else {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> ' . DONE . ': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) . '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> ' . DONE . ': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) . '</span>';
}
}
@ -319,7 +319,7 @@ class serendipity_event_adminnotes extends serendipity_event {
$entry = $this->getMyNotes((int)$_REQUEST['note']);
if ($serendipity['version'][0] > 1) {
echo '<span class="msg_hint"><span class="icon-help-circled"></span> ';
echo '<span class="msg_hint"><span class="icon-help-circled" aria-hidden="true"></span> ';
}
printf(DELETE_SURE, $entry['noteid'] . ' - ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($entry['subject']) : htmlspecialchars($entry['subject'], ENT_COMPAT, LANG_CHARSET)));
if ($serendipity['version'][0] > 1) {
@ -358,7 +358,7 @@ class serendipity_event_adminnotes extends serendipity_event {
serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}adminnotes_to_groups WHERE noteid = " . (int)$_REQUEST['note']);
}
if ($serendipity['version'][0] > 1) {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> ';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> ';
}
printf(RIP_ENTRY, $entry['noteid'] . ' - ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($entry['subject']) : htmlspecialchars($entry['subject'], ENT_COMPAT, LANG_CHARSET)));
if ($serendipity['version'][0] > 1) {
@ -547,7 +547,7 @@ function fulltext_toggle(id) {
<?php echo serendipity_mb('substr', $output, 0, $cutoff) . "&hellip;\n"; ?>
</div>
<div class="note_summarylink">
<button class="button_link toggle_comment_full" type="button" onclick="fulltext_toggle(<?php echo $id ?>); return false;" data-href="#qn<?php echo $id ?>_full" title="<?php echo TOGGLE_ALL ?>"><span class="icon-right-dir"></span><span class="visuallyhidden"> <?php echo TOGGLE_ALL ?></span></button>
<button class="button_link toggle_comment_full" type="button" onclick="fulltext_toggle(<?php echo $id ?>); return false;" data-href="#qn<?php echo $id ?>_full" title="<?php echo TOGGLE_ALL ?>"><span class="icon-right-dir" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo TOGGLE_ALL ?></span></button>
</div>
<?php
} else {

View file

@ -1,53 +1,32 @@
0.33:
-----
* Added serendipity_request_url API method
0.34: Iconfont a11y fix (yellowled)
0.32:
-----
* Compatibility check for Serendipity 2+
0.33: Added serendipity_request_url API method
0.31:
-----
* Adapted backend markup for 2.0 backend (yellowled)
0.32: Compatibility check for Serendipity 2+
0.30:
-----
* Smarty3 forward compatibility
0.31: Adapted backend markup for 2.0 backend (yellowled)
0.29:
-----
* By default now store aggregated entries with a "no flattr"
attribute
0.30: Smarty3 forward compatibility
0.26:
-----
* Add ability to display feeds within a template (see inline
documentation of the PHP file)
0.29: By default now store aggregated entries with a "no flattr" attribute
0.26: Add ability to display feeds within a template (see inline documentation
of the PHP file)
0.24:
-----
* Add SimplePie as an option for the parser. (by Oliof)
0.24: Add SimplePie as an option for the parser. (by Oliof)
0.21:
----
* Add option to decide whether entries are published or drafted
* Add support to suppress markup plugins for aggregated entries
0.20:
-----
* Fixed issue when aggregator is used and caching option of
entryprops is enabled.
0.20: Fixed issue when aggregator is used and caching option of entryprops is
enabled.
0.3:
-----
* Added MagpieRSS support [allows to parse Atom feeds] by Claus
Schmidt <http://clsc.net/> [GPL library -- dual licensing of
this plugin. BSD if using Onyx]
0.3: Added MagpieRSS support [allows to parse Atom feeds] by Claus Schmidt
<http://clsc.net/> [GPL library -- dual licensing of this plugin. BSD if
using Onyx]
0.11:
-----
* Fixed htmlspecialchars escaping of OPML urls (garvinhicking)
0.10:
-----
* Introduced OPML feed export (garvinhicking)
0.11: Fixed htmlspecialchars escaping of OPML urls (garvinhicking)
0.10: Introduced OPML feed export (garvinhicking)

View file

@ -72,7 +72,7 @@ class serendipity_event_aggregator extends serendipity_event {
'php' => '4.1.0'
));
$propbag->add('version', '0.33');
$propbag->add('version', '0.34');
$propbag->add('author', 'Evan Nemerson, Garvin Hicking, Kristian Koehntopp, Thomas Schulz, Claus Schmidt');
$propbag->add('stackable', false);
$propbag->add('event_hooks', array(
@ -665,7 +665,7 @@ class serendipity_event_aggregator extends serendipity_event {
);
if ($serendipity['version'][0] > 1) {
echo '<span class="msg_notice"><span class="icon-info-circled"></span> ';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> ';
}
echo PLUGIN_AGGREGATOR_DESC;
if ($serendipity['version'][0] == '1') {
@ -674,7 +674,7 @@ class serendipity_event_aggregator extends serendipity_event {
echo '</span>';
}
if ($serendipity['version'][0] > 1) {
echo '<span class="msg_hint"><span class="icon-help-circled"></span> ';
echo '<span class="msg_hint"><span class="icon-help-circled" aria-hidden="true"></span> ';
}
echo PLUGIN_AGGREGATOR_FEEDLIST;
if ($serendipity['version'][0] == '1') {
@ -766,7 +766,7 @@ class serendipity_event_aggregator extends serendipity_event {
} else {
echo '
<h3>' . PLUGIN_AGGREGATOR_IMPORTFEEDLIST . '</h3>
<span class="msg_hint"><span class="icon-help-circled"></span> ' . PLUGIN_AGGREGATOR_IMPORTFEEDLIST_DESC . '</span>
<span class="msg_hint"><span class="icon-help-circled" aria-hidden="true"></span> ' . PLUGIN_AGGREGATOR_IMPORTFEEDLIST_DESC . '</span>
<div class="form_field">
<label for="serendipity_aggregator_opml">URL</label>
<input id="serendipity_aggregator_opml" type="text" name="serendipity[aggregatorOPML]" value="http://">
@ -788,7 +788,7 @@ class serendipity_event_aggregator extends serendipity_event {
} else {
echo '
<h3>' . PLUGIN_AGGREGATOR_EXPORTFEEDLIST . '</h3>
<a class="button_link" href="' . serendipity_rewriteURL('plugin/opmlfeeds.xml') .'"><span class="icon-rss"></span> ' . PLUGIN_AGGREGATOR_EXPORTFEEDLIST_BUTTON . '</a>
<a class="button_link" href="' . serendipity_rewriteURL('plugin/opmlfeeds.xml') .'"><span class="icon-rss" aria-hidden="true"></span> ' . PLUGIN_AGGREGATOR_EXPORTFEEDLIST_BUTTON . '</a>
</form>';
}
}
@ -1706,7 +1706,7 @@ class serendipity_event_aggregator extends serendipity_event {
// Feed Icon parsen und in feeds speichern
return true;
}
function parse_template($filename) {
global $serendipity;
@ -1820,4 +1820,4 @@ EOF;
}
}
/* vim: set sts=4 ts=4 expandtab : */
/* vim: set sts=4 ts=4 expandtab : */

View file

@ -1 +1,3 @@
1.4.2: Iconfont a11y fix (yellowled)
1.4: Added additional backend markup for 2.0 backend (yellowled)

View file

@ -23,7 +23,7 @@ class serendipity_event_assigncategories extends serendipity_event
$propbag->add('description', PLUGIN_ASSIGNCATEGORIES_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking, Matthias Mees');
$propbag->add('version', '1.4.1');
$propbag->add('version', '1.4.2');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'php' => '4.1.0'
@ -120,7 +120,7 @@ class serendipity_event_assigncategories extends serendipity_event
if ($serendipity['version'][0] == '1') {
echo '<div class="serendipityAdminMsgSuccess"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_success.png') . '" alt="" />'. CATEGORY_SAVED .'</div>';
} else {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> '. CATEGORY_SAVED .'</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> '. CATEGORY_SAVED .'</span>';
}
}

View file

@ -1,62 +1,59 @@
1.1.7
* Fix beta-version upgrade by using github-archive path and
making the file detection more reliable
1.1.8: Iconfont a11y fix (yellowled)
1.1.7: Fix beta-version upgrade by using github-archive path and making the
file detection more reliable
1.1.6:
1.1.6
* When curl download could not be tried, detect this as fail
* Improve error messages if update can't be downloaded
* Don't check checksums for beta
1.1.5
1.1.5:
* Check for broken existing zip file
* Set new requirement for PHP 5.2+
1.1.4
1.1.4:
* Check into github repository from now on
* Remove dashboard plugin dependency with >= 2.0
1.1.3
* Fix bug when trying to download with cURL
1.1.3: Fix bug when trying to download with cURL
1.1.2
* some fixes for 2.0
1.1.2: some fixes for 2.0
1.1.1
* (html)specialchars for PHP 5.4 charset changes
1.1.1: (html)specialchars for PHP 5.4 charset changes
1.1
* Translated and faked message unicode-icons to Chrome Browser, since this
does not work with all native unicodes (like clock and triangled <!>).
1.1: Translated and faked message unicode-icons to Chrome Browser, since this
does not work with all native unicodes (like clock and triangled <!>).
1.0
* Enable flush to work on FastCGI servers
1.0: Enable flush to work on FastCGI servers
0.9
* Check if ZIP extension is installed and loaded
0.9: Check if ZIP extension is installed and loaded
0.8
* Use native API method serendipity_db_escape_string()
0.8: Use native API method serendipity_db_escape_string()
0.7
* Added on error RELOAD note
0.7: Added on error RELOAD note
0.6:
0.6
* Added install by USERLEVEL_ADMIN only
* changed some lang <en> <de> Constants
this also removed the experimental status
* changed some lang <en> <de> Constants; this also removed the
experimental status
0.5
* View and follow upgrade process
0.5: View and follow upgrade process
0.4:
0.4
* Fixed checksums var
* Enhanced cleanTemplatesC()
* Added some debug and process messages
0.3
* Compatibility fixes [brockhaus]
0.3: Compatibility fixes [brockhaus]
0.2:
* Fixed: Didn't create new directories which were part of the new version
* Fixed: Choked on new files of the new version which didn't exist
in the old version
@ -64,7 +61,8 @@
display-errors
0.1.2:
* Fixed call-by-reference-warning in php 5.3
* Added checksum-test prior to unpacking to kind of authenticate
the update
* Added checksum-test after unpacking to check the integrity
* Added checksum-test after unpacking to check the integrity

View file

@ -22,7 +22,7 @@ class serendipity_event_autoupdate extends serendipity_event {
$propbag->add('description', PLUGIN_EVENT_AUTOUPDATE_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'onli, Ian');
$propbag->add('version', '1.1.7');
$propbag->add('version', '1.1.8');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'php' => '5.2'
@ -161,7 +161,7 @@ class serendipity_event_autoupdate extends serendipity_event {
<h2 class="visuallyhidden">User menu</h2>
<ul>
<li><a class="icon_link" href="serendipity_admin.php" title="Startpage"><span class="icon-home"></span><span class="visuallyhidden"> Startpage</span></a></li>
<li><a class="icon_link" href="serendipity_admin.php" title="Startpage"><span class="icon-home" aria-hidden="true"></span><span class="visuallyhidden"> Startpage</span></a></li>
</ul>
</nav>
</div>
@ -179,9 +179,9 @@ class serendipity_event_autoupdate extends serendipity_event {
<article>
EOS;
$this->show_message('<p class="msg_notice"><span class="icon-attention"></span>Download, verify, check, unzip, copy, remove temporary stuff for Serendipity Update: ' . $_REQUEST['serendipity']['newVersion'] . ' may take a little while...<br>Please don\'t get nervous and do not close this page while in progress!</p><hr>');
$this->show_message('<p class="msg_notice" style="font-size: small;color: #999;"><span class="icon-attention"></span>Please note: If this page ever stops with an error message during procession, you can normally just RELOAD your browser [by keyboard shortcut] to get another run. This does not do any harm to a continued upgrade.</p>');
$this->show_message('<p class="msg_notice"><span class="icon-attention"></span>PHP max execution time set to 210 seconds</p>');
$this->show_message('<p class="msg_notice"><span class="icon-attention" aria-hidden="true"></span>Download, verify, check, unzip, copy, remove temporary stuff for Serendipity Update: ' . $_REQUEST['serendipity']['newVersion'] . ' may take a little while...<br>Please don\'t get nervous and do not close this page while in progress!</p><hr>');
$this->show_message('<p class="msg_notice" style="font-size: small;color: #999;"><span class="icon-attention" aria-hidden="true"></span>Please note: If this page ever stops with an error message during procession, you can normally just RELOAD your browser [by keyboard shortcut] to get another run. This does not do any harm to a continued upgrade.</p>');
$this->show_message('<p class="msg_notice"><span class="icon-attention" aria-hidden="true"></span>PHP max execution time set to 210 seconds</p>');
$start = microtime(true);
if (false === ($update = $this->fetchUpdate($nv))) {
$this->close_page(true);
@ -189,56 +189,56 @@ EOS;
usleep(3);
$time = microtime(true) - $start;
$logmsg .= $lmsg = sprintf("In %0.4d seconds run fcn fetchUpdate()...\n", $time); // print in readable format 1.2345
$this->show_message('<p class="msg_run"><span class="icon-clock"></span><em>'.$lmsg.'</em></p>', 'Function fetch update', 'verify the update pack');
$this->show_message('<p class="msg_run"><span class="icon-clock" aria-hidden="true"></span><em>'.$lmsg.'</em></p>', 'Function fetch update', 'verify the update pack');
if (!empty($update)) {
$start = microtime(true);
if ($this->verifyUpdate($update, $nv)) {
usleep(3);
$time = microtime(true) - $start;
$logmsg .= $lmsg = sprintf("In %0.4d seconds run fcn verifyUpdate()...\n", $time); // print in readable format 1.2345
$this->show_message('<p class="msg_run"><span class="icon-clock"></span><em>'.$lmsg.'</em></p>', 'Function verify update', 'checking write permissions');
$this->show_message('<p class="msg_run"><span class="icon-clock" aria-hidden="true"></span><em>'.$lmsg.'</em></p>', 'Function verify update', 'checking write permissions');
$start = microtime(true);
if ($this->checkWritePermissions($update)) {
usleep(3);
$time = microtime(true) - $start;
$logmsg .= $lmsg = sprintf("In %0.4d seconds run fcn checkWritePermissions()...\n", $time); // print in readable format 1.2345
$this->show_message('<p class="msg_run"><span class="icon-clock"></span><em>'.$lmsg.'</em></p>', 'Function check write permissions', 'unpacking the update');
$this->show_message('<p class="msg_run"><span class="icon-clock" aria-hidden="true"></span><em>'.$lmsg.'</em></p>', 'Function check write permissions', 'unpacking the update');
$start = microtime(true);
$unpacked = $this->unpackUpdate($nv);
usleep(3);
$time = microtime(true) - $start;
$logmsg .= $lmsg = sprintf("In %0.4d seconds run fcn unpackUpdate()...\n", $time); // print in readable format 1.2345
$this->show_message('<p class="msg_run"><span class="icon-clock"></span><em>'.$lmsg.'</em></p>', 'Function unpack update', 'checking integrity');
$this->show_message('<p class="msg_run"><span class="icon-clock" aria-hidden="true"></span><em>'.$lmsg.'</em></p>', 'Function unpack update', 'checking integrity');
if ($unpacked) {
$start = microtime(true);
if ($this->checkIntegrity($nv)) {
usleep(3);
$time = microtime(true) - $start;
$logmsg .= $lmsg = sprintf("In %0.4d seconds run fcn checkIntegrity()...\n", $time); // print in readable format 1.2345
$this->show_message('<p class="msg_run"><span class="icon-clock"></span><em>'.$lmsg.'</em></p>', 'Function check integrity', 'finally copy update');
$this->show_message('<p class="msg_run"><span class="icon-clock" aria-hidden="true"></span><em>'.$lmsg.'</em></p>', 'Function check integrity', 'finally copy update');
$start = microtime(true);
$copied = $this->copyUpdate($nv);
usleep(3);
$time = microtime(true) - $start;
$logmsg .= $lmsg = sprintf("In %0.4d seconds run fcn copyUpdate()...\n", $time); // print in readable format 1.2345
$this->show_message('<p class="msg_run"><span class="icon-clock"></span><em>'.$lmsg.'</em></p>', 'Function copy update', 'cleaning up temporary directory');
$this->show_message('<p class="msg_run"><span class="icon-clock" aria-hidden="true"></span><em>'.$lmsg.'</em></p>', 'Function copy update', 'cleaning up temporary directory');
if ($copied) {
$start = microtime(true);
if (true === $this->cleanTemplatesC($nv, true) ) {
$this->show_message('<p class="msg_success"><span class="icon-ok"></span>Cleanup download temp done!</p>');
$this->show_message('<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span>Cleanup download temp done!</p>');
}
usleep(3);
$time = microtime(true) - $start;
$logmsg .= $lmsg = sprintf("In %0.4d seconds run fcn cleanTemplatesC()...\n", $time); // print in readable format 1.2345
$this->show_message('<p class="msg_run"><span class="icon-clock"></span><em>'.$lmsg.'</em></p>', 'Function cleanup templates_c', 'finish processing unit');
$this->show_message('<p class="msg_run"><span class="icon-clock" aria-hidden="true"></span><em>'.$lmsg.'</em></p>', 'Function cleanup templates_c', 'finish processing unit');
sleep(2);
echo '<script type="text/javascript">var el = document.getElementById("loader"); el.style.display = "none";</script>';
sleep(2);
$this->show_message('<p class="msg_notice"><span class="icon-attention"></span><a href="'.$serendipity['serendipityHTTPPath'].'">click to start Serendipity Installer here</a>!</p>');
$this->show_message('<p class="msg_notice"><span class="icon-attention" aria-hidden="true"></span><a href="'.$serendipity['serendipityHTTPPath'].'">click to start Serendipity Installer here</a>!</p>');
sleep(1);
$this->doUpdate();//$logmsg
} else {
$this->show_message('<p class="msg_error"><span class="icon-error"></span>Copying the files for the update failed</p>');
$this->show_message('<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Copying the files for the update failed</p>');
}
} else {
$this->showChecksumErrors($nv);
@ -248,11 +248,11 @@ EOS;
</form>';
}
} else {
$this->show_message('<p class="msg_error"><span class="icon-error"></span>Unpacking the update failed</p>');
$this->show_message('<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Unpacking the update failed</p>');
if (true === $this->cleanTemplatesC($nv, false)) {
$this->show_message('<p class="msg_success"><span class="icon-ok"></span>Cleaning up the failed unpack directory!</p>');
$this->show_message('<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span>Cleaning up the failed unpack directory!</p>');
}
$this->show_message('<p class="msg_notice"><span class="icon-attention"></span>Please reload this page by F5 to have another try upgrading your Blog successfully!</p>');
$this->show_message('<p class="msg_notice"><span class="icon-attention" aria-hidden="true"></span>Please reload this page by F5 to have another try upgrading your Blog successfully!</p>');
}
} else {
@ -297,7 +297,7 @@ EOS;
if ($res === TRUE) {
$done = true;
} else {
$this->show_message('<p class="msg_error"><span class="icon-error"></span>Existing Zip file Error, Code:' . $res. '. The autoupdater will try to download again...');
$this->show_message('<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Existing Zip file Error, Code:' . $res. '. The autoupdater will try to download again...');
@unlink($update);
sleep(1);
$done = @copy($url, $update) ? true : false;
@ -321,15 +321,15 @@ EOS;
$success = @curl_exec($ch);
if (!$success) {
$this->show_message('<p class="msg_error"><span class="icon-error"></span>Downloading update failed (curl installed, but failed). Does '. $url .' exist?</p>');
$this->show_message('<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Downloading update failed (curl installed, but failed). Does '. $url .' exist?</p>');
return false;
}
} else {
$this->show_message('<p class="msg_error"><span class="icon-error"></span>Downloading update failed (copy failed, curl not available). Does '. $url .' exist?</p>');
$this->show_message('<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Downloading update failed (copy failed, curl not available). Does '. $url .' exist?</p>');
return false;
}
}
$this->show_message('<p class="msg_success"><span class="icon-ok"></span>Fetch download to templates_c done</p>');
$this->show_message('<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span>Fetch download to templates_c done</p>');
return $update;
}
@ -346,7 +346,7 @@ EOS;
// grep the checksum
preg_match("/\(MD5: (.*)\)/", $updatePage, $found);
$checksum = $found[1];
$this->show_message('<p class="msg_notice"><span class="icon-attention"></span>Checking MD5 zip file checksum: ' . $checksum . '</p>');
$this->show_message('<p class="msg_notice"><span class="icon-attention" aria-hidden="true"></span>Checking MD5 zip file checksum: ' . $checksum . '</p>');
$check = md5_file($update);
if (strpos($version, 'beta') !== FALSE) {
return true;
@ -354,7 +354,7 @@ EOS;
if ($check == $checksum) {
return true;
} else {
$this->show_message('<p class="msg_error"><span class="icon-error"></span>Error. Could not verify the update.</p>');
$this->show_message('<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Error. Could not verify the update.</p>');
return false;
}
}
@ -408,7 +408,7 @@ EOS;
}
// 2.extraxt all files to temp
$zip->extractTo($updateDir);
$this->show_message('<p class="msg_success"><span class="icon-ok"></span>Extracting the zip in templates_c done</p>');
$this->show_message('<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span>Extracting the zip in templates_c done</p>');
$zip->close();
} else {
return false;
@ -453,7 +453,7 @@ EOS;
$success = @copy($updateDir . $file, $target);
}
if (!$success) {
$this->show_message('<p class="msg_error"><span class="icon-error"></span>Error copying file '. $updateDir . $file .' to '. $target .'</p>');
$this->show_message('<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Error copying file '. $updateDir . $file .' to '. $target .'</p>');
return false;
}
}
@ -516,7 +516,7 @@ EOS;
$zip->close();
$notWritable = array();
foreach ($files as $file) {
$target = $serendipity['serendipityPath'] . substr($file, 12);
if ((!is_writable($target)) && file_exists($target)) {
@ -525,7 +525,7 @@ EOS;
}
}
ob_start();
echo '<p class="msg_error"><span class="icon-error"></span>Unpacking the update failed, because following files were not writeable:</p>';
echo '<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Unpacking the update failed, because following files were not writeable:</p>';
echo "<ul>";
foreach ($notWriteable as $file) {
echo "<li>$file</li>";
@ -586,7 +586,7 @@ EOS;
}
}
ob_start();
echo '<p class="msg_error"><span class="icon-error"></span>Updating failed, because the integrity-test for the following files failed:</p>';
echo '<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Updating failed, because the integrity-test for the following files failed:</p>';
echo "<ul>";
foreach ($errors as $file) {
echo "<li>$file</li>";
@ -625,7 +625,7 @@ EOS;
global $serendipity;
$msg = "Autoupdate successfully done!\\nWe now refresh to Serendipity Installer!\\n"; // escape for js
$this->show_message('<p class="msg_success"><span class="icon-ok"></span>Autoupdate successfully done - refresh to Serendipity Installer</p>', 'Autoupdate');
$this->show_message('<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span>Autoupdate successfully done - refresh to Serendipity Installer</p>', 'Autoupdate');
$this->close_page();
// this is working for me.... is it for you?
@ -681,22 +681,22 @@ EOS;
// leave rm zip untouched here as not causing any errors
#unlink($zip);// if (unlink($zip)) { else error note?
#$this->show_message('<p class="msg_success"><span class="icon-ok"></span>Removing the zip file in templates_c done</p>');
#$this->show_message('<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span>Removing the zip file in templates_c done</p>');
// As trying to remove a directory that php is still using, we use open/closedir($handle) to be sure
if ($handle = opendir($zipDir)) {
$this->empty_dir($zipDir);
$this->show_message('<p class="msg_success"><span class="icon-ok"></span>Removing all files in '.$zipDir.' done</p>');
$this->show_message('<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span>Removing all files in '.$zipDir.' done</p>');
closedir($handle);
}
if (rmdir($zipDir)) {
$this->show_message('<p class="msg_success"><span class="icon-ok"></span>Removing the empty directory: '.$zipDir.' done</p>');
$this->show_message('<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span>Removing the empty directory: '.$zipDir.' done</p>');
} else {
$this->show_message('<p class="msg_error"><span class="icon-error"></span>Removing the empty directory: '.$zipDir.' failed!</p>');
$this->show_message('<p class="msg_error"><span class="icon-error" aria-hidden="true"></span>Removing the empty directory: '.$zipDir.' failed!</p>');
}
// We clear all compiles smarty template files in templates_c which only leaves the page we are on: /serendipity/templates/default/admin/index.tpl
if ($finish) {
// We have to reduce this call() = all tpl files, to clear the blogs template only, to not have the following automated recompile, force the servers memory
// We have to reduce this call() = all tpl files, to clear the blogs template only, to not have the following automated recompile, force the servers memory
// to get exhausted, when using serendipity_event_gravatar plugin, which can eat up some MB...
if (method_exists($serendipity['smarty'], 'clearCompiledTemplate')) { // SMARTY 3
if ($serendipity['smarty']->clearCompiledTemplate(null, $serendipity['template'])) {
@ -733,4 +733,4 @@ EOS;
}
/* vim: set sts=4 ts=4 expandtab : */
/* vim: set sts=4 ts=4 expandtab : */

View file

@ -1,6 +1,8 @@
***************************************************************************************************
* Legend: ! Bugfix, + New Features, * Changed, - Info Only
*
*
1.76: Iconfont a11y fix (yellowled)
v.1.75:
@ -187,5 +189,5 @@ v.1.70:
*
* v.1.4 2009-11-21 Spartacus
* ==========================
*
***************************************************************************************************
*
***************************************************************************************************

View file

@ -62,7 +62,7 @@
</select>
</td>
<td class="eventformdesc">
<input type="radio" name="calendar[type]" value="single" {$plugin_eventcal_add_tipo1} />{$CONST.CAL_EVENT_FORM_RIGHT_SINGLE} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_SINGLE_NOEND})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_SINGLE}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled"></span>{/if}</abbr>
<input type="radio" name="calendar[type]" value="single" {$plugin_eventcal_add_tipo1} />{$CONST.CAL_EVENT_FORM_RIGHT_SINGLE} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_SINGLE_NOEND})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_SINGLE}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled" aria-hidden="true"></span>{/if}</abbr>
</td>
</tr>
<tr class="e0">
@ -79,7 +79,7 @@
</select>
</td>
<td class="eventformdesc">
<input type="radio" name="calendar[type]" value="multi" {$plugin_eventcal_add_tipo2} />{$CONST.CAL_EVENT_FORM_RIGHT_MULTI} <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_MULTI}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled"></span>{/if}</abbr>
<input type="radio" name="calendar[type]" value="multi" {$plugin_eventcal_add_tipo2} />{$CONST.CAL_EVENT_FORM_RIGHT_MULTI} <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_MULTI}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled" aria-hidden="true"></span>{/if}</abbr>
</td>
</tr>
<tr class="e0">
@ -93,21 +93,21 @@
</select>
</td>
<td class="eventformdesc">
<input type="radio" name="calendar[type]" value="recur" {$plugin_eventcal_add_tipo3} />{$CONST.CAL_EVENT_FORM_RIGHT_RECUR} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_RECUR_MONTH})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_MONTH}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled"></span>{/if}</abbr>
<input type="radio" name="calendar[type]" value="recur" {$plugin_eventcal_add_tipo3} />{$CONST.CAL_EVENT_FORM_RIGHT_RECUR} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_RECUR_MONTH})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_MONTH}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled" aria-hidden="true"></span>{/if}</abbr>
</td>
</tr>
<tr class="e0">
<th class="eventformtitle">&nbsp;</th>
<td class="eventformdesc">&nbsp;<sub>{$CONST.CAL_EVENT_FORM_RIGHT_RECURSTRICT1}</sub></td>
<td class="eventformdesc">
<input type="radio" name="calendar[type]" value="weekly" {$plugin_eventcal_add_tipo4} />{$CONST.CAL_EVENT_FORM_RIGHT_RECUR} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_RECUR_WEEK})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_WEEK}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled"></span>{/if}</abbr>
<input type="radio" name="calendar[type]" value="weekly" {$plugin_eventcal_add_tipo4} />{$CONST.CAL_EVENT_FORM_RIGHT_RECUR} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_RECUR_WEEK})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_WEEK}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled" aria-hidden="true"></span>{/if}</abbr>
</td>
</tr>
<tr class="e0">
<th class="eventformtitle">&nbsp;</th>
<td class="eventformdesc">&nbsp;<sup>{$CONST.CAL_EVENT_FORM_RIGHT_RECURSTRICT2}</sup></td>
<td class="eventformdesc">
<input type="radio" name="calendar[type]" value="biweekly" {$plugin_eventcal_add_tipo5} />{$CONST.CAL_EVENT_FORM_RIGHT_RECUR} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_RECUR_BIWEEK})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_BIWEEK}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled"></span>{/if}</abbr>
<input type="radio" name="calendar[type]" value="biweekly" {$plugin_eventcal_add_tipo5} />{$CONST.CAL_EVENT_FORM_RIGHT_RECUR} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_RECUR_BIWEEK})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_BIWEEK}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled" aria-hidden="true"></span>{/if}</abbr>
</td>
</tr>
<tr class="e0">
@ -116,7 +116,7 @@
<input type="text" name="calendar[app_by]" value="{$plugin_eventcal_add_app_by}" size="16" maxlength="16" /><font class="eventcal_tab">{$CONST.CAL_EVENT_FORM_RIGHT_SHORTMAX}</font>
</td>
<td class="eventformdesc">
<input type="radio" name="calendar[type]" value="yearly" {$plugin_eventcal_add_tipo6} />{$CONST.CAL_EVENT_FORM_RIGHT_RECUR} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_RECUR_YEAR})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_YEAR}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled"></span>{/if}</abbr>
<input type="radio" name="calendar[type]" value="yearly" {$plugin_eventcal_add_tipo6} />{$CONST.CAL_EVENT_FORM_RIGHT_RECUR} <b class="eventcal_tab">({$CONST.CAL_EVENT_FORM_RIGHT_RECUR_YEAR})</b> <abbr title="{$CONST.CAL_EVENT_FORM_RIGHT_HELP_YEAR}">{if !$S9y2}<input type="button" class="serendipityPrettyButton info" name="info" value="i" />{else}<span class="icon-info-circled" aria-hidden="true"></span>{/if}</abbr>
</td>
</tr>
<tr class="e0">
@ -156,7 +156,7 @@
{serendipity_hookPlugin hook="frontend_comment" data="$plugin_eventcal_cal_entry"}
</td>
</tr>
{/if}
</tbody>
</table>
@ -167,4 +167,4 @@
</td>
</tr>
<!-- plugin_eventcal_add.tpl end -->
<!-- plugin_eventcal_add.tpl end -->

View file

@ -76,7 +76,7 @@ class serendipity_event_cal extends serendipity_event {
)
);
$propbag->add('author', 'Ian (Timbalu)');
$propbag->add('version', '1.75');
$propbag->add('version', '1.76');
$propbag->add('groups', array('FRONTEND_FEATURES', 'BACKEND_FEATURES'));
$propbag->add('requirements', array(
'serendipity' => '1.4',
@ -335,7 +335,7 @@ class serendipity_event_cal extends serendipity_event {
return $serendipity['smarty']->assign(
array(
'is_eventcal_error' => true,
'plugin_eventcal_error' => '<span class="icon-attention-circled"></span> ' . $errtext
'plugin_eventcal_error' => '<span class="icon-attention-circled" aria-hidden="true"></span> ' . $errtext
)
);
break;
@ -344,7 +344,7 @@ class serendipity_event_cal extends serendipity_event {
return $serendipity['smarty']->assign(
array(
'is_eventcal_message' => true,
'plugin_eventcal_message' => '<span class="icon-info-circled"></span> ' . $errtext
'plugin_eventcal_message' => '<span class="icon-info-circled" aria-hidden="true"></span> ' . $errtext
)
);
break;
@ -2741,7 +2741,7 @@ class serendipity_event_cal extends serendipity_event {
'."\n";
}
$attention = ($serendipity['version'][0] < 2) ? '<img class="backend_attention" src="' . $serendipity['serendipityHTTPPath'] . 'templates/default/admin/img/admin_msg_note.png" alt="" /> ' : '<span class="icon icon-attention-circled"></span> ';
$attention = ($serendipity['version'][0] < 2) ? '<img class="backend_attention" src="' . $serendipity['serendipityHTTPPath'] . 'templates/default/admin/img/admin_msg_note.png" alt="" /> ' : '<span class="icon icon-attention-circled" aria-hidden="true"></span> ';
$evcat = !empty($serendipity['GET']['eventcalcategory']) ? $serendipity['GET']['eventcalcategory'] : $serendipity['POST']['eventcalcategory'];
/* check for REQUEST and DATE vars, validating data issues */
@ -2895,7 +2895,7 @@ class serendipity_event_cal extends serendipity_event {
}
$adminpath = '?serendipity[adminModule]=event_display&serendipity[adminAction]=eventcal&serendipity[eventcalcategory]=adevview';
$attention = ($serendipity['version'][0] < 2) ? '<img class="backend_attention" src="' . $serendipity['serendipityHTTPPath'] . 'templates/default/admin/img/admin_msg_note.png" alt="" /> ' : '<span class="icon icon-attention-circled"></span> ';
$attention = ($serendipity['version'][0] < 2) ? '<img class="backend_attention" src="' . $serendipity['serendipityHTTPPath'] . 'templates/default/admin/img/admin_msg_note.png" alt="" /> ' : '<span class="icon icon-attention-circled" aria-hidden="true"></span> ';
/* assign app and add form and main tpl array entries to smarty */
if (is_array($result)) {
@ -3014,7 +3014,7 @@ class serendipity_event_cal extends serendipity_event {
}
$adminpath = '?serendipity[adminModule]=event_display&serendipity[adminAction]=eventcal&serendipity[eventcalcategory]=adevapp';
$attention = ($serendipity['version'][0] < 2) ? '<img class="backend_attention" src="' . $serendipity['serendipityHTTPPath'] . 'templates/default/admin/img/admin_msg_note.png" alt="" /> ' : '<span class="icon icon-attention-circled"></span> ';
$attention = ($serendipity['version'][0] < 2) ? '<img class="backend_attention" src="' . $serendipity['serendipityHTTPPath'] . 'templates/default/admin/img/admin_msg_note.png" alt="" /> ' : '<span class="icon icon-attention-circled" aria-hidden="true"></span> ';
/* assign app and add form and main tpl array entries to smarty */
if (is_array($result)) {
@ -3211,7 +3211,7 @@ class serendipity_event_cal extends serendipity_event {
}
$adminpath = $_SERVER['PHP_SELF'] . '?serendipity[adminModule]=event_display&serendipity[adminAction]=eventcal&serendipity[eventcalcategory]=adevplad';
$dbclean = !empty($serendipity['GET']['eventcaldbclean']) ? $serendipity['GET']['eventcaldbclean'] : 'start';
$attention = ($serendipity['version'][0] < 2) ? '<img class="backend_attention" src="' . $serendipity['serendipityHTTPPath'] . 'templates/default/admin/img/admin_msg_note.png" alt="" /> ' : '<span class="icon icon-attention-circled"></span> ';
$attention = ($serendipity['version'][0] < 2) ? '<img class="backend_attention" src="' . $serendipity['serendipityHTTPPath'] . 'templates/default/admin/img/admin_msg_note.png" alt="" /> ' : '<span class="icon icon-attention-circled" aria-hidden="true"></span> ';
echo '<div class="clearfix backend_eventcal_dbclean_title"><h4 class="backend_eventcal_inline">' . PLUGIN_EVENTCAL_ADMIN_DBC_TITLE . '</h4> <span class="backend_eventcal_right">[ <b class="eventcal_tab eventcal_tab_dim">' . PLUGIN_EVENTCAL_ADMIN_DBC_TITLE_DESC . '</b> ]</span></div>'."\n";
echo '<div class="backend_eventcal_dbclean_menu">'."\n";
@ -3268,7 +3268,7 @@ class serendipity_event_cal extends serendipity_event {
case 'dbinsert':
echo '<div class="backend_eventcal_dbclean_innercat ec_inner_title"><h3>' . strtoupper(PLUGIN_EVENTCAL_ADMIN_DBC_INSERT_TITLE) . '</h3></div>'."\n";
echo $this->backend_eventcal_smsg() . '<span class="msg_hint"><span class="icon-help-circled"></span> ' . PLUGIN_EVENTCAL_ADMIN_DBC_INSERT_MSG . '</span>' . $this->backend_eventcal_emsg();
echo $this->backend_eventcal_smsg() . '<span class="msg_hint"><span class="icon-help-circled" aria-hidden="true"></span> ' . PLUGIN_EVENTCAL_ADMIN_DBC_INSERT_MSG . '</span>' . $this->backend_eventcal_emsg();
break;
@ -3358,7 +3358,7 @@ class serendipity_event_cal extends serendipity_event {
} else {
$url = $serendipity['serendipityHTTPPath'] . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] . '?/' : '') . 'plugin/ics_export/0/0/0/dl/none/all';
echo $this->backend_eventcal_smsg();
echo '<p class="msg_hint"><span class="icon-help-circled"></span> ' . PLUGIN_EVENTCAL_ADMIN_ICAL_DOWNLINK . "</p>\n";
echo '<p class="msg_hint"><span class="icon-help-circled" aria-hidden="true"></span> ' . PLUGIN_EVENTCAL_ADMIN_ICAL_DOWNLINK . "</p>\n";
echo '<form name="checkform" method="post" action="'.$this->fetchPluginUri().'">';
echo '<input type="hidden" name="calendar[icseptarget]" value="'.$url.'" />';
echo '<input type="submit" class="serendipityPrettyButton input_button" name="ical download" value=" ' . CAL_EVENT_FORM_BUTTON_SUBMIT . ' " />';
@ -3490,7 +3490,7 @@ class serendipity_event_cal extends serendipity_event {
function backend_eventcal_questionaire($text, $url, $addno, $addyes) {
global $serendipity;
return $str = $this->backend_eventcal_smsg() . '<span class="msg_hint"><span class="icon-help-circled"></span> ' . $text . '</span>
return $str = $this->backend_eventcal_smsg() . '<span class="msg_hint"><span class="icon-help-circled" aria-hidden="true"></span> ' . $text . '</span>
<div class="form_buttons">
<a href="'.$url.$addno.'" class="serendipityPrettyButton button_link state_cancel icon_link">' . NOT_REALLY . '</a>
<a href="'.$url.$addyes.'" class="serendipityPrettyButton button_link state_submit icon_link">' . DUMP_IT . '</a>

View file

@ -12,7 +12,7 @@
@define('PLUGIN_EVENT_CKEDITOR_REVISION_TITLE', '<h3>Das Plugin enthält:</h3>');
@define('PLUGIN_EVENT_CKEDITOR_INSTALL', '<h2>Installation</h2>
<p class="msg_notice">
<span class="icon-attention"></span> <strong>Abhängigkeiten:</strong> Deaktiviere body, extended und nugget parsing global im <strong>NL2BR</strong> Plugin, <strong>oder</strong> per entry über das entryproperties event plugin <strong>und/oder</strong> für statische Seiten über die Entry "Textformatierungs" Option! Seit Serendipity 2.0-rc1 sollte entryproperties den CKEditor diesbezüglich automatisch erkennen.
<span class="icon-attention" aria-hidden="true"></span> <strong>Abhängigkeiten:</strong> Deaktiviere body, extended und nugget parsing global im <strong>NL2BR</strong> Plugin, <strong>oder</strong> per entry über das entryproperties event plugin <strong>und/oder</strong> für statische Seiten über die Entry "Textformatierungs" Option! Seit Serendipity 2.0-rc1 sollte entryproperties den CKEditor diesbezüglich automatisch erkennen.
</p>
<ol style="line-height: 1.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>
@ -48,5 +48,4 @@
@define('PLUGIN_EVENT_CKEDITOR_SETTOOLBAR_OPTION', 'Wähle voreingestellte Toolbars');
@define('PLUGIN_EVENT_CKEDITOR_CKEIBN_OPTION', 'Stelle den eingebauen Bildbutton ab?');
@define('PLUGIN_EVENT_CKEDITOR_CKEIBN_OPTION_DESC', 'Dieser CKE eigene Toolbar Button folgt seinen eigenen Regeln für Stylings und Markup! Wir empfehlen daher nur den Serendipity Medien Datenbank Button zu nutzen, da dieser spezialisiert auf die Nöte dieses Blogsystem eingeht. Erlaube mit "Nein" und nutze auf eigenes Risiko.');
@define('PLUGIN_EVENT_CKEDITOR_CKEIBN_OPTION_DESC', 'Dieser CKE eigene Toolbar Button folgt seinen eigenen Regeln für Stylings und Markup! Wir empfehlen daher nur den Serendipity Medien Datenbank Button zu nutzen, da dieser spezialisiert auf die Nöte dieses Blogsystem eingeht. Erlaube mit "Nein" und nutze auf eigenes Risiko.');

View file

@ -12,7 +12,7 @@
@define('PLUGIN_EVENT_CKEDITOR_REVISION_TITLE', '<h3>Das Plugin enthält:</h3>');
@define('PLUGIN_EVENT_CKEDITOR_INSTALL', '<h2>Installation</h2>
<p class="msg_notice">
<span class="icon-attention"></span> <strong>Abhängigkeiten:</strong> Deaktiviere body, extended und nugget global im <strong>NL2BR</strong> Plugin, <strong>oder</strong> per entry über das entryproperties event plugin <strong>und/oder</strong> für statische Seiten über die Entry "Textformatierungs" Option! Seit Serendipity 2.0-rc1 sollte entryproperties den CKEditor diesbezüglich automatisch erkennen.
<span class="icon-attention" aria-hidden="true"></span> <strong>Abhängigkeiten:</strong> Deaktiviere body, extended und nugget global im <strong>NL2BR</strong> Plugin, <strong>oder</strong> per entry über das entryproperties event plugin <strong>und/oder</strong> für statische Seiten über die Entry "Textformatierungs" Option! Seit Serendipity 2.0-rc1 sollte entryproperties den CKEditor diesbezüglich automatisch erkennen.
</p>
<ol style="line-height: 1.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>
@ -48,5 +48,4 @@
@define('PLUGIN_EVENT_CKEDITOR_SETTOOLBAR_OPTION', 'Wähle voreingestellte Toolbars');
@define('PLUGIN_EVENT_CKEDITOR_CKEIBN_OPTION', 'Stelle den eingebauen Bildbutton ab?');
@define('PLUGIN_EVENT_CKEDITOR_CKEIBN_OPTION_DESC', 'Dieser CKE eigene Toolbar Button folgt seinen eigenen Regeln für Stylings und Markup! Wir empfehlen daher nur den Serendipity Medien Datenbank Button zu nutzen, da dieser spezialisiert auf die Nöte dieses Blogsystem eingeht. Erlaube mit "Nein" und nutze auf eigenes Risiko.');
@define('PLUGIN_EVENT_CKEDITOR_CKEIBN_OPTION_DESC', 'Dieser CKE eigene Toolbar Button folgt seinen eigenen Regeln für Stylings und Markup! Wir empfehlen daher nur den Serendipity Medien Datenbank Button zu nutzen, da dieser spezialisiert auf die Nöte dieses Blogsystem eingeht. Erlaube mit "Nein" und nutze auf eigenes Risiko.');

View file

@ -12,7 +12,7 @@
@define('PLUGIN_EVENT_CKEDITOR_REVISION_TITLE', '<h3>This Plugin includes:</h3>');
@define('PLUGIN_EVENT_CKEDITOR_INSTALL', '<h2>Installation</h2>
<p class="msg_notice">
<span class="icon-attention"></span> <strong>Dependencies:</strong> Disable global body, extended and nugget parsing in the <strong>NL2BR</strong> plugin, <strong>OR</strong> by entry with entryproperties event plugin <strong>and/or</strong> for staticpages by entry "Perform Markup Transformations" option!<br><strong>Since Serendipity 2.0</strong> the entryproperties plugin detects CKEditor automatically as to that!
<span class="icon-attention" aria-hidden="true"></span> <strong>Dependencies:</strong> Disable global body, extended and nugget parsing in the <strong>NL2BR</strong> plugin, <strong>OR</strong> by entry with entryproperties event plugin <strong>and/or</strong> for staticpages by entry "Perform Markup Transformations" option!<br><strong>Since Serendipity 2.0</strong> the entryproperties plugin detects CKEditor automatically as to that!
</p>
<ol style="line-height: 1.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>
@ -52,6 +52,5 @@
@define('PLUGIN_EVENT_CKEDITOR_SCAYT', '<h2>Scayt/wsc</h2>
<p class="msg_notice">
<span class="icon-attention"></span> As long as not purchased a license, you may only use the "SpellCheckAsYouType" (SCAYT-plugin) [ABC]-Button over the free online service "Check Spelling" dialog option, or define a custom dictionary, which first is stored to a cookie, later to the browsers localStorage and start from scratch.
</p>');
<span class="icon-attention" aria-hidden="true"></span> As long as not purchased a license, you may only use the "SpellCheckAsYouType" (SCAYT-plugin) [ABC]-Button over the free online service "Check Spelling" dialog option, or define a custom dictionary, which first is stored to a cookie, later to the browsers localStorage and start from scratch.
</p>');

View file

@ -307,7 +307,7 @@ class serendipity_event_ckeditor extends serendipity_event
$this->set_config('force_install', 'false');
// forceZipInstall forces to surround the checkUpdate function, thus we set config database table to keep track
$this->updateConfig();
$s .= '<p class="msg_success"><span class="icon-ok"></span><strong>Force deflate done:</strong> Please reload this page <a href="'.$serendipity['baseURL'] . 'serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]='.urlencode($this->instance).'" target="_self">here</a>!</p>';
$s .= '<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span><strong>Force deflate done:</strong> Please reload this page <a href="'.$serendipity['baseURL'] . 'serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]='.urlencode($this->instance).'" target="_self">here</a>!</p>';
}
$installer = $this->get_config('installer'); // Can't use method return value in write context in '' with substr(), get_config() and isset()
@ -324,19 +324,19 @@ class serendipity_event_ckeditor extends serendipity_event
if (!empty($installer)) {
switch ($installer[0]) {
case '4': // this won't happen, since case 2 is true - just a fake
$s .= '<p class="msg_notice"><span class="icon-attention"></span> <strong>Check Plugin Update Message:</strong> NO CONFIG SET OR NO MATCH -> config_set: "last_'.$parts[0].'_version:'. $parts[1].'"</p>';
$s .= '<p class="msg_notice"><span class="icon-attention" aria-hidden="true"></span> <strong>Check Plugin Update Message:</strong> NO CONFIG SET OR NO MATCH -> config_set: "last_'.$parts[0].'_version:'. $parts[1].'"</p>';
break;
case '3':
$s .= '<p class="msg_success"><span class="icon-ok"></span> <strong>Installer Update Message:</strong> Check Update found false, no unpack needed. Plugin upgrade successfully done <strong>or</strong> has been triggered to be checked by an other Spartacus Plugin update!</p>';
$s .= '<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span> <strong>Installer Update Message:</strong> Check Update found false, no unpack needed. Plugin upgrade successfully done <strong>or</strong> has been triggered to be checked by an other Spartacus Plugin update!</p>';
break;
case '2':
$s .= '<p class="msg_success"><span class="icon-ok"></span> <strong>Installer Message:</strong> Extracting the zip to ' . $this->cke_path . ' directory done!</p>';
$s .= '<p class="msg_success"><span class="icon-ok" aria-hidden="true"></span> <strong>Installer Message:</strong> Extracting the zip to ' . $this->cke_path . ' directory done!</p>';
break;
case '1':
$s .= '<p class="msg_error"><span class="icon-error"></span> <strong>Installer Error[1]:</strong> Extracting the zip to ' . $this->cke_path . ' directory failed!<br>Please extract ' . $this->cke_zipfile . ' by hand.</p>';
$s .= '<p class="msg_error"><span class="icon-error" aria-hidden="true"></span> <strong>Installer Error[1]:</strong> Extracting the zip to ' . $this->cke_path . ' directory failed!<br>Please extract ' . $this->cke_zipfile . ' by hand.</p>';
break;
case '0':
$s .= '<p class="msg_error"><span class="icon-error"></span> <strong>Installer Error[0]:</strong> Due to a writing permission error, extracting the zip to ' . $this->cke_path . ' directory failed!<br>Please set "/plugins" or "/plugins/serendipity_event_ckeditor" directory and files correct writing permissions and extract ' . $this->cke_zipfile . ' by hand or try again and <u>remove(!)</u> this plugin from your plugin list and install it again.</p>';
$s .= '<p class="msg_error"><span class="icon-error" aria-hidden="true"></span> <strong>Installer Error[0]:</strong> Due to a writing permission error, extracting the zip to ' . $this->cke_path . ' directory failed!<br>Please set "/plugins" or "/plugins/serendipity_event_ckeditor" directory and files correct writing permissions and extract ' . $this->cke_zipfile . ' by hand or try again and <u>remove(!)</u> this plugin from your plugin list and install it again.</p>';
break;
}
$this->set_config('installer', ''); // can't use serendipity_plugin_api::remove_plugin_value($this->instance, array('installer')); here, since it delivers the wrong instance
@ -712,7 +712,7 @@ ol.linenums li {
<script type="text/javascript">
jsEventData = <?php echo json_encode($eventData['buttons']); ?>;
</script>
<?php
<?php
}
}
break;

View file

@ -1,18 +1,11 @@
1.16: Iconfont a11y fix (yellowled)
1.15:
-----
* Load lang with lang api
* Add Serendpity 2.0+ backend markup
* Fix inconistencies
* Load lang with lang api
* Add Serendpity 2.0+ backend markup
* Fix inconistencies
1.14.1: Use serendipity_specialchars
1.14.1:
-------
* Use serendipity_specialchars
1.14:
-----
* Added stricter array check
1.14: Added stricter array check

View file

@ -27,7 +27,7 @@ class serendipity_event_custom_permalinks extends serendipity_event
'backend_display' => true));
$propbag->add('author', 'Garvin Hicking');
$propbag->add('version', '1.15');
$propbag->add('version', '1.16');
$propbag->add('requirements', array(
'serendipity' => '1.6',
'smarty' => '2.6.7',
@ -53,7 +53,7 @@ class serendipity_event_custom_permalinks extends serendipity_event
$_GET['serendipity']['action'] = 'read';
$_GET['serendipity']['id'] = $id;
$serendipity['plugindata']['smartyvars']['view'] = $serendipity['view'] = 'entry';
$title = serendipity_db_query("SELECT title FROM {$serendipity['dbPrefix']}entries WHERE id=$id", true);
@ -180,7 +180,7 @@ meta_properties_permalink {
<legend>
<?php echo PLUGIN_EVENT_CUSTOM_PERMALINKS_PL; ?>
<button class="toggle_info button_link active" type="button" data-href="#meta_properties_permalink">
<span class="icon-info-circled"></span><b>i</b><span class="visuallyhidden"> <?php echo MORE; ?></span>
<span class="icon-info-circled" aria-hidden="true"></span><b>i</b><span class="visuallyhidden"> <?php echo MORE; ?></span>
</button>
</legend>
</span>
@ -188,7 +188,7 @@ meta_properties_permalink {
<input id="properties_permalink" class="input_textbox" type="text" name="serendipity[permalink]" value="<?php echo (function_exists('serendipity_specialchars') ? serendipity_specialchars($permalink) : htmlspecialchars($permalink, ENT_COMPAT, LANG_CHARSET)); ?>" />
</div>
<div id="meta_properties_permalink" class="clearfix xfield_info additional_info">
<span class="msg_notice"><span class="icon-info-circled"></span> <?php echo PLUGIN_EVENT_CUSTOM_PERMALINKS_PL_DESC; ?></span>
<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> <?php echo PLUGIN_EVENT_CUSTOM_PERMALINKS_PL_DESC; ?></span>
</div>
</fieldset>
<?php

View file

@ -1,10 +1,6 @@
ChangeLog:
""""""""""
0.38: Iconfont a11y fix (yellowled)
0.37:
----
* Optimize URI args load
0.37: Optimize URI args load
[Version 0.36 2016/08/22] by Ian
--------------------------------
@ -127,7 +123,7 @@ latest: Smarty3 forward compatibility
- fixed is_dir($handle) bug and warning (onli)
- added the ability to have a very own plugin stylesheet with some very minor values to start with
- changed the frontend tpls to support these changes
[Version 0.21 2009/08/25]
- PHP 5.3 compatibility, split() is deprecated
@ -229,5 +225,4 @@ latest: Smarty3 forward compatibility
[2005/09/09] dma147
- Started the creation of this downloadmanager plugin for serendipity
- Started the creation of this downloadmanager plugin for serendipity

View file

@ -29,15 +29,15 @@
<{$div|default:'span'} id="dlm_messages">
{if $dlmerr.errormsg}
{foreach from=$dlmerr.errormsg item="msg"}
<{$tag|default:'span'} class="serendipityAdminMsgError msg_error"><span class="icon-attention-circled"></span> {$msg}</{$tag|default:'span'}>
<{$tag|default:'span'} class="serendipityAdminMsgError msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> {$msg}</{$tag|default:'span'}>
{/foreach}
{elseif $dlmerr.successmsg}
{foreach from=$dlmerr.successmsg item="msg"}
<{$tag|default:'span'} class="serendipityAdminMsgNotice msg_success"><span class="icon-ok-circled"></span> {$msg}</{$tag|default:'span'}>
<{$tag|default:'span'} class="serendipityAdminMsgNotice msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> {$msg}</{$tag|default:'span'}>
{/foreach}
{elseif $dlmerr.statusmsg}
{foreach from=$dlmerr.statusmsg item="msg"}
<{$tag|default:'span'} class="serendipityAdminMsgNotice msg_notice"><span class="icon-info-circled"></span> {$msg}</{$tag|default:'span'}>
<{$tag|default:'span'} class="serendipityAdminMsgNotice msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> {$msg}</{$tag|default:'span'}>
{/foreach}
{/if}
</{$div|default:'span'}>
@ -108,4 +108,4 @@
{include file="$path/backend.dlm.filepage.tpl" title="Downloadmanager Edit File"}
{/if}
{/if}
</div><!-- backend_downloadmanager end -->
</div><!-- backend_downloadmanager end -->

View file

@ -66,7 +66,7 @@
</div>
{/if}
{* this info text constant contains linebreaks while there are 3 lines of information to understand *}
<span class="msg_notice"><span class="icon-info-circled"></span> {$CONST.PLUGIN_DOWNLOADMANAGER_INCOMINGTABLE_BLAHBLAH|sprintf:$dlmtfp.ftppath:$dlmgbl[0].cat.payload}</span>
<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> {$CONST.PLUGIN_DOWNLOADMANAGER_INCOMINGTABLE_BLAHBLAH|sprintf:$dlmtfp.ftppath:$dlmgbl[0].cat.payload}</span>
<table id="ftpfiles" cellspacing="0">
<thead>
@ -122,7 +122,7 @@
<!-- // div container page {$dlmgbl.thispage} dlm(3) -->
<div id="dlm3" class="dlm_backend_s9ml_box">
{* Erm ... shouldn't this be a form?!? No, this is a single file movement only! We do not need multi file movement in media library. *}
<span class="msg_notice"><span class="icon-info-circled"></span> {$CONST.PLUGIN_DOWNLOADMANAGER_MEDIA_LIBRARY_BLAHBLAH} {$dlmtsl.smlpath}</span>
<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> {$CONST.PLUGIN_DOWNLOADMANAGER_MEDIA_LIBRARY_BLAHBLAH} {$dlmtsl.smlpath}</span>
<table id="smlfiles" cellspacing="0">
<thead>
@ -269,4 +269,4 @@
</div>
</div>
<script type="text/javascript">document.getElementById('dlm5').style.display = 'none';</script>
{/if}
{/if}

View file

@ -37,7 +37,7 @@ class serendipity_event_downloadmanager extends serendipity_event
'php' => '5.3.0'
));
$propbag->add('version', '0.37');
$propbag->add('version', '0.38');
$propbag->add('author', 'Alexander \'dma147\' Mieland, Grischa Brockhaus, Ian');
$propbag->add('stackable', false);
$propbag->add('event_hooks', array(
@ -495,7 +495,7 @@ class serendipity_event_downloadmanager extends serendipity_event
: $this->get_config('absdownloadspath')),
'attention' => (($serendipity['version'][0] < 2)
? '<img class="dlm_backend_attention" src="' . $serendipity['serendipityHTTPPath'] . 'templates/default/admin/img/admin_msg_note.png" alt="" />'
: '<span class="msg_error"><span class="icon-attention-circled"></span> ')
: '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ')
);
}

View file

@ -1,48 +1,44 @@
1.23:
-----
1.24: Iconfont a11y fix (yellowled)
* Fix pagination to not show other category entries
1.23: Fix pagination to not show other category entries
1.22:
-----
* Fix bug with hidden config items default fallback even more,
since the category id 'cid' was not cached properly and so
every new Q/A wasn't set right by faqorder.
* Fixes some more 2.0 issues with CSS and or missing CSS classes.
* Convert frontend templates p tag usage to div
* Allow custom CSS file copies in themes - by copy to the themes
root, or included to the style or user.css files as before.
* Fix bug with hidden config items default fallback even more, since the
category id 'cid' was not cached properly and so every new Q/A wasn't set
right by faqorder.
* Fixes some more 2.0 issues with CSS and or missing CSS classes.
* Convert frontend templates p tag usage to div
* Allow custom CSS file copies in themes - by copy to the themes root, or
included to the style or user.css files as before.
1.21:
-----
* Fix some more markup and stylings
* Touched templates in the 'alternatives' directory for Smarty3,
but not for the other new changes to the default used template files.
Make your own in comparisson. Recommended default copies for custom
themes are found in the root of this plugin.
* Remove bash file
* Added S9y 1.7 plain editor js file forgotten in v.1.20
* Changed to Serendipity CONST Smarty wrapper usage
* Fix some more markup and stylings
* Touched templates in the 'alternatives' directory for Smarty3, but not
for the other new changes to the default used template files. Make your
own in comparison. Recommended default copies for custom themes are in
the root of this plugin.
* Remove bash file
* Added S9y 1.7 plain editor js file forgotten in v.1.20
* Changed to Serendipity CONST Smarty wrapper usage
1.20:
-----
* Set some more plugin consistencies
* Fix bug with hidden config items default fallback
* Refactor inspectConfig item preparation
* Serendipity 2.0+ ready markup changes
* Set some more plugin consistencies
* Fix bug with hidden config items default fallback
* Refactor inspectConfig item preparation
* Serendipity 2.0+ ready markup changes
1.13:
-----
* Set plugin consistencies
* Use load language API - extends required Serendipity version to v.1.6
* Removed old Smarty2 security settings - extends required Serendipity version to v.1.7
* Use native API method parseTemplate()
* Convert plugin template for Smarty3 usage
* Append, not prepend CSS data into eventData stream
* Set plugin consistencies
* Use load language API - extends required Serendipity version to v.1.6
* Removed old Smarty2 security settings - extends required Serendipity
version to v.1.7
* Use native API method parseTemplate()
* Convert plugin template for Smarty3 usage
* Append, not prepend CSS data into eventData stream
latest: Smarty3 forward compatibility
@ -104,4 +100,4 @@ Thanks to robert from the s9y forum for the alpha/beta testing
0.5
==============================
* first release
* first release

View file

@ -76,7 +76,7 @@ class serendipity_event_faq extends serendipity_event
$propbag->add('name', FAQ_NAME);
$propbag->add('description', FAQ_NAME_DESC);
$propbag->add('author', 'Falk Doering, Ian');
$propbag->add('version', '1.23');
$propbag->add('version', '1.24');
$propbag->add('copyright', 'LGPL');
$propbag->add('stackable', false);
$propbag->add('requirements', array(
@ -618,11 +618,11 @@ class serendipity_event_faq extends serendipity_event
// S9y 1.7 Series box sizing
$bosi = $serendipity['version'][0] > 1 ? '' : ' class="boxsizingBorder"';
// notification switch
$error = $serendipity['version'][0] > 1 ? '<div class="msg_error"><span class="icon-attention-circled"></span> ' : '<div class="serendipityAdminMsgError"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_error.png') . '" alt="" />';
$ok = $serendipity['version'][0] > 1 ? '<div class="msg_success"><span class="icon-ok"></span> ' : '<div class="serendipityAdminMsgSuccess"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_success.png') . '" alt="" />';
$error = $serendipity['version'][0] > 1 ? '<div class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ' : '<div class="serendipityAdminMsgError"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_error.png') . '" alt="" />';
$ok = $serendipity['version'][0] > 1 ? '<div class="msg_success"><span class="icon-ok" aria-hidden="true"></span> ' : '<div class="serendipityAdminMsgSuccess"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_success.png') . '" alt="" />';
// iconizr by version
$editimg = $serendipity['version'][0] > 1 ? '<span class="icon-edit"></span>' : '<img src="' . serendipity_getTemplateFile('admin/img/edit.png') . '" width="16" height="16" alt="EDIT" />';
$trashimg = $serendipity['version'][0] > 1 ? '<span class="icon-trash"></span>' : '<img src="' . serendipity_getTemplateFile('admin/img/delete.png') . '" width="16" height="16" alt="DELETE" />';
$editimg = $serendipity['version'][0] > 1 ? '<span class="icon-edit" aria-hidden="true"></span>' : '<img src="' . serendipity_getTemplateFile('admin/img/edit.png') . '" width="16" height="16" alt="EDIT" />';
$trashimg = $serendipity['version'][0] > 1 ? '<span class="icon-trash" aria-hidden="true"></span>' : '<img src="' . serendipity_getTemplateFile('admin/img/delete.png') . '" width="16" height="16" alt="DELETE" />';
$moveupimg = $serendipity['version'][0] > 1 ? '<img src="' . $serendipity['serendipityHTTPPath'] . 'plugins/serendipity_event_faq/img/move_up.png" data-file-width="128" data-file-height="128" width="24" height="24" alt="UP" />' : '<img src="'.serendipity_getTemplateFile('admin/img/uparrow.png').'" width="16" height="16" alt="UP" />';
$movedownimg = $serendipity['version'][0] > 1 ? '<img src="' . $serendipity['serendipityHTTPPath'] . 'plugins/serendipity_event_faq/img/move_down.png" data-file-width="128" data-file-height="128" width="24" height="24" alt="DOWN" />' : '<img src="'.serendipity_getTemplateFile('admin/img/downarrow.png').'" width="16" height="16" alt="DOWN" />';

View file

@ -1,372 +1,231 @@
3.66:
-----
* Fix an issue refering to Smarty2->Smarty3 changes.
3.67: Iconfont a11y fix (yellowled)
3.65:
-----
* Use native API method parseTemplate() for the tpl file
3.66: Fix an issue refering to Smarty2->Smarty3 changes.
3.64.1
----
* Fix a bug where related entries were shown on overview sections when
that section had only one entry
3.65: Use native API method parseTemplate() for the tpl file
3.64.1: Fix a bug where related entries were shown on overview sections when
that section had only one entry
3.59:
----
* Remove CDNs and upgrade jquery-migrate
* Minor fix for taglist
3.58:
----
* Fix doubled encoded umlaut taglinks by searchengines backlinks.
* Added a new option to allow showing taglink entries as a linklist.
This adds a 'taglist' tag as a reserved command to tags,
which not allows this tag as a normal tag any further.
The addition can be done either by the preset taglink as "/plugin/taglist/"
or manually added by certain taglinks as "/plugin/tag/allyourtags/taglist".
This needs you to modify your templates entries.tpl file,
as described in the documentation file or the README.
This adds a 'taglist' tag as a reserved command to tags, which not allows
this tag as a normal tag any further. The addition can be done either by the
preset taglink as "/plugin/taglist/" or manually added by certain taglinks
as "/plugin/tag/allyourtags/taglist". This needs you to modify your
templates entries.tpl file, as described in the documentation file or the
README.
3.57:
----
Stricter array check to prevent PHP notices
3.57: Stricter array check to prevent PHP notices
3.56:
-----
Removed obsolete language attribute. (yellowled)
3.56: Removed obsolete language attribute. (yellowled)
3.55:
-----
Give container a unique id, add class for magnificPopup. Required
for 2.x backend. (yellowled)
3.55: Give container a unique id, add class for magnificPopup. Required for
2.x backend. (yellowled)
3.54:
----
Fix autocomplete error message when not within entry editor page
3.54: Fix autocomplete error message when not within entry editor page
3.53.1:
-----
Fix autocomplete of tags in 2.0
3.53.1: Fix autocomplete of tags in 2.0
3.53:
-----
Fixes issue #177 Freetag plugin emits “1” (mattsches)
Fixes wrong return values, unneeded parameters, missing checks
* Fixes issue #177 Freetag plugin emits “1” (mattsches)
* Fixes wrong return values, unneeded parameters, missing checks
3.52: Added additional backend markup for 2.0 backend (yellowled)
3.51: Stricter array check
3.50: Optimize autocomplete for 2.0, fixes
3.49: Repair autocomplete for 2.0
3.48:
----
Support serendipity 2.0 "js" event hook for autocomplete
Do not loose tags when recreating entry
* Support serendipity 2.0 "js" event hook for autocomplete
* Do not loose tags when recreating entry
3.47:
-----
Make updertEntry not loose possible category associations
3.47: Make updertEntry not loose possible category associations
3.46:
-----
3.46: Try to get around a "is no array" error
Try to get around a "is no array" error
3.45: static fixes for more PHP5 compat
3.45:
-----
3.43: static fixes for freetag<->flattr compatibility (no PHP5 error)
static fixes for more PHP5 compat
3.42: static fixes for spartacus generation
3.43:
-----
3.41: Declare install() method as static
static fixes for freetag<->flattr compatibility (no PHP5 error)
3.39: Added specific is_array($eventData) chack, thanks to gregman
3.42:
-----
3.38: Added missing fieldset in case of not set admin_show_taglist (thanks to
gregman)
static fixes for spartacus generation
3.37: When publishing an entry, cat2tag replacement is now even executed when
tags are empty, so that category tags will always be placed.
3.41:
-----
3.36: Fixed [tag] in one instance of HTML form field, thanks to ascger from
the forums
Declare install() method as static
3.35: Change some instances of [tag] to HTML compliant %5Btag%5D,
bug report 3427291
3.34: Only use SHOW sql query for mysql
3.39:
----
Added specific is_array($eventData) chack, thanks to gregman
3.38:
-----
Added missing fieldset in case of not set admin_show_taglist (thanks to gregman)
3.37:
-----
When publishing an entry, cat2tag replacement is now even executed when tags are empty, so that category tags will always be placed.
3.36:
-----
Fixed [tag] in one instance of HTML form field, thanks to ascger from the forums
3.35:
----
Change som einstances of [tag] to HTML compliant %5Btag%5D, bug report 3427291
3.34:
-----
Only use SHOW sql query for mysql
3.33:
-----
Link to https instead of http for proper backend usage on SSL-enabled hosts,
thanks to Manko10
3.33: Link to https instead of http for proper backend usage on SSL-enabled
hosts, thanks to Manko10
3.30, 3.31, 3.32:
----
Updated bundled tagcloud.swf from WP-Cumulus/Roy Tanck to version 1.23.
Fixes a html injection vulnerability reported by MustLive
Fixes a XSS issue reported by Stefan Schurtz
* Updated bundled tagcloud.swf from WP-Cumulus/Roy Tanck to version 1.23.
* Fixes a html injection vulnerability reported by MustLive
* Fixes a XSS issue reported by Stefan Schurtz
3.28:
-----
3.28: Allow to use ?serendipity[tag]=Tag1;Tag2;Tag3
Allow to use ?serendipity[tag]=Tag1;Tag2;Tag3
3.27: Proper MySQL collation detection
3.27:
-----
3.26: Added is_array() chechk (Timbalu)
Proper MySQL collation detection
3.25: Fix for DB encoding
3.26:
-----
3.24: Add database encoding (MySQL), Patch by Vincent
Added is_array() chechk (Timbalu)
3.23: Add whitespace/non-breaking patch, board.s9y.org/viewtopic.php?f=5&t=17760
3.25:
----
3.22: Fix possible XSS, reported by Stefan Schurtz (SSCHADV2011-004)
Fix for DB encoding
3.21: Add "sort" event hook for the serendipity_event_sort plugin by lazybadger
3.24:
-----
3.20: Made tagcloud display as a smarty template "plugin_freetag.tpl". If you
want to customize that output, copy this file to your template directory
and adapt it there.
Add database encoding (MySQL), Patch by Vincent
3.23:
-----
Add whitespace/non-breaking patch, see http://board.s9y.org/viewtopic.php?f=5&t=17760
3.22:
-----
Fix possible XSS, reported by Stefan Schurtz (SSCHADV2011-004)
3.21:
-----
Add "sort" event hook for the serendipity_event_sort plugin by lazybadger
3.20:
-----
Made tagcloud display as a smarty template "plugin_freetag.tpl". If you want to customize that output, copy this file to your template
directory and adapt it there.
3.18:
-----
Automatic keyword detection now only works outside of html tags, so nothing like <a href="/serendipity/"> would match 'serendipity' as a keyword
3.18: Automatic keyword detection now only works outside of html tags, so
nothing like <a href="/serendipity/"> would match 'serendipity' as a
keyword
3.17:
----
Added backend functionality to clean up tag assignments for non-existent entries
Made submit button value in tag renaming form translatable
Fixed a HTML syntax error in tag renaming form by using the corresponding HTML entity
3.16:
----
Bugfix: Meta-keywords were not shown in entries.
* Added backend functionality to clean up tag assignments for non-existent
entries
* Made submit button value in tag renaming form translatable
* Fixed a HTML syntax error in tag renaming form by using the corresponding
HTML entity
3.15:
----
Removed incorrect errormessage "FATAL ERROR! Unrecognized type for
serendipity_event_freetag:: !"
3.16: Bugfix: Meta-keywords were not shown in entries.
3.13, 3.14:
----
Added mb_internal_encoding() call for proper lowercasing
3.15: Removed incorrect errormessage "FATAL ERROR! Unrecognized type for
serendipity_event_freetag:: !"
3.12.1:
----
Replaced wick-based autocompletion with a jquery-plugin (cause wick didn't
work in Opera anymore)
3.13, 3.14: Added mb_internal_encoding() call for proper lowercasing
3.12.1: Replaced wick-based autocompletion with a jquery-plugin (cause wick
didn't work in Opera anymore)
3.11.0:
----
Add an option to select if tags will be added according to automatted keywords
Fixed false positives when searching for automatted keywords by changing the search to use a regular expression
* Add an option to select if tags will be added according to automatted
keywords
* Fixed false positives when searching for automatted keywords by changing
the search to use a regular expression
3.10.5:
----
Catch possible errors for the tagcloud query
3.10.5: Catch possible errors for the tagcloud query
3.10.4:
----
Add another "empty" check to suppress DB error notices
3.10.4: Add another "empty" check to suppress DB error notices
3.10.3:
----
Fixed missing tags in preview of saved entry in entrylist
Fixed attaching of output in editor-preview
3.10.2:
----
Fix false detection of extended/simple entry
* Fixed missing tags in preview of saved entry in entrylist
* Fixed attaching of output in editor-preview
3.10.2: Fix false detection of extended/simple entry
3.10:
----
Emits related articles as unnumbered list.
Descend one step deeper when searching related tags.
"Related Tag" is now a p instead of a div
Introduced extended Smarty-Markup
Code-cleanup of displayEntry()
* Emits related articles as unnumbered list.
* Descend one step deeper when searching related tags.
* "Related Tag" is now a p instead of a div
* Introduced extended Smarty-Markup
* Code-cleanup of displayEntry()
3.09: Fix missing escaping of variable for SQL query
3.08: When viewing articles by tag, no category restrictions are used (like
startcat plugin) (chessnut)
3.07: sure that arrays get only set when SQL succeeds
3.06: Make sure to also check for non-lowercased tags for automatted keywords
(garvinhickicking)
3.09:
----
3.05: Only use flash-bg/fg colors, when flash cloud is enabled. (garvinhicking)
Fix missing escaping of variable for SQL query
3.04: Added uncommented possibility to put related entries to overview
(board.s9y.org/viewtopic.php?f=10&t=11124&p=83814#p83814) (garvinhicking)
3.08
----
3.03: Add DB escaping to fetch entrytags, fix SQL duplicate LIMIT string.
(Thanks to rupa) (garvinhicking)
When viewing articles by tag, no category restrictions are used (like
startcat plugin) (chessnut)
3.01: Optimize output, using latest SWFObject (designor)
3.07
----
3.0: Version fix (lstrojny)
Make sure that arrays get only set when SQL succeeds
2.51: Fixed ordering of tags when used with templates (lstrojny)
3.06 (garvinhicking)
--------------------
2.5: (lstrojny)
Make sure to also check for non-lowercased tags for automatted keywords
* Allow to use a Smarty template to render the sidebar
* Unified version numbers
2.105: Some Flash fixes, tag limitting, default options (RobA)
3.05 (garvinhicking)
--------------------
2.103: Added Flash rotating tagcloud (RobA)
Only use flash-bg/fg colors, when flash cloud is enabled.
2.97: Allow to place tag contents through {$entry.freetag} within smarty, when
configured. (garvinhicking)
3.04 (garvinhicking)
---------------
Added uncommented possibility to put related entries to overview
(http://board.s9y.org/viewtopic.php?f=10&t=11124&p=83814#p83814)
3.03 (garvinhicking)
---------------
Add DB escaping to fetch entrytags, fix SQL duplicate LIMIT string.
(Thanks to rupa)
3.01 (designor)
--------------
Optimize output, using latest SWFObject
3.0 (lstrojny)
--------------
Version fix
2.51 (lstrojny)
---------------
Fixed ordering of tags when used with templates
2.5 (lstrojny)
--------------
Allow to use a Smarty template to render the sidebar
Unified version numbers
2.105 (RobA)
-----------
Some Flash fixes, tag limitting, default options
2.103 (RobA)
-----------
Added Flash rotating tagcloud
2.97 (garvinhicking)
--------------------
Allow to place tag contents through {$entry.freetag} within smarty, when
configured.
2.96 (garvinhicking)
----------
* Fix XSS when displaying related tag cloud, thanks to Alex @ bitsploit.de
2.96: Fix XSS when displaying related tag cloud, thanks to Alex @ bitsploit.de
(garvinhicking)
2.95 (garvinhicking)
---------
* Added configurable technorati image
2.92/2.45 (brockhaus):
---------
* Added configuration for XML image
2.95: Added configurable technorati image (garvinhicking)
2.88/2.44 (brockhaus):
---------
* Added optional technorati tag links behind tags in entry footers.
2.92/2.45: Added configuration for XML image (brockhaus)
2.88/2.43 (brockhaus):
---------
* Made tags min/max font size for sidebar plugin configurable, too.
2.88/2.44: Added optional technorati tag links behind tags in entry footers.
(brockhaus)
2.88/2.42 (garvinhicking):
---------
* Sort tags case insensitive in the sidebar.
2.88/2.43: Made tags min/max font size for sidebar plugin configurable, too.
(brockhaus)
2.88/2.41 (brockhaus):
---------
* The sidebar plugin always loaded the first X tags by tagname, not by relevance (tagcount).
So relevant tags coming too late alphabetically didn't show up.
2.88/2.42: Sort tags case insensitive in the sidebar. (garvinhicking)
2.70:
-----
* Added possiblity for "automatted tags". These will indicate what tags to assign to an entry
when keywords are found in an entry
2.88/2.41: The sidebar plugin always loaded the first X tags by tagname, not by
relevance (tagcount). So relevant tags coming too late
alphabetically didn't show up. (brockhaus)
2.64:
-----
* Added option to convert categories to tags
2.70: Added possiblity for "automatted tags". These will indicate what tags to
assign to an entry when keywords are found in an entry
2.48:
-----
* Config option for lowercasing, patch by Lars Strojny
2.64: Added option to convert categories to tags
2.47:
----
* Better show metastuff
2.48: Config option for lowercasing, patch by Lars Strojny
2.47: Better show metastuff
2.44:
----
* Show related Entries, patch by stain
* Make configurable where to show tags
* Show related Entries, patch by stain
* Make configurable where to show tags

View file

@ -72,7 +72,7 @@ class serendipity_event_freetag extends serendipity_event
'smarty' => '2.6.7',
'php' => '4.1.0'
));
$propbag->add('version', '3.67');
$propbag->add('version', '3.68');
$propbag->add('event_hooks', array(
'frontend_fetchentries' => true,
'frontend_fetchentry' => true,
@ -1944,7 +1944,7 @@ addLoadEvent(enableAutocomplete);
if ($serendipity['version'][0] < 2) {
echo '<div class="serendipity_msg_notice">' . DONE . '</div>';
} else {
echo '<span class="msg_notice"><span class="icon-info-circled"></span>' . DONE . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span>' . DONE . '</span>';
}
}
break;
@ -2016,7 +2016,7 @@ addLoadEvent(enableAutocomplete);
if ($serendipity['version'][0] < 2) {
echo PLUGIN_EVENT_FREETAG_GLOBALCAT2TAG . '<br />';
} else {
echo '<span class="msg_notice"><span class="icon-info-circled"></span>' . PLUGIN_EVENT_FREETAG_GLOBALCAT2TAG . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span>' . PLUGIN_EVENT_FREETAG_GLOBALCAT2TAG . '</span>';
}
break;
@ -2069,7 +2069,7 @@ addLoadEvent(enableAutocomplete);
if ($serendipity['version'][0] < 2) {
echo PLUGIN_EVENT_FREETAG_MANAGE_UNTAGGED_NONE;
} else {
echo '<span class="msg_notice"><span class="icon-info-circled"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_UNTAGGED_NONE . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_UNTAGGED_NONE . '</span>';
}
} else if (!is_array($r)) {
echo $r;
@ -2085,7 +2085,7 @@ addLoadEvent(enableAutocomplete);
</p>';
} else {
echo '<li>
<a class="button_link" href="' . FREETAG_EDITENTRY_URL . $row['id'] . '"><span class="icon-edit"></span><span class="visuallyhidden"> ' . EDIT . '</span></a>
<a class="button_link" href="' . FREETAG_EDITENTRY_URL . $row['id'] . '"><span class="icon-edit" aria-hidden="true"></span><span class="visuallyhidden"> ' . EDIT . '</span></a>
' . $row['title'] . '
</li>';
}
@ -2116,7 +2116,7 @@ addLoadEvent(enableAutocomplete);
if ($serendipity['version'][0] < 2) {
echo '<br />' . PLUGIN_EVENT_FREETAG_KEYWORDS_DESC . '<br /><br />';
} else {
echo '<span class="msg_notice"><span class="icon-info-circled"></span>' . PLUGIN_EVENT_FREETAG_KEYWORDS_DESC . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span>' . PLUGIN_EVENT_FREETAG_KEYWORDS_DESC . '</span>';
}
?>
<form action="<?php echo $url; ?>" method="post">
@ -2168,7 +2168,7 @@ addLoadEvent(enableAutocomplete);
<?php
} else {
?>
<a class="button_link" title="<?php echo EDIT ?>" href="<?php echo $url ?>&amp;serendipity%5Btag%5D=<?php echo urlencode($tag)?>#edit"><span class="icon-edit"></span><span class="visuallyhidden"> <?php echo EDIT ?></span></a>
<a class="button_link" title="<?php echo EDIT ?>" href="<?php echo $url ?>&amp;serendipity%5Btag%5D=<?php echo urlencode($tag)?>#edit"><span class="icon-edit" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo EDIT ?></span></a>
<?php
}
}
@ -2220,9 +2220,9 @@ addLoadEvent(enableAutocomplete);
<?php
} else {
?>
<a class="button_link" title="<?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_RENAME ?>" href="<?php echo $url?>&amp;serendipity[tagaction]=rename&amp;serendipity[tag]=<?php echo urlencode($tag)?>"><span class="icon-edit"></span><span class="visuallyhidden"> <?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_RENAME ?></span></a>
<a class="button_link" title="<?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_SPLIT ?>" href="<?php echo $url?>&amp;serendipity[tagaction]=split&amp;serendipity[tag]=<?php echo urlencode($tag)?>"><span class="icon-resize-full"></span><span class="visuallyhidden"> <?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_SPLIT ?></span></a>
<a class="button_link" title="<?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_DELETE ?>" href="<?php echo $url?>&amp;serendipity[tagaction]=delete&amp;serendipity[tag]=<?php echo urlencode($tag)?>"><span class="icon-trash"></span><span class="visuallyhidden"> <?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_DELETE ?></span></a>
<a class="button_link" title="<?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_RENAME ?>" href="<?php echo $url?>&amp;serendipity[tagaction]=rename&amp;serendipity[tag]=<?php echo urlencode($tag)?>"><span class="icon-edit" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_RENAME ?></span></a>
<a class="button_link" title="<?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_SPLIT ?>" href="<?php echo $url?>&amp;serendipity[tagaction]=split&amp;serendipity[tag]=<?php echo urlencode($tag)?>"><span class="icon-resize-full" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_SPLIT ?></span></a>
<a class="button_link" title="<?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_DELETE ?>" href="<?php echo $url?>&amp;serendipity[tagaction]=delete&amp;serendipity[tag]=<?php echo urlencode($tag)?>"><span class="icon-trash" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo PLUGIN_EVENT_FREETAG_MANAGE_ACTION_DELETE ?></span></a>
<?php
}
?>
@ -2426,14 +2426,14 @@ addLoadEvent(enableAutocomplete);
if ($serendipity['version'][0] < 2) {
echo "<b>".PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_SUCCESSFUL."</b>";
} else {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_SUCCESSFUL . '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_SUCCESSFUL . '</span>';
}
}
else {
if ($serendipity['version'][0] < 2) {
echo "<b>".PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_FAILED."</b><br><br><b>DB-Error:</b>".$cleanup;
} else {
echo '<div class="msg_error"><p><span class="icon-attention-circled"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_FAILED . '</p><strong>DB-Error:</strong> ' . $cleanup . '</div>';
echo '<div class="msg_error"><p><span class="icon-attention-circled" aria-hidden="true"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_FAILED . '</p><strong>DB-Error:</strong> ' . $cleanup . '</div>';
}
}
}
@ -2446,7 +2446,7 @@ addLoadEvent(enableAutocomplete);
if ($serendipity['version'][0] < 2) {
echo PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_INFO."<br><br>";
} else {
echo '<span class="msg_notice"><span class="icon-info-circled"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_INFO . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_INFO . '</span>';
}
// Display list of found inconsistencies
@ -2476,7 +2476,7 @@ addLoadEvent(enableAutocomplete);
if ($serendipity['version'][0] < 2) {
echo "<b>".PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_NOTHING."</b>";
} else {
echo '<span class="msg_notice"><span class="icon-info-circled"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_NOTHING . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_NOTHING . '</span>';
}
}
else {
@ -2484,7 +2484,7 @@ addLoadEvent(enableAutocomplete);
if ($serendipity['version'][0] < 2) {
echo "<b>".PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_LOOKUP_ERROR."</b><br><br><b>DB-Error:</b>".$mappings;
} else {
echo '<div class="msg_error"><p><span class="icon-attention-circled"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_LOOKUP_ERROR . '</p><strong>DB-Error:</strong> ' . $mappings . '</div>';
echo '<div class="msg_error"><p><span class="icon-attention-circled" aria-hidden="true"></span> ' . PLUGIN_EVENT_FREETAG_MANAGE_CLEANUP_LOOKUP_ERROR . '</p><strong>DB-Error:</strong> ' . $mappings . '</div>';
}
}
}
@ -2564,4 +2564,4 @@ img.serendipity_freeTag_xmlButton
}
}
/* vim: set sts=4 ts=4 expandtab : */
/* vim: set sts=4 ts=4 expandtab : */

View file

@ -1,3 +1,5 @@
3.60: Iconfont a11y fix (yellowled)
3.59:
-----
* Switch {call feedback} function to show success or error box
@ -245,4 +247,4 @@
3.05:
-----
* Fixed proper recognition to not display email addresses if configured.
* Fixed proper recognition to not display email addresses if configured.

View file

@ -34,22 +34,22 @@
</ul>
</div>
{if $plugin_gb_ilogerror === true}
<div class="msg_error"><h3><span class="icon-attention"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_LOG_ERROR}</h3></div>
<div class="msg_error"><h3><span class="icon-attention" aria-hidden="true"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_LOG_ERROR}</h3></div>
{/if}
{if $is_guestbook_admin_backup === true}
<h3>{$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_DUMP_TITLE|upper}</h3>
<div class="msg_success"><span class="icon-ok"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_DUMP_DONE}</div>
<div class="msg_success"><span class="icon-ok" aria-hidden="true"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_DUMP_DONE}</div>
{elseif $is_guestbook_admin_backup === false}
<div class="msg_error"><span class="icon-attention"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_NIXDA_NOBACKUP}</div>
<div class="msg_error"><span class="icon-attention" aria-hidden="true"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_NIXDA_NOBACKUP}</div>
{/if}
{if $is_guestbook_admin_insert}
<h3>{$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_INSERT_TITLE|upper}</h3>
<div class="msg_notice"><span class="icon-attention"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_INSERT_MSG}</div>
<div class="msg_notice"><span class="icon-attention" aria-hidden="true"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_INSERT_MSG}</div>
{/if}
{if $is_guestbook_admin_erase}
<h3>{$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_ERASE_TITLE|upper}</h3>
{if $is_guestbook_admin_erase_msg}
<div class="msg_notice"><span class="icon-attention"></span> {$plugin_gb_dbc_message}</div>
<div class="msg_notice"><span class="icon-attention" aria-hidden="true"></span> {$plugin_gb_dbc_message}</div>
{/if}
{/if}
{if $is_guestbook_admin_download}
@ -58,22 +58,22 @@
<div class="msg_hint">templates_c/guestbook/ <b><u>backup files</u></b></div>
{$gb_read_backup_dir}
{elseif $is_guestbook_admin_download_msg === false}
<div class="msg_error"><span class="icon-attention"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_DOWNLOAD_MSG}</div>
<div class="msg_error"><span class="icon-attention" aria-hidden="true"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_DOWNLOAD_MSG}</div>
{/if}
{/if}
{if $is_guestbook_admin_insfile_msg || $is_guestbook_admin_delfile_msg}
<div class="msg_success"><span class="icon-ok"></span> {$plugin_gb_dbc_message}!</div>
<div class="msg_success"><span class="icon-ok" aria-hidden="true"></span> {$plugin_gb_dbc_message}!</div>
{/if}
{if $is_guestbook_admin_dbempty}
<h3>{$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_NIXDA_TITLE|upper}</h3>
<div class="msg_error"><span class="icon-attention"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_NIXDA_DESC}!</div>
<div class="msg_error"><span class="icon-attention" aria-hidden="true"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_NIXDA_DESC}!</div>
{/if}
{if $is_plugin_gb_questionaire}
<div class="msg_hint"><span class="icon-attention"></span> {$plugin_gb_questionaire_text}</div>
<div class="msg_hint"><span class="icon-attention" aria-hidden="true"></span> {$plugin_gb_questionaire_text}</div>
<div class="serendipity_center form_field">
<a href="{$plugin_gb_questionaire_url}{$plugin_gb_questionaire_addno}" class="button_link state_cancel">{$CONST.NOT_REALLY}</a>
<a href="{$plugin_gb_questionaire_url}{$plugin_gb_questionaire_addyes}" class="button_link state_submit">{$CONST.DUMP_IT}</a>
</div>
{/if}
</div><!-- #wrapGB tpl end -->
</div><!-- #wrapGB tpl end -->

View file

@ -39,13 +39,13 @@
{if $is_guestbook_message}{$msg_header=$error_occured}{call feedback}{/if}
{if $is_gbadmin_noappresult}
<div class="msg_error"><span class="icon-attention-circled"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_APP_NORESULT}</div>
<div class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_APP_NORESULT}</div>
{/if}
{if $is_gbadmin_noviewresult}
<div class="msg_error"><span class="icon-attention-circled"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_VIEW_NORESULT}</div>
<div class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_VIEW_NORESULT}</div>
{/if}
{if $is_gbadmin_nodbcdb}
<div class="msg_error"><span class="icon-attention-circled"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_NIXDA_DESC}</div>
<div class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> {$CONST.PLUGIN_GUESTBOOK_ADMIN_DBC_NIXDA_DESC}</div>
{/if}
{if $guestbook_entries}
@ -69,7 +69,7 @@
<div class="gb_entryhead">
<span>
<a href="mailto:{$entry.email}">{$entry.name}</a>
{$CONST.PLUGIN_GUESTBOOK_USERSDATE_OF_ENTRY} <span class="icon-clock" title="{$CONST.TEXT_IMG_LASTMODIFIED}: {$entry.timestamp}"></span>
{$CONST.PLUGIN_GUESTBOOK_USERSDATE_OF_ENTRY} <span class="icon-clock" aria-hidden="true" title="{$CONST.TEXT_IMG_LASTMODIFIED}: {$entry.timestamp}"></span>
</span>
{if $is_guestbook_admin_noapp != true}
@ -92,7 +92,7 @@
<div class="gb_entrybody">
<label for="show">
<span class="icon-show"></span>
<span class="icon-show" aria-hidden="true"></span>
</label>
<input type=radio id="show" name="group">
<input type=radio id="hide" name="group">

View file

@ -4,7 +4,7 @@
{function name="feedback"}{* message and error feedback for approve, view, add issues *}
<div class="msg_{if $msg_header == $CONST.THANKS_FOR_ENTRY}success{else}error{/if}">
<span class="icon-{if $msg_header == $CONST.THANKS_FOR_ENTRY}ok{else}attention{/if}-circled"></span> <strong>{$msg_header}</strong>
<span class="icon-{if $msg_header == $CONST.THANKS_FOR_ENTRY}ok{else}attention{/if}-circled" aria-hidden="true"></span> <strong>{$msg_header}</strong>
{if $guestbook_messages}
<ul>
{foreach $guestbook_messages AS $msg}
@ -35,4 +35,4 @@
</li>
</ul>
</div>
{/if}
{/if}

View file

@ -67,7 +67,7 @@ class serendipity_event_guestbook extends serendipity_event {
'dateformat'
));
$propbag->add('author', 'Ian');
$propbag->add('version', '3.59');
$propbag->add('version', '3.60');
$propbag->add('requirements', array(
'serendipity' => '1.7.0',
'smarty' => '3.1.0',
@ -100,7 +100,7 @@ class serendipity_event_guestbook extends serendipity_event {
// check possible config mismatch setting
if (serendipity_db_bool($this->get_config('showapp')) === true && serendipity_db_bool($this->get_config('automoderate')) === true) {
$this->set_config('automoderate', false);
echo '<div class="msg_error"><span class="icon-attention-circled"></span> ' . PLUGIN_GUESTBOOK_CONFIG_ERROR . '</div>';
echo '<div class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ' . PLUGIN_GUESTBOOK_CONFIG_ERROR . '</div>';
return false;
}
// Cleanup. Remove all empty configs on SAVECONF-Submit.
@ -2092,4 +2092,4 @@ class serendipity_event_guestbook extends serendipity_event {
}
/* vim: set sts=4 ts=4 expandtab : */
/* vim: set sts=4 ts=4 expandtab : */

View file

@ -1,153 +1,96 @@
0.51:
-----
* Append CSS to end of eventData stream
0.52: Iconfont a11y fix (yellowled)
0.51: Append CSS to end of eventData stream
0.50:
-----
* Try catch exception error to not break the flow
0.50: Try catch exception error to not break the flow
0.49: Fix 'array sizes are inconsistent' error with mediainsert tagged entries
and array_multisort()
0.49:
-----
* Fix 'array sizes are inconsistent' error with
mediainsert tagged entries and array_multisort()
0.48:
-----
* Use native API method parseTemplate() (only)
0.47:
-----
* htmlspecialchars fixes
0.48: Use native API method parseTemplate() (only)
0.47: htmlspecialchars fixes
0.46:
-----
* Introduce imagemagick_nobang variable for thumbnail image resizing
with Serendipity >= 2.x versions
* Better description of MAX Value constants
* Introduce imagemagick_nobang variable for thumbnail image resizing with
Serendipity >= 2.x versions
* Better description of MAX Value constants
0.45:
-----
* Added description for max-width and max-height option setting
* Fix old bug with image resize thumb creation on both max-options = n
Part 2 of this bug was introduced in S9y 2.0 development for ImageMagick
escapeshellcmd method.
0.43/44:
-----
* re-add enable markup in textarea form
* Added description for max-width and max-height option setting
* Fix old bug with image resize thumb creation on both max-options = n
Part 2 of this bug was introduced in S9y 2.0 development for ImageMagick
escapeshellcmd method.
0.43, 0.44: re-add enable markup in textarea form
0.42:
-----
* Merge new xml structure "picperrow" and "hideafter" by user "nogat"
http://board.s9y.org/viewtopic.php?f=4&t=20058, 2014-08-22
* add some media gallery css
* minors for version switch
0.41:
-----
* removed wrong slash in plugin_mediainsert.tpl fullimage link path
* Merge new xml structure "picperrow" and "hideafter" by user "nogat"
board.s9y.org/viewtopic.php?f=4&t=20058, 2014-08-22
* add some media gallery css
* minors for version switch
0.41: removed wrong slash in plugin_mediainsert.tpl fullimage link path
0.40:
-----
* better pdf object preview in case of used imagemagick library
* added serendipity_quickblog_image class to prevent preview borders
* reset entries_header use for 2.0 and up
* fix hardcoded thumbName check to its Serendipity variable
* better pdf object preview in case of used imagemagick library
* added serendipity_quickblog_image class to prevent preview borders
* reset entries_header use for 2.0 and up
* fix hardcoded thumbName check to its Serendipity variable
0.39:
-----
* added form target to
* added non-image object uploads with link/image generation via radio field,
which creates a real link instead of using the hidden quickblog tag
* removed some obsolet functions
* disabled allow_comments, moderate_comments to always take default values
* added form target to
* added non-image object uploads with link/image generation via radio field,
which creates a real link instead of using the hidden quickblog tag
* removed some obsolet functions
* disabled allow_comments, moderate_comments to always take default values
0.38:
----
* Changed default value of quickblog image size to default
$serendipity['thumbSize']. This prevents creation of another
image copy to the MediaLibrary, if not changed to another value.
* Added a description lang constant for this.
0.37:
----
silence exif_read_data errors
* Changed default value of quickblog image size to default
$serendipity['thumbSize']. This prevents creation of another image copy
to the MediaLibrary, if not changed to another value.
* Added a description lang constant for this.
0.37: silence exif_read_data errors
0.36:
----
Some quoting markup fixes
Use native parseTemplate API - extends s9y version >= 1.3
Add 'No Category' to category selectbox
Disable markup property plugin NL2BR in case of WYSIWYG use
* Some quoting markup fixes
* Use native parseTemplate API - extends s9y version >= 1.3
* Add 'No Category' to category selectbox
* Disable markup property plugin NL2BR in case of WYSIWYG use
0.35:
----
Added 2.0 markup hooked into ML upload
Added simple wysiwyg editor to quickblog textarea
Minor marrkup fixes
* Added 2.0 markup hooked into ML upload
* Added simple wysiwyg editor to quickblog textarea
* Minor marrkup fixes
0.34:
----
Fix some 'Division by zero' errors and possible
array_multisort(): Array sizes are inconsistent in blah blah errors
* Fix some 'Division by zero' errors and possible
* array_multisort(): Array sizes are inconsistent in blah blah errors
0.33: Fix some wrong mediainserts by CKEDITOR
0.33:
----
0.32: fixed upload path
Fix some wrong mediainserts by CKEDITOR
0.31: latest: Smarty3 forward compatibility
0.30: Remove $selected, raises a smarty exception
0.32:
----
0.28: Passed $eventData to the plugin_mediainsert.tpl file, as
{$plugin_mediainsert_entry}.
fixed upload path
0.20: (Vladimír Ajgl)
0.31:
-----
latest: Smarty3 forward compatibility
0.30:
----
Remove $selected, raises a smarty exception
0.28:
----
Passed $eventData to the plugin_mediainsert.tpl file, as {$plugin_mediainsert_entry}.
Version 0.20:
------------
(by Vladimír Ajgl)
* Added documentation.html files
* Added czech translation
* Added ability to post XML code into entries that can be used to build galleries (PHP5 only)
* Added documentation.html files
* Added czech translation
* Added ability to post XML code into entries that can be used to build
galleries (PHP5 only)

View file

@ -26,7 +26,7 @@ class serendipity_event_imageselectorplus extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_IMAGESELECTORPLUS_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking, Vladimir Ajgl, Adam Charnock, Ian');
$propbag->add('version', '0.51');
$propbag->add('version', '0.52');
$propbag->add('requirements', array(
'serendipity' => '1.3',
'smarty' => '2.6.7',
@ -234,7 +234,7 @@ class serendipity_event_imageselectorplus extends serendipity_event
$newsizes = array('width' => $_newsizes[0], 'height' => $_newsizes[1]);
}
echo '<span class="msg_notice"><span class="icon-attention-circled"></span> Resizing thumb of ' . $orientation . ' ' . $fdim[0] . 'x' . $fdim[1] . ' to ' . $_newsizes[0] . 'x' . $_newsizes[1] . ' instead of ' . $s9ysizes[0] . 'x' . $s9ysizes[1] . "...</span>\n";
echo '<span class="msg_notice"><span class="icon-attention-circled" aria-hidden="true"></span> Resizing thumb of ' . $orientation . ' ' . $fdim[0] . 'x' . $fdim[1] . ' to ' . $_newsizes[0] . 'x' . $_newsizes[1] . ' instead of ' . $s9ysizes[0] . 'x' . $s9ysizes[1] . "...</span>\n";
$dirname = dirname($target) . '/';
$dirname = str_replace($serendipity['serendipityPath'] . $serendipity['uploadPath'], '', $dirname);
$serendipity['imagemagick_nobang'] = true;
@ -1189,7 +1189,7 @@ class serendipity_event_imageselectorplus extends serendipity_event
* width="400" height="300" border=0 alt="This is an example!"
*
* Which will produce an array as follows:
*
*
* <pre>
* array(4) {
* ["width"]=>
@ -1202,7 +1202,7 @@ class serendipity_event_imageselectorplus extends serendipity_event
* string(19) "This is an example!"
* }
* </pre>
*
*
* @author Adam Charnock (http://omniwiki.co.uk)
* @internal It may be possible to do this with a regex
* @param string $attrs The tag string
@ -1263,4 +1263,4 @@ class serendipity_event_imageselectorplus extends serendipity_event
}
/* vim: set sts=4 ts=4 expandtab : */
/* vim: set sts=4 ts=4 expandtab : */

View file

@ -1,3 +1,5 @@
2.18: Iconfont a11y fix (yellowled)
2.17:
* Fix 2.x version checks

View file

@ -45,7 +45,7 @@
$select = $cbag->get('select_values');
?>
<div class="clearfix form_select<?php if ($cdesc != '') { ?> has_info<?php } ?>">
<label for="serendipity_<?php echo $config_item; ?>"><?php echo $cname; ?><?php if ($cdesc != '') { ?> <button class="toggle_info button_link" type="button" data-href="#<?php echo $config_item; ?>_info"><span class="icon-info-circled"></span><span class="visuallyhidden"> <?php echo MORE; ?></span></button><?php } ?></label>
<label for="serendipity_<?php echo $config_item; ?>"><?php echo $cname; ?><?php if ($cdesc != '') { ?> <button class="toggle_info button_link" type="button" data-href="#<?php echo $config_item; ?>_info"><span class="icon-info-circled" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo MORE; ?></span></button><?php } ?></label>
<?php if ($cdesc != '') { ?><span id="<?php echo $config_item; ?>_info" class="field_info additional_info"><?php echo $cdesc; ?></span><?php } ?>
<select id="serendipity_<?php echo $config_item; ?>" class="direction_<?php echo $lang_direction; ?>" name="serendipity[plugin][<?php echo $config_item; ?>]{($is_multi_select) ? '[]' : ''}" {($is_multi_select) ? 'multiple' : ''} {($is_multi_select && ($select_size > 0)) ? "size='{$select_size}'" : ''}>
<?php
@ -86,7 +86,7 @@
}
?>
<fieldset<?php if ($cdesc != '') { ?> class="has_info"<?php } ?>>
<span class="wrap_legend"><legend><?php echo $cname; ?><?php if ($cdesc != '') { ?> <button class="toggle_info button_link" type="button" data-href="#<?php echo $config_item; ?>_info"><span class="icon-info-circled"></span><span class="visuallyhidden"> <?php echo MORE; ?></span></button><?php } ?></legend></span>
<span class="wrap_legend"><legend><?php echo $cname; ?><?php if ($cdesc != '') { ?> <button class="toggle_info button_link" type="button" data-href="#<?php echo $config_item; ?>_info"><span class="icon-info-circled" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo MORE; ?></span></button><?php } ?></legend></span>
<?php if ($cdesc != '') { ?><span id="<?php echo $config_item; ?>_info" class="field_info additional_info"><?php echo $cdesc; ?></span><?php } ?>
<div class="clearfix grouped">
<?php
@ -131,7 +131,7 @@
?>
<div class="clearfix configuration_group">
<div class="clearfix form_field<?php if ($cdesc != '') { ?> has_info<?php } ?>">
<label for="serendipity_<?php echo $config_item; ?>"><?php echo $cname; if ($cdesc != '') { ?> <button class="toggle_info button_link" type="button" data-href="#<?php echo $config_item; ?>_info"><span class="icon-info-circled"></span><span class="visuallyhidden"> <?php echo MORE; ?></span></button><?php } ?></label>
<label for="serendipity_<?php echo $config_item; ?>"><?php echo $cname; if ($cdesc != '') { ?> <button class="toggle_info button_link" type="button" data-href="#<?php echo $config_item; ?>_info"><span class="icon-info-circled" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo MORE; ?></span></button><?php } ?></label>
<?php if ($cdesc != '') { ?><span id="<?php echo $config_item; ?>_info" class="field_info additional_info"><?php echo $cdesc; ?></span><?php } ?>
<input id="serendipity_<?php echo $config_item; ?>" class="direction_<?php echo $lang_direction; ?>" name="serendipity[plugin][<?php echo $config_item; ?>]" type="text" value="<?php echo $hvalue; ?>">
</div>
@ -144,7 +144,7 @@
?>
<div class="clearfix form_area<?php if ($cdesc != '') { ?> has_info<?php } ?>">
<label for="nuggets<?php echo $elcount; ?>"><?php echo $cname; if ($cdesc != '' && !$backend_wysiwyg) { ?> <button class="toggle_info button_link" type="button" data-href="#nuggets<?php echo $elcount; ?>_info"><span class="icon-info-circled"></span><span class="visuallyhidden"> <?php echo MORE; ?></span></button><?php } ?></label>
<label for="nuggets<?php echo $elcount; ?>"><?php echo $cname; if ($cdesc != '' && !$backend_wysiwyg) { ?> <button class="toggle_info button_link" type="button" data-href="#nuggets<?php echo $elcount; ?>_info"><span class="icon-info-circled" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo MORE; ?></span></button><?php } ?></label>
<?php if ($cdesc != '') { ?><span id="nuggets<?php echo $elcount; ?>_info" class="field_info additional_info"><?php echo $cdesc; ?></span><?php } ?>
<textarea id="nuggets<?php echo $elcount; ?>" class="direction_<?php echo $lang_direction; ?>" name="serendipity[plugin][<?php echo $config_item; ?>]" rows="10"><?php echo $hvalue; ?></textarea>
</div>

View file

@ -38,7 +38,7 @@ class serendipity_event_includeentry extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_INCLUDEENTRY_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking');
$propbag->add('version', '2.17');
$propbag->add('version', '2.18');
$propbag->add('scrambles_true_content', true);
$propbag->add('requirements', array(
'serendipity' => '2.0',
@ -399,7 +399,7 @@ class serendipity_event_includeentry extends serendipity_event
if ($serendipity['version'][0] < 2) {
echo '<div class="serendipityAdminMsgError"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_error.png') . '" alt="" />ERROR: ' . $result . '</div>'."\n";
} else {
echo '<span class="msg_error"><span class="icon-attention-circled"></span> ERROR: ' . $result . '</span>'."\n";
echo '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ERROR: ' . $result . '</span>'."\n";
}
}
$serendipity["POST"]["staticblock"] = serendipity_db_insert_id("staticblocks", 'id');
@ -409,7 +409,7 @@ class serendipity_event_includeentry extends serendipity_event
if ($serendipity['version'][0] < 2) {
echo '<div class="serendipityAdminMsgError"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_error.png') . '" alt="" />ERROR: ' . $result . '</div>'."\n";
} else {
echo '<span class="msg_error"><span class="icon-attention-circled"></span> ERROR: ' . $result . '</span>'."\n";
echo '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ERROR: ' . $result . '</span>'."\n";
}
}
}
@ -550,7 +550,7 @@ class serendipity_event_includeentry extends serendipity_event
if ($serendipity['version'][0] < 2) {
echo '<div class="serendipityAdminMsgSuccess"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_success.png') . '" alt="" />'. DONE . ': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')). '</div>'."\n";
} else {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> '. DONE . ': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')). '</span>'."\n";
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> '. DONE . ': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')). '</span>'."\n";
}
$this->updateStaticBlock();
}
@ -560,7 +560,7 @@ class serendipity_event_includeentry extends serendipity_event
if ($serendipity['version'][0] < 2) {
echo '<div class="serendipityAdminMsgSuccess"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="' . serendipity_getTemplateFile('admin/img/admin_msg_success.png') . '" alt="" />'. DONE .': '. sprintf(RIP_ENTRY, $this->staticblock['title']) . '</div>'."\n";
} else {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> '. DONE .': '. sprintf(RIP_ENTRY, $this->staticblock['title']) . '</span>'."\n";
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> '. DONE .': '. sprintf(RIP_ENTRY, $this->staticblock['title']) . '</span>'."\n";
}
}

View file

@ -1,22 +1,12 @@
Version 2.11:
2.12: Iconfont a11y fix (yellowled)
2.11: CSS placement changes for S9y 2.0
2.9: fixed db table karmalog, ip column to IPv6 length
* CSS placement changes for S9y 2.0
------------------------------------------------------------------------
Version 2.9:
* fixed db table karmalog, ip column to IPv6 length
------------------------------------------------------------------------
Version 2.0 (gregman):
* Included new option to change to animated voting based on images.
------------------------------------------------------------------------
Version 1.4 (brockhaus):
* New option to disable visit tracking for logged in users.
------------------------------------------------------------------------
Version 1.3 (garvinhickins):
2.0: Included new option to change to animated voting based on images.
(gregman)
1.4: New option to disable visit tracking for logged in users. (brockhaus)
1.3 (garvinhicking):

View file

@ -44,7 +44,7 @@ class serendipity_event_karma extends serendipity_event
$propbag->add('description', PLUGIN_KARMA_BLAHBLAH);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking, Grischa Brockhaus, Judebert, Gregor Voeltz, Ian');
$propbag->add('version', '2.12');
$propbag->add('version', '2.13');
$propbag->add('requirements', array(
'serendipity' => '1.6',
'smarty' => '2.6.7',
@ -1452,32 +1452,32 @@ END_IMG_CSS;
// posted points
$ppoints = $kdata['points'];
if (!is_numeric($ppoints) || ((int)$ppoints < -2) || ((int)$ppoints > 2)) {
print("<span class='msg_error'><span class='icon-attention-circled'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
print("<span class='msg_error'><span class='icon-attention-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
return false;
}
// posted id
$pid = $kdata['entryid'];
if (!is_numeric($pid)) {
print("<span class='msg_error'><span class='icon-attention-circled'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
print("<span class='msg_error'><span class='icon-attention-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
return false;
}
// posted IP
$pip = long2ip(ip2long($kdata['ip']));
if ($pip == -1 || $pip === FALSE) {
print("<span class='msg_error'><span class='icon-attention-circled'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
print("<span class='msg_error'><span class='icon-attention-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
return false;
}
// posted user agent (need a better validator, I think)
$puser_agent = $kdata['user_agent'];
if (serendipity_db_escape_string($puser_agent) != $puser_agent) {
print("<span class='msg_error'><span class='icon-attention-circled'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
print("<span class='msg_error'><span class='icon-attention-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
return false;
}
// posted vote time
$pvotetime = $kdata['votetime'];
$unixsecs = date('U', $kdata['votetime']);
if ($pvotetime != $unixsecs) {
print("<span class='msg_error'><span class='icon-attention-circled'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
print("<span class='msg_error'><span class='icon-attention-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_INVALID_INPUT."</span>\n");
return false;
}
@ -1503,13 +1503,13 @@ END_IMG_CSS;
);
$updated = serendipity_db_query($update);
if ($updated != 1) {
printf("<span class='msg_error'><span class='icon-attention-circled'></span> ".PLUGIN_KARMA_REMOVE_ERROR."</span>\n", $pid);
printf("<span class='msg_error'><span class='icon-attention-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_REMOVE_ERROR."</span>\n", $pid);
// Don't delete from karma log if we couldn't take away the points
continue;
}
} else {
// This will only happen if someone is messing with the karma table or submit data
printf("<span class='msg_error'><span class='icon-attention-circled'></span> ".PLUGIN_KARMA_UPDATE_ERROR."</span>", $pid);
printf("<span class='msg_error'><span class='icon-attention-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_UPDATE_ERROR."</span>", $pid);
continue;
}
}
@ -1527,12 +1527,12 @@ END_IMG_CSS;
// User feedback
if ($deleted == 1) {
if ($serendipity['POST']['delete_button']) {
printf("<span class='msg_success'><span class='icon-ok-circled'></span> ".PLUGIN_KARMA_REMOVED_POINTS."</span>\n", $ppoints, $pid);
printf("<span class='msg_success'><span class='icon-ok-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_REMOVED_POINTS."</span>\n", $ppoints, $pid);
} else {
printf("<span class='msg_success'><span class='icon-ok-circled'></span> ".PLUGIN_KARMA_APPROVED_POINTS."</span>\n", $ppoints, $pid);
printf("<span class='msg_success'><span class='icon-ok-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_APPROVED_POINTS."</span>\n", $ppoints, $pid);
}
} else {
printf("<span class='msg_error'><span class='icon-attention-circled'></span> ".PLUGIN_KARMA_REMOVE_ERROR."</span>\n", $pid);
printf("<span class='msg_error'><span class='icon-attention-circled' aria-hidden='true'></span> ".PLUGIN_KARMA_REMOVE_ERROR."</span>\n", $pid);
}
}
}
@ -1548,8 +1548,8 @@ END_IMG_CSS;
<input name='serendipity[adminAction]' type='hidden' value='{$serendipity['GET']['adminAction']}'>
<ul class='filters_toolbar clearfix plainList'>
<li><a class='button_link' href='#serendipity_admin_filters' title='".FILTERS."'><span class='icon-filter'></span><span class='visuallyhidden'> ".FILTERS."</span></a></li>
<li><a class='button_link' href='#serendipity_admin_sort' title='".SORT_ORDER."'><span class='icon-sort'></span><span class='visuallyhidden'> ".SORT_ORDER."</span></a></li>
<li><a class='button_link' href='#serendipity_admin_filters' title='".FILTERS."'><span class='icon-filter' aria-hidden='true'></span><span class='visuallyhidden'> ".FILTERS."</span></a></li>
<li><a class='button_link' href='#serendipity_admin_sort' title='".SORT_ORDER."'><span class='icon-sort' aria-hidden='true'></span><span class='visuallyhidden'> ".SORT_ORDER."</span></a></li>
</ul>
<fieldset id='serendipity_admin_filters' class='additional_info filter_pane'>
@ -1657,7 +1657,7 @@ END_IMG_CSS;
// Paging (partly ripped from include/admin/comments.inc.php)
$commentsPerPage = (int)(!empty($serendipity['GET']['filter']['perpage']) ? $serendipity['GET']['filter']['perpage'] : 25);
$sql = serendipity_db_query("SELECT COUNT(*) AS total FROM {$serendipity['dbPrefix']}karmalog l WHERE 1 = 1 " . $and, true);
if (is_string($sql)) print("<span class='msg_error'><span class='icon-attention-circled'></span> ".$sql."</span>\n");
if (is_string($sql)) print("<span class='msg_error'><span class='icon-attention-circled' aria-hidden='true'></span> ".$sql."</span>\n");
$totalVotes = (is_array($sql) && is_int($sql['total'])) ? $sql['total'] : 0;
$pages = ($commentsPerPage == COMMENTS_FILTER_ALL ? 1 : ceil($totalVotes/(int)$commentsPerPage));
$page = (int)$serendipity['GET']['page'];
@ -1680,12 +1680,12 @@ END_IMG_CSS;
// Variables for display
if ($linkPrevious) {
$linkPrevious = '<a class="button_link" href="' . $linkPrevious . '" title="'. PREVIOUS .'"><span class="icon-left-dir"></span><span class="visuallyhidden"> '. PREVIOUS .'</span></a>';
$linkPrevious = '<a class="button_link" href="' . $linkPrevious . '" title="'. PREVIOUS .'"><span class="icon-left-dir" aria-hidden="true"></span><span class="visuallyhidden"> '. PREVIOUS .'</span></a>';
} else {
$linkPrevious = '<span class="visuallyhidden">'. NO_ENTRIES_TO_PRINT .'</span>';
}
if ($linkNext) {
$linkNext = '<a class="button_link" href="' . $linkNext . '" title="'. NEXT .'"><span class="visuallyhidden">'. NEXT .' </span><span class="icon-right-dir"></span></a>';
$linkNext = '<a class="button_link" href="' . $linkNext . '" title="'. NEXT .'"><span class="visuallyhidden">'. NEXT .' </span><span class="icon-right-dir" aria-hidden="true"></span></a>';
} else {
$linkNext = '<span class="visuallyhidden">'. NO_ENTRIES_TO_PRINT .'</span>';
}
@ -1718,8 +1718,8 @@ END_IMG_CSS;
$votetitle = $vote['title'];
}
$entrylink = serendipity_archiveURL($vote['entryid'], $vote['title'], 'serendipityHTTPPath', true);
$entryFilterHtml = "<a class='button_link filter_karma' href='$url&serendipity[filter][entryid]={$vote['entryid']}' title='". FILTERS ."'><span class='icon-filter'></span><span class='visuallyhidden'>". FILTERS ."</span></a>";
$ipFilterHtml = "<a class='button_link filter_karma' href='$url&serendipity[filter][ip]={$vote['ip']}' title='". FILTERS ."'><span class='icon-filter'></span><span class='visuallyhidden'>". FILTERS ."</span></a>";
$entryFilterHtml = "<a class='button_link filter_karma' href='$url&serendipity[filter][entryid]={$vote['entryid']}' title='". FILTERS ."'><span class='icon-filter' aria-hidden='true'></span><span class='visuallyhidden'>". FILTERS ."</span></a>";
$ipFilterHtml = "<a class='button_link filter_karma' href='$url&serendipity[filter][ip]={$vote['ip']}' title='". FILTERS ."'><span class='icon-filter' aria-hidden='true'></span><span class='visuallyhidden'>". FILTERS ."</span></a>";
$timestr = strftime('%a %b %d %Y, %H:%M:%S', $vote['votetime']);
$cssClass = (($i % 2 ==0)?'even':'odd');
$barClass = str_replace(array('.',' '), array('_','_'), $this->image_name);
@ -1739,7 +1739,7 @@ END_IMG_CSS;
</div>
<h4><a href='$entrylink' title='ID: {$vote['entryid']}'>{$votetitle}</a>
<button class='toggle_info button_link' type='button' data-href='#karma_data_$i'><span class='icon-info-circled'></span><span class='visuallyhidden'> ". MORE ."</span></button>
<button class='toggle_info button_link' type='button' data-href='#karma_data_$i'><span class='icon-info-circled' aria-hidden='true'></span><span class='visuallyhidden'> ". MORE ."</span></button>
$entryFilterHtml
</h4>
@ -1786,7 +1786,7 @@ END_IMG_CSS;
} else {
print("
<span class='msg_notice'><span class='icon-info-circled'></span> No logs to display. You need to enable karma logging, if you want to see single votes displayed here.</span>
<span class='msg_notice'><span class='icon-info-circled' aria-hidden='true'></span> No logs to display. You need to enable karma logging, if you want to see single votes displayed here.</span>
");
}
@ -2158,7 +2158,7 @@ END_IMG_CSS;
* @param mixed points The total karma points
* @param mixed votes The total number of votes
*
* @return string A word corresponding to the article rating,
* @return string A word corresponding to the article rating,
* or PLUGIN_KARMA_IMAGE_NONE_RATING if no votes have been recorded.
*/
function wordRating($points, $votes) {
@ -2185,4 +2185,4 @@ END_IMG_CSS;
}
}
/* vim: set sts=4 ts=4 sw=4 expandtab : */
/* vim: set sts=4 ts=4 sw=4 expandtab : */

View file

@ -1,61 +1,39 @@
1.6.2:
----
* Fix for Smarty2 template
1.6.3: Iconfont a11y fix (yellowled)
1.6.1:
----
* Fix form action (from "?" to "") to work under Linux
1.6.2: Fix for Smarty2 template
1.6:
----
* do not include serendipity.js in frame, because of
1.6.1: Fix form action (from "?" to "") to work under Linux
1.6: do not include serendipity.js in frame, because of
ReferenceError: jQuery is not defined
1.5:
----
* Fix for enablePopup in >= 2.0
1.5: Fix for enablePopup in >= 2.0
1.4:
----
* Adapted backend markup for 2.0 backend.
* Fixed bad css float on startpage
* Fixed wysiwyg button link creator
* Removed dev-POC-dashboard plugin check
1.3:
----
1.3:
* Added new option to hide linktrimmer on backends frontpage
* Use nativ API method here - extends S9y version >= 1.3
1.1, 1.2:
----
* Static php5 function fixes
1.1, 1.2: Static php5 function fixes
1.0:
----
* Do not show in Dashboard (POC)
1.0: Do not show in Dashboard (POC)
0.9:
----
* Added CKEDITOR ready eventData image path
0.9: Added CKEDITOR ready eventData image path
0.8:
----
* Latest: Smarty3 forward compatibility
0.8: Latest: Smarty3 forward compatibility
0.7:
----
* Use latin1_general_cs charset due to lower/uppercase lookups,
thanks to danst0
0.7: Use latin1_general_cs charset due to lower/uppercase lookups, thanks to
danst0
0.6:
----
* Allow to be used in other plugins (danst0)
0.6: Allow to be used in other plugins (danst0)
0.5:
----
* Remove unneeded die()
0.5: Remove unneeded die()
0.1:
----
* Initial Release. See Documentation.
0.1: Initial Release. See Documentation.

View file

@ -50,7 +50,7 @@
{/if}
{if $linktrimmer_error}
<span class="msg_error"><span class="icon-attention-circled"></span> {$CONST.PLUGIN_LINKTRIMMER_ERROR}</span>
<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> {$CONST.PLUGIN_LINKTRIMMER_ERROR}</span>
{/if}
<div class="form_field">
@ -105,4 +105,4 @@
</main>
</body>
</html>
{/if}
{/if}

View file

@ -1,162 +1,100 @@
2.32:
-----
2.33: Iconfont a11y fix (yellowled)
* Remove S8y 2.0+ inline style for the fieldset
2.32: Remove s9y 2.0+ inline style for the fieldset
2.31:
-----
* Better recognize $serendipity['dbType'] query check for all supported
postgres and all sqlite versions
* Set strip_langs() method static
* Better recognize $serendipity['dbType'] query check for all supported
postgres and all sqlite versions
* Set strip_langs() method static
2.30 & 1.15 (sidebar):
----------------------
2.30 & 1.15 (sidebar): Fix Invalid argument supplied for foreach() error in
case the $serendipity['languages'] array is missing
(i.e. by emerge.sh call)
* Fix Invalid argument supplied for foreach() error in case the
$serendipity['languages'] array is missing (ie. by emerge.sh call)
2.29 & 1.14 (sidebar): Fix config sidebar selected langs on save
2.29 & 1.14 (sidebar):
----------------------
2.28: Extend RSS blog title and description for lang strip
* Fix config sidebar selected langs on save
2.28:
-----
* Extend RSS blog title and description for lang strip
2.27:
-----
* Extend blogTitle and description lang strip in the genpage hook
(fixes the email subject inclusion for example)
2.27: Extend blogTitle and description lang strip in the genpage hook (fixes
the email subject inclusion for example)
2.26:
-----
* Fix possible missing Smarty object init
* Add blogDescription tagged translations to 2.25
* Fix possible missing Smarty object init
* Add blogDescription tagged translations to 2.25
2.25:
-----
* Fix "Select language" displaying entries false same "<lang>, <lang>" links
* This also fixes the "Force full language" switch
* Fix blogTitle tagged translations for /archive page
* Fix blogTitle tagged translations for backend
2.24:
-----
* Allow PCRE_DOTALL /s modifier, in case the |multilingual_lang Smarty
modifier replacement is used for content body textarea fields having
newlines.
* Fix "Select language" displaying entries false same "<lang>, <lang>" links
* This also fixes the "Force full language" switch
* Fix blogTitle tagged translations for /archive page
* Fix blogTitle tagged translations for backend
2.24: Allow PCRE_DOTALL /s modifier, in case the |multilingual_lang Smarty
modifier replacement is used for content body textarea fields having
newlines.
2.23 & 1.13 (sidebar):
----------------------
* Load langs by lang API method - requires S9y 1.6+
* Fix some plugin inconsistencies
* Append the CSS if not already used by theme
* Load langs by lang API method - requires S9y 1.6+
* Fix some plugin inconsistencies
* Append the CSS if not already used by theme
2.22: Fix missing Smarty template vars when initiating in genpage
2.22:
-----
* Fix missing Smarty template vars when initiating in genpage
2.21:
-----
* Fix backend form lang selected entry
2.21: Fix backend form lang selected entry
2.20, 1.12:
----
* Minor preparations for the Serendipity 2.0 Backend
* Fix missing Smarty object init
* Fix Smarty modifier "multilingual_lang" method name
* Fix constant PLUGIN_EVENT_MULTILINGUAL_LANGSWITCH define(s)
* Added more usage documentary
* Added htaccess file for documentation file readability
* Added a new OK Constant for the backend entry language switch.
This needs a change in backend templates 2k11/admin/entries.inc.tpl
file with 2.0.2+. Watch out for current or upcoming changes in
https://github.com/s9y/Serendipity/commits/2.0/templates/2k11/admin/entries.inc.tpl
* Check and error a missing entryproperties database table index
and fix a wrong set config value
* Fix the force "langswitch" variable option to properly work on click,
as long as the Browsers SESSION holds
* Posted sidebar lang selection influences backend lang ... document dependencies
* Fix 'enry_title' Smarty var not using translation with Smarty3 versions in
non-tag mode and option "Tag translation of the blog title" set true.
We need to declare this option valid for banner title translations in non-tag mode too!
* Minor preparations for the Serendipity 2.0 Backend
* Fix missing Smarty object init
* Fix Smarty modifier "multilingual_lang" method name
* Fix constant PLUGIN_EVENT_MULTILINGUAL_LANGSWITCH define(s)
* Added more usage documentary
* Added htaccess file for documentation file readability
* Added a new OK Constant for the backend entry language switch.
This needs a change in backend templates 2k11/admin/entries.inc.tpl
file with 2.0.2+. Watch out for current or upcoming changes in
github.com/s9y/Serendipity/commits/2.0/templates/2k11/admin/entries.inc.tpl
* Check and error a missing entryproperties database table index
and fix a wrong set config value
* Fix the force "langswitch" variable option to properly work on click,
as long as the Browsers SESSION holds
* Posted sidebar lang selection influences backend lang ... document
dependencies
* Fix 'enry_title' Smarty var not using translation with Smarty3 versions in
non-tag mode and option "Tag translation of the blog title" set true. We
need to declare this option valid for banner title translations in non-tag
mode too!
2.15:
----
* Added new "langswitch" variable to allow users forcing
to switch the frontend language based on the content language
2.15: Added new "langswitch" variable to allow users forcing to switch the
frontend language based on the content language
2.14:
----
* Added genpage event hook so that blogTitle/Description gets
replaced in other instances where entries are not fetched
(i.e. 'archives')
* Added genpage event hook so that blogTitle/Description gets replaced in
other instances where entries are not fetched (i.e. 'archives')
* sidebar 1.11: Use proper "current url", thanks to timbalu
* sidebar 1.11: Use proper "current url", thanks to timbalu
2.13:
----
* Add smarty modifier "multilingual_lang" that you can use like
{$entry_category.category_name|@multilingual_lang|@escape}
in templates, to replace possible {{...}} language variants.
Also, by default parse such language constructs in the category name.
2.13: Add smarty modifier "multilingual_lang" that you can use like
{$entry_category.category_name|@multilingual_lang|@escape} in templates,
to replace possible {{...}} language variants. Also, by default parse
such language constructs in the category name.
2.11, 2.12:
----
* Patch to save drafts properly, by Martin Matuska
SF Bug #3047591
* Patch to save drafts properly, by Martin Matuska, Bug #3047591
* Patch to properly detect current language, by Martin Matuska, Bug #3047600
* Patch to properly detect current language, by Martin Matuska
SF Bug #3047600
2.10: Allow to replace category names/descriptions for the header display
2.10:
----
2.9: Completely replace the broken regexp to use subparts now.
* Allow to replace category names/descriptions for the header display
2.8: Another regexp for replacements, look-behind and look-ahead.
2.9:
----
2.7: Better regexp for replacements
* Completely replace the broken regexp to use subparts now.
2.6: Fix a PHP error notice
2.8:
---
* Another regexp for replacements, look-behind and look-ahead.
2.7:
----
* Better regexp for replacements
2.6:
----
* Fix a PHP error notice
2.5:
----
* Allow for tagged translations, see documentation. By praabjerg
2.5: Allow for tagged translations, see documentation. By praabjerg

View file

@ -27,7 +27,7 @@ class serendipity_event_multilingual extends serendipity_event
'php' => '4.1.0'
));
$propbag->add('groups', array('FRONTEND_ENTRY_RELATED', 'BACKEND_EDITOR'));
$propbag->add('version', '2.32');
$propbag->add('version', '2.33');
$propbag->add('configuration', array('copytext', 'placement', 'tagged_title', 'tagged_entries', 'tagged_sidebar', 'langswitch'));
$propbag->add('event_hooks', array(
'frontend_fetchentries' => true,
@ -153,7 +153,7 @@ class serendipity_event_multilingual extends serendipity_event
if ($built == 2) {
$q = "SHOW INDEX FROM {$serendipity['dbPrefix']}entryproperties FROM {$serendipity['dbName']}";
if (!is_array(serendipity_db_query($q))) {
echo '<span class="msg_error"><span class="icon-attention-circled"></span> <strong>Error:</strong> '.$r.'. Does it exist? Please check your privileges to this table; triggered in serendipity_event_multilingual, setupDB() method.</span>';
echo '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> <strong>Error:</strong> '.$r.'. Does it exist? Please check your privileges to this table; triggered in serendipity_event_multilingual, setupDB() method.</span>';
} else $this->set_config('db_built', 3);
}
if ($built == 3) {
@ -656,7 +656,7 @@ class serendipity_event_multilingual extends serendipity_event
<input class="serendipityPrettyButton input_button" type="submit" name="serendipity[no_save]" value="<?php echo PLUGIN_EVENT_MULTILINGUAL_SWITCH; ?>" />
<?php
} else {
echo '<span class="msg_notice"><span class="icon-info-circled"></span> ' . PLUGIN_EVENT_MULTILINGUAL_NEEDTOSAVE . "</span>\n";
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> ' . PLUGIN_EVENT_MULTILINGUAL_NEEDTOSAVE . "</span>\n";
}
?>
</div>

View file

@ -1,3 +1,5 @@
0.18: Iconfont a11y fix (yellowled)
0.17: Adapt backend to 2.x (yellowled)
0.16: Use htmlspecialchars() in the RSS output to prevent XML parsing errors

View file

@ -28,7 +28,7 @@ class serendipity_event_mycalendar extends serendipity_event {
'php' => '4.1.0'
));
$propbag->add('version', '0.17.0');
$propbag->add('version', '0.17.1');
$propbag->add('author', 'Garvin Hicking, Markus Gerstel, Grischa Brockhaus');
$propbag->add('stackable', false);
$propbag->add('event_hooks', array(
@ -324,7 +324,7 @@ class serendipity_event_mycalendar extends serendipity_event {
echo $this->getDropdown('month', $event['eventid'], range(1, 12), $month, false, 'changeDate('. $event['eventid'] .')') . ".";
echo $this->getDropdown('year', $event['eventid'], range(date('Y'), date('Y')+2), $year, false, 'changeDate('. $event['eventid'] .')');
if ($event['eventdate'] < time()-86400) {
echo ' <a class="button_link" href="#" title="' . DELETE . '" onclick="javascript:removeEvent(\'' . $event['eventid'] . '\');"><span class="icon-trash"></span><span class="visuallyhidden">' . DELETE . '</span></a>';
echo ' <a class="button_link" href="#" title="' . DELETE . '" onclick="javascript:removeEvent(\'' . $event['eventid'] . '\');"><span class="icon-trash" aria-hidden="true"></span><span class="visuallyhidden">' . DELETE . '</span></a>';
}
echo " </td>\n";
echo " <td>";
@ -448,4 +448,4 @@ class serendipity_event_mycalendar extends serendipity_event {
}
}
/* vim: set sts=4 ts=4 expandtab : */
/* vim: set sts=4 ts=4 expandtab : */

View file

@ -1,28 +1,20 @@
1.14:
----
* Consistence changes
1.15: Iconfont a11y fix (yellowled)
1.13:
----
* try/catch Exception to not break the flow
1.14: Consistence changes
1.13: try/catch Exception to not break the flow
1.12:
----
* Exclude content having code highlighter or multilingual tags
Do not use parsable Smarty Variables in combination with
any other content having braces "{}"!
* Extend Requirement to Smarty 3.1 and Serendipity 1.7+
* Removed old code parts for backward compat (was erroneous)
* Rename wrong $serendipity['PLUGINDATA'] to $serendipity['plugindata']
1.11:
----
* More compatibility fixes fc19cfc
* Exclude content having code highlighter or multilingual tags. Do not use
parsable Smarty Variables in combination with any other content having
braces "{}"!
* Extend Requirement to Smarty 3.1 and Serendipity 1.7+
* Removed old code parts for backward compat (was erroneous)
* Rename wrong $serendipity['PLUGINDATA'] to $serendipity['plugindata']
1.10:
----
* Added: configs comment warning and their default to not parse comments
1.11: More compatibility fixes fc19cfc
1.9:
---
* Latest: Smarty3 forward compatibility
1.10: Added: configs comment warning and their default to not parse comments
1.9: Latest: Smarty3 forward compatibility

View file

@ -19,7 +19,7 @@ class serendipity_event_smartymarkup extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_SMARTYMARKUP_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking');
$propbag->add('version', '1.14');
$propbag->add('version', '1.15');
$propbag->add('requirements', array(
'serendipity' => '1.7',
'smarty' => '3.1.0',
@ -98,7 +98,7 @@ class serendipity_event_smartymarkup extends serendipity_event
// test
#$tpl_source = '{assign var="foo" value="bar"}{$foo|escape:"html"}';
// return success state
// return success state
return true;
}
@ -219,7 +219,7 @@ class serendipity_event_smartymarkup extends serendipity_event
try {
$eventData[$element] = $this->smartymarkup($eventData[$element], $eventData);
} catch (Exception $e) {
echo '<span class="msg-error"><span class="icon-attention-circled"></span> ' . ERROR_SOMETHING . ': '.$e->getMessage() . "</span>\n";
echo '<span class="msg-error"><span class="icon-attention-circled" aria-hidden="true"></span> ' . ERROR_SOMETHING . ': '.$e->getMessage() . "</span>\n";
}
if ($element == 'staticpage') {
$eventData['markup_staticpage'] = true;

View file

@ -1,3 +1,5 @@
0.4.25: Iconfont a11y fix (yellowled)
0.4.24: Added mysqli checks
0.4.23:
@ -180,4 +182,4 @@
* removed unnecessary interface-items from frontend
* added loadinidicator to frontend
* Bugfix: Use of the form at the admin-frontend no longer switches to the comment-frontend
* Bugfix: php-end from lang-file removed
* Bugfix: php-end from lang-file removed

View file

@ -9,7 +9,7 @@
{if $s9ybackend == 1}
<a class="serendipityIconLink" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage-1}"><img src="{serendipity_getFile file="admin/img/previous.png"}"/>{$CONST.PREVIOUS}</a>
{else}
<li class="prev"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage-1}" title="{$CONST.PREVIOUS}"><span class="icon-left-dir"></span><span class="visuallyhidden"> {$CONST.PREVIOUS}</span></a></li>
<li class="prev"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage-1}" title="{$CONST.PREVIOUS}"><span class="icon-left-dir" aria-hidden="true"></span><span class="visuallyhidden"> {$CONST.PREVIOUS}</span></a></li>
{/if}
{/if}
@ -17,7 +17,7 @@
{if $s9ybackend == 1}
<a class="serendipityIconLinkRight" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage+1}">{$CONST.NEXT} <img src="{serendipity_getFile file="admin/img/next.png"}"/></a>
{else}
<li class="next"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage+1}" title="{$CONST.NEXT}"><span class="visuallyhidden">{$CONST.NEXT} </span><span class="icon-right-dir"></span></a></li>
<li class="next"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage+1}" title="{$CONST.NEXT}"><span class="visuallyhidden">{$CONST.NEXT} </span><span class="icon-right-dir" aria-hidden="true"></span></a></li>
{/if}
{/if}
{if $s9ybackend == 1}
@ -53,7 +53,7 @@
{if $s9ybackend == 1}
<a class="serendipityIconLink" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage-1}"><img src="{serendipity_getFile file="admin/img/previous.png"}"/>{$CONST.PREVIOUS}</a>
{else}
<li class="prev"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage-1}" title="{$CONST.PREVIOUS}"><span class="icon-left-dir"></span><span class="visuallyhidden"> {$CONST.PREVIOUS}</span></a></li>
<li class="prev"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage-1}" title="{$CONST.PREVIOUS}"><span class="icon-left-dir" aria-hidden="true"></span><span class="visuallyhidden"> {$CONST.PREVIOUS}</span></a></li>
{/if}
{/if}
@ -61,7 +61,7 @@
{if $s9ybackend == 1}
<a class="serendipityIconLinkRight" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage+1}">{$CONST.NEXT} <img src="{serendipity_getFile file="admin/img/next.png"}"/></a>
{else}
<li class="next"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage+1}" title="{$CONST.NEXT}"><span class="visuallyhidden">{$CONST.NEXT} </span><span class="icon-right-dir"></span></a></li>
<li class="next"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[commentpage]={$commentpage+1}" title="{$CONST.NEXT}"><span class="visuallyhidden">{$CONST.NEXT} </span><span class="icon-right-dir" aria-hidden="true"></span></a></li>
{/if}
{/if}
{if $s9ybackend == 1}

View file

@ -1,5 +1,5 @@
<div id="bayesContent">
{if $s9ybackend == 1}<p>{else}<span class="msg_hint"><span class="icon-help-circled"></span> {/if}{$CONST.PLUGIN_EVENT_SPAMBLOCK_BAYES_IMPORT_EXPLANATION}{if $s9ybackend == 1}</p>{else}</span>{/if}
{if $s9ybackend == 1}<p>{else}<span class="msg_hint"><span class="icon-help-circled" aria-hidden="true"></span> {/if}{$CONST.PLUGIN_EVENT_SPAMBLOCK_BAYES_IMPORT_EXPLANATION}{if $s9ybackend == 1}</p>{else}</span>{/if}
<form enctype="multipart/form-data" action="{$serendipityBaseURL}index.php?/plugin/spamblock_bayes_import" method="post">
{if $s9ybackend != 1}
@ -11,10 +11,10 @@
</div>
{/if}
</form>
<h3>{$CONST.PLUGIN_EVENT_SPAMBLOCK_BAYES_TROJA}</h3>
{if $s9ybackend == 1}<p>{else}<span class="msg_hint"><span class="icon-help-circled"></span> {/if}{$CONST.PLUGIN_EVENT_SPAMBLOCK_BAYES_TROJA_EXPLANATION}{if $s9ybackend == 1}</p>{else}</span>{/if}
{if $s9ybackend == 1}<p>{else}<span class="msg_hint"><span class="icon-help-circled" aria-hidden="true"></span> {/if}{$CONST.PLUGIN_EVENT_SPAMBLOCK_BAYES_TROJA_EXPLANATION}{if $s9ybackend == 1}</p>{else}</span>{/if}
<form{if $s9ybackend != 1} class="bayesTrojaButtons"{/if} action="{$serendipityBaseURL}index.php?/plugin/bayesTrojaRequestDB" method="post">
<input id="trojaImport" class="serendipityPrettyButton input_button" type="submit" value="{$CONST.PLUGIN_EVENT_SPAMBLOCK_BAYES_TROJA_IMPORT}" />
@ -28,4 +28,4 @@
<input class="serendipityPrettyButton input_button" type="submit" value="{$CONST.PLUGIN_EVENT_SPAMBLOCK_BAYES_TROJA_REGISTER}" />
</form>
{/if}
</div>
</div>

View file

@ -15,14 +15,14 @@
{if $s9ybackend == 1}
<a class="serendipityIconLink" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage-1}"><img src="{serendipity_getFile file="admin/img/previous.png"}"/>{$CONST.PREVIOUS}</a>
{else}
<li class="prev"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage-1}" title="{$CONST.PREVIOUS}"><span class="icon-left-dir"></span><span class="visuallyhidden"> {$CONST.PREVIOUS}</span></a></li>
<li class="prev"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage-1}" title="{$CONST.PREVIOUS}"><span class="icon-left-dir" aria-hidden="true"></span><span class="visuallyhidden"> {$CONST.PREVIOUS}</span></a></li>
{/if}
{/if}
{if ($commentpage+1)*20 < $comments|@count}
{if $s9ybackend == 1}
<a class="serendipityIconLinkRight" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage+1}">{$CONST.NEXT} <img src="{serendipity_getFile file="admin/img/next.png"}"/></a>
{else}
<li class="next"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage+1}" title="{$CONST.NEXT}"><span class="visuallyhidden">{$CONST.NEXT} </span><span class="icon-right-dir"></span></a></li>
<li class="next"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage+1}" title="{$CONST.NEXT}"><span class="visuallyhidden">{$CONST.NEXT} </span><span class="icon-right-dir" aria-hidden="true"></span></a></li>
{/if}
{/if}
{if $s9ybackend == 1}
@ -66,7 +66,7 @@
<dt>{$CONST.Article}</dt>
<dd><a href="{$comment.article_link}" target="_blank">{$comment.article_title}</a></dd>
</dl>
</details>
{else}
<li id="comment_{$comment.id}" class="clearfix {cycle values="odd,even"}">
@ -75,7 +75,7 @@
<input id="serendipity[selected][{$comment.id}]" type="checkbox" class="bayesRecyclerSelectBox" name="serendipity[selected][{$comment.id}]">
<label for="serendipity[selected][{$comment.id}]" class="visuallyhidden">{$CONST.TOGGLE_SELECT}</label>
</div>
<h4 id="c{$comment.id}">{$comment.author|truncate:20:"..."|escape:"html"} {$CONST.IN_REPLY_TO} <a href="{$comment.article_link}" target="_blank">{$comment.article_title}</a> {$CONST.ON} {$comment.timestamp|date_format:"%d.%m.%y, %R"} <span title="{$CONST.PLUGIN_EVENT_SPAMBLOCK_BAYES_RATING}">{$comment.rating|regex_replace:"/\..*/":""}%</span> <button class="toggle_info button_link" type="button" data-href="#comment_data_{$comment.id}"><span class="icon-info-circled"></span><span class="visuallyhidden"> More</span></button></h4>
<h4 id="c{$comment.id}">{$comment.author|truncate:20:"..."|escape:"html"} {$CONST.IN_REPLY_TO} <a href="{$comment.article_link}" target="_blank">{$comment.article_title}</a> {$CONST.ON} {$comment.timestamp|date_format:"%d.%m.%y, %R"} <span title="{$CONST.PLUGIN_EVENT_SPAMBLOCK_BAYES_RATING}">{$comment.rating|regex_replace:"/\..*/":""}%</span> <button class="toggle_info button_link" type="button" data-href="#comment_data_{$comment.id}"><span class="icon-info-circled" aria-hidden="true"></span><span class="visuallyhidden"> More</span></button></h4>
<div id="comment_data_{$comment.id}" class="additional_info">
<dl class="comment_data clearfix">
@ -98,14 +98,14 @@
{if $s9ybackend == 1}
<a class="serendipityIconLink" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage-1}"><img src="{serendipity_getFile file="admin/img/previous.png"}"/>{$CONST.PREVIOUS}</a>
{else}
<li class="prev"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage-1}" title="{$CONST.PREVIOUS}"><span class="icon-left-dir"></span><span class="visuallyhidden"> {$CONST.PREVIOUS}</span></a></li>
<li class="prev"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage-1}" title="{$CONST.PREVIOUS}"><span class="icon-left-dir" aria-hidden="true"></span><span class="visuallyhidden"> {$CONST.PREVIOUS}</span></a></li>
{/if}
{/if}
{if ($commentpage+1)*20 < $comments|@count}
{if $s9ybackend == 1}
<a class="serendipityIconLinkRight" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage+1}">{$CONST.NEXT} <img src="{serendipity_getFile file="admin/img/next.png"}"/></a>
{else}
<li class="next"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage+1}" title="{$CONST.NEXT}"><span class="visuallyhidden">{$CONST.NEXT} </span><span class="icon-right-dir"></span></a></li>
<li class="next"><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=1&amp;serendipity[commentpage]={$commentpage+1}" title="{$CONST.NEXT}"><span class="visuallyhidden">{$CONST.NEXT} </span><span class="icon-right-dir" aria-hidden="true"></span></a></li>
{/if}
{/if}
{if $s9ybackend == 1}

View file

@ -42,7 +42,7 @@ class serendipity_event_spamblock_bayes extends serendipity_event {
$this->title = PLUGIN_EVENT_SPAMBLOCK_BAYES_NAME;
$propbag->add ( 'description', PLUGIN_EVENT_SPAMBLOCK_BAYES_DESC);
$propbag->add ( 'name', $this->title);
$propbag->add ( 'version', '0.4.24' );
$propbag->add ( 'version', '0.4.25' );
$propbag->add ( 'event_hooks', array ('frontend_saveComment' => true,
'backend_spamblock_comments_shown' => true,
'external_plugin' => true,
@ -1203,7 +1203,7 @@ class serendipity_event_spamblock_bayes extends serendipity_event {
onclick="return ham('. $comment ['id'].');"
title="'. PLUGIN_EVENT_SPAMBLOCK_BAYES_NAME . ': ' . PLUGIN_EVENT_SPAMBLOCK_BAYES_HAM .'"
href="'. $serendipity['baseURL'] . 'index.php?/plugin/learnAction&action=approve&category=ham&id=' . $eventData['id'] . '&entry_id='. $eventData['entry_id'] . '"
><span class="icon-ok-circled"></span><span class="visuallyhidden"> ' . PLUGIN_EVENT_SPAMBLOCK_BAYES_HAM .'</span></a>
><span class="icon-ok-circled" aria-hidden="true"></span><span class="visuallyhidden"> ' . PLUGIN_EVENT_SPAMBLOCK_BAYES_HAM .'</span></a>
</li>
<li>
<a id="spam'. $comment ['id'].'"
@ -1211,7 +1211,7 @@ class serendipity_event_spamblock_bayes extends serendipity_event {
onclick="return spam('. $comment ['id'] .');"
title="'. PLUGIN_EVENT_SPAMBLOCK_BAYES_NAME . ': ' . PLUGIN_EVENT_SPAMBLOCK_BAYES_SPAM .'"
href="'. $serendipity['baseURL'] . 'index.php?/plugin/learnAction&action=delete&category=spam&id=' . $eventData['id'] . '&entry_id='. $eventData['entry_id'] . '"
><span class="icon-cancel"></span><span class="visuallyhidden"> ' . PLUGIN_EVENT_SPAMBLOCK_BAYES_SPAM .'</span></a>
><span class="icon-cancel" aria-hidden="true"></span><span class="visuallyhidden"> ' . PLUGIN_EVENT_SPAMBLOCK_BAYES_SPAM .'</span></a>
</li>
<li class="bayes_spamrating">
<a href="serendipity_admin.php?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=spamblock_bayes&amp;serendipity[subpage]=4&amp;serendipity[comments]['.$comment['id'].']" title="' . PLUGIN_EVENT_SPAMBLOCK_BAYES_RATING_EXPLANATION .'">
@ -1320,21 +1320,21 @@ class serendipity_event_spamblock_bayes extends serendipity_event {
if ($serendipity['version'][0] == 1) {
echo '<p class="serendipityAdminMsgNote">'.(function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['message']) : htmlspecialchars($serendipity['GET']['message'], ENT_COMPAT, LANG_CHARSET)).'</p>';
} else {
echo '<span class="msg_notice"><span class="icon-info-circled"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['message']) : htmlspecialchars($serendipity['GET']['message'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['message']) : htmlspecialchars($serendipity['GET']['message'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
}
}
if (isset($serendipity['GET']['success'])) {
if ($serendipity['version'][0] == 1) {
echo '<p class="serendipityAdminMsgSuccess">'.(function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['success']) : htmlspecialchars($serendipity['GET']['success'], ENT_COMPAT, LANG_CHARSET)).'</p>';
} else {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['success']) : htmlspecialchars($serendipity['GET']['success'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['success']) : htmlspecialchars($serendipity['GET']['success'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
}
}
if (isset($serendipity['GET']['error'])) {
if ($serendipity['version'][0] == 1) {
echo '<p class="serendipityAdminMsgError">'.(function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['error']) : htmlspecialchars($serendipity['GET']['error'], ENT_COMPAT, LANG_CHARSET)).'</p>';
} else {
echo '<span class="msg_error"><span class="icon-attention-circled"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['error']) : htmlspecialchars($serendipity['GET']['error'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
echo '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['error']) : htmlspecialchars($serendipity['GET']['error'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
}
}
$this->get = $serendipity['GET'];
@ -1483,7 +1483,7 @@ class serendipity_event_spamblock_bayes extends serendipity_event {
} catch (Exception $e) {
$amount = 0;
}
$data['pages'] = ceil($amount / 20);
$data['bayesTable'] = $bayesTable;
@ -2075,4 +2075,4 @@ class serendipity_event_spamblock_bayes extends serendipity_event {
break;
}
}
}
}

View file

@ -1,3 +1,5 @@
4.14: Iconfont a11y fix (yellowled)
4.13: IE11 backend flexbox fix (yellowled)
4.12: Adapt to 2.x backend (yellowled)
@ -123,7 +125,7 @@
You can override the content of those files within your
template directory, by placing a file named exactly the same way,
in the "backend_templates" sub-directory of your template.
in the "backend_templates" sub-directory of your template.
Thus, you can put an empty file inside your plugin
directory to initialize the ability to use a template-preference.

View file

@ -91,7 +91,7 @@ class serendipity_event_staticpage extends serendipity_event
$propbag->add('page_configuration', $this->config);
$propbag->add('type_configuration', $this->config_types);
$propbag->add('author', 'Marco Rinck, Garvin Hicking, David Rolston, Falk Doering, Stephan Manske, Pascal Uhlmann, Ian, Don Chambers');
$propbag->add('version', '4.13');
$propbag->add('version', '4.14');
$propbag->add('requirements', array(
'serendipity' => '2.0',
'smarty' => '2.6.7',
@ -1676,13 +1676,13 @@ class serendipity_event_staticpage extends serendipity_event
if (!isset($this->pagetype['id'])) {
$result = serendipity_db_insert('staticpages_types', $this->pagetype);
if (is_string($result)) {
echo '<span class="msg_error"><span class="icon-attention-circled"></span> ERROR: ' . $result . '</span>';
echo '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ERROR: ' . $result . '</span>';
}
$serendipity["POST"]["pagetype"] = serendipity_db_insert_id('staticpages_types', 'id');
} else {
$result = serendipity_db_update('staticpages_types', array('id' => $this->pagetype['id']), $this->pagetype);
if (is_string($result)) {
echo '<span class="msg_error"><span class="icon-attention-circled"></span> ERROR: ' . $result . '</span>';
echo '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ERROR: ' . $result . '</span>';
}
}
}
@ -1803,14 +1803,14 @@ class serendipity_event_staticpage extends serendipity_event
if($sort_idx == 0) {
echo '<span class="button_placeholder">&nbsp;</span>';
} else {
echo '<a class="button_link" href="?serendipity[adminModule]=staticpages&amp;serendipity[moveto]=moveup&amp;serendipity[pagetomove]=' . $page['id'] . '&amp;serendipity[adminModule]=event_display&amp;serendipity[adminAction]=staticpages&amp;serendipity[staticpagecategory]=pageorder"><span class="icon-up-dir"></span><span class="visuallyhidden">' . UP . '</span></a>';
echo '<a class="button_link" href="?serendipity[adminModule]=staticpages&amp;serendipity[moveto]=moveup&amp;serendipity[pagetomove]=' . $page['id'] . '&amp;serendipity[adminModule]=event_display&amp;serendipity[adminAction]=staticpages&amp;serendipity[staticpagecategory]=pageorder"><span class="icon-up-dir" aria-hidden="true"></span><span class="visuallyhidden">' . UP . '</span></a>';
}
echo '</li>'."\n";
echo '<li>';
if ($sort_idx == (count($pages)-1)) {
echo '<span class="button_placeholder">&nbsp;</span>';
} else {
echo ($page['moveup']!= '' ? '&nbsp;' : '') . '<a class="button_link" href="?serendipity[adminModule]=staticpages&amp;serendipity[moveto]=movedown&serendipity[pagetomove]=' . $page['id'] . '&amp;serendipity[adminModule]=event_display&amp;serendipity[adminAction]=staticpages&amp;serendipity[staticpagecategory]=pageorder"><span class="icon-down-dir"></span><span class="visuallyhidden">'. DOWN .'</span></a>';
echo ($page['moveup']!= '' ? '&nbsp;' : '') . '<a class="button_link" href="?serendipity[adminModule]=staticpages&amp;serendipity[moveto]=movedown&serendipity[pagetomove]=' . $page['id'] . '&amp;serendipity[adminModule]=event_display&amp;serendipity[adminAction]=staticpages&amp;serendipity[staticpagecategory]=pageorder"><span class="icon-down-dir" aria-hidden="true"></span><span class="visuallyhidden">'. DOWN .'</span></a>';
}
echo '</li>'."\n";
echo '</div></li>'."\n";
@ -1844,13 +1844,13 @@ class serendipity_event_staticpage extends serendipity_event
$this->pagetype[$config_item] = serendipity_get_bool($serendipity['POST']['plugin'][$config_item]);
}
}
echo '<span class="msg_success"><span class="icon-ok-circled"></span>'. DONE .': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) .'</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span>'. DONE .': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) .'</span>';
$this->updatePageType();
}
if (!empty($serendipity['POST']['typeDelete']) && $serendipity['POST']['pagetype'] != '__new') {
serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}staticpages_types WHERE id = " . (int)$serendipity['POST']['pagetype']);
echo '<span class="msg_success"><span class="icon-ok-circled"></span>'. DONE .': '. sprintf(RIP_ENTRY, $this->pagetype['description']) . '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span>'. DONE .': '. sprintf(RIP_ENTRY, $this->pagetype['description']) . '</span>';
}
echo '<form action="serendipity_admin.php" method="post" name="serendipityEntry">';
@ -1969,9 +1969,9 @@ class serendipity_event_staticpage extends serendipity_event
$result = $this->updateStaticPage();
if (is_string($result)) {
echo '<span class="msg_error"><span class="icon-attention-circled"></span> ERROR: ' . $result . '</span>';
echo '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ERROR: ' . $result . '</span>';
} else {
echo '<span class="msg_success"><span class="icon-ok-circled"></span>' . DONE . ': ' . sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')). '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span>' . DONE . ': ' . sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')). '</span>';
}
}
@ -1979,9 +1979,9 @@ class serendipity_event_staticpage extends serendipity_event
if (!empty($serendipity['POST']['staticDelete']) && $serendipity['POST']['staticpage'] != '__new') {
if (!$this->getChildPage($serendipity['POST']['staticpage'])) {
serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}staticpages WHERE id = " . (int)$serendipity['POST']['staticpage']);
echo '<span class="msg_success"><span class="icon-ok-circled"></span>' . DONE . ': '. sprintf(RIP_ENTRY, $this->staticpage['pagetitle']) . '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span>' . DONE . ': '. sprintf(RIP_ENTRY, $this->staticpage['pagetitle']) . '</span>';
} else {
echo '<span class="msg_notice"><span class="icon-info-circled"></span>' . IMPORT_NOTES . ': '. STATICPAGE_CANNOTDELETE_MSG . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span>' . IMPORT_NOTES . ': '. STATICPAGE_CANNOTDELETE_MSG . '</span>';
}
}
@ -2043,7 +2043,7 @@ class serendipity_event_staticpage extends serendipity_event
echo '</div>';
if ($sbplav) {
echo '<span class="msg_notice"><span class="icon-info-circled"></span> ';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> ';
echo 'Staticpage Sidebar ' . STATICPAGE_PLUGIN_AVAILABLE;
echo '</span>';
}
@ -2056,7 +2056,7 @@ class serendipity_event_staticpage extends serendipity_event
echo 'staticpage_preview.focus();' . "\n";
echo '</script>';
$serendipity['POST']['staticSubmit'] = true;
echo '<span class="msg_notice"><span class="icon-info-circled"></span> ' . sprintf(PLUGIN_STATICPAGE_PREVIEW, '<a href="' . $link . '">' . $this->staticpage['pagetitle'] . '</a>') . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> ' . sprintf(PLUGIN_STATICPAGE_PREVIEW, '<a href="' . $link . '">' . $this->staticpage['pagetitle'] . '</a>') . '</span>';
}
if ($serendipity['POST']['staticSubmit'] || isset($serendipity['GET']['staticid'])) {
@ -2674,7 +2674,7 @@ foreach($select AS $select_value => $select_desc) {
// Find out if the entry has been modified later than 30 minutes after creation
if ( $entry['timestamp'] <= ($entry['last_modified'] - 60*30) )
{
$lm = '<span class="icon-info-circled" title="' . LAST_UPDATED . ': ' . serendipity_formatTime(DATE_FORMAT_SHORT, $entry['last_modified']) . '"></span>';
$lm = '<span class="icon-info-circled" aria-hidden="true" title="' . LAST_UPDATED . ': ' . serendipity_formatTime(DATE_FORMAT_SHORT, $entry['last_modified']) . '"></span>';
}
else
{
@ -2703,7 +2703,7 @@ foreach($select AS $select_value => $select_desc) {
<input type="hidden" name="serendipity[staticpage]" value="<?php echo $entry['id']; ?>">
<ul class="plainList clearfix actions">
<li><a target="_blank" href="<?php echo $link ?>" title="<?php echo VIEW . ' #' . $entry['pagetitle']; ?>" class="button_link"><span class="icon-search"></span><span class="visuallyhidden"> <?php echo VIEW . " #" . $entry['pagetitle']; ?></span></a></li>
<li><a target="_blank" href="<?php echo $link ?>" title="<?php echo VIEW . ' #' . $entry['pagetitle']; ?>" class="button_link"><span class="icon-search" aria-hidden="true"></span><span class="visuallyhidden"> <?php echo VIEW . " #" . $entry['pagetitle']; ?></span></a></li>
<li><input type="submit" name="serendipity[staticSubmit]" title="<?php echo EDIT . "#" . $entry['pagetitle']; ?>" value="<?php echo EDIT; ?>"></li>
<li><input type="submit" name="serendipity[staticDelete]" class="state_cancel" onclick="return confirm('<?php echo sprintf(DELETE_SURE, $entry['pagetitle']); ?>');" title="<?php echo DELETE . "#" . $entry['pagetitle']; ?>" value="<?php echo DELETE; ?>"></li>
</ul>
@ -2751,7 +2751,7 @@ foreach($select AS $select_value => $select_desc) {
{
?>
<div class="serendipity_admin_list">
<span class="msg_notice"><span class="icon-info-circled"></span> <?php echo NO_ENTRIES_TO_PRINT ?></span>
<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> <?php echo NO_ENTRIES_TO_PRINT ?></span>
</div>
<?php
}

View file

@ -1,61 +1,49 @@
1.62: Iconfont a11y fix (yellowled)
1.61:
-----
- some css fixes for prev S9y versions
- fix admin link
* some css fixes for prev S9y versions
* fix admin link
1.60:
-----
- 2.0 markup ready (YL)
- fix spectrum image height with 2.0
- slightly reworked last visitors
- fix for S9y version < 2.0 upgraders
- fix a permission issue
1.53:
-----
- fixed db table vistors, ip column to IPv6 length
* 2.0 markup ready (YL)
* fix spectrum image height with 2.0
* slightly reworked last visitors
* fix for S9y version < 2.0 upgraders
* fix a permission issue
1.53: fixed db table vistors, ip column to IPv6 length
1.52:
-----
- fixed some missing ending strong tags - in 2.0 other markup changes
1.52: fixed some missing ending strong tags * in 2.0 other markup changes
1.51: bumb event version for serendipity_plugin_statistics sync update to 1.5
plugin 1.5 now fixes weekly stats and visitors online query with
PostgreSQL
1.51:
-----
- bumb event version for serendipity_plugin_statistics sync update to 1.5
plugin 1.5 now fixes weekly stats and visitors online query with PostgreSQL
1.50, 1.49: Made commentor URLs add http:// if missing
1.48: (kalkin)
1.50: + 1.49:
-------------
- Made commentor URLs add http:// if missing
* rewrote the botfilter. Now it's smarter.
* the graphs can be maximal 200px large
* the bar colors are now relative.
1.47: (kalkin)
20070723 Version 1.48:
----------------------
(By kalkin)
* added lots of bots
* now the plugin just count each ip as an visitor at this day, not every
refresh
- rewrote the botfilter. Now it's smarter.
- the graphs can be maximal 200px large
- the bar colors are now relative.
1.40: (Shrikee/Arnan)
20070121 Version 1.47:
----------------------
(By kalkin)
- added lots of bots
- now the plugin just count each ip as an visitor at this day, not evry refresh
Version 1.40:
-------------
(By Shrikee / Arnan)
- added a database table which holds daily stats.
- 2 graphs which use the data in the above table
- rewrote the bots filter
- added a config option to show only visitor stats or show everything (post counts and such)
- option to enable or disable the bot filter
- fixed the referer register. They werent added in the database, now they are
- if either $useragent, $referer or $remote_addr is empty or unknown its set to unknown.
* added a database table which holds daily stats.
* 2 graphs which use the data in the above table
* rewrote the bots filter
* added a config option to show only visitor stats or show everything (post
counts and such)
* option to enable or disable the bot filter
* fixed the referer register. They werent added in the database, now they
are
* if either $useragent, $referer or $remote_addr is empty or unknown, it's
set to unknown.

View file

@ -16,7 +16,7 @@ class serendipity_event_statistics extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_STATISTICS_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Arnan de Gans, Garvin Hicking, Fredrik Sandberg, kalkin, Matthias Mees, Ian');
$propbag->add('version', '1.62');
$propbag->add('version', '1.63');
$propbag->add('requirements', array(
'serendipity' => '1.6',
'smarty' => '2.6.7',
@ -762,7 +762,7 @@ class serendipity_event_statistics extends serendipity_event
<p><?php echo PLUGIN_EVENT_STATISTICS_EXT_VISSINCE." ".$visitors_count_firstday[0]; ?></p>
<span class="msg_notice"><span class="icon-info-circled"></span> <?php echo PLUGIN_EVENT_STATISTICS_EXT_COUNTDESC; ?></span>
<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> <?php echo PLUGIN_EVENT_STATISTICS_EXT_COUNTDESC; ?></span>
<dl>
<dt><?php echo PLUGIN_EVENT_STATISTICS_EXT_VISTODAY; ?></dt>
@ -787,7 +787,7 @@ class serendipity_event_statistics extends serendipity_event
}
echo '</ol>';
} else {
echo "<span class='msg_notice'><span class='icon-info-circled'></span> ".PLUGIN_EVENT_STATISTICS_EXT_TOPREFS_NONE."</span>";
echo "<span class='msg_notice'><span class='icon-info-circled' aria-hidden='true'></span> ".PLUGIN_EVENT_STATISTICS_EXT_TOPREFS_NONE."</span>";
}
?>
</section>
@ -1036,4 +1036,4 @@ class serendipity_event_statistics extends serendipity_event
}
/* vim: set sts=4 ts=4 expandtab : */
/* vim: set sts=4 ts=4 expandtab : */

View file

@ -1,3 +1,5 @@
0.8.1: Iconfont a11y fix (yellowled)
0.8: Adapt backend to 2.x (yellowled)
0.7: Fetch jQuery without protocol

View file

@ -25,7 +25,7 @@ class serendipity_event_template_editor extends serendipity_event {
$propbag->add('stackable', false);
$propbag->add('author', 'Malte Paskuda');
$propbag->add('license', 'GPL');
$propbag->add('version', '0.8.0');
$propbag->add('version', '0.8.1');
$propbag->add('requirements', array(
'serendipity' => '2.0'
));
@ -186,13 +186,13 @@ class serendipity_event_template_editor extends serendipity_event {
}
if (isset($serendipity['GET']['message'])) {
echo '<span class="msg_notice"><span class="icon-info-circled"></span>' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['message']) : htmlspecialchars($serendipity['GET']['message'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span>' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['message']) : htmlspecialchars($serendipity['GET']['message'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
}
if (isset($serendipity['GET']['success'])) {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['success']) : htmlspecialchars($serendipity['GET']['success'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['success']) : htmlspecialchars($serendipity['GET']['success'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
}
if (isset($serendipity['GET']['error'])) {
echo '<span class="msg_error"><span class="icon-attention-circled"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['error']) : htmlspecialchars($serendipity['GET']['error'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
echo '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ' . (function_exists('serendipity_specialchars') ? serendipity_specialchars($serendipity['GET']['error']) : htmlspecialchars($serendipity['GET']['error'], ENT_COMPAT, LANG_CHARSET)) . '</span>';
}
#only necessary for delivering the javascript and css
@ -346,7 +346,7 @@ class serendipity_event_template_editor extends serendipity_event {
echo "<li class=\"clearfix " . (++$filecount%2 ? "odd" : "even") . "\">
<span class=\"templateEditorListItem\">$file</span>
<ul class=\"plainList clearfix edit_actions\">
<li><a class=\"button_link\" href=\"{$serendipity['baseURL']}index.php?/plugin/template_editor_delete&template_editor_path={$path}{$file}\" title=\"" . DELETE . "\"><span class=\"icon-trash\"></span><span class=\"visuallyhidden\">" . DELETE . "</span></a></li>
<li><a class=\"button_link\" href=\"{$serendipity['baseURL']}index.php?/plugin/template_editor_delete&template_editor_path={$path}{$file}\" title=\"" . DELETE . "\"><span class=\"icon-trash\" aria-hidden=\"true\"></span><span class=\"visuallyhidden\">" . DELETE . "</span></a></li>
</ul>
</li>";
$jsDeleteDialogs .= sprintf('var DELETE_SURE_'.str_replace('.', '_', $file).'="'.DELETE_SURE.'";', $file);
@ -354,8 +354,8 @@ class serendipity_event_template_editor extends serendipity_event {
echo "<li class=\"clearfix " . (++$filecount%2 ? "odd" : "even") . "\">
<span class=\"templateEditorListItem\">$file</span>
<ul class=\"plainList clearfix edit_actions\">
<li><a class=\"button_link\" href=\"?&amp;serendipity[adminModule]=event_display&amp;serendipity[adminAction]=template_editor&amp;serendipity[template_editor_path]={$path}{$file}\" title=\"" . EDIT . "\"><span class=\"icon-edit\"></span><span class=\"visuallyhidden\">" . EDIT . "</span></a></li>
<li><a class=\"button_link\" href=\"{$serendipity['baseURL']}index.php?/plugin/template_editor_delete&template_editor_path={$path}{$file}\" title=\"" . DELETE . "\"><span class=\"icon-trash\"></span><span class=\"visuallyhidden\">" . DELETE . "</span></a></li>
<li><a class=\"button_link\" href=\"?&amp;serendipity[adminModule]=event_display&amp;serendipity[adminAction]=template_editor&amp;serendipity[template_editor_path]={$path}{$file}\" title=\"" . EDIT . "\"><span class=\"icon-edit\" aria-hidden=\"true\"></span><span class=\"visuallyhidden\">" . EDIT . "</span></a></li>
<li><a class=\"button_link\" href=\"{$serendipity['baseURL']}index.php?/plugin/template_editor_delete&template_editor_path={$path}{$file}\" title=\"" . DELETE . "\"><span class=\"icon-trash\" aria-hidden=\"true\"></span><span class=\"visuallyhidden\">" . DELETE . "</span></a></li>
</ul>
</li>";
$jsDeleteDialogs .= sprintf('var DELETE_SURE_'.str_replace('.', '_', $file).'="'.DELETE_SURE.'";', $file);
@ -382,7 +382,7 @@ class serendipity_event_template_editor extends serendipity_event {
echo '<ul id="templateEditorFolderList" class="plainList zebra_list templateEditorList">';
$dircount = 0;
foreach ($dirs as $dir) {
echo "<li class=\"" . (++$dircount%2 ? "odd" : "even") . "\"><span class=\"icon-folder-open\"></span> <a class=\"templateEditorListItem\" href=\"?&amp;serendipity[adminModule]=event_display&amp;serendipity[adminAction]=template_editor&serendipity[template_editor_path]={$path}{$dir}/\">$dir</a></li>";
echo "<li class=\"" . (++$dircount%2 ? "odd" : "even") . "\"><span class=\"icon-folder-open\" aria-hidden=\"true\"></span> <a class=\"templateEditorListItem\" href=\"?&amp;serendipity[adminModule]=event_display&amp;serendipity[adminAction]=template_editor&serendipity[template_editor_path]={$path}{$dir}/\">$dir</a></li>";
}
echo '</ul>';

View file

@ -1 +1,3 @@
1.25.1: Iconfont a11y fix (yellowled)
1.25.0: Adapt backend to 2.x (yellowled)

View file

@ -41,7 +41,7 @@ class serendipity_event_todolist extends serendipity_event {
'css_backend' => true
));
$propbag->add('author', 'Steven Tonnesen, Matthias Mees');
$propbag->add('version', '1.25.0');
$propbag->add('version', '1.25.1');
$propbag->add('requirements', array(
'serendipity' => '2.0',
'smarty' => '2.6.7',
@ -1534,12 +1534,12 @@ class serendipity_event_todolist extends serendipity_event {
if ($sort_idx == 0) {
$moveup = '<td>&nbsp;</td>';
} else {
$moveup = '<td><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=percentagedone&amp;submit=move+up&amp;serendipity[project_to_move]=' . $id . '"><span class="icon-up-dir"></span><span class="visuallyhidden">' . UP . '</span></a></td>';
$moveup = '<td><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=percentagedone&amp;submit=move+up&amp;serendipity[project_to_move]=' . $id . '"><span class="icon-up-dir" aria-hidden="true"></span><span class="visuallyhidden">' . UP . '</span></a></td>';
}
if ($sort_idx == (count($sql)-1)) {
$movedown = '<td>&nbsp;</td>';
} else {
$movedown = '<td><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=percentagedone&amp;submit=move+down&serendipity[project_to_move]=' . $id . '"><span class="icon-down-dir"></span><span class="visuallyhidden">'. DOWN .'</span></a></td>';
$movedown = '<td><a class="button_link" href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=percentagedone&amp;submit=move+down&serendipity[project_to_move]=' . $id . '"><span class="icon-down-dir" aria-hidden="true"></span><span class="visuallyhidden">'. DOWN .'</span></a></td>';
}
}
@ -2048,4 +2048,4 @@ class serendipity_event_todolist extends serendipity_event {
/* vim: set sts=4 ts=4 expandtab : */
?>
?>

View file

@ -1,3 +1,5 @@
0.31: Iconfont a11y fix (yellowled)
0.30: Adapt backend to 2.x (yellowled)
0.29: Fix user personal form - adds some line breaks, missing form tag and

View file

@ -97,7 +97,7 @@ class serendipity_event_userprofiles extends serendipity_event {
'genpage' => true
));
$propbag->add('author', 'Garvin Hicking, Falk Doering');
$propbag->add('version', '0.30');
$propbag->add('version', '0.31');
$propbag->add('requirements', array(
'serendipity' => '2.0',
'smarty' => '2.6.7',
@ -205,20 +205,20 @@ class serendipity_event_userprofiles extends serendipity_event {
echo '<h2>' . (function_exists('serendipity_specialchars') ? serendipity_specialchars(PLUGIN_EVENT_USERPROFILES_SELECT) : htmlspecialchars(PLUGIN_EVENT_USERPROFILES_SELECT, ENT_COMPAT, LANG_CHARSET)) . '</h2>'."\n";
if(!empty($serendipity['POST']['submitProfile'])) {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> ' . DONE . ': ' . sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) . '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> ' . DONE . ': ' . sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) . '</span>';
}
if(!empty($serendipity['POST']['submitProfileOptions'])) {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> ' . DONE . ': ' . sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) . '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> ' . DONE . ': ' . sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) . '</span>';
}
if(!empty($serendipity['POST']['createVcard'])) {
if ($this->createVCard($serendipity['POST']['profileUser'])) {
echo '<span class="msg_success"><span class="icon-ok-circled"></span> '. DONE . ': ' . sprintf(PLUGIN_EVENT_USERPROFILES_VCARDCREATED_AT, serendipity_strftime('%H:%M:%S')) . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled"></span> '. IMPORT_NOTES . ': '. PLUGIN_EVENT_USERPROFILES_VCARDCREATED_NOTE . '</span>';
echo '<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> '. DONE . ': ' . sprintf(PLUGIN_EVENT_USERPROFILES_VCARDCREATED_AT, serendipity_strftime('%H:%M:%S')) . '</span>';
echo '<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> '. IMPORT_NOTES . ': '. PLUGIN_EVENT_USERPROFILES_VCARDCREATED_NOTE . '</span>';
}
else {
echo '<span class="msg_error"><span class="icon-attention-circled"></span> '. ERROR . ': ' . PLUGIN_EVENT_USERPROFILES_VCARDNOTCREATED . '</span>';
echo '<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> '. ERROR . ': ' . PLUGIN_EVENT_USERPROFILES_VCARDNOTCREATED . '</span>';
}
}
@ -814,4 +814,4 @@ class serendipity_event_userprofiles extends serendipity_event {
}
}
/* vim: set sts=4 ts=4 expandtab : */
/* vim: set sts=4 ts=4 expandtab : */

View file

@ -1,3 +1,5 @@
2.16: Iconfont a11y fix (yellowled)
2.15: Use static function declaration
2.14: Added additional backend markup for 2.0 backend (yellowled)

View file

@ -20,7 +20,7 @@ class serendipity_event_pollbox extends serendipity_event {
$propbag->add('configuration', array('permalink', "articleformat", "pagetitle", "articleformattitle"));
$propbag->add('author', 'Garvin Hicking, Matthias Mees');
$propbag->add('groups', array('STATISTICS'));
$propbag->add('version', '2.15');
$propbag->add('version', '2.16');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',
@ -273,7 +273,7 @@ class serendipity_event_pollbox extends serendipity_event {
<?php
} else {
?>
<span class="msg_success"><span class="icon-ok-circled"></span> <?php echo DONE .': '. sprintf(RIP_ENTRY, (int)$serendipity['POST']['poll']); ?></span>
<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> <?php echo DONE .': '. sprintf(RIP_ENTRY, (int)$serendipity['POST']['poll']); ?></span>
<?php
}
}
@ -463,4 +463,4 @@ class serendipity_event_pollbox extends serendipity_event {
}
}
}
/* vim: set sts=4 ts=4 expandtab : */
/* vim: set sts=4 ts=4 expandtab : */