]> git.mjollnir.org Git - s9y.git/commitdiff
Fix to not lock you out of usergroups anymore
authorgarvinhicking <garvinhicking>
Wed, 28 Dec 2005 19:47:27 +0000 (19:47 +0000)
committergarvinhicking <garvinhicking>
Wed, 28 Dec 2005 19:47:27 +0000 (19:47 +0000)
57 files changed:
docs/NEWS
include/admin/personal.inc.php
include/admin/users.inc.php
lang/UTF-8/serendipity_lang_bg.inc.php
lang/UTF-8/serendipity_lang_cn.inc.php
lang/UTF-8/serendipity_lang_cs.inc.php
lang/UTF-8/serendipity_lang_cz.inc.php
lang/UTF-8/serendipity_lang_da.inc.php
lang/UTF-8/serendipity_lang_de.inc.php
lang/UTF-8/serendipity_lang_en.inc.php
lang/UTF-8/serendipity_lang_es.inc.php
lang/UTF-8/serendipity_lang_fa.inc.php
lang/UTF-8/serendipity_lang_fi.inc.php
lang/UTF-8/serendipity_lang_fr.inc.php
lang/UTF-8/serendipity_lang_hu.inc.php
lang/UTF-8/serendipity_lang_is.inc.php
lang/UTF-8/serendipity_lang_it.inc.php
lang/UTF-8/serendipity_lang_ja.inc.php
lang/UTF-8/serendipity_lang_ko.inc.php
lang/UTF-8/serendipity_lang_nl.inc.php
lang/UTF-8/serendipity_lang_no.inc.php
lang/UTF-8/serendipity_lang_pt.inc.php
lang/UTF-8/serendipity_lang_pt_PT.inc.php
lang/UTF-8/serendipity_lang_ro.inc.php
lang/UTF-8/serendipity_lang_ru.inc.php
lang/UTF-8/serendipity_lang_se.inc.php
lang/UTF-8/serendipity_lang_tn.inc.php
lang/UTF-8/serendipity_lang_tw.inc.php
lang/UTF-8/serendipity_lang_zh.inc.php
lang/addlang.txt
lang/serendipity_lang_bg.inc.php
lang/serendipity_lang_cn.inc.php
lang/serendipity_lang_cs.inc.php
lang/serendipity_lang_cz.inc.php
lang/serendipity_lang_da.inc.php
lang/serendipity_lang_de.inc.php
lang/serendipity_lang_en.inc.php
lang/serendipity_lang_es.inc.php
lang/serendipity_lang_fa.inc.php
lang/serendipity_lang_fi.inc.php
lang/serendipity_lang_fr.inc.php
lang/serendipity_lang_hu.inc.php
lang/serendipity_lang_is.inc.php
lang/serendipity_lang_it.inc.php
lang/serendipity_lang_ja.inc.php
lang/serendipity_lang_ko.inc.php
lang/serendipity_lang_nl.inc.php
lang/serendipity_lang_no.inc.php
lang/serendipity_lang_pt.inc.php
lang/serendipity_lang_pt_PT.inc.php
lang/serendipity_lang_ro.inc.php
lang/serendipity_lang_ru.inc.php
lang/serendipity_lang_se.inc.php
lang/serendipity_lang_tn.inc.php
lang/serendipity_lang_tw.inc.php
lang/serendipity_lang_zh.inc.php
plugins/serendipity_event_statistics/serendipity_event_statistics.php

index 2cdd3c3113095c2d2257711b8af1e2b335da844d..735072a10b06130c888f9314dc452d1a5fda6d2c 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,9 @@
 Version 0.9.2 ()
 ------------------------------------------------------------------------
 
+   * Fix personal configuration no more able to lock you out of all
+     user groups (garvinhicking)
+
    * File CSS stylesheets occasionally not returning the right path
      (garvinhicking)
 
index 3ae27c102c7c8681840bfee1db6e05236cf9ee6c..32d670bdadcd21990def6385eb322989cbdb1654 100644 (file)
@@ -14,7 +14,7 @@ $from = array();
 
 if ($serendipity['GET']['adminAction'] == 'save' && serendipity_checkFormToken()) {
     $config = serendipity_parseTemplate(S9Y_CONFIG_USERTEMPLATE);
-    if ( (!serendipity_checkPermission('adminUsersEditUserlevel') || !serendipity_checkPermission('adminUsersMaintainOthers') ) 
+    if ( (!serendipity_checkPermission('adminUsersEditUserlevel') || !serendipity_checkPermission('adminUsersMaintainOthers') )
           && (int)$_POST['userlevel'] > $serendipity['serendipityUserlevel']) {
         echo '<div class="serendipityAdminMsgError">' . CREATE_NOT_AUTHORIZED_USERLEVEL . '</div>';
     } elseif (!empty($_POST['password']) && $_POST['check_password'] != $_SESSION['serendipityPassword'] && md5($_POST['check_password']) != $_SESSION['serendipityPassword']) {
@@ -44,7 +44,11 @@ if ($serendipity['GET']['adminAction'] == 'save' && serendipity_checkFormToken()
                         continue;
                     }
 
-                    serendipity_updateGroups($_POST[$item['var']], $serendipity['authorid']);
+                    if (count($_POST[$item['var']]) < 1) {
+                        echo '<div class="serendipityAdminMsgError">' . WARNING_NO_GROUPS_SELECTED . '</div>';
+                    } else {
+                        serendipity_updateGroups($_POST[$item['var']], $serendipity['authorid']);
+                    }
                     continue;
                 }
 
@@ -74,12 +78,12 @@ if ($serendipity['GET']['adminAction'] == 'save' && serendipity_checkFormToken()
 } ?>
 
 <form action="?serendipity[adminModule]=personal&amp;serendipity[adminAction]=save" method="post">
-<?php 
+<?php
 echo serendipity_setFormToken();
 $template       = serendipity_parseTemplate(S9Y_CONFIG_USERTEMPLATE);
 $user           = serendipity_fetchUsers($serendipity['authorid']);
 $from           = $user[0];
-$from['groups'] = serendipity_getGroups($serendipity['authorid']); 
+$from['groups'] = serendipity_getGroups($serendipity['authorid']);
 unset($from['password']);
 serendipity_printConfigTemplate($template, $from, true, false);
 ?>
index 5e413f797167bb5a4f2eef8bfc4ac9d238dcc9d2..f6342111b0c1d4a643f9a213be09a6a2c9a2023c 100644 (file)
@@ -21,7 +21,7 @@ if (isset($_POST['DELETE_YES']) && serendipity_checkFormToken()) {
         echo '<div class="serendipityAdminMsgError">' . CREATE_NOT_AUTHORIZED_USERLEVEL . '</div>';
     } else {
         $group_intersect = serendipity_intersectGroup($user[0]['authorid']);
-        
+
         if (serendipity_checkPermission('adminUsersMaintainOthers') ||
             (serendipity_checkPermission('adminUsersMaintainSame') && $group_intersect)) {
             serendipity_deleteAuthor($user[0]['authorid']);
@@ -66,7 +66,11 @@ if (isset($_POST['SAVE_NEW']) && serendipity_checkFormToken()) {
                         continue;
                     }
 
-                    serendipity_updateGroups($_POST[$item['var']], $serendipity['POST']['user']);
+                    if (count($_POST[$item['var']]) < 1) {
+                        echo '<div class="serendipityAdminMsgError">' . WARNING_NO_GROUPS_SELECTED . '</div>';
+                    } else {
+                        serendipity_updateGroups($_POST[$item['var']], $serendipity['POST']['user']);
+                    }
                     continue;
                 }
 
@@ -118,7 +122,11 @@ if (isset($_POST['SAVE_EDIT']) && serendipity_checkFormToken()) {
                         continue;
                     }
 
-                    serendipity_updateGroups($_POST[$item['var']], $serendipity['POST']['user']);
+                    if (count($_POST[$item['var']]) < 1) {
+                        echo '<div class="serendipityAdminMsgError">' . WARNING_NO_GROUPS_SELECTED . '</div>';
+                    } else {
+                        serendipity_updateGroups($_POST[$item['var']], $serendipity['POST']['user']);
+                    }
                     continue;
                 }
 
@@ -221,7 +229,7 @@ if ( ($serendipity['GET']['adminAction'] == 'edit' && serendipity_checkPermissio
 if ($serendipity['GET']['adminAction'] == 'edit') {
     $user = serendipity_fetchUsers($serendipity['GET']['userid']);
     $group_intersect = serendipity_intersectGroup($user[0]['authorid']);
-        
+
     if ($user[0]['userlevel'] >= $serendipity['serendipityUserlevel'] && $user[0]['authorid'] != $serendipity['authorid'] && !serendipity_checkPermission('adminUsersMaintainOthers')) {
         echo '<strong>' . CREATE_NOT_AUTHORIZED . '</strong><br />';
         echo EDIT;
@@ -250,7 +258,7 @@ if (!empty($serendipity['GET']['userid'])) {
     $from['groups'] = serendipity_getGroups($serendipity['GET']['userid']);
 } else {
     $from['groups'] = array();
-} 
+}
 
 serendipity_printConfigTemplate($config, $from, true, false);
 
index dac6452efef3f13ae5f271f4f9ade9abcfbce845..d2ea2a8f7a8d93ac71c8ff89a51676f35870798b 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_bg.inc.php 694 2005-11-13 09:14:15Z ogi $
+<?php # $Id: serendipity_lang_bg.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2004 Bogomil Shopov <bogomil@spisanie.com>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Ако тази опция е активирана, броят на статиите от този автор ще бъде показан до името на автора в скоби.');
 
 @define('COMMENT_NOT_ADDED', 'Не можете да добавите коментар, защото са забранени коментарите към тази статия.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index c2392c3a0b79de9e8df802d4e32a856beb0d8147..92e383136b4b9ac76d18bcac30037537d4760ea6 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cn.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_cn.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', '您的回响不能增入因为此篇文章不允许回响. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index e8467eee3c582d0b42f04d240b5451334790f8ae..5ae15c3ddc12999320ba3cbf17cfb44b3c83b235 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cs.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_cs.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2005 Josef Klimosz <ok2wo@centrum.cz>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Váš komentář nebyl přidán, protože  k tomuto záznamu nejsou komentáře umožněny. %sVraťte se%s zpět ke komentářům nebo %szavřete%s toto okno.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 91496003228797396a59d7fd69368f3c81e7c334..25c75634ef75348c580a00b2f14f6d5e61047185 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cz.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_cz.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2004 Josef Klimosz <ok2wo@centrum.cz>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Váš komentář nebyl přidán, protože  k tomuto záznamu nejsou komentáře umožněny. %sVraťte se%s zpět ke komentářům nebo %szavřete%s toto okno.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index afd2fffba5184e11b600d2185eaba6842ab9259a..7c0131754059d5458ad427396128c7f6873e6541 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_da.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_da.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Tom Sommer, <ts@dreamcoder.dk>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Din kommentar kunne ikke tilføjes fordi kommentarer til denne artikel er blevet deaktiveret.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 07fc9365cba363be8ab4a7f127f884406260a260..15c9cd3301f6adc4b92cc9d57b7a5b04ea0222e0 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_de.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_de.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) Jannis Hermanns, Garvin Hicking and others
 @define('CATEGORY_PLUGIN_SHOWCOUNT', 'Show number of entries per category?');
 @define('AUTHORS_SHOW_ARTICLE_COUNT', 'Show number of articles next to author name?');
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index aeeb3d85f9260534aebb90ae7f8571c4a721a5fa..4addb402a78f21fa4fd78c709c5ac393fc090b4d 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_en.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_en.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('CATEGORY_PLUGIN_SHOWCOUNT', 'Show number of entries per category?');
 @define('AUTHORS_SHOW_ARTICLE_COUNT', 'Show number of articles next to author name?');
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 89b141cdcec2c99ff114c467c08acc8176fbfb8b..db0ba33a87b6285071a42d2adea065b36d61932b 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_es.inc.php 606 2005-10-26 08:08:50Z garvinhicking $
+<?php # $Id: serendipity_lang_es.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Luis Cervantes <LuisCervantes@ono.com>,
@@ -816,3 +816,4 @@ Next constants should be placed with its brothers, right?
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Si esta opción es activada, el número de artículos del autor se muestra al lado del nombre del autor en paréntesis.');
 
 @define('COMMENT_NOT_ADDED', 'Tu comentario no ha podido ser añadido, la posibilidad de añadir comentarios a esta entrada ha sido desactivada.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index c85ccf4bcaf298adeab39f7662f4db223d4949ea..0bfb39930f09071c113a20d8e8e9ad78dcf2db36 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fa.inc.php 595 2005-10-24 17:54:43Z omidmottaghi $
+<?php # $Id: serendipity_lang_fa.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved. See LICENSE file for licensing details
 # this translation, translated by Omid Mottaghi <http://oxygenws.com>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'اگر این گزینه فعال باشد، تعداد ارسال های یک نویسنده، جلوی نام وی، داخل پرانتز، نمایش داده می شود.');
 
 @define('COMMENT_NOT_ADDED', 'ارسال نظر برای این مطلب ممکن نیست. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index e75a29939ee1e3c552d125441af269b1b2a53dc1..f949a273f31b997d80501d56503b0e7e429c9ace 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fi.inc.php 600 2005-10-25 10:08:17Z garvinhicking $
+<?php # $Id: serendipity_lang_fi.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Mauri Sahlberg <mos@iki.fi>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Tämän kirjauksen kommentointi ei ole sallittua. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 913cbb31b16a9c3e46d3ea98477b736bff05684f..38dd5d7089d234f3cd4dc503b29636fe9d3a27b3 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fr.inc.php 607 2005-10-26 08:40:05Z garvinhicking $
+<?php # $Id: serendipity_lang_fr.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Sebastian Mordziol <argh@php-tools.net>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Si cette option est activée, le nombre de billets crées par cet auteur seront affichés à côté de son nom, entre parenthèses.');
 
 @define('COMMENT_NOT_ADDED', 'Votre commentaire n\'a pas pû être ajouté, car les commentaires pour ce billet ont été désactivés. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 2b5e13a9da52709d659d63ad6596adb18570b05b..e0bb0b208eb98713d5bef073f5711a6d2844b6e1 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'A megjegyzések hozzáfűzése le van tiltva, így nem tudom a tiedet sem hozzáadni. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 45bcba9a304fb69e6c502136c4777150905c7c8f..a827d7744d78881a24af109ff2464ea7293c8555 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_is.inc.php 669 2005-11-09 13:26:15Z garvinhicking $
+<?php # $Id: serendipity_lang_is.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Örn Arnarson <orn@arnarson.net>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Ef þessi möguleiki er virkjaður mun fjöldi greina eftir þennan höfund vera sýndur við hliðina á nafni hans innan sviga.');
 
 @define('COMMENT_NOT_ADDED', 'Gat ekki bætt athugasemd þinni við, því athugasemdir hafa verið gerðar óvirkar fyrir þessa færslu. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 21e32ba4183cad4688c9aab6eb93daad281375fc..6e3eb0dae69e30863cda70de5938170b4bf07fc2 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_it.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_it.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Alessandro Pellizzari <alex@amiran.it>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Il tuo commento non può essere aggiunto, perché i commenti per questa notizia sono stati disattivati. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index a56cccc52d09002791050df42f72521c8037b7f1..c30f868f57139d2a58dfd23cc59a05ee529f0dd9 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ja.inc.php 629 2005-10-30 20:59:59Z elf2000 $
+<?php # $Id: serendipity_lang_ja.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) Tadashi Jokagi <elf2000@users.sourceforge.net>, 2004-2005.
 @define('LINK','リンク');
 
 @define('COMMENT_NOT_ADDED', 'このエントリへのコメントが無効になったのでコメントは追加できませんでした。'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 9d44f02a309f4bbb4f149f445794d4fde4d0d6b1..d50e321c8dc14815d1ef0a6d06b201290bf3bed4 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ko.inc.php 603 2005-10-25 11:36:06Z wesley $
+<?php # $Id: serendipity_lang_ko.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by: Wesley Hwang-Chung <wesley96@gmail.com>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', '사용할 경우, 각 작성자의 이름 옆 괄호 속에 해당 작성자가 쓴 글의 수를 표시합니다.');
 
 @define('COMMENT_NOT_ADDED', '덧글 금지가 되어 있어 덧글을 추가하지 못했습니다. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index f2d592b9c70207ada51f664f2129fdb5405d5d96..e63269d1d67f99030b0e48711ba844a4207a3d2d 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_nl.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_nl.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Christiaan Heerze <webmaster@heimp.nl>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Uw reactie kon niet worden toegevoegd omdat deze functie voor deze inzending is uitgeschakeld. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 5ca59270ada153feefe9bcda098192138294edac..66dee75b890af8bd0f6fbda34cbe2d803392775e 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_no.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_no.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Jo Christian Oterhals <oterhals@gmail.com>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Din kommentar kunne ikke legges til fordi kommentarer til denne artikkelen er blitt deaktivert.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 9c4acdb159cc5b6f12dd072d2b599dff45234c42..360a07029892377784a4730acfe26d949c15fe4a 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_pt.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_pt.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Agner Olson <agner@agner.net>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Seus comentários não foram adicionados, porque comentários para este artigo foram desabilitadas. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index eea43ce117e928699acc535dc7b2485d9b38b136..2510098e9249774f5d2f190ee6e0918f95de1d45 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Se esta opção for activada, o número de artigos deste autor será mostrado entre parêntesis junto ao nome do autor.');
 
 @define('COMMENT_NOT_ADDED', 'Os seus comentários não foram adicionados, porque comentários para este artigo não estão autorizados. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 854499badce9286344d58b7761fc060508f05421..c3b7397d2881f1fdedbfdee55592bf4c34544f08 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Comentariul tău nu a putut fi adăugat, deoarece autorul nu permite comentarii la această însemnare. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index cb5f4366e71b638069b7be011c853666a261e7c1..1541e4dea46693d532f7cc6cc29cca31ae6fb2c3 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ru.inc.php 665 2005-11-07 19:34:28Z garvinhicking $
+<?php # $Id: serendipity_lang_ru.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
@@ -799,3 +799,4 @@ $i18n_filename_to   = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Если эта опция включена, то в скобках возле имени автора приводится общее число сделанных им записей.');
 
 @define('COMMENT_NOT_ADDED', 'Ваш комментарий не смог быть добавлен, потому что эту запись запрещено комментировать. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index a3d36cfd752c5255f3fde556156474e110e49330..b688578d10defa9970d7d9014863b580bb1bfe1e 100644 (file)
 @define('CUSTOM_ADMIN_INTERFACE', 'Personligt administrationsgränssnitt tillgänligt');
 
 @define('COMMENT_NOT_ADDED', 'Din kommentar kunde inte läggas till därför att kommentarer inte är tillåtna för denna artikel. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 80e14f7baed4f53fdefee8b7b0dfa221ba2df7e7..dfc94ea3f6bfb7f8dfcb822e84d0bfc18d6ee937 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_tn.inc.php 571 2005-10-18 20:07:05Z capriskye $
+<?php # $Id: serendipity_lang_tn.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by CapriSkye <admin@capriskye.com>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', '如果開啟這個設定,作者的文章數會顯示在名稱旁邊。');
 
 @define('COMMENT_NOT_ADDED', '您的迴響不能增入因為此篇文章不允許迴響. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 9bcd15a683c91d7862b89d6c43ec6959544ac655..04708ca747df52c96961b9fa12b864f03c4e7d1d 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_tw.inc.php 571 2005-10-18 20:07:05Z capriskye $
+<?php # $Id: serendipity_lang_tw.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by CapriSkye <admin@capriskye.com>
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', '如果開啟這個設定,作者的文章數會顯示在名稱旁邊。');
 
 @define('COMMENT_NOT_ADDED', '您的迴響不能增入因為此篇文章不允許迴響. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 0b328d66c140c0489eee45e22393ea32818f0f1f..254d0839b27f23433092fe50839cc705a0f1cc8e 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_zh.inc.php 568 2005-10-18 19:01:10Z garvinhicking $
+<?php # $Id: serendipity_lang_zh.inc.php 716 2005-11-21 08:58:33Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', '您的回响不能增入因为此篇文章不允许回响. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index df9d37003aa86ce5f2928df219a1c5c7de887d53..d04d183d043bdb5b59e8110b0969f9c7f0dc10a7 100644 (file)
@@ -1,2 +1 @@
-@define('AUTHORS_SHOW_ARTICLE_COUNT', 'Show number of articles next to author name?');
-@define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index edba3900e8d95250b35bf1f8579e00f0c6221b19..8b8f9eb8907633ba0a31230b0929a3272b0e141a 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Àêî òàçè îïöèÿ å àêòèâèðàíà, áðîÿò íà ñòàòèèòå îò òîçè àâòîð ùå áúäå ïîêàçàí äî èìåòî íà àâòîðà â ñêîáè.');
 
 @define('COMMENT_NOT_ADDED', 'Íå ìîæåòå äà äîáàâèòå êîìåíòàð, çàùîòî ñà çàáðàíåíè êîìåíòàðèòå êúì òàçè ñòàòèÿ.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index e7e1d12021ad5276e2ea6b88077591352bfb6ac7..adc87a4586ea8f9f6853fd3d965d3d150661cee3 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', '您的回响不能增入因为此篇文章不允许回响. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 257958c0414792c9f0074445c595603a3c10fb57..14a9f8171b902983a910d583f51713a94b1a8421 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Vá\9a komentáø nebyl pøidán, proto\9ee  k tomuto záznamu nejsou komentáøe umo\9enìny. %sVra\9dte se%s zpìt ke komentáøùm nebo %szavøete%s toto okno.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 87561cf8f85ab31238f9b4118a5e3aafff1ab6a1..8d507da96c89f724de60777166487525cb6996ef 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Vá¹ komentáø nebyl pøidán, proto¾e  k tomuto záznamu nejsou komentáøe umo¾nìny. %sVra»te se%s zpìt ke komentáøùm nebo %szavøete%s toto okno.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index c105b51ba0b1588c2aa16d7587bc95bcf7baa307..1b53fa92256b0820351c335913291df0734592a2 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Din kommentar kunne ikke tilføjes fordi kommentarer til denne artikel er blevet deaktiveret.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 45350ee66d7e769f54fa6c40a9140fb11427676e..911ef7b72ee0750594506c820e0988ee24b3ee72 100644 (file)
 @define('CATEGORY_PLUGIN_SHOWCOUNT', 'Show number of entries per category?');
 @define('AUTHORS_SHOW_ARTICLE_COUNT', 'Show number of articles next to author name?');
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 6b789f7c3fa2822f9fb7289dcab7a0f4d13c0de8..2ee879dbe599d22dda3ab86f201debc3653768db 100644 (file)
 @define('CATEGORY_PLUGIN_SHOWCOUNT', 'Show number of entries per category?');
 @define('AUTHORS_SHOW_ARTICLE_COUNT', 'Show number of articles next to author name?');
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index a55bbe29616b55807030661a7ed0b2cada60a02d..f034653bff92c672a2afa23a8754f4e7f3e6b63c 100644 (file)
@@ -816,3 +816,4 @@ Next constants should be placed with its brothers, right?
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Si esta opción es activada, el número de artículos del autor se muestra al lado del nombre del autor en paréntesis.');
 
 @define('COMMENT_NOT_ADDED', 'Tu comentario no ha podido ser añadido, la posibilidad de añadir comentarios a esta entrada ha sido desactivada.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index da0f584fae03dbab88f52c33113e24c067cec8a9..53fcd25a33caeb1d1a01753b35dfb389320c1eef 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'اگر این گزینه فعال باشد، تعداد ارسال های یک نویسنده، جلوی نام وی، داخل پرانتز، نمایش داده می شود.');
 
 @define('COMMENT_NOT_ADDED', 'ارسال نظر برای این مطلب ممکن نیست. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index fb547f4cc0f42467d9d93aee88b2ef007fe7bff0..5f6c9e7d8c95d0a85c8480dcf88958b4a1a34176 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Tämän kirjauksen kommentointi ei ole sallittua. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 2bd6ac977f3612aaada5986f99f050f2e359f76f..2c46b6494aa2851d848e7e7df5a68b98ee8bfad3 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Si cette option est activée, le nombre de billets crées par cet auteur seront affichés à côté de son nom, entre parenthèses.');
 
 @define('COMMENT_NOT_ADDED', 'Votre commentaire n\'a pas pû être ajouté, car les commentaires pour ce billet ont été désactivés. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 957070e7a7fcdff882b67d30c348228c10a718aa..11cbf3f4117cdf30bb23ab01fbdaec348abaae5b 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'A megjegyzések hozzáfûzése le van tiltva, így nem tudom a tiedet sem hozzáadni. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 7cc9096d28609cdf77f2076b0106caf850f8dcc0..4aff3480091fdb7a26f28e93020b6a34e2af3009 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Ef þessi möguleiki er virkjaður mun fjöldi greina eftir þennan höfund vera sýndur við hliðina á nafni hans innan sviga.');
 
 @define('COMMENT_NOT_ADDED', 'Gat ekki bætt athugasemd þinni við, því athugasemdir hafa verið gerðar óvirkar fyrir þessa færslu. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 7e7f2cff5e8925162b9763be1b8a40e0d6dee15f..ad8f066352fb8d2624ffd8d5b9ffda0f81fda5d6 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Il tuo commento non può essere aggiunto, perché i commenti per questa notizia sono stati disattivati. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 5cbba740e3295e154ed91c0a1d1438cfea1bba7e..449d39e86b23269438fd49eafbdbdbc0ab4d0b69 100644 (file)
 @define('LINK','リンク');
 
 @define('COMMENT_NOT_ADDED', 'このエントリへのコメントが無効になったのでコメントは追加できませんでした。'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 77eb2969fde3a038a20fdadaf59d79c7edcf1353..b64e7926a53460deef3ed4931fbe2ef094791c4d 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', '사용할 경우, 각 작성자의 이름 옆 괄호 속에 해당 작성자가 쓴 글의 수를 표시합니다.');
 
 @define('COMMENT_NOT_ADDED', '덧글 금지가 되어 있어 덧글을 추가하지 못했습니다. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index fe20515e5631774f4522eff0afcf5ab28fcfed72..eadadd1c4b6b97e7a206510b952f9d474ec3c0bd 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Uw reactie kon niet worden toegevoegd omdat deze functie voor deze inzending is uitgeschakeld. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 095fe28ccc019d7e792e5abbf90872ea8056b467..af341253895bfda4573aea6c7b3e8e5a42908cf4 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Din kommentar kunne ikke legges til fordi kommentarer til denne artikkelen er blitt deaktivert.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 0885d07ec16f43f9c88922795318723acf22849a..a37b9944cb4fcdfac22da09f733fae63bbbd9106 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Seus comentários não foram adicionados, porque comentários para este artigo foram desabilitadas. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index b86f954bcae90fdebeb241aca72a0e2633d5e668..795f9fc20578088012f364f7e29b2f7928f24e33 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Se esta opção for activada, o número de artigos deste autor será mostrado entre parêntesis junto ao nome do autor.');
 
 @define('COMMENT_NOT_ADDED', 'Os seus comentários não foram adicionados, porque comentários para este artigo não estão autorizados. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 854499badce9286344d58b7761fc060508f05421..c3b7397d2881f1fdedbfdee55592bf4c34544f08 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'Comentariul tău nu a putut fi adăugat, deoarece autorul nu permite comentarii la această însemnare. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index d3dbcd26a6763b5873c342c49fd6aa0e5fdc8b1c..96ba8206ed89eea5f11777629256d7cfe513c9af 100644 (file)
@@ -799,3 +799,4 @@ $i18n_filename_to   = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Если эта опция включена, то в скобках возле имени автора приводится общее число сделанных им записей.');
 
 @define('COMMENT_NOT_ADDED', 'Ваш комментарий не смог быть добавлен, потому что эту запись запрещено комментировать. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 09318ef42fbd7e99823eeacae58f443cbdfbcc4a..05f3747319c4bf39c83d5dc421445294ff533046 100644 (file)
 @define('CUSTOM_ADMIN_INTERFACE', 'Personligt administrationsgränssnitt tillgänligt');
 
 @define('COMMENT_NOT_ADDED', 'Din kommentar kunde inte läggas till därför att kommentarer inte är tillåtna för denna artikel. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index b5e1c3f088fdbc190667dcd1fc0b61cf478eaaac..b6afc272eaa9286202f233dee5e36324b02f2b1c 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', '如果開啟這個設定,作者的文章數會顯示在名稱旁邊。');
 
 @define('COMMENT_NOT_ADDED', '您的迴響不能增入因為此篇文章不允許迴響. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index b2c8f2ad11ec104ac4bcecac3a830cdab5ad0635..ae33e5d93cc79e9f04b74b9d464a4781991e5421 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', '¦pªG¶}±Ò³o­Ó³]©w¡A§@ªÌªº¤å³¹¼Æ·|Åã¥Ü¦b¦WºÙ®ÇÃä¡C');
 
 @define('COMMENT_NOT_ADDED', '±zªº°jÅT¤£¯à¼W¤J¦]¬°¦¹½g¤å³¹¤£¤¹³\°jÅT. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index 7a59b491e65564c723075a79ae59aa8db7a99af9..c4623561d03f68919d0e70912b476f6dfb918520 100644 (file)
 @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'If this option is enabled, the number of articles by this author is shown next to the authors name in parentheses.');
 
 @define('COMMENT_NOT_ADDED', 'ÄúµÄ»ØÏì²»ÄÜÔöÈëÒòΪ´ËƪÎÄÕ²»ÔÊÐí»ØÏì. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.'
+@define('WARNING_NO_GROUPS_SELECTED', 'Warning: You did not select any group memberships. This would effectively log you out of the usergroup management, and thus your group memberships werde not changed.');
index c49b32a5f0a72ccad14e2d115dca57ad354925f9..afd2e0c3b20433d8725a0b5e375f5a2678fb6a9d 100644 (file)
@@ -65,7 +65,7 @@ if (file_exists($probelang)) {
 @define('PLUGIN_EVENT_STATISTICS_EXT_VISITORS', 'Nr of vistors');
 @define('PLUGIN_EVENT_STATISTICS_EXT_VISTODAY', 'Nr of vistors today');
 @define('PLUGIN_EVENT_STATISTICS_EXT_VISTOTAL', 'Total nr of vistors');
-@define('PLUGIN_EVENT_STATISTICS_EXT_VISSINCE', 'The extended visitor´s statistic feature has collected data since');
+@define('PLUGIN_EVENT_STATISTICS_EXT_VISSINCE', 'The extended visitors statistic feature has collected data since');
 @define('PLUGIN_EVENT_STATISTICS_EXT_VISLATEST', 'Latest Visitors');
 @define('PLUGIN_EVENT_STATISTICS_EXT_TOPREFS', 'Top Referrers');
 @define('PLUGIN_EVENT_STATISTICS_EXT_TOPREFS_NONE', 'No referrers has yet been registered.');
@@ -73,7 +73,7 @@ if (file_exists($probelang)) {
 @define('PLUGIN_EVENT_STATISTICS_BANNED_HOSTS', 'Ban browsers from beeing counted');
 @define('PLUGIN_EVENT_STATISTICS_BANNED_HOSTS_DESC', 'Insert browsers that should be excluded from counting, separated by "|"');
 
-        
+
 class serendipity_event_statistics extends serendipity_event
 {
     var $title = PLUGIN_EVENT_STATISTICS_NAME;
@@ -111,8 +111,8 @@ class serendipity_event_statistics extends serendipity_event
                 $propbag->add('description', PLUGIN_EVENT_STATISTICS_MAX_ITEMS_DESC);
                 $propbag->add('default', 20);
                 break;
-                
-             
+
+
             case 'ext_vis_stat':
                 $select = array('no' => PLUGIN_EVENT_STATISTICS_EXT_OPT1, 'yesBot' => PLUGIN_EVENT_STATISTICS_EXT_OPT2, 'yesTop' => PLUGIN_EVENT_STATISTICS_EXT_OPT3);
                 $propbag->add('type',        'select');
@@ -122,7 +122,7 @@ class serendipity_event_statistics extends serendipity_event
                 $propbag->add('default', 'no');
 
                 break;
-                
+
            case 'banned_bots':
                 $propbag->add('type', 'string');
                 $propbag->add('name', PLUGIN_EVENT_STATISTICS_BANNED_HOSTS);
@@ -145,7 +145,7 @@ class serendipity_event_statistics extends serendipity_event
 
         if (isset($hooks[$event])) {
             switch($event) {
-            
+
                 case 'frontend_configure':
                     if ($this->get_config('ext_vis_stat') == 'no') {
                         return;
@@ -156,11 +156,11 @@ class serendipity_event_statistics extends serendipity_event
                     if (!is_array($tableChecker)){
                         $this->createTables();
                     }
-                    
+
                     //Unique visitors are beeing registered and counted here. Calling function below.
                     $sessionChecker = serendipity_db_query("SELECT count(sessID) FROM {$serendipity['dbPrefix']}visitors WHERE '".serendipity_db_escape_string(session_id())."' = sessID GROUP BY sessID", true);
                     if (!is_array($sessionChecker) || (is_array($sessionChecker)) && ($sessionChecker[0] == 0)) {
-                        
+
                         // avoiding banned browsers
                         $banned_bots = $this->get_config('banned_bots');
                         $tmp_array = explode('|', $banned_bots);
@@ -169,12 +169,12 @@ class serendipity_event_statistics extends serendipity_event
                             if (trim($tmp_array[$i]) == trim($_SERVER['HTTP_USER_AGENT'])){
                                 $found = 'yes';
                             }
-                        } 
-                        if ($found == 'no'){ 
+                        }
+                        if ($found == 'no'){
                             $this->countVisitor();
                         }
                     }
-                    
+
                 break;
                 case 'backend_sidebar_entries':
 ?>
@@ -190,12 +190,12 @@ class serendipity_event_statistics extends serendipity_event
                     if (!$max_items || !is_numeric($max_items) || $max_items < 1) {
                         $max_items = 20;
                     }
-                    
+
                     if ($ext_vis_stat == 'yesTop') {
                         $this->extendedVisitorStatistics($max_items);
                     }
 
-                    
+
                     $first_entry    = serendipity_db_query("SELECT timestamp FROM {$serendipity['dbPrefix']}entries ORDER BY timestamp ASC limit 1", true);
                     $last_entry     = serendipity_db_query("SELECT timestamp FROM {$serendipity['dbPrefix']}entries ORDER BY timestamp DESC limit 1", true);
                     $total_count    = serendipity_db_query("SELECT count(id) FROM {$serendipity['dbPrefix']}entries", true);
@@ -514,7 +514,7 @@ class serendipity_event_statistics extends serendipity_event
     <hr />
     <?php serendipity_plugin_api::hook_event('event_additional_statistics', $eventData, array('maxitems' => $max_items)); ?>
     </div>
-    
+
     <?php
 
                     if ($ext_vis_stat == 'yesBot') {
@@ -532,9 +532,9 @@ class serendipity_event_statistics extends serendipity_event
             return false;
         }
     }
-    
+
     function countVisitor(){
-        
+
         global $serendipity;
 
         $referer = $_SERVER['HTTP_REFERER'];
@@ -546,25 +546,25 @@ class serendipity_event_statistics extends serendipity_event
             'browser'=> strip_tags($_SERVER['HTTP_USER_AGENT']),
             'ip'     => strip_tags($_SERVER['REMOTE_ADDR'])
         );
-                
+
         serendipity_db_insert('visitors', $values);
-                   
+
         // updating the referrer-table
         if (strlen($referer) >= 1) {
 
             //retrieving the referrer base URL
-            $temp_array = explode('?', $referer); 
-            $urlA = $temp_array[0]; 
-    
+            $temp_array = explode('?', $referer);
+            $urlA = $temp_array[0];
+
             //removing "http://" & trailing subdirectories
             $temp_array3 = explode('//', $urlA);
             $urlB = $temp_array3[1];
             $temp_array4 = explode('/', $urlB);
             $urlB = $temp_array4[0];
-    
+
             //removing www
             $urlC = serendipity_db_escape_string(str_replace('www.', '', $urlB));
-            
+
             //updating db
             $q = serendipity_db_query("SELECT count(refs) FROM {$serendipity['dbPrefix']}refs WHERE refs = '$urlC' GROUP BY refs", true);
             if (!is_array($q) || $q[0] >= 1){
@@ -573,14 +573,14 @@ class serendipity_event_statistics extends serendipity_event
                 serendipity_db_query("INSERT INTO {$serendipity['dbPrefix']}refs (refs, count) VALUES ('$urlC', 1)");
             }
         }
-            
+
     } //end of function countVisitor
-    
-    
+
+
     function extendedVisitorStatistics($max_items){
-        
+
         global $serendipity;
-        
+
         // ---------------QUERIES for Viewing statistics ----------------------------------------------
         $day = date('Y-m-d');
         $visitors_count_today = serendipity_db_query("SELECT count(counter_id) FROM {$serendipity['dbPrefix']}visitors WHERE day = '".$day."'", true);
@@ -588,7 +588,7 @@ class serendipity_event_statistics extends serendipity_event
         $visitors_count = serendipity_db_query("SELECT count(counter_id) FROM {$serendipity['dbPrefix']}visitors", true);
         $visitors_latest = serendipity_db_query("SELECT counter_id, day, time, ref, browser, ip FROM {$serendipity['dbPrefix']}visitors ORDER BY counter_id DESC LIMIT ".$max_items."");
         $top_refs = serendipity_db_query("SELECT refs, count FROM {$serendipity['dbPrefix']}refs ORDER BY count DESC LIMIT ".$max_items."");
-                            
+
         // ---------------STYLES for Viewing statistics ----------------------------------------------
         echo "<style type='text/css'>";
         echo ".colVis {text-align: center; width:600px; font-size: 10px; background-color:#dddddd;} ";
@@ -603,20 +603,20 @@ class serendipity_event_statistics extends serendipity_event
         <div style="margin: 5px; padding: 5px">
         <dl>
             <dt><?php echo PLUGIN_EVENT_STATISTICS_EXT_VISSINCE." ".$visitors_count_firstday[0].".<br /><br /><br />\n"?></dt>
-        
+
             <dt><strong><?php echo PLUGIN_EVENT_STATISTICS_EXT_VISITORS; ?></strong></dt>
                 <dd>
                     <div class="colVis">
-                    <?php 
+                    <?php
                     echo PLUGIN_EVENT_STATISTICS_EXT_VISTODAY.": <strong>".$visitors_count_today[0]."</strong><br />\n";
                     echo PLUGIN_EVENT_STATISTICS_EXT_VISTOTAL.": <strong>".$visitors_count[0]."</strong><br />\n";
                     ?>
                     </div>
                 </dd>
         </dl>
-                    
+
         <dl>
-        
+
         <dt><strong><?php echo PLUGIN_EVENT_STATISTICS_EXT_VISLATEST;?></strong></dt>
             <dd>
                 <table>
@@ -644,10 +644,10 @@ class serendipity_event_statistics extends serendipity_event
                 </table><br />
             </dd>
         </dl>
-                        
+
         <dl>
         <dt><strong>
-        <?php 
+        <?php
         echo PLUGIN_EVENT_STATISTICS_EXT_TOPREFS;
         ?>
         </strong></dt>
@@ -670,11 +670,11 @@ class serendipity_event_statistics extends serendipity_event
         <hr />
     <?php
     } //end of function extendedVisitorStatistics()
-    
-    
+
+
     function createTables() {
         global $serendipity;
-        
+
         //create table xxxx_visitors
         $q   = "CREATE TABLE {$serendipity['dbPrefix']}visitors (
             counter_id {AUTOINCREMENT} {PRIMARY},
@@ -695,34 +695,34 @@ class serendipity_event_statistics extends serendipity_event
             count int(11) not null default '0'
         )";
         serendipity_db_schema_import($q);
-        
+
     } //end of function createTables()
 
 
     function dropTables() {
-        
+
         global $serendipity;
-        
+
         // Drop tables
         $q   = "DROP TABLE ".$serendipity['dbPrefix']."visitors";
         $sql = serendipity_db_schema_import($q);
         $q   = "DROP TABLE ".$serendipity['dbPrefix']."refs";
         $sql = serendipity_db_schema_import($q);
-        
+
     } //end of function dropTables
-    
+
     function install(){
-        
+
         $this->createTables();
-        
+
     }
-    
+
     function uninstall(){
-        
+
         $this->dropTables();
-        
+
     }
-    
+
 }
 
 /* vim: set sts=4 ts=4 expandtab : */