';
- $sMsg = i18n("Configuration has not been saved, because of enabled debugging", "mod_rewrite");
+ $sMsg = i18n("Configuration has not been saved, because of enabled debugging", "cl-mod-rewrite");
echo $this->_notifyBox('info', $sMsg);
return;
}
- $bSeparatorModified = $this->_separatorModified($aMR['mod_rewrite']);
+ $bSeparatorModified = $this->_separatorModified($aMR['cl-mod-rewrite']);
if (mr_setConfiguration($this->_client, $aMR)) {
- $sMsg = i18n("Configuration has been saved", "mod_rewrite");
+ $sMsg = i18n("Configuration has been saved", "cl-mod-rewrite");
if ($bSeparatorModified) {
mr_loadConfiguration($this->_client, true);
}
$this->_oView->content_before .= $this->_notifyBox('info', $sMsg);
} else {
- $sMsg = i18n("Configuration could not saved. Please check write permissions for %s ", "mod_rewrite");
+ $sMsg = i18n("Configuration could not saved. Please check write permissions for %s ", "cl-mod-rewrite");
$sMsg = sprintf($sMsg, $options['key']);
$this->_oView->content_before .= $this->_notifyBox('error', $sMsg);
}
@@ -409,7 +409,7 @@ class ModRewrite_ContentController extends ModRewrite_ControllerAbstract {
protected function _doChecks() {
// Check for not supported '$cfg["is_start_compatible"] = true;' mode
if (!empty($this->_cfg['is_start_compatible']) && true === $this->_cfg['is_start_compatible']) {
- $sMsg = i18n("Your Contenido installation runs with the setting 'is_start_compatible'. This plugin will not work properly in this mode. Please check following topic in Contenido forum to change this:
is_start_compatible auf neue Version umstellen", "mod_rewrite");
+ $sMsg = i18n("Your Contenido installation runs with the setting 'is_start_compatible'. This plugin will not work properly in this mode. Please check following topic in Contenido forum to change this:
Apache mod rewrite could be enabled/disabled by setting the RewriteEngine directive. Any defined rewrite rules could remain in the .htaccess and they will not processed, if the mod rewrite module is disabled", "mod_rewrite");
+$oView->lng_msg_enable_amr_info = i18n("Disabling of plugin does not result in disabling mod rewrite module of the web server - This means, all defined rules in the .htaccess are still active and could create unwanted side effects.
Apache mod rewrite could be enabled/disabled by setting the RewriteEngine directive. Any defined rewrite rules could remain in the .htaccess and they will not processed, if the mod rewrite module is disabled", "cl-mod-rewrite");
-$oView->lng_example = i18n("Example", "mod_rewrite");
+$oView->lng_example = i18n("Example", "cl-mod-rewrite");
-$oView->lng_msg_enable_amr_info_example = i18n("# enable apache mod rewrite module\nRewriteEngine on\n\n# disable apache mod rewrite module\nRewriteEngine off", "mod_rewrite");
+$oView->lng_msg_enable_amr_info_example = i18n("# enable apache mod rewrite module\nRewriteEngine on\n\n# disable apache mod rewrite module\nRewriteEngine off", "cl-mod-rewrite");
-$oView->lng_rootdir = i18n("Path to .htaccess from DocumentRoot", "mod_rewrite");
-$oView->lng_rootdir_info = i18n("Type '/' if the .htaccess file lies inside the wwwroot (DocumentRoot) folder. Type the path to the subfolder fromm wwwroot, if CONTENIDO is installed in a subfolder within the wwwroot (e. g. http://domain/mycontenido -> path = '/mycontenido/')", "mod_rewrite");
+$oView->lng_rootdir = i18n("Path to .htaccess from DocumentRoot", "cl-mod-rewrite");
+$oView->lng_rootdir_info = i18n("Type '/' if the .htaccess file lies inside the wwwroot (DocumentRoot) folder. Type the path to the subfolder fromm wwwroot, if CONTENIDO is installed in a subfolder within the wwwroot (e. g. http://domain/mycontenido -> path = '/mycontenido/')", "cl-mod-rewrite");
-$oView->lng_checkrootdir = i18n("Check path to .htaccess", "mod_rewrite");
-$oView->lng_checkrootdir_info = i18n("The path will be checked, if this option is enabled. But this could result in an error in some cases, even if the specified path is valid and clients DocumentRoot differs from CONTENIDO backend DocumentRoot.", "mod_rewrite");
+$oView->lng_checkrootdir = i18n("Check path to .htaccess", "cl-mod-rewrite");
+$oView->lng_checkrootdir_info = i18n("The path will be checked, if this option is enabled. But this could result in an error in some cases, even if the specified path is valid and clients DocumentRoot differs from CONTENIDO backend DocumentRoot.", "cl-mod-rewrite");
-$oView->lng_startfromroot = i18n("Should the name of root category be displayed in the URL?", "mod_rewrite");
-$oView->lng_startfromroot_lbl = i18n("Start from root category", "mod_rewrite");
-$oView->lng_startfromroot_info = i18n("If enabled, the name of the root category (e. g. 'Mainnavigation' in a CONTENIDO default installation), will be preceded to the URL.", "mod_rewrite");
+$oView->lng_startfromroot = i18n("Should the name of root category be displayed in the URL?", "cl-mod-rewrite");
+$oView->lng_startfromroot_lbl = i18n("Start from root category", "cl-mod-rewrite");
+$oView->lng_startfromroot_info = i18n("If enabled, the name of the root category (e. g. 'Mainnavigation' in a CONTENIDO default installation), will be preceded to the URL.", "cl-mod-rewrite");
-$oView->lng_use_client = i18n("Are several clients maintained in one directory?", "mod_rewrite");
-$oView->lng_use_client_lbl = i18n("Prepend client to the URL", "mod_rewrite");
-$oView->lng_use_client_name_lbl = i18n("Use client name instead of the id", "mod_rewrite");
+$oView->lng_use_client = i18n("Are several clients maintained in one directory?", "cl-mod-rewrite");
+$oView->lng_use_client_lbl = i18n("Prepend client to the URL", "cl-mod-rewrite");
+$oView->lng_use_client_name_lbl = i18n("Use client name instead of the id", "cl-mod-rewrite");
-$oView->lng_use_language = i18n("Should the language appear in the URL (required for multi language websites)?", "mod_rewrite");
-$oView->lng_use_language_lbl = i18n("Prepend language to the URL", "mod_rewrite");
-$oView->lng_use_language_name_lbl = i18n("Use language name instead of the id", "mod_rewrite");
+$oView->lng_use_language = i18n("Should the language appear in the URL (required for multi language websites)?", "cl-mod-rewrite");
+$oView->lng_use_language_lbl = i18n("Prepend language to the URL", "cl-mod-rewrite");
+$oView->lng_use_language_name_lbl = i18n("Use language name instead of the id", "cl-mod-rewrite");
-$oView->lng_userdefined_separators_header = i18n("Configure your own separators with following 4 settings to control generated URLs to your own taste", "mod_rewrite");
-$oView->lng_userdefined_separators_example = i18n("www.domain.com/category1-category2.articlename.html\nwww.domain.com/category1/category2-articlename.html\nwww.domain.com/category.name1~category2~articlename.html\nwww.domain.com/category_name1-category2-articlename.foo", "mod_rewrite");
-$oView->lng_userdefined_separators_example_a = i18n("Category separator has to be different from category-word separator", "mod_rewrite");
-$oView->lng_userdefined_separators_example_a_example = i18n("# Example: Category separator (/) and category-word separator (_)\ncategory_one/category_two/articlename.html", "mod_rewrite");
-$oView->lng_userdefined_separators_example_b = i18n("Category separator has to be different from article-word separator", "mod_rewrite");
-$oView->lng_userdefined_separators_example_b_example = i18n("# Example: Category separator (/) and article-word separator (-)\ncategory_one/category_two/article-description.html", "mod_rewrite");
-$oView->lng_userdefined_separators_example_c = i18n("Category-article separator has to be different from article-word separator", "mod_rewrite");
-$oView->lng_userdefined_separators_example_c_example = i18n("# Example: Category-article separator (/) and article-word separator (-)\ncategory_one/category_two/article-description.html", "mod_rewrite");
+$oView->lng_userdefined_separators_header = i18n("Configure your own separators with following 4 settings to control generated URLs to your own taste", "cl-mod-rewrite");
+$oView->lng_userdefined_separators_example = i18n("www.domain.com/category1-category2.articlename.html\nwww.domain.com/category1/category2-articlename.html\nwww.domain.com/category.name1~category2~articlename.html\nwww.domain.com/category_name1-category2-articlename.foo", "cl-mod-rewrite");
+$oView->lng_userdefined_separators_example_a = i18n("Category separator has to be different from category-word separator", "cl-mod-rewrite");
+$oView->lng_userdefined_separators_example_a_example = i18n("# Example: Category separator (/) and category-word separator (_)\ncategory_one/category_two/articlename.html", "cl-mod-rewrite");
+$oView->lng_userdefined_separators_example_b = i18n("Category separator has to be different from article-word separator", "cl-mod-rewrite");
+$oView->lng_userdefined_separators_example_b_example = i18n("# Example: Category separator (/) and article-word separator (-)\ncategory_one/category_two/article-description.html", "cl-mod-rewrite");
+$oView->lng_userdefined_separators_example_c = i18n("Category-article separator has to be different from article-word separator", "cl-mod-rewrite");
+$oView->lng_userdefined_separators_example_c_example = i18n("# Example: Category-article separator (/) and article-word separator (-)\ncategory_one/category_two/article-description.html", "cl-mod-rewrite");
-$oView->lng_category_separator = i18n("Category separator (delemiter between single categories)", "mod_rewrite");
-$oView->lng_catart_separator_info = sprintf(i18n("(possible values: %s)", "mod_rewrite"), $aSeparator['info']);
-$oView->lng_word_separator_info = sprintf(i18n("(possible values: %s)", "mod_rewrite"), $aWordSeparator['info']);
-$oView->lng_category_word_separator = i18n("Category-word separator (delemiter between category words)", "mod_rewrite");
-$oView->lng_article_separator = i18n("Category-article separator (delemiter between category-block and article)", "mod_rewrite");
-$oView->lng_article_word_separator = i18n("Article-word separator (delemiter between article words)", "mod_rewrite");
+$oView->lng_category_separator = i18n("Category separator (delemiter between single categories)", "cl-mod-rewrite");
+$oView->lng_catart_separator_info = sprintf(i18n("(possible values: %s)", "cl-mod-rewrite"), $aSeparator['info']);
+$oView->lng_word_separator_info = sprintf(i18n("(possible values: %s)", "cl-mod-rewrite"), $aWordSeparator['info']);
+$oView->lng_category_word_separator = i18n("Category-word separator (delemiter between category words)", "cl-mod-rewrite");
+$oView->lng_article_separator = i18n("Category-article separator (delemiter between category-block and article)", "cl-mod-rewrite");
+$oView->lng_article_word_separator = i18n("Article-word separator (delemiter between article words)", "cl-mod-rewrite");
-$oView->lng_add_startart_name_to_url = i18n("Append article name to URLs", "mod_rewrite");
-$oView->lng_add_startart_name_to_url_lbl = i18n("Append article name always to URLs (even at URLs to categories)", "mod_rewrite");
-$oView->lng_default_startart_name = i18n("Default article name without extension", "mod_rewrite");
-$oView->lng_default_startart_name_info = i18n("e. g. 'index' for index.ext In case of selected 'Append article name always to URLs' option and a empty field, the name of the start article will be used", "mod_rewrite");
+$oView->lng_add_startart_name_to_url = i18n("Append article name to URLs", "cl-mod-rewrite");
+$oView->lng_add_startart_name_to_url_lbl = i18n("Append article name always to URLs (even at URLs to categories)", "cl-mod-rewrite");
+$oView->lng_default_startart_name = i18n("Default article name without extension", "cl-mod-rewrite");
+$oView->lng_default_startart_name_info = i18n("e. g. 'index' for index.ext In case of selected 'Append article name always to URLs' option and a empty field, the name of the start article will be used", "cl-mod-rewrite");
-$oView->lng_file_extension = i18n("File extension at the end of the URL", "mod_rewrite");
-$oView->lng_file_extension_info = i18n("Specification of file extension with a preceded dot e.g. '.html' for http://host/foo/bar.html", "mod_rewrite");
-$oView->lng_file_extension_info2 = i18n("It's strongly recommended to specify a extension here, if the option 'Append article name always to URLs' was not selected.
Otherwise URLs to categories and articles would have the same format which may result in unresolvable categories/articles in some cases.", "mod_rewrite");
-$oView->lng_file_extension_info3 = i18n("It's necessary to specify a file extension at the moment, due do existing issues, which are not solved until yet. An not defined extension may result in invalid article detection in some cases.", "mod_rewrite");
+$oView->lng_file_extension = i18n("File extension at the end of the URL", "cl-mod-rewrite");
+$oView->lng_file_extension_info = i18n("Specification of file extension with a preceded dot e.g. '.html' for http://host/foo/bar.html", "cl-mod-rewrite");
+$oView->lng_file_extension_info2 = i18n("It's strongly recommended to specify a extension here, if the option 'Append article name always to URLs' was not selected.
Otherwise URLs to categories and articles would have the same format which may result in unresolvable categories/articles in some cases.", "cl-mod-rewrite");
+$oView->lng_file_extension_info3 = i18n("It's necessary to specify a file extension at the moment, due do existing issues, which are not solved until yet. An not defined extension may result in invalid article detection in some cases.", "cl-mod-rewrite");
-$oView->lng_use_lowercase_uri = i18n("Should the URLs be written in lower case?", "mod_rewrite");
-$oView->lng_use_lowercase_uri_lbl = i18n("URLs in lower case", "mod_rewrite");
+$oView->lng_use_lowercase_uri = i18n("Should the URLs be written in lower case?", "cl-mod-rewrite");
+$oView->lng_use_lowercase_uri_lbl = i18n("URLs in lower case", "cl-mod-rewrite");
-$oView->lng_prevent_duplicated_content = i18n("Duplicated content", "mod_rewrite");
-$oView->lng_prevent_duplicated_content_lbl = i18n("Prevent duplicated content", "mod_rewrite");
+$oView->lng_prevent_duplicated_content = i18n("Duplicated content", "cl-mod-rewrite");
+$oView->lng_prevent_duplicated_content_lbl = i18n("Prevent duplicated content", "cl-mod-rewrite");
-$oView->lng_prevent_duplicated_content_info = i18n("Depending on configuration, pages could be found thru different URLs. Enabling of this option prevents this. Examples for duplicated content", "mod_rewrite");
-$oView->lng_prevent_duplicated_content_info2 = i18n("Name of the root category in the URL: Feasible is /maincategory/subcategory/ and /subcategory/\nLanguage in the URL: Feasible is /german/category/ and /1/category/\nClient in the URL: Feasible is /client/category/ und /1/category/", "mod_rewrite");
+$oView->lng_prevent_duplicated_content_info = i18n("Depending on configuration, pages could be found thru different URLs. Enabling of this option prevents this. Examples for duplicated content", "cl-mod-rewrite");
+$oView->lng_prevent_duplicated_content_info2 = i18n("Name of the root category in the URL: Feasible is /maincategory/subcategory/ and /subcategory/\nLanguage in the URL: Feasible is /german/category/ and /1/category/\nClient in the URL: Feasible is /client/category/ und /1/category/", "cl-mod-rewrite");
$oView->lng_prevent_duplicated_content_info2 = '
';
-$oView->lng_category_resolve_min_percentage = i18n("Percentage for similar category paths in URLs", "mod_rewrite");
-$oView->lng_category_resolve_min_percentage_info = i18n("This setting refers only to the category path of a URL. If AMR is configured to prepend e. g. the root category, language and/or client to the URL, the specified percentage will not applied to those parts of the URL. An incoming URL will be cleaned from those values and the remaining path (urlpath of the category) will be checked against similarities.", "mod_rewrite");
-$oView->lng_category_resolve_min_percentage_example = i18n("100 = exact match with no tolerance\n85 = paths with little errors will match to similar ones\n0 = matching will work even for total wrong paths", "mod_rewrite");
+$oView->lng_category_resolve_min_percentage = i18n("Percentage for similar category paths in URLs", "cl-mod-rewrite");
+$oView->lng_category_resolve_min_percentage_info = i18n("This setting refers only to the category path of a URL. If AMR is configured to prepend e. g. the root category, language and/or client to the URL, the specified percentage will not applied to those parts of the URL. An incoming URL will be cleaned from those values and the remaining path (urlpath of the category) will be checked against similarities.", "cl-mod-rewrite");
+$oView->lng_category_resolve_min_percentage_example = i18n("100 = exact match with no tolerance\n85 = paths with little errors will match to similar ones\n0 = matching will work even for total wrong paths", "cl-mod-rewrite");
-$oView->lng_redirect_invalid_article_to_errorsite = i18n("Redirect in case of invalid articles", "mod_rewrite");
-$oView->lng_redirect_invalid_article_to_errorsite_lbl = i18n("Redirect to error page in case of invaid articles", "mod_rewrite");
-$oView->lng_redirect_invalid_article_to_errorsite_info = i18n("The start page will be displayed if this option is not enabled", "mod_rewrite");
+$oView->lng_redirect_invalid_article_to_errorsite = i18n("Redirect in case of invalid articles", "cl-mod-rewrite");
+$oView->lng_redirect_invalid_article_to_errorsite_lbl = i18n("Redirect to error page in case of invaid articles", "cl-mod-rewrite");
+$oView->lng_redirect_invalid_article_to_errorsite_info = i18n("The start page will be displayed if this option is not enabled", "cl-mod-rewrite");
-$oView->lng_rewrite_urls_at = i18n("Moment of URL generation", "mod_rewrite");
-$oView->lng_rewrite_urls_at_front_content_output_lbl = i18n("a.) During the output of HTML code of the page", "mod_rewrite");
-$oView->lng_rewrite_urls_at_front_content_output_info = i18n("Clean-URLs will be generated during page output. Modules/Plugins are able to generate URLs to frontend as usual as in previous CONTENIDO versions using a format like 'front_content.php?idcat=1&idart=2'. The URLs will be replaced by the plugin to Clean-URLs before sending the HTML output.", "mod_rewrite");
-$oView->lng_rewrite_urls_at_front_content_output_info2 = i18n("Differences to variant b.)", "mod_rewrite");
-$oView->lng_rewrite_urls_at_front_content_output_info3 = i18n("Still compatible to old modules/plugins, since no changes in codes are required\nAll occurring URLs in HTML code, even those set by wysiwyg, will be switched to Clean-URLs\nAll URLs will usually be collected and converted to Clean-URLs at once. Doing it this way reduces the amount of executed database significantly.", "mod_rewrite");
+$oView->lng_rewrite_urls_at = i18n("Moment of URL generation", "cl-mod-rewrite");
+$oView->lng_rewrite_urls_at_front_content_output_lbl = i18n("a.) During the output of HTML code of the page", "cl-mod-rewrite");
+$oView->lng_rewrite_urls_at_front_content_output_info = i18n("Clean-URLs will be generated during page output. Modules/Plugins are able to generate URLs to frontend as usual as in previous CONTENIDO versions using a format like 'front_content.php?idcat=1&idart=2'. The URLs will be replaced by the plugin to Clean-URLs before sending the HTML output.", "cl-mod-rewrite");
+$oView->lng_rewrite_urls_at_front_content_output_info2 = i18n("Differences to variant b.)", "cl-mod-rewrite");
+$oView->lng_rewrite_urls_at_front_content_output_info3 = i18n("Still compatible to old modules/plugins, since no changes in codes are required\nAll occurring URLs in HTML code, even those set by wysiwyg, will be switched to Clean-URLs\nAll URLs will usually be collected and converted to Clean-URLs at once. Doing it this way reduces the amount of executed database significantly.", "cl-mod-rewrite");
$oView->lng_rewrite_urls_at_front_content_output_info3 = '
';
-$oView->lng_rewrite_urls_at_congeneratecode_lbl = i18n("b.) In modules or plugins", "mod_rewrite");
-$oView->lng_rewrite_urls_at_congeneratecode_info = i18n("By using this option, all Clean-URLs will be generated directly in module or plugins. This means, all areas in modules/plugins, who generate internal URLs to categories/articles, have to be adapted manually. All Clean-URLs have to be generated by using following function:", "mod_rewrite");
-$oView->lng_rewrite_urls_at_congeneratecode_example = i18n("# structure of a normal url\n\$url = 'front_content.php?idart=123&lang=2&client=1';\n\n# creation of a url by using the CONTENIDOs Url-Builder (since 4.8.9),\n# wich expects the parameter as a assoziative array\n\$params = array('idart'=>123, 'lang'=>2, 'client'=>1);\n\$newUrl = Contenido_Url::getInstance()->build(\$params);", "mod_rewrite");
-$oView->lng_rewrite_urls_at_congeneratecode_info2 = i18n("Differences to variant a.)", "mod_rewrite");
-$oView->lng_rewrite_urls_at_congeneratecode_info3 = i18n("The default way to generate URLs to fronend pages\nEach URL in modules/plugins has to be generated by UriBuilder\nEach generated Clean-Url requires a database query", "mod_rewrite");
+$oView->lng_rewrite_urls_at_congeneratecode_lbl = i18n("b.) In modules or plugins", "cl-mod-rewrite");
+$oView->lng_rewrite_urls_at_congeneratecode_info = i18n("By using this option, all Clean-URLs will be generated directly in module or plugins. This means, all areas in modules/plugins, who generate internal URLs to categories/articles, have to be adapted manually. All Clean-URLs have to be generated by using following function:", "cl-mod-rewrite");
+$oView->lng_rewrite_urls_at_congeneratecode_example = i18n("# structure of a normal url\n\$url = 'front_content.php?idart=123&lang=2&client=1';\n\n# creation of a url by using the CONTENIDOs Url-Builder (since 4.8.9),\n# wich expects the parameter as a assoziative array\n\$params = array('idart'=>123, 'lang'=>2, 'client'=>1);\n\$newUrl = Contenido_Url::getInstance()->build(\$params);", "cl-mod-rewrite");
+$oView->lng_rewrite_urls_at_congeneratecode_info2 = i18n("Differences to variant a.)", "cl-mod-rewrite");
+$oView->lng_rewrite_urls_at_congeneratecode_info3 = i18n("The default way to generate URLs to fronend pages\nEach URL in modules/plugins has to be generated by UriBuilder\nEach generated Clean-Url requires a database query", "cl-mod-rewrite");
$oView->lng_rewrite_urls_at_congeneratecode_info3 = '
';
-$oView->lng_rewrite_routing = i18n("Routing", "mod_rewrite");
-$oView->lng_rewrite_routing_info = i18n("Routing definitions for incoming URLs", "mod_rewrite");
-$oView->lng_rewrite_routing_info2 = i18n("Type one routing definition per line as follows:", "mod_rewrite");
-$oView->lng_rewrite_routing_example = i18n("# {incoming_url}>>>{new_url}\n/incoming_url/name.html>>>new_url/new_name.html\n\n# route a specific incoming url to a new page\n/campaign/20_percent_on_everything_except_animal_food.html>>>front_content.php?idcat=23\n\n# route request to wwwroot to a specific page\n/>>>front_content.php?idart=16", "mod_rewrite");
-$oView->lng_rewrite_routing_info3 = i18n("The routing does not sends a HTTP header redirection to the destination URL, the redirection will happen internally by replacing the detected incoming URL against the new destination URL (overwriting of article- categoryid)\nIncoming URLs can point to non existing resources (category/article), but the desttination URLs should point to valid CONTENIDO articles/categories\nDestination URLs should point to real URLs to categories/articles, e. g.front_content.php?idcat=23 or front_content.php?idart=34\nThe language id should attached to the URL in multi language sites e. g. front_content.php?idcat=23&lang=1\nThe client id should attached to the URL in multi client sites sharing the same folder e. g. front_content.php?idcat=23&client=2\nThe destination URL should not start with '/' or './' (wrong: /front_content.php, correct: front_content.php)", "mod_rewrite");
+$oView->lng_rewrite_routing = i18n("Routing", "cl-mod-rewrite");
+$oView->lng_rewrite_routing_info = i18n("Routing definitions for incoming URLs", "cl-mod-rewrite");
+$oView->lng_rewrite_routing_info2 = i18n("Type one routing definition per line as follows:", "cl-mod-rewrite");
+$oView->lng_rewrite_routing_example = i18n("# {incoming_url}>>>{new_url}\n/incoming_url/name.html>>>new_url/new_name.html\n\n# route a specific incoming url to a new page\n/campaign/20_percent_on_everything_except_animal_food.html>>>front_content.php?idcat=23\n\n# route request to wwwroot to a specific page\n/>>>front_content.php?idart=16", "cl-mod-rewrite");
+$oView->lng_rewrite_routing_info3 = i18n("The routing does not sends a HTTP header redirection to the destination URL, the redirection will happen internally by replacing the detected incoming URL against the new destination URL (overwriting of article- categoryid)\nIncoming URLs can point to non existing resources (category/article), but the desttination URLs should point to valid CONTENIDO articles/categories\nDestination URLs should point to real URLs to categories/articles, e. g.front_content.php?idcat=23 or front_content.php?idart=34\nThe language id should attached to the URL in multi language sites e. g. front_content.php?idcat=23&lang=1\nThe client id should attached to the URL in multi client sites sharing the same folder e. g. front_content.php?idcat=23&client=2\nThe destination URL should not start with '/' or './' (wrong: /front_content.php, correct: front_content.php)", "cl-mod-rewrite");
$oView->lng_rewrite_routing_info3 = '
' . str_replace("\n", '
', $oView->lng_rewrite_routing_info3) . '
';
-$oView->lng_discard_changes = i18n("Discard changes", "mod_rewrite");
-$oView->lng_save_changes = i18n("Save changes", "mod_rewrite");
+$oView->lng_discard_changes = i18n("Discard changes", "cl-mod-rewrite");
+$oView->lng_save_changes = i18n("Save changes", "cl-mod-rewrite");
################################################################################
@@ -307,6 +307,6 @@ if ($action == 'index') {
##### Output
$oMrController->render(
- $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'mod_rewrite/templates/content.html'
+ $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'cl-mod-rewrite/templates/content.html'
);
diff --git a/includes/include.mod_rewrite_contentexpert.php b/includes/include.mod_rewrite_contentexpert.php
index 50d88ce..f6581bc 100644
--- a/includes/include.mod_rewrite_contentexpert.php
+++ b/includes/include.mod_rewrite_contentexpert.php
@@ -1,6 +1,6 @@
content_after = '';
$oMrController->setProperty('htaccessInfo', $aHtaccessInfo);
// view language variables
-$oView->lng_plugin_functions = i18n("Plugin functions", "mod_rewrite");
+$oView->lng_plugin_functions = i18n("Plugin functions", "cl-mod-rewrite");
-$oView->lng_copy_htaccess_type = i18n("Copy/Download .htaccess template", "mod_rewrite");
-$oView->lng_copy_htaccess_type_lbl = i18n("Select .htaccess template", "mod_rewrite");
-$oView->lng_copy_htaccess_type1 = i18n("Restrictive .htaccess", "mod_rewrite");
-$oView->lng_copy_htaccess_type2 = i18n("Simple .htaccess", "mod_rewrite");
-$oView->lng_copy_htaccess_type_info1 = i18n("Contains rules with restrictive settings. All requests pointing to extension avi, css, doc, flv, gif, gzip, ico, jpeg, jpg, js, mov, mp3, pdf, png, ppt, rar, txt, wav, wmv, xml, zip, will be excluded vom rewriting. Remaining requests will be rewritten to front_content.php, except requests to 'contenido/', 'setup/', 'cms/upload', 'cms/front_content.php', etc. Each resource, which has to be excluded from rewriting must be specified explicitly.", "mod_rewrite");
+$oView->lng_copy_htaccess_type = i18n("Copy/Download .htaccess template", "cl-mod-rewrite");
+$oView->lng_copy_htaccess_type_lbl = i18n("Select .htaccess template", "cl-mod-rewrite");
+$oView->lng_copy_htaccess_type1 = i18n("Restrictive .htaccess", "cl-mod-rewrite");
+$oView->lng_copy_htaccess_type2 = i18n("Simple .htaccess", "cl-mod-rewrite");
+$oView->lng_copy_htaccess_type_info1 = i18n("Contains rules with restrictive settings. All requests pointing to extension avi, css, doc, flv, gif, gzip, ico, jpeg, jpg, js, mov, mp3, pdf, png, ppt, rar, txt, wav, wmv, xml, zip, will be excluded vom rewriting. Remaining requests will be rewritten to front_content.php, except requests to 'contenido/', 'setup/', 'cms/upload', 'cms/front_content.php', etc. Each resource, which has to be excluded from rewriting must be specified explicitly.", "cl-mod-rewrite");
-$oView->lng_copy_htaccess_type_info2 = i18n("Contains a simple collection of rules. Each requests pointing to valid symlinks, folders or files, will be excluded from rewriting. Remaining requests will be rewritten to front_content.php", "mod_rewrite");
+$oView->lng_copy_htaccess_type_info2 = i18n("Contains a simple collection of rules. Each requests pointing to valid symlinks, folders or files, will be excluded from rewriting. Remaining requests will be rewritten to front_content.php", "cl-mod-rewrite");
-$oView->lng_copy_htaccess_to = i18n("and copy to", "mod_rewrite");
-$oView->lng_copy_htaccess_to_contenido = i18n("CONTENIDO installation directory", "mod_rewrite");
-$oView->lng_copy_htaccess_to_contenido_info = i18n("Copy the selected .htaccess template into CONTENIDO installation directory
{CONTENIDO_FULL_PATH}.
This is the recommended option for a CONTENIDO installation with one or more clients who are running on the same domain.", "mod_rewrite");
+$oView->lng_copy_htaccess_to = i18n("and copy to", "cl-mod-rewrite");
+$oView->lng_copy_htaccess_to_contenido = i18n("CONTENIDO installation directory", "cl-mod-rewrite");
+$oView->lng_copy_htaccess_to_contenido_info = i18n("Copy the selected .htaccess template into CONTENIDO installation directory
{CONTENIDO_FULL_PATH}.
This is the recommended option for a CONTENIDO installation with one or more clients who are running on the same domain.", "cl-mod-rewrite");
$oView->lng_copy_htaccess_to_contenido_info = str_replace('{CONTENIDO_FULL_PATH}', $oView->contenido_full_path, $oView->lng_copy_htaccess_to_contenido_info);
-$oView->lng_copy_htaccess_to_client = i18n("client directory", "mod_rewrite");
-$oView->lng_copy_htaccess_to_client_info = i18n("Copy the selected .htaccess template into client's directory
{CLIENT_FULL_PATH}.
This is the recommended option for a multiple client system where each client has it's own domain/subdomain", "mod_rewrite");
+$oView->lng_copy_htaccess_to_client = i18n("client directory", "cl-mod-rewrite");
+$oView->lng_copy_htaccess_to_client_info = i18n("Copy the selected .htaccess template into client's directory
{CLIENT_FULL_PATH}.
This is the recommended option for a multiple client system where each client has it's own domain/subdomain", "cl-mod-rewrite");
$oView->lng_copy_htaccess_to_client_info = str_replace('{CLIENT_FULL_PATH}', $oView->client_full_path, $oView->lng_copy_htaccess_to_client_info);
-$oView->lng_or = i18n("or", "mod_rewrite");
-$oView->lng_download = i18n("Download", "mod_rewrite");
-$oView->lng_download_info = i18n("Download selected .htaccess template to copy it to the destination folder or to take over the settings manually.", "mod_rewrite");
+$oView->lng_or = i18n("or", "cl-mod-rewrite");
+$oView->lng_download = i18n("Download", "cl-mod-rewrite");
+$oView->lng_download_info = i18n("Download selected .htaccess template to copy it to the destination folder or to take over the settings manually.", "cl-mod-rewrite");
-$oView->lng_resetaliases = i18n("Reset category-/ and article aliases", "mod_rewrite");
-$oView->lng_resetempty_link = i18n("Reset only empty aliases", "mod_rewrite");
-$oView->lng_resetempty_info = i18n("Only empty aliases will be reset, existing aliases, e. g. manually set aliases, will not be changed.", "mod_rewrite");
-$oView->lng_resetall_link = i18n("Reset all aliases", "mod_rewrite");
-$oView->lng_resetall_info = i18n("Reset all category-/article aliases. Existing aliases will be overwritten.", "mod_rewrite");
-$oView->lng_note = i18n("Note", "mod_rewrite");
-$oView->lng_resetaliases_note = i18n("This process could require some time depending on amount of categories/articles. The aliases will not contain the configured plugin separators, but the CONTENIDO default separators '/' und '-', e. g. '/category-word/article-word'. Execution of this function ma be helpful to prepare all or empty aliases for the usage by the plugin.", "mod_rewrite");
+$oView->lng_resetaliases = i18n("Reset category-/ and article aliases", "cl-mod-rewrite");
+$oView->lng_resetempty_link = i18n("Reset only empty aliases", "cl-mod-rewrite");
+$oView->lng_resetempty_info = i18n("Only empty aliases will be reset, existing aliases, e. g. manually set aliases, will not be changed.", "cl-mod-rewrite");
+$oView->lng_resetall_link = i18n("Reset all aliases", "cl-mod-rewrite");
+$oView->lng_resetall_info = i18n("Reset all category-/article aliases. Existing aliases will be overwritten.", "cl-mod-rewrite");
+$oView->lng_note = i18n("Note", "cl-mod-rewrite");
+$oView->lng_resetaliases_note = i18n("This process could require some time depending on amount of categories/articles. The aliases will not contain the configured plugin separators, but the CONTENIDO default separators '/' und '-', e. g. '/category-word/article-word'. Execution of this function ma be helpful to prepare all or empty aliases for the usage by the plugin.", "cl-mod-rewrite");
-$oView->lng_discard_changes = i18n("Discard changes", "mod_rewrite");
-$oView->lng_save_changes = i18n("Save changes", "mod_rewrite");
+$oView->lng_discard_changes = i18n("Discard changes", "cl-mod-rewrite");
+$oView->lng_save_changes = i18n("Save changes", "cl-mod-rewrite");
################################################################################
@@ -114,6 +114,6 @@ if ($action == 'index') {
##### Output
$oMrController->render(
- $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'mod_rewrite/templates/contentexpert.html'
+ $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'cl-mod-rewrite/templates/contentexpert.html'
);
diff --git a/includes/include.mod_rewrite_contenttest.php b/includes/include.mod_rewrite_contenttest.php
index 9bff07f..90a1032 100644
--- a/includes/include.mod_rewrite_contenttest.php
+++ b/includes/include.mod_rewrite_contenttest.php
@@ -52,14 +52,14 @@ $oMrTestController = new ModRewrite_ContentTestController();
// view language variables
$oView = $oMrTestController->getView();
-$oView->lng_form_info = i18n("Define options to genereate the URLs by using the form below and run the test.", "mod_rewrite");
-$oView->lng_form_label = i18n("Parameter to use", "mod_rewrite");
-$oView->lng_maxitems_lbl = i18n("Number of URLs to generate", "mod_rewrite");
-$oView->lng_run_test = i18n("Run test", "mod_rewrite");
+$oView->lng_form_info = i18n("Define options to genereate the URLs by using the form below and run the test.", "cl-mod-rewrite");
+$oView->lng_form_label = i18n("Parameter to use", "cl-mod-rewrite");
+$oView->lng_maxitems_lbl = i18n("Number of URLs to generate", "cl-mod-rewrite");
+$oView->lng_run_test = i18n("Run test", "cl-mod-rewrite");
-$oView->lng_result_item_tpl = i18n("{pref}{name} {pref}Builder in: {url_in} {pref}Builder out: {url_out} {pref}Resolved URL: {url_res} {pref}Resolver err: {err} {pref}Resolved data: {data}", "mod_rewrite");
+$oView->lng_result_item_tpl = i18n("{pref}{name} {pref}Builder in: {url_in} {pref}Builder out: {url_out} {pref}Resolved URL: {url_res} {pref}Resolver err: {err} {pref}Resolved data: {data}", "cl-mod-rewrite");
-$oView->lng_result_message_tpl = i18n("Duration of test run: {time} seconds. Number of processed URLs: {num_urls} Successful resolved: {num_success} Errors during resolving: {num_fail}", "mod_rewrite");
+$oView->lng_result_message_tpl = i18n("Duration of test run: {time} seconds. Number of processed URLs: {num_urls} Successful resolved: {num_success} Errors during resolving: {num_fail}", "cl-mod-rewrite");
################################################################################
@@ -79,5 +79,5 @@ $oView->content .= mr_debugOutput(false);
##### Output
$oMrTestController->render(
- $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'mod_rewrite/templates/contenttest.html'
+ $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'cl-mod-rewrite/templates/contenttest.html'
);
diff --git a/locale/de_DE/LC_MESSAGES/mod_rewrite.mo b/locale/de_DE/LC_MESSAGES/cl-mod-rewrite.mo
similarity index 100%
rename from locale/de_DE/LC_MESSAGES/mod_rewrite.mo
rename to locale/de_DE/LC_MESSAGES/cl-mod-rewrite.mo
diff --git a/locale/de_DE/LC_MESSAGES/mod_rewrite.po b/locale/de_DE/LC_MESSAGES/cl-mod-rewrite.po
similarity index 100%
rename from locale/de_DE/LC_MESSAGES/mod_rewrite.po
rename to locale/de_DE/LC_MESSAGES/cl-mod-rewrite.po
diff --git a/templates/content.html b/templates/content.html
index fb5fb68..87de490 100644
--- a/templates/content.html
+++ b/templates/content.html
@@ -6,11 +6,11 @@
-
-
+
+
-
-
+
+
-
+
diff --git a/templates/contentexpert.html b/templates/contentexpert.html
index c30c08c..f672bbb 100644
--- a/templates/contentexpert.html
+++ b/templates/contentexpert.html
@@ -6,11 +6,11 @@
-
-
+
+
-
-
+
+
-
+
-
+