From c5cc7638023d87fb9ddacd80daf7fe31cca8db22 Mon Sep 17 00:00:00 2001 From: "T. Nishino" Date: Thu, 19 Aug 2021 05:41:34 +0900 Subject: [PATCH] Fix comments and indentation (#637) * Fix indentation * Replace url of smarty.net from http to https * Fix breaking links Replace from http://smarty.php.net to https://www.smarty.net * Replace link from http to https * Fix CHANGELOG.md --- CHANGELOG.md | 5 +- README | 2 +- composer.json | 4 +- libs/Smarty.class.php | 2 +- libs/plugins/block.textformat.php | 2 +- libs/plugins/function.counter.php | 2 +- libs/plugins/function.cycle.php | 2 +- libs/plugins/function.fetch.php | 2 +- libs/plugins/function.html_checkboxes.php | 2 +- libs/plugins/function.html_image.php | 2 +- libs/plugins/function.html_options.php | 2 +- libs/plugins/function.html_radios.php | 2 +- libs/plugins/function.html_select_date.php | 2 +- libs/plugins/function.html_select_time.php | 2 +- libs/plugins/function.html_table.php | 2 +- libs/plugins/function.mailto.php | 2 +- libs/plugins/function.math.php | 2 +- libs/plugins/modifier.date_format.php | 2 +- libs/plugins/modifier.escape.php | 2 +- libs/plugins/modifier.mb_wordwrap.php | 2 +- libs/plugins/modifier.regex_replace.php | 2 +- libs/plugins/modifier.replace.php | 2 +- libs/plugins/modifier.spacify.php | 2 +- libs/plugins/modifier.truncate.php | 2 +- libs/plugins/modifiercompiler.cat.php | 2 +- .../modifiercompiler.count_characters.php | 2 +- .../modifiercompiler.count_paragraphs.php | 2 +- .../modifiercompiler.count_sentences.php | 2 +- libs/plugins/modifiercompiler.count_words.php | 2 +- libs/plugins/modifiercompiler.default.php | 2 +- libs/plugins/modifiercompiler.escape.php | 2 +- libs/plugins/modifiercompiler.indent.php | 2 +- libs/plugins/modifiercompiler.lower.php | 2 +- .../modifiercompiler.string_format.php | 2 +- libs/plugins/modifiercompiler.strip.php | 2 +- libs/plugins/modifiercompiler.strip_tags.php | 2 +- libs/plugins/modifiercompiler.upper.php | 2 +- libs/plugins/modifiercompiler.wordwrap.php | 2 +- libs/plugins/outputfilter.trimwhitespace.php | 2 +- .../smarty_internal_compile_foreach.php | 4 +- libs/sysplugins/smarty_internal_data.php | 4 +- .../smarty_internal_errorhandler.php | 4 +- .../smarty_internal_method_append.php | 2 +- .../smarty_internal_method_appendbyref.php | 2 +- .../smarty_internal_method_clearallassign.php | 2 +- .../smarty_internal_method_clearallcache.php | 2 +- .../smarty_internal_method_clearassign.php | 2 +- .../smarty_internal_method_clearcache.php | 2 +- ..._internal_method_clearcompiledtemplate.php | 2 +- .../smarty_internal_method_clearconfig.php | 2 +- .../smarty_internal_method_configload.php | 4 +- .../smarty_internal_method_createdata.php | 2 +- .../smarty_internal_method_getconfigvars.php | 2 +- ...ty_internal_method_getregisteredobject.php | 2 +- .../smarty_internal_method_gettags.php | 2 +- ...smarty_internal_method_gettemplatevars.php | 2 +- .../smarty_internal_method_loadfilter.php | 2 +- ..._internal_method_registercacheresource.php | 2 +- .../smarty_internal_method_registerclass.php | 2 +- ...al_method_registerdefaultpluginhandler.php | 2 +- .../smarty_internal_method_registerfilter.php | 2 +- .../smarty_internal_method_registerobject.php | 2 +- .../smarty_internal_method_registerplugin.php | 2 +- ...marty_internal_method_registerresource.php | 2 +- .../smarty_internal_method_unloadfilter.php | 2 +- ...nternal_method_unregistercacheresource.php | 2 +- ...marty_internal_method_unregisterfilter.php | 2 +- ...marty_internal_method_unregisterobject.php | 2 +- ...marty_internal_method_unregisterplugin.php | 2 +- ...rty_internal_method_unregisterresource.php | 2 +- .../smarty_internal_parsetree_template.php | 138 +++++++++--------- .../smarty_internal_parsetree_text.php | 34 ++--- .../smarty_internal_resource_stream.php | 2 +- .../smarty_internal_templatebase.php | 28 ++-- .../smarty_internal_templatecompilerbase.php | 36 ++--- .../DefaultConfigHandlerTest.php | 22 +-- .../ConfigFileTests/file/ConfigVarTest.php | 2 +- .../ResourceMysqlPluginTest.php | 4 +- .../ResourceTests/File/FileResourceTest.php | 28 ++-- .../Registered/RegisteredResourceTest.php | 48 +++--- .../PHPunitplugins/resource.db.php | 18 +-- .../Stream/StreamResourceTest.php | 4 +- .../UnitTests/SecurityTests/SecurityTest.php | 56 +++---- .../BlockPlugin/CompileBlockPluginTest.php | 20 +-- .../BockExtend/CompileBlockExtendsTest.php | 32 ++-- .../ConfigLoad/CompileConfigLoadTest.php | 4 +- .../Delimiter/CompileDelimiterTest.php | 4 +- .../TagTests/Foreach/CompileForeachTest.php | 6 +- .../Insert/PHPunitplugins/insert.test2.php | 2 +- .../PluginFunctionFetchTest.php | 12 +- .../PluginFunctionHtmlCheckboxesTest.php | 2 +- .../PluginModifierDefaultTest.php | 12 +- .../TagTests/_Attributes/AttributeTest.php | 18 +-- .../TagTests/_Error/CompileErrorTest.php | 16 +- .../DoubleQuoted/DoubleQuotedStringTest.php | 4 +- .../ValueTests/Modifier/ModifierTest.php | 4 +- .../PHPfunctions/PhpFunctionTest.php | 92 ++++++------ .../Error/SmartyErrorTest.php | 4 +- .../TemplateSource/X_Scopes/ScopeTest.php | 6 +- 99 files changed, 405 insertions(+), 406 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ffc18d0f..b6532930 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,7 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [3.1.37] - 2021-01-07 ### Changed -- Dropped support for PHP versions lower than PHP7.1 (and disabled unit tests for 7.1) - Changed error handlers and handling of undefined constants for php8-compatibility (set $errcontext argument optional) https://github.com/smarty-php/smarty/issues/605 - Changed expected error levels in unit tests for php8-compatibility - Travis unit tests now run for all php versions >= 5.3, including php8 @@ -337,7 +336,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 20.09.2016 - bugfix some $smarty special template variables are no longer accessed as real variable. using them on calls like {if isset($smarty.foo)} or {if empty($smarty.foo)} will fail - http://www.smarty.net/forums/viewtopic.php?t=26222 + https://www.smarty.net/forums/viewtopic.php?t=26222 - temporary fix for https://github.com/smarty-php/smarty/issues/293 main reason still under investigation - improvement new tags {block_parent} {block_child} in template inheritance @@ -349,7 +348,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - bugfix assigning a variable in if condition by function like {if $value = array_shift($array)} the function got called twice https://github.com/smarty-php/smarty/issues/291 - bugfix function plugins called with assign attribute like {foo assign='bar'} did not output returned content because because assumption was made that it was assigned to a variable https://github.com/smarty-php/smarty/issues/292 - - bugfix calling $smarty->isCached() on a not existing cache file with $smarty->cache_locking = true; could cause a 10 second delay http://www.smarty.net/forums/viewtopic.php?t=26282 + - bugfix calling $smarty->isCached() on a not existing cache file with $smarty->cache_locking = true; could cause a 10 second delay https://www.smarty.net/forums/viewtopic.php?t=26282 - improvement make Smarty::clearCompiledTemplate() on custom resource independent from changes of templateId computation 11.09.2016 diff --git a/README b/README index 9a71519b..d34c5638 100644 --- a/README +++ b/README @@ -51,7 +51,7 @@ $smarty->unregisterFilter(...) Please refer to the online documentation for all specific changes: -http://www.smarty.net/documentation +https://www.smarty.net/documentation ---- diff --git a/composer.json b/composer.json index 95112660..abf395b9 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "keywords": [ "templating" ], - "homepage": "http://www.smarty.net", + "homepage": "https://www.smarty.net", "license": "LGPL-3.0", "authors": [ { @@ -27,7 +27,7 @@ ], "support": { "issues": "https://github.com/smarty-php/smarty/issues", - "forum": "http://www.smarty.net/forums/" + "forum": "https://www.smarty.net/forums/" }, "require": { "php": "^7.1 || ^8.0" diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 0257f365..9108189c 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -20,7 +20,7 @@ * Smarty mailing list. Send a blank e-mail to * smarty-discussion-subscribe@googlegroups.com * - * @link http://www.smarty.net/ + * @link https://www.smarty.net/ * @copyright 2018 New Digital Group, Inc. * @copyright 2018 Uwe Tews * @author Monte Ohrt diff --git a/libs/plugins/block.textformat.php b/libs/plugins/block.textformat.php index 5e494637..fed090e4 100644 --- a/libs/plugins/block.textformat.php +++ b/libs/plugins/block.textformat.php @@ -20,7 +20,7 @@ * - indent_char - string (" ") * - wrap_boundary - boolean (true) * - * @link http://www.smarty.net/manual/en/language.function.textformat.php {textformat} + * @link https://www.smarty.net/manual/en/language.function.textformat.php {textformat} * (Smarty online manual) * * @param array $params parameters diff --git a/libs/plugins/function.counter.php b/libs/plugins/function.counter.php index a4129e77..54795459 100644 --- a/libs/plugins/function.counter.php +++ b/libs/plugins/function.counter.php @@ -12,7 +12,7 @@ * Purpose: print out a counter value * * @author Monte Ohrt - * @link http://www.smarty.net/manual/en/language.function.counter.php {counter} + * @link https://www.smarty.net/manual/en/language.function.counter.php {counter} * (Smarty online manual) * * @param array $params parameters diff --git a/libs/plugins/function.cycle.php b/libs/plugins/function.cycle.php index 07ffcc5e..79356999 100644 --- a/libs/plugins/function.cycle.php +++ b/libs/plugins/function.cycle.php @@ -28,7 +28,7 @@ * {cycle name=row values="one,two,three" reset=true} * {cycle name=row} * - * @link http://www.smarty.net/manual/en/language.function.cycle.php {cycle} + * @link https://www.smarty.net/manual/en/language.function.cycle.php {cycle} * (Smarty online manual) * @author Monte Ohrt * @author credit to Mark Priatel diff --git a/libs/plugins/function.fetch.php b/libs/plugins/function.fetch.php index 768761b2..4a3e8819 100644 --- a/libs/plugins/function.fetch.php +++ b/libs/plugins/function.fetch.php @@ -11,7 +11,7 @@ * Name: fetch * Purpose: fetch file, web or ftp data and display results * - * @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch} + * @link https://www.smarty.net/manual/en/language.function.fetch.php {fetch} * (Smarty online manual) * @author Monte Ohrt * diff --git a/libs/plugins/function.html_checkboxes.php b/libs/plugins/function.html_checkboxes.php index 302358ed..a8e7a07d 100644 --- a/libs/plugins/function.html_checkboxes.php +++ b/libs/plugins/function.html_checkboxes.php @@ -29,7 +29,7 @@ * - assign (optional) - assign the output as an array to this variable * - escape (optional) - escape the content (not value), defaults to true * - * @link http://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes} + * @link https://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes} * (Smarty online manual) * @author Christopher Kvarme * @author credits to Monte Ohrt diff --git a/libs/plugins/function.html_image.php b/libs/plugins/function.html_image.php index ad468e4f..71bc6386 100644 --- a/libs/plugins/function.html_image.php +++ b/libs/plugins/function.html_image.php @@ -21,7 +21,7 @@ * - basedir - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT * - path_prefix - prefix for path output (optional, default empty) * - * @link http://www.smarty.net/manual/en/language.function.html.image.php {html_image} + * @link https://www.smarty.net/manual/en/language.function.html.image.php {html_image} * (Smarty online manual) * @author Monte Ohrt * @author credits to Duda diff --git a/libs/plugins/function.html_options.php b/libs/plugins/function.html_options.php index 6907e8ee..3e433534 100644 --- a/libs/plugins/function.html_options.php +++ b/libs/plugins/function.html_options.php @@ -21,7 +21,7 @@ * - id (optional) - string default not set * - class (optional) - string default not set * - * @link http://www.smarty.net/manual/en/language.function.html.options.php {html_image} + * @link https://www.smarty.net/manual/en/language.function.html.options.php {html_image} * (Smarty online manual) * @author Monte Ohrt * @author Ralf Strehle (minor optimization) diff --git a/libs/plugins/function.html_radios.php b/libs/plugins/function.html_radios.php index 5e834587..2223ff7e 100644 --- a/libs/plugins/function.html_radios.php +++ b/libs/plugins/function.html_radios.php @@ -29,7 +29,7 @@ * {html_radios values=$ids name='box' separator='
' output=$names} * {html_radios values=$ids checked=$checked separator='
' output=$names} * - * @link http://smarty.php.net/manual/en/language.function.html.radios.php {html_radios} + * @link https://www.smarty.net/manual/en/language.function.html.radios.php {html_radios} * (Smarty online manual) * @author Christopher Kvarme * @author credits to Monte Ohrt diff --git a/libs/plugins/function.html_select_date.php b/libs/plugins/function.html_select_date.php index 86403e3d..763fc60f 100644 --- a/libs/plugins/function.html_select_date.php +++ b/libs/plugins/function.html_select_date.php @@ -28,7 +28,7 @@ * - 2.0 complete rewrite for performance, * added attributes month_names, *_id * - * @link http://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date} + * @link https://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date} * (Smarty online manual) * @version 2.0 * @author Andrei Zmievski diff --git a/libs/plugins/function.html_select_time.php b/libs/plugins/function.html_select_time.php index cb047bc0..256b56b1 100644 --- a/libs/plugins/function.html_select_time.php +++ b/libs/plugins/function.html_select_time.php @@ -11,7 +11,7 @@ * Name: html_select_time * Purpose: Prints the dropdowns for time selection * - * @link http://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time} + * @link https://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time} * (Smarty online manual) * @author Roberto Berto * @author Monte Ohrt diff --git a/libs/plugins/function.html_table.php b/libs/plugins/function.html_table.php index ae61e83d..17b0586e 100644 --- a/libs/plugins/function.html_table.php +++ b/libs/plugins/function.html_table.php @@ -38,7 +38,7 @@ * @author credit to Messju Mohr * @author credit to boots * @version 1.1 - * @link http://www.smarty.net/manual/en/language.function.html.table.php {html_table} + * @link https://www.smarty.net/manual/en/language.function.html.table.php {html_table} * (Smarty online manual) * * @param array $params parameters diff --git a/libs/plugins/function.mailto.php b/libs/plugins/function.mailto.php index 27351df8..ff8d18eb 100644 --- a/libs/plugins/function.mailto.php +++ b/libs/plugins/function.mailto.php @@ -36,7 +36,7 @@ * {mailto address="me@domain.com" cc="you@domain.com,they@domain.com"} * {mailto address="me@domain.com" extra='class="mailto"'} * - * @link http://www.smarty.net/manual/en/language.function.mailto.php {mailto} + * @link https://www.smarty.net/manual/en/language.function.mailto.php {mailto} * (Smarty online manual) * @version 1.2 * @author Monte Ohrt diff --git a/libs/plugins/function.math.php b/libs/plugins/function.math.php index 7348d964..5d58284f 100644 --- a/libs/plugins/function.math.php +++ b/libs/plugins/function.math.php @@ -12,7 +12,7 @@ * Name: math * Purpose: handle math computations in template * - * @link http://www.smarty.net/manual/en/language.function.math.php {math} + * @link https://www.smarty.net/manual/en/language.function.math.php {math} * (Smarty online manual) * @author Monte Ohrt * diff --git a/libs/plugins/modifier.date_format.php b/libs/plugins/modifier.date_format.php index c8e88c5c..8e7e0b6e 100644 --- a/libs/plugins/modifier.date_format.php +++ b/libs/plugins/modifier.date_format.php @@ -15,7 +15,7 @@ * - format: strftime format for output * - default_date: default date if $string is empty * - * @link http://www.smarty.net/manual/en/language.modifier.date.format.php date_format (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.date.format.php date_format (Smarty online manual) * @author Monte Ohrt * * @param string $string input date string diff --git a/libs/plugins/modifier.escape.php b/libs/plugins/modifier.escape.php index 35bf9720..0c0f74da 100644 --- a/libs/plugins/modifier.escape.php +++ b/libs/plugins/modifier.escape.php @@ -11,7 +11,7 @@ * Name: escape * Purpose: escape string for output * - * @link http://www.smarty.net/docs/en/language.modifier.escape + * @link https://www.smarty.net/docs/en/language.modifier.escape * @author Monte Ohrt * * @param string $string input string diff --git a/libs/plugins/modifier.mb_wordwrap.php b/libs/plugins/modifier.mb_wordwrap.php index 1cd625b6..7c7bd875 100644 --- a/libs/plugins/modifier.mb_wordwrap.php +++ b/libs/plugins/modifier.mb_wordwrap.php @@ -11,7 +11,7 @@ * Name: mb_wordwrap * Purpose: Wrap a string to a given number of characters * - * @link http://php.net/manual/en/function.wordwrap.php for similarity + * @link https://php.net/manual/en/function.wordwrap.php for similarity * * @param string $str the string to wrap * @param int $width the width of the output diff --git a/libs/plugins/modifier.regex_replace.php b/libs/plugins/modifier.regex_replace.php index 7eb55069..cd57cdf3 100644 --- a/libs/plugins/modifier.regex_replace.php +++ b/libs/plugins/modifier.regex_replace.php @@ -11,7 +11,7 @@ * Name: regex_replace * Purpose: regular expression search/replace * - * @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php + * @link https://www.smarty.net/manual/en/language.modifier.regex.replace.php * regex_replace (Smarty online manual) * @author Monte Ohrt * diff --git a/libs/plugins/modifier.replace.php b/libs/plugins/modifier.replace.php index a98f5a4a..71a7c632 100644 --- a/libs/plugins/modifier.replace.php +++ b/libs/plugins/modifier.replace.php @@ -11,7 +11,7 @@ * Name: replace * Purpose: simple search/replace * - * @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.replace.php replace (Smarty online manual) * @author Monte Ohrt * @author Uwe Tews * diff --git a/libs/plugins/modifier.spacify.php b/libs/plugins/modifier.spacify.php index 98efd4b3..251dbe71 100644 --- a/libs/plugins/modifier.spacify.php +++ b/libs/plugins/modifier.spacify.php @@ -11,7 +11,7 @@ * Name: spacify * Purpose: add spaces between characters in a string * - * @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual) * @author Monte Ohrt * * @param string $string input string diff --git a/libs/plugins/modifier.truncate.php b/libs/plugins/modifier.truncate.php index bb881bf6..33e7e53a 100644 --- a/libs/plugins/modifier.truncate.php +++ b/libs/plugins/modifier.truncate.php @@ -13,7 +13,7 @@ * optionally splitting in the middle of a word, and * appending the $etc string or inserting $etc into the middle. * - * @link http://smarty.php.net/manual/en/language.modifier.truncate.php truncate (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.truncate.php truncate (Smarty online manual) * @author Monte Ohrt * * @param string $string input string diff --git a/libs/plugins/modifiercompiler.cat.php b/libs/plugins/modifiercompiler.cat.php index 21d0e662..2c3a8b2a 100644 --- a/libs/plugins/modifiercompiler.cat.php +++ b/libs/plugins/modifiercompiler.cat.php @@ -14,7 +14,7 @@ * Input: string to catenate * Example: {$var|cat:"foo"} * - * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat + * @link https://www.smarty.net/manual/en/language.modifier.cat.php cat * (Smarty online manual) * @author Uwe Tews * diff --git a/libs/plugins/modifiercompiler.count_characters.php b/libs/plugins/modifiercompiler.count_characters.php index 6c44278a..b5d97e27 100644 --- a/libs/plugins/modifiercompiler.count_characters.php +++ b/libs/plugins/modifiercompiler.count_characters.php @@ -11,7 +11,7 @@ * Name: count_characters * Purpose: count the number of characters in a text * - * @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online + * @link https://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online * manual) * @author Uwe Tews * diff --git a/libs/plugins/modifiercompiler.count_paragraphs.php b/libs/plugins/modifiercompiler.count_paragraphs.php index e214a56f..33240296 100644 --- a/libs/plugins/modifiercompiler.count_paragraphs.php +++ b/libs/plugins/modifiercompiler.count_paragraphs.php @@ -11,7 +11,7 @@ * Name: count_paragraphs * Purpose: count the number of paragraphs in a text * - * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php + * @link https://www.smarty.net/manual/en/language.modifier.count.paragraphs.php * count_paragraphs (Smarty online manual) * @author Uwe Tews * diff --git a/libs/plugins/modifiercompiler.count_sentences.php b/libs/plugins/modifiercompiler.count_sentences.php index 02774563..30e36e5f 100644 --- a/libs/plugins/modifiercompiler.count_sentences.php +++ b/libs/plugins/modifiercompiler.count_sentences.php @@ -11,7 +11,7 @@ * Name: count_sentences * Purpose: count the number of sentences in a text * - * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php + * @link https://www.smarty.net/manual/en/language.modifier.count.paragraphs.php * count_sentences (Smarty online manual) * @author Uwe Tews * diff --git a/libs/plugins/modifiercompiler.count_words.php b/libs/plugins/modifiercompiler.count_words.php index 6d889da5..cf2e5022 100644 --- a/libs/plugins/modifiercompiler.count_words.php +++ b/libs/plugins/modifiercompiler.count_words.php @@ -11,7 +11,7 @@ * Name: count_words * Purpose: count the number of words in a text * - * @link http://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual) * @author Uwe Tews * * @param array $params parameters diff --git a/libs/plugins/modifiercompiler.default.php b/libs/plugins/modifiercompiler.default.php index 3846c134..dffa7a98 100644 --- a/libs/plugins/modifiercompiler.default.php +++ b/libs/plugins/modifiercompiler.default.php @@ -11,7 +11,7 @@ * Name: default * Purpose: designate default value for empty variables * - * @link http://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual) * @author Uwe Tews * * @param array $params parameters diff --git a/libs/plugins/modifiercompiler.escape.php b/libs/plugins/modifiercompiler.escape.php index 0eabebf8..30e2d28b 100644 --- a/libs/plugins/modifiercompiler.escape.php +++ b/libs/plugins/modifiercompiler.escape.php @@ -11,7 +11,7 @@ * Name: escape * Purpose: escape string for output * - * @link http://www.smarty.net/docsv2/en/language.modifier.escape count_characters (Smarty online manual) + * @link https://www.smarty.net/docsv2/en/language.modifier.escape count_characters (Smarty online manual) * @author Rodney Rehm * * @param array $params parameters diff --git a/libs/plugins/modifiercompiler.indent.php b/libs/plugins/modifiercompiler.indent.php index 2088ad6a..636f0edf 100644 --- a/libs/plugins/modifiercompiler.indent.php +++ b/libs/plugins/modifiercompiler.indent.php @@ -11,7 +11,7 @@ * Name: indent * Purpose: indent lines of text * - * @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual) * @author Uwe Tews * * @param array $params parameters diff --git a/libs/plugins/modifiercompiler.lower.php b/libs/plugins/modifiercompiler.lower.php index 0d899a00..ac9cc39d 100644 --- a/libs/plugins/modifiercompiler.lower.php +++ b/libs/plugins/modifiercompiler.lower.php @@ -11,7 +11,7 @@ * Name: lower * Purpose: convert string to lowercase * - * @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual) * @author Monte Ohrt * @author Uwe Tews * diff --git a/libs/plugins/modifiercompiler.string_format.php b/libs/plugins/modifiercompiler.string_format.php index 66309431..8df5632c 100644 --- a/libs/plugins/modifiercompiler.string_format.php +++ b/libs/plugins/modifiercompiler.string_format.php @@ -11,7 +11,7 @@ * Name: string_format * Purpose: format strings via sprintf * - * @link http://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual) * @author Uwe Tews * * @param array $params parameters diff --git a/libs/plugins/modifiercompiler.strip.php b/libs/plugins/modifiercompiler.strip.php index 04ea332c..51944bde 100644 --- a/libs/plugins/modifiercompiler.strip.php +++ b/libs/plugins/modifiercompiler.strip.php @@ -14,7 +14,7 @@ * Example: {$var|strip} {$var|strip:" "} * Date: September 25th, 2002 * - * @link http://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual) * @author Uwe Tews * * @param array $params parameters diff --git a/libs/plugins/modifiercompiler.strip_tags.php b/libs/plugins/modifiercompiler.strip_tags.php index 1bca1a28..6ee3df9a 100644 --- a/libs/plugins/modifiercompiler.strip_tags.php +++ b/libs/plugins/modifiercompiler.strip_tags.php @@ -11,7 +11,7 @@ * Name: strip_tags * Purpose: strip html tags from text * - * @link http://www.smarty.net/docs/en/language.modifier.strip.tags.tpl strip_tags (Smarty online manual) + * @link https://www.smarty.net/docs/en/language.modifier.strip.tags.tpl strip_tags (Smarty online manual) * @author Uwe Tews * * @param array $params parameters diff --git a/libs/plugins/modifiercompiler.upper.php b/libs/plugins/modifiercompiler.upper.php index ea4e95b7..e12ae676 100644 --- a/libs/plugins/modifiercompiler.upper.php +++ b/libs/plugins/modifiercompiler.upper.php @@ -11,7 +11,7 @@ * Name: lower * Purpose: convert string to uppercase * - * @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.upper.php lower (Smarty online manual) * @author Uwe Tews * * @param array $params parameters diff --git a/libs/plugins/modifiercompiler.wordwrap.php b/libs/plugins/modifiercompiler.wordwrap.php index 8565f140..49cb40b0 100644 --- a/libs/plugins/modifiercompiler.wordwrap.php +++ b/libs/plugins/modifiercompiler.wordwrap.php @@ -11,7 +11,7 @@ * Name: wordwrap * Purpose: wrap a string of text at a given length * - * @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual) + * @link https://www.smarty.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual) * @author Uwe Tews * * @param array $params parameters diff --git a/libs/plugins/outputfilter.trimwhitespace.php b/libs/plugins/outputfilter.trimwhitespace.php index 7e4503a1..2f747ad5 100644 --- a/libs/plugins/outputfilter.trimwhitespace.php +++ b/libs/plugins/outputfilter.trimwhitespace.php @@ -41,7 +41,7 @@ function smarty_outputfilter_trimwhitespace($source) } } // Strip all HTML-Comments - // yes, even the ones in