From cc9329fa1134acc58be3893275fb16db2397ea9e Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Fri, 18 Aug 2006 12:01:25 +0000 Subject: [PATCH] Patch by Matthew Groeninger to support applying child permissions --- docs/NEWS | 3 + include/admin/images.inc.php | 14 +++++ include/functions_images.inc.php | 10 ++- lang/UTF-8/plugin_lang.php | 75 +---------------------- lang/UTF-8/serendipity_lang_bg.inc.php | 3 +- 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 | 3 +- lang/UTF-8/serendipity_lang_es.inc.php | 1 + 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 | 1 + 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 + 65 files changed, 102 insertions(+), 100 deletions(-) diff --git a/docs/NEWS b/docs/NEWS index 4d7bc61d..39e1a065 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 1.1-beta2 () ------------------------------------------------------------------------ + * Allow to apply current permissions of a directory to all sub- + directories (Matthew Groeninger) + * Fix a bug in the HTTP 304 Conditional GET RSS-Feed caching when the server timezone offset was not set to zero. Thanks to dand! diff --git a/include/admin/images.inc.php b/include/admin/images.inc.php index 51e56fa7..d88207e8 100644 --- a/include/admin/images.inc.php +++ b/include/admin/images.inc.php @@ -383,6 +383,15 @@ switch ($serendipity['GET']['adminAction']) { $groups = serendipity_getAllGroups(); $read_groups = serendipity_ACLGet(0, 'directory', 'read', $use_dir); $write_groups = serendipity_ACLGet(0, 'directory', 'write', $use_dir); + + if (!empty($serendipity['POST']['update_children'])) { + $dir_list = serendipity_traversePath($serendipity['serendipityPath'] . $serendipity['uploadPath'], $use_dir, true, NULL, 1, NULL, 'write', NULL); + foreach($dir_list AS $f => $dir) { + // Apply parent ACL to children. + serendipity_ACLGrant(0, 'directory', 'read', $serendipity['POST']['read_authors'], $dir['relpath']); + serendipity_ACLGrant(0, 'directory', 'write', $serendipity['POST']['write_authors'], $dir['relpath']); + } + } ?>
@@ -422,6 +431,11 @@ switch ($serendipity['GET']['adminAction']) { + + + /> + +

diff --git a/include/functions_images.inc.php b/include/functions_images.inc.php index 0bb02f72..b6d81170 100644 --- a/include/functions_images.inc.php +++ b/include/functions_images.inc.php @@ -69,12 +69,10 @@ function serendipity_fetchImagesFromDatabase($start=0, $limit=0, &$total, $order $limitsql = serendipity_db_limit_sql(serendipity_db_limit($start, $limit)); } - if (!empty($directory)) { - if ($strict_directory) { - $cond['parts']['directory'] = " AND i.path = '" . serendipity_db_escape_string($directory) . "'\n"; - } else { - $cond['parts']['directory'] = " AND i.path LIKE '" . serendipity_db_escape_string($directory) . "%'\n"; - } + if ($strict_directory) { + $cond['parts']['directory'] = " AND i.path = '" . serendipity_db_escape_string($directory) . "'\n"; + } elseif (!empty($directory)) { + $cond['parts']['directory'] = " AND i.path LIKE '" . serendipity_db_escape_string($directory) . "%'\n"; } if (!empty($filename)) { diff --git a/lang/UTF-8/plugin_lang.php b/lang/UTF-8/plugin_lang.php index ac858cea..f3142037 100644 --- a/lang/UTF-8/plugin_lang.php +++ b/lang/UTF-8/plugin_lang.php @@ -79,77 +79,4 @@ foreach($const['missing'] AS $file => $constants) { } echo "---------------------------\n"; } -@define('INSTALL_RSSFETCHLIMIT', 'Entries to display in Feeds'); -@define('INSTALL_RSSFETCHLIMIT_DESC', 'Number of entries to display for each page on the RSS Feed.'); -@define('INSTAL_DB_UTF8', 'Enable DB-charset conversion'); -@define('INSTAL_DB_UTF8_DESC', 'Issues a MySQL "SET NAMES" query to indicate the required charset for the database. Turn this on or off, if you see weird characters in your blog.'); -@define('ONTHEFLYSYNCH', 'Enable on-the-fly media synchronization'); -@define('ONTHEFLYSYNCH_DESC', 'If enabled, Serendipity will compare the media database with the files stored on your server and synchronize the database and directory contents.'); -@define('USERCONF_CHECK_USERNAME_ERROR', 'The username cannot be left blank.'); -@define('FURTHER_LINKS', 'Further Links'); -@define('FURTHER_LINKS_S9Y', 'Serendipity Homepage'); -@define('FURTHER_LINKS_S9Y_DOCS', 'Serendipity Documentation'); -@define('FURTHER_LINKS_S9Y_BLOG', 'Official Blog'); -@define('FURTHER_LINKS_S9Y_FORUMS', 'Forums'); -@define('FURTHER_LINKS_S9Y_SPARTACUS', 'Spartacus'); -@define('COMMENT_IS_DELETED', '(Comment removed)'); - -@define('CURRENT_AUTHOR', 'Current author'); - -@define('WORD_NEW', 'New'); -@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); -@define('MEDIA_KEYWORDS', 'Media keywords'); -@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); -@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); -@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); -@define('MEDIA_PROP', 'Media properties'); - - -@define('GO_ADD_PROPERTIES', 'Go & enter properties'); -@define('MEDIA_PROPERTY_DPI', 'DPI'); -@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); -@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); -@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); -@define('MEDIA_PROPERTY_TITLE', 'Title'); -@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); -@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); - -@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".'); -@define('STYLE_OPTIONS', 'Theme/Style options'); - -@define('PLUGIN_AVAILABLE_COUNT', 'Total: %d plugins.'); - -@define('SYNDICATION_RFC2616', 'Activate strict RFC2616 RSS-Feed compliance'); -@define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); -@define('MEDIA_PROPERTY_DATE', 'Associated Date'); -@define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); -@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); -@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); -@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); -@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); -@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); -@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); -@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); -@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); -@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); - -@define('MEDIA_TARGET', 'Target for this link'); -@define('MEDIA_TARGET_JS', 'Popup window (via JavaScript, adaptive size)'); -@define('MEDIA_ENTRY', 'Isolated Entry'); -@define('MEDIA_TARGET_BLANK', 'Popup window (via target=_blank)'); - -@define('MEDIA_DYN_RESIZE', 'Allow dynamic image resizing?'); -@define('MEDIA_DYN_RESIZE_DESC', 'If enabled, the media selector can return images in any requested size via a GET variable. The results are cached, and thus can create a large filebase if you make intensive use of it.'); - -@define('MEDIA_DIRECTORY_MOVED', 'Directory and files were successfully moved to %s'); -@define('MEDIA_DIRECTORY_MOVE_ERROR', 'Directory and files could not be moved to %s!'); -@define('MEDIA_DIRECTORY_MOVE_ENTRY', 'On Non-MySQL databases, iterating through every article to replace the old directory URLs with new directory URLs is not possible. You will need to manually edit your entries to fix new URLs. You can still move your old directory back to where it was, if that is too cumbersome for you.'); -@define('MEDIA_DIRECTORY_MOVE_ENTRIES', 'Moved the URL of the moved directory in %s entries.');@define('PLUGIN_ACTIVE', 'Active'); -@define('PLUGIN_INACTIVE', 'Inactive'); -@define('PREFERENCE_USE_JS', 'Enable advanced JS usage?'); -@define('PREFERENCE_USE_JS_DESC', 'If enabled, advanced JavaScript sections will be enabled for better usability, like in the Plugin Configuration section you can use drag and drop for re-ordering plugins.'); - -@define('PREFERENCE_USE_JS_WARNING', '(This page uses advanced JavaScripting. If you are having functionality issues, please disable the use of advanced JS usage in your personal preferences or disable your browser\'s JavaScript)'); - - -@define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index c7b2e7af..eb557573 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -1,4 +1,4 @@ - @@ -866,3 +866,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Път до коментарите'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index b74dad86..c3c71344 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -892,3 +892,4 @@ $i18n_filename_to = array ( @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 98d33102..eba516c6 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -892,3 +892,4 @@ $i18n_filename_to = array ( @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index 075b5a83..dae9da79 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -1,4 +1,4 @@ - @@ -880,3 +880,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 4d8b0127..31627d9b 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ - @@ -880,3 +880,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 2ce938f9..52bdb8df 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -878,3 +878,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index b72434d1..90ab25ac 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -1,4 +1,4 @@ - @@ -885,3 +885,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 0b3c2db4..d1767b7e 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -879,3 +879,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 5f5bc5bc..7323d388 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -879,3 +879,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index cc565a07..1a49f681 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -882,3 +882,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index e65ad563..f88e9d92 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. @@ -881,3 +881,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'パスへのコマンド'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index b75f47c7..122b2cc3 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -881,3 +881,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index fbd39948..b3932606 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -881,3 +881,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 62bd040c..da232dd2 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -881,3 +881,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_pl.inc.php b/lang/UTF-8/serendipity_lang_pl.inc.php index c48a1bc9..5481fb90 100644 --- a/lang/UTF-8/serendipity_lang_pl.inc.php +++ b/lang/UTF-8/serendipity_lang_pl.inc.php @@ -878,3 +878,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 91e34d7b..f72a165e 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -883,3 +883,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 5545ee24..b0b10e7c 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -885,3 +885,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 415dc24e..1f739d65 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -879,3 +879,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index e0c06afc..1f781f75 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -882,3 +882,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_sa.inc.php b/lang/UTF-8/serendipity_lang_sa.inc.php index 97d14c82..b1d5292e 100644 --- a/lang/UTF-8/serendipity_lang_sa.inc.php +++ b/lang/UTF-8/serendipity_lang_sa.inc.php @@ -797,3 +797,4 @@ @define('AUTHORS_SHOW_ARTICLE_COUNT', 'أعرض عدد مواضيع الكاتب بجانب أسمه؟'); @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'في حال تشغيل هذا الخيار فإن عدد المواضيع الخاصة بهذا الكاتب سوف يتم عرضها بجانب إسمه'); @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index bb6f6f18..440b6446 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -878,3 +878,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_ta.inc.php b/lang/UTF-8/serendipity_lang_ta.inc.php index 3201ee2b..3cbd8c13 100644 --- a/lang/UTF-8/serendipity_lang_ta.inc.php +++ b/lang/UTF-8/serendipity_lang_ta.inc.php @@ -878,3 +878,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index b892beca..d2688b9e 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -1,4 +1,4 @@ - @@ -882,3 +882,4 @@ $i18n_unknown = 'tw'; @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_tr.inc.php b/lang/UTF-8/serendipity_lang_tr.inc.php index a07083fc..7a8193e1 100644 --- a/lang/UTF-8/serendipity_lang_tr.inc.php +++ b/lang/UTF-8/serendipity_lang_tr.inc.php @@ -882,3 +882,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 5a37cfce..5a6594ef 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -882,3 +882,4 @@ $i18n_unknown = 'tw'; @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index f5c3299f..cf0e6128 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -1,4 +1,4 @@ - $constants) { } echo "---------------------------\n"; } +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index 1eeb433a..465393a6 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -866,3 +866,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', ' '); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index 3ea97876..a82fdd32 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -880,3 +880,4 @@ @define('PREFERENCE_USE_JS_DESC', 'If enabled, advanced JavaScript sections will be enabled for better usability, like in the Plugin Configuration section you can use drag and drop for re-ordering plugins.'); @define('PREFERENCE_USE_JS_WARNING', '(This page uses advanced JavaScripting. If you are having functionality issues, please disable the use of advanced JS usage in your personal preferences or disable your browser\'s JavaScript)'); @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index c3a15a25..87c1d75f 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -892,3 +892,4 @@ $i18n_filename_to = array ( @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index abee13a6..31fb2ae7 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -892,3 +892,4 @@ $i18n_filename_to = array ( @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index 5a630298..acbcccd1 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -880,3 +880,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index 7a25f55a..33b395af 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -875,3 +875,4 @@ @define('PREFERENCE_USE_JS_DESC', 'Falls aktiviert, werden erweiterte JavaScript Funktionalitten in einigen Bereichen freigeschaltet. Z.B. in der Plugin-Konfiguration kann Drag+Drop benutzt werden, um leichter nderungen vorzunehmen.'); @define('PREFERENCE_USE_JS_WARNING', '(Diese Seite setzt fortgeschrittene JavaScripts ein. Falls dabei Probleme in der Benutzbarkeit auftreten, deaktivieren Sie bitte die Option zum Einsatz dieser JavaScripts im Menpunkt "Eigene Einstellungen", oder deaktivieren Sie JavaScript in Ihrem Browser.)'); @define('INSTALL_PERMALINK_COMMENTSPATH', 'Pfad zu Kommentaren'); +@define('PERM_SET_CHILD', 'Identische Rechte auch auf alle Unterverzeichnisse anwenden'); diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index abc0272e..c3d12935 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -875,3 +875,4 @@ @define('PREFERENCE_USE_JS_DESC', 'If enabled, advanced JavaScript sections will be enabled for better usability, like in the Plugin Configuration section you can use drag and drop for re-ordering plugins.'); @define('PREFERENCE_USE_JS_WARNING', '(This page uses advanced JavaScripting. If you are having functionality issues, please disable the use of advanced JS usage in your personal preferences or disable your browser\'s JavaScript)'); @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index aa081f3f..f523ec39 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -888,3 +888,4 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? /*RLAZO [20060722] spell checked*/ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index 25d15be4..ac0836dd 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -880,3 +880,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index 13b52da8..aa1f1da5 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -878,3 +878,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index 84ec9a63..2d27b73f 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -885,3 +885,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index fb6c46b9..d6a82328 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -879,3 +879,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index e5207a22..8e553dd9 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -879,3 +879,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index 4b98ffa9..e8df7d11 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -882,3 +882,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index 9fa7e8bd..e648f865 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -881,3 +881,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'パスへのコマンド'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index 3f622258..74f0552f 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -881,3 +881,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index 54fd46a3..14711cb0 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -881,3 +881,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index 4d26c51a..722ddbc6 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -881,3 +881,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_pl.inc.php b/lang/serendipity_lang_pl.inc.php index 285cf238..80816f84 100644 --- a/lang/serendipity_lang_pl.inc.php +++ b/lang/serendipity_lang_pl.inc.php @@ -878,3 +878,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index 9ae61a49..81c30d59 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -883,3 +883,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index d62cd592..fee760f1 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -885,3 +885,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 415dc24e..1f739d65 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -879,3 +879,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index 7361b24b..b5f5d882 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -882,3 +882,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_sa.inc.php b/lang/serendipity_lang_sa.inc.php index 33f8dfb6..09dcb640 100644 --- a/lang/serendipity_lang_sa.inc.php +++ b/lang/serendipity_lang_sa.inc.php @@ -797,3 +797,4 @@ @define('AUTHORS_SHOW_ARTICLE_COUNT', ' '); @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', ' '); @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index 94dde382..699f2024 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -878,3 +878,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index 3201ee2b..3cbd8c13 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -878,3 +878,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index b08538b3..32c9af3f 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -882,3 +882,4 @@ $i18n_unknown = 'tw'; @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_tr.inc.php b/lang/serendipity_lang_tr.inc.php index a07083fc..7a8193e1 100644 --- a/lang/serendipity_lang_tr.inc.php +++ b/lang/serendipity_lang_tr.inc.php @@ -882,3 +882,4 @@ @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index 5de72629..311c35d2 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -882,3 +882,4 @@ $i18n_unknown = 'tw'; @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories'); diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index 2d34cd2b..b22bc895 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -879,3 +879,4 @@ @define('PREFERENCE_USE_JS_DESC', 'If enabled, advanced JavaScript sections will be enabled for better usability, like in the Plugin Configuration section you can use drag and drop for re-ordering plugins.'); @define('PREFERENCE_USE_JS_WARNING', '(This page uses advanced JavaScripting. If you are having functionality issues, please disable the use of advanced JS usage in your personal preferences or disable your browser\'s JavaScript)'); @define('INSTALL_PERMALINK_COMMENTSPATH', 'Path to comments'); +@define('PERM_SET_CHILD', 'Set the same permissions on all child directories');