From 8ec332b3db5e29837064262282a1f3a545d97486 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 17 Jun 2008 12:06:45 +0000 Subject: [PATCH] Allow subscribers to comments to receive fulltext --- docs/NEWS | 4 ++++ include/functions_comments.inc.php | 13 ++++++++----- include/tpl/config_local.inc.php | 14 +++++++------- lang/UTF-8/plugin_lang.php | 1 + lang/UTF-8/serendipity_lang_bg.inc.php | 1 + lang/UTF-8/serendipity_lang_cn.inc.php | 3 ++- lang/UTF-8/serendipity_lang_cs.inc.php | 3 ++- lang/UTF-8/serendipity_lang_cz.inc.php | 3 ++- lang/UTF-8/serendipity_lang_da.inc.php | 3 ++- lang/UTF-8/serendipity_lang_de.inc.php | 11 ++++++----- lang/UTF-8/serendipity_lang_en.inc.php | 7 ++++--- lang/UTF-8/serendipity_lang_es.inc.php | 3 ++- lang/UTF-8/serendipity_lang_fa.inc.php | 3 ++- lang/UTF-8/serendipity_lang_fi.inc.php | 3 ++- lang/UTF-8/serendipity_lang_fr.inc.php | 3 ++- lang/UTF-8/serendipity_lang_hu.inc.php | 3 ++- lang/UTF-8/serendipity_lang_is.inc.php | 3 ++- lang/UTF-8/serendipity_lang_it.inc.php | 1 + lang/UTF-8/serendipity_lang_ja.inc.php | 3 ++- lang/UTF-8/serendipity_lang_ko.inc.php | 3 ++- lang/UTF-8/serendipity_lang_nl.inc.php | 3 ++- lang/UTF-8/serendipity_lang_no.inc.php | 3 ++- lang/UTF-8/serendipity_lang_pl.inc.php | 1 + lang/UTF-8/serendipity_lang_pt.inc.php | 3 ++- lang/UTF-8/serendipity_lang_pt_PT.inc.php | 1 + lang/UTF-8/serendipity_lang_ro.inc.php | 1 + lang/UTF-8/serendipity_lang_ru.inc.php | 3 ++- lang/UTF-8/serendipity_lang_sa.inc.php | 1 + lang/UTF-8/serendipity_lang_se.inc.php | 1 + lang/UTF-8/serendipity_lang_ta.inc.php | 1 + lang/UTF-8/serendipity_lang_tn.inc.php | 3 ++- lang/UTF-8/serendipity_lang_tr.inc.php | 1 + lang/UTF-8/serendipity_lang_tw.inc.php | 3 ++- lang/UTF-8/serendipity_lang_zh.inc.php | 3 ++- lang/addlang.txt | 2 +- lang/plugin_lang.php | 1 + lang/serendipity_lang_bg.inc.php | 1 + lang/serendipity_lang_cn.inc.php | 1 + lang/serendipity_lang_cs.inc.php | 1 + lang/serendipity_lang_cz.inc.php | 1 + lang/serendipity_lang_da.inc.php | 1 + lang/serendipity_lang_de.inc.php | 1 + lang/serendipity_lang_en.inc.php | 1 + lang/serendipity_lang_es.inc.php | 1 + lang/serendipity_lang_fa.inc.php | 1 + lang/serendipity_lang_fi.inc.php | 1 + lang/serendipity_lang_fr.inc.php | 1 + lang/serendipity_lang_hu.inc.php | 1 + lang/serendipity_lang_is.inc.php | 1 + lang/serendipity_lang_it.inc.php | 1 + lang/serendipity_lang_ja.inc.php | 1 + lang/serendipity_lang_ko.inc.php | 1 + lang/serendipity_lang_nl.inc.php | 1 + lang/serendipity_lang_no.inc.php | 1 + lang/serendipity_lang_pl.inc.php | 1 + lang/serendipity_lang_pt.inc.php | 1 + lang/serendipity_lang_pt_PT.inc.php | 1 + lang/serendipity_lang_ro.inc.php | 1 + lang/serendipity_lang_ru.inc.php | 1 + lang/serendipity_lang_sa.inc.php | 1 + lang/serendipity_lang_se.inc.php | 1 + lang/serendipity_lang_ta.inc.php | 1 + lang/serendipity_lang_tn.inc.php | 1 + lang/serendipity_lang_tr.inc.php | 1 + lang/serendipity_lang_tw.inc.php | 1 + lang/serendipity_lang_zh.inc.php | 1 + 66 files changed, 109 insertions(+), 40 deletions(-) diff --git a/docs/NEWS b/docs/NEWS index 2c5ff186..c6e0ce1e 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,10 @@ Version 1.4 () ------------------------------------------------------------------------ + * Change option to allow subscriptions to comments so that + fulltext comments can be mailed to subscribers. + (garvinhicking) + * Default .htaccess now contains a conditional rewrite pattern for fallback *.html generation. Thanks to absynth. (TODO: Regenerate .htaccess on update, maybe make this diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index 453d772c..200bd814 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -100,7 +100,7 @@ function serendipity_displayCommentForm($id, $url = '', $comments = NULL, $data 'commentform_subscribe' => isset($data['subscribe']) ? 'checked="checked"' : '', 'commentform_data' => isset($data['comment']) ? htmlspecialchars($data['comment']) : '', 'is_commentform_showToolbar' => $showToolbar, - 'is_allowSubscriptions' => $serendipity['allowSubscriptions'], + 'is_allowSubscriptions' => (serendipity_db_bool($serendipity['allowSubscriptions']) || $serendipity['allowSubscriptions'] === 'fulltext' ? true : false), 'is_moderate_comments' => $moderate_comments, 'commentform_entry' => $entry ); @@ -548,7 +548,9 @@ function serendipity_approveComment($cid, $entry_id, $force = false, $moderate = serendipity_db_query($query); if (!$moderate) { - if ($serendipity['allowSubscriptions']) { + if ($serendipity['allowSubscriptions'] === 'fulltext') { + serendipity_mailSubscribers($entry_id, $rs['author'], $rs['email'], $rs['title'], $rs['authoremail'], $cid, $rs['body']); + } elseif (serendipity_db_bool($serendipity['allowSubscriptions'])) { serendipity_mailSubscribers($entry_id, $rs['author'], $rs['email'], $rs['title'], $rs['authoremail'], $cid); } @@ -646,9 +648,10 @@ function serendipity_saveComment($id, $commentInfo, $type = 'NORMAL', $source = * @param string The title of the entry * @param string The mail address used to send emails from * @param int The ID of the comment that has been made + * @param string The body of the comment that has been made * @return null */ -function serendipity_mailSubscribers($entry_id, $poster, $posterMail, $title, $fromEmail = 'none@example.com', $cid = null) { +function serendipity_mailSubscribers($entry_id, $poster, $posterMail, $title, $fromEmail = 'none@example.com', $cid = null, $body = null) { global $serendipity; $entryURI = serendipity_archiveURL($entry_id, $title, 'baseURL') . ($cid > 0 ? '#c' . $cid : ''); @@ -684,7 +687,7 @@ function serendipity_mailSubscribers($entry_id, $poster, $posterMail, $title, $f $serendipity['blogTitle'], $title, $poster, - $entryURI, + ($body ? "\n\n" . $body . "\n" : '') . $entryURI, serendipity_rewriteURL('unsubscribe/' . urlencode($subscriber['email']) . '/' . (int)$entry_id, 'baseURL') ); } else { @@ -695,7 +698,7 @@ function serendipity_mailSubscribers($entry_id, $poster, $posterMail, $title, $f $serendipity['blogTitle'], $title, $poster, - $entryURI, + ($body ? "\n\n" . $body . "\n" : '') . $entryURI, serendipity_rewriteURL('unsubscribe/' . urlencode($subscriber['email']) . '/' . (int)$entry_id, 'baseURL') ); } diff --git a/include/tpl/config_local.inc.php b/include/tpl/config_local.inc.php index 2de2d3d9..68992627 100644 --- a/include/tpl/config_local.inc.php +++ b/include/tpl/config_local.inc.php @@ -319,13 +319,6 @@ 'permission' => 'siteConfiguration', 'flags' => array('installOnly', 'local')), - array('var' => 'allowSubscriptions', - 'title' => INSTALL_SUBSCRIBE, - 'description' => INSTALL_SUBSCRIBE_DESC, - 'type' => 'bool', - 'permission' => 'siteConfiguration', - 'default' => true), - array('var' => 'blogTitle', 'title' => INSTALL_BLOGNAME, 'description' => INSTALL_BLOGNAME_DESC, @@ -349,6 +342,13 @@ 'permission' => 'blogConfiguration', 'default' => ''), + array('var' => 'allowSubscriptions', + 'title' => INSTALL_SUBSCRIBE, + 'description' => INSTALL_SUBSCRIBE_DESC, + 'type' => 'list', + 'default' => array('true' => YES, 'false' => NO, 'fulltext' => FULL_COMMENT_TEXT), + 'permission' => 'siteConfiguration'), + array('var' => 'lang', 'title' => INSTALL_LANG, 'description' => INSTALL_LANG_DESC, diff --git a/lang/UTF-8/plugin_lang.php b/lang/UTF-8/plugin_lang.php index 865bb261..712b86d2 100644 --- a/lang/UTF-8/plugin_lang.php +++ b/lang/UTF-8/plugin_lang.php @@ -103,3 +103,4 @@ foreach($const['missing'] AS $file => $constants) { @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index fc1856cf..2995f950 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -906,3 +906,4 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('SET_TO_MODERATED', 'Модериране'); @define('COMMENT_MODERATED', 'Коментар #%s успешно е установен като модериран'); @define('CENTER', 'център'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index e378cc2e..c6606056 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -925,3 +925,4 @@ $i18n_filename_to = array ( @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 000bf118..6db0e523 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -925,3 +925,4 @@ $i18n_filename_to = array ( @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index e76e950e..b6d5600b 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -1,4 +1,4 @@ - @@ -914,3 +914,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 1e00e658..a74cadc1 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ -, @@ -933,3 +933,4 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index c66a058e..e8882357 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -1,4 +1,4 @@ - @@ -917,3 +917,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 85656aea..fc6a7a30 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -915,3 +915,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index 4c2f804a..135bc7d9 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -1,4 +1,4 @@ - @@ -922,3 +922,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 5c4645b8..9aee328f 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -60,7 +60,7 @@ @define('NAME', 'Név'); @define('EMAIL', 'email'); @define('HOMEPAGE', 'Honlap'); -@define('COMMENT', 'Hozzászólás'); +@define('COMMENT', 'Megjegyzés'); @define('REMEMBER_INFO', 'Megjegyezzem a megadott adatokat? '); @define('SUBMIT_COMMENT', 'Hozzászólás beküldése'); @define('NO_ENTRIES_TO_PRINT', 'Nincs mit megjeleníteni'); @@ -913,3 +913,4 @@ @define('PINGBACK_NOT_FOUND', 'Nem található hivatkozás az URL létezés ellenőrzéséhez.'); @define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Az archívum hivatkozás elrejtése, ha nincs abban az időszakban bejegyzés (a bejegyzések számolása szükséges)'); @define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS importálása, PHP5 szükséges, és lehet hogy sok memóriát igényel'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 0f8177d7..f62dba97 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -916,3 +916,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index 3df62556..0cd05bc7 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -919,3 +919,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 31e50ad0..9b56e8b2 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -1,4 +1,4 @@ -, 2004-2005. @@ -919,3 +919,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index fedeba0d..5b415194 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -918,3 +918,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 0c74931c..db2e87fe 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -917,3 +917,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 80566881..b8558d5f 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -918,3 +918,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_pl.inc.php b/lang/UTF-8/serendipity_lang_pl.inc.php index 15d3d63d..47d2e906 100644 --- a/lang/UTF-8/serendipity_lang_pl.inc.php +++ b/lang/UTF-8/serendipity_lang_pl.inc.php @@ -914,3 +914,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 296822ff..75b6c1ff 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -920,3 +920,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 9308e6a0..2df26737 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -927,3 +927,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 817d25d1..5af5f280 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -916,3 +916,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index 77b2946d..91b3552d 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -919,3 +919,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_sa.inc.php b/lang/UTF-8/serendipity_lang_sa.inc.php index 606f019b..5960aa50 100644 --- a/lang/UTF-8/serendipity_lang_sa.inc.php +++ b/lang/UTF-8/serendipity_lang_sa.inc.php @@ -834,3 +834,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index 6b851c6c..889cd397 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -915,3 +915,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_ta.inc.php b/lang/UTF-8/serendipity_lang_ta.inc.php index 55b4ea38..ae1e7899 100644 --- a/lang/UTF-8/serendipity_lang_ta.inc.php +++ b/lang/UTF-8/serendipity_lang_ta.inc.php @@ -915,3 +915,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index 76c63482..c69751ed 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -1,4 +1,4 @@ - @@ -919,3 +919,4 @@ $i18n_unknown = 'tw'; @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_tr.inc.php b/lang/UTF-8/serendipity_lang_tr.inc.php index e556030f..95802c31 100644 --- a/lang/UTF-8/serendipity_lang_tr.inc.php +++ b/lang/UTF-8/serendipity_lang_tr.inc.php @@ -919,3 +919,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 6d3a1610..3d64d1fa 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -920,3 +920,4 @@ $i18n_unknown = 'tw'; @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index b87dbb37..239fabd5 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -1,4 +1,4 @@ - $constants) { @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index 3afd5d9b..99022f01 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -906,3 +906,4 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('SET_TO_MODERATED', ''); @define('COMMENT_MODERATED', ' #%s '); @define('CENTER', ''); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index bf012b59..9b602db9 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -917,3 +917,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index 2f6f638d..388f2d80 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -925,3 +925,4 @@ $i18n_filename_to = array ( @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index 8da61692..d1524ba8 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -925,3 +925,4 @@ $i18n_filename_to = array ( @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index e83ac405..44c2b95f 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -914,3 +914,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index 53672996..609c1fc3 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -913,3 +913,4 @@ @define('SET_TO_MODERATED', 'Moderieren'); @define('COMMENT_MODERATED', 'Kommentar #%s wurde erfolgreich moderiert.'); @define('CENTER', 'mitte'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index acf02747..b59296d6 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -913,3 +913,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index 5ae1655d..4fbc8fed 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -933,3 +933,4 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index 58002575..e288ef42 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -917,3 +917,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index e0230e87..fbae1d70 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -915,3 +915,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index bf13059a..350740ca 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -922,3 +922,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index 1b201397..997d3cbc 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -913,3 +913,4 @@ @define('PINGBACK_NOT_FOUND', 'Nem tallhat hivatkozs az URL ltezs ellenrzshez.'); @define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Az archvum hivatkozs elrejtse, ha nincs abban az idszakban bejegyzs (a bejegyzsek szmolsa szksges)'); @define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS importlsa, PHP5 szksges, s lehet hogy sok memrit ignyel'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index 9727efd3..377c1f1d 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -916,3 +916,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index 159831fe..798b9d2b 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -919,3 +919,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index 5c3057c6..b1dc01ac 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -919,3 +919,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index d6177b85..7680bc3c 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -918,3 +918,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index b09921db..7174ca62 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -917,3 +917,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index dc9c4bbd..ae0c3269 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -918,3 +918,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_pl.inc.php b/lang/serendipity_lang_pl.inc.php index 2dc533eb..ba62c432 100644 --- a/lang/serendipity_lang_pl.inc.php +++ b/lang/serendipity_lang_pl.inc.php @@ -914,3 +914,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index cbb41c46..d4457d5c 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -920,3 +920,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index 6da9430f..c68878ee 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -927,3 +927,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 817d25d1..5af5f280 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -916,3 +916,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index 6d57c0be..afea0555 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -919,3 +919,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_sa.inc.php b/lang/serendipity_lang_sa.inc.php index 115a5d8e..bc54639c 100644 --- a/lang/serendipity_lang_sa.inc.php +++ b/lang/serendipity_lang_sa.inc.php @@ -834,3 +834,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index b7bfa1e0..b5dc51a7 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -915,3 +915,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index 55b4ea38..ae1e7899 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -915,3 +915,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index 6715b535..a96925c5 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -919,3 +919,4 @@ $i18n_unknown = 'tw'; @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_tr.inc.php b/lang/serendipity_lang_tr.inc.php index e556030f..95802c31 100644 --- a/lang/serendipity_lang_tr.inc.php +++ b/lang/serendipity_lang_tr.inc.php @@ -919,3 +919,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index 4acf9b91..fd29c008 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -920,3 +920,4 @@ $i18n_unknown = 'tw'; @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index a4499cda..ea77a453 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -916,3 +916,4 @@ @define('SET_TO_MODERATED', 'Moderate'); @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); +@define('FULL_COMMENT_TEXT', 'Yes, with full comment text');