Compare commits

..

4889 Commits

Author SHA1 Message Date
Simon Wisselink 0ec1a67f6b Also mute php7 notices for undefined array indexes when muteUndefinedOrNullWarnings is activated.
Fixes #736
2022-11-23 23:00:01 +01:00
Simon Wisselink c02e9e135e Merge branch 'release/4.3.0' 2022-11-22 22:47:32 +01:00
Simon Wisselink 67ab8f6879 version bump 2022-11-22 22:47:30 +01:00
Simon Wisselink 773b3b4b7c Change file permissions for directories and respect umask for written files. (#828)
Fixes #548
Fixes #819
2022-11-22 22:31:54 +01:00
Hunman 613c5d691c Make SmartyCompilerException play nicer with error handler libraries (#782)
* Make SmartyCompilerException play nicer with error handler libraries

Added a new constructor, which accepts a filename and a line number too
(similar to ErrorException, except no severity parameter)
This way error handlers will display the correct file's correct line as
the source of the exception, instead of the template's line in the
core of the parser (php file)

Kept the __toString() method, but removed $source, $desc, and $template

* Revert the breaking changes
2022-11-22 21:58:13 +01:00
Progi1984 c016895166 PHP8.2 compatibility (#775)
* PHP8.2 compatibility

* PHP8.2 compatibility : Fixed unit tests

* PHP8.2 compatibility : Replace ENT_COMPAT by ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401

* PHP8.2 compatibility : Remove deprecated utf8_decode

* PHP8.2 compatibility : Remove HTML-ENTITIES parameter

* Removed some unused code for clarity, updated the changelog.

* More concise escape implementation and unit test to cover both modifierplugin and modifiercompiler.

* Fix htmlall unescape of quotes without mbstring too

Co-authored-by: Simon Wisselink <s.wisselink@iwink.nl>
2022-11-22 21:22:57 +01:00
Andrew Dawes f81720941c Fixed several typos and grammar errors (#821) 2022-10-22 22:08:38 +02:00
Simon Wisselink 1ff79c6c38 Update changelog
Closes #816
2022-09-27 12:24:08 +02:00
Simon Wisselink 254b5cabee Dropped remaining references to removed PHP-support in Smarty 4 from docs, lexer and security class. 2022-09-27 12:21:01 +02:00
Raimondas Rimkevičius 1b556c7077 Use __DIR__ instead of dirname(__FILE__) (#817) 2022-09-27 12:03:34 +02:00
Simon Wisselink 4550fc0339 Using PHP functions as modifiers now triggers a deprecation notice (#814)
Fixes #813
2022-09-23 00:09:00 +02:00
Scott Newton 4fc39d59a5 Bug fix for underscore in template name (#581)
* Corrected bug #578, where underscore characters were being stripped from template names when using a custom resource
* Increased the maximum template name length to 127 characters when using a custom resource
2022-09-22 23:56:18 +02:00
Alec Smecher 0fb29024e7 #155 Adapt Smarty upper/lower functions to be codesafe (e.g. for Turkish locale) (#586)
* Implemented locale safe strotoupper, strolower and ucfirst functions for translating user string to filenames etc.

Fixes #155

Co-Authored-By: Alexkurd <7689609+Alexkurd@users.noreply.github.com>
2022-09-22 23:32:55 +02:00
Simon Wisselink 612bd3f657 Fixed PHP8.1 deprecation errors in strip_tags (#803) 2022-09-22 14:55:20 +02:00
Simon Wisselink 9eea30ec1e Removed now superfluous phpunit.sh 2022-09-22 14:44:45 +02:00
Simon Wisselink ea95e8b047 Re-organize all testrunners to use the same script(s). (#812) 2022-09-22 14:31:49 +02:00
Simon Wisselink 474138fd7e Updated changelog 2022-09-22 14:31:01 +02:00
Mathias b91c04bfcf Fixed PHP8.1 deprecation errors passing null to parameter in trim (#807)
Fixed a PHP 8.1 deprecation error:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in cacheresource_keyvaluestore.php on line 247 and in cacheresource_keyvaluestore.php on line 431
2022-09-22 14:29:51 +02:00
Simon Wisselink c53342c9fc Silence deprecation errors for strtime in PHP8.1 or higher
Fixes #672 (#811)
2022-09-22 14:11:36 +02:00
Simon Wisselink f8a958cd53 Update changelog 2022-09-21 21:56:39 +02:00
Jonathan Stoll 45345e75ec Fix Variable Usage (#808)
Fix Variable Usage in Exception message when unable to load subtemplate
2022-09-21 21:54:41 +02:00
Simon Wisselink bf7d6b8bd8 Include docs en demo in the releases.
Fixes #799
2022-09-20 22:45:16 +02:00
Simon Wisselink 32a11b34ea Added changelog 2022-09-18 17:18:32 +02:00
Storyxx db80246b58 fix compilation for caching templates (#801) 2022-09-18 17:15:56 +02:00
Hypolite Petovan d683641f90 Fix wrong indentation in libs/plugins/modifier.capitalize.php (#802) 2022-09-18 11:14:59 +02:00
Simon Wisselink e2e68b3622 clean output buffer for Throwable instead of just Exception (#797)
Fixes #514
2022-09-14 13:47:36 +02:00
Simon Wisselink ffa2b81a8e Merge branch 'release/4.2.1' 2022-09-14 12:59:01 +02:00
Simon Wisselink c693d81370 version bump 2022-09-14 12:58:59 +02:00
Simon Wisselink 813c83f7a3 Fixed unselected year/month/day not working in html_select_date
Fixes #395
2022-09-14 12:44:37 +02:00
Simon Wisselink 55ea25d1f5 Applied appropriate javascript and html escaping in mailto plugin to counter injection attacks
Fixes #454
2022-09-14 11:38:18 +02:00
Simon Wisselink d304d349b4 Fixed PHP8.1 deprecation errors in capitalize modifier
Fixes #789
2022-09-13 12:19:44 +02:00
Simon Wisselink 7494818434 prevent double CI workflows in PRs 2022-09-12 16:02:42 +02:00
Simon Wisselink 50d5890eac Exclude unit test files from git export 2022-09-12 15:52:32 +02:00
Simon Wisselink 6872e78238 Utility script for running unit tests on all PHP versions locally 2022-09-12 15:50:09 +02:00
Simon Wisselink 5479e3362c Fixed use of rand() without a parameter in math function (#795)
* Fixed use of `rand()` without a parameter in math function
Fixes #794
2022-09-12 12:13:42 +02:00
Simon Wisselink f8f97b4e2d Fixed PHP8.1 deprecation errors in upper modifier #788 2022-09-10 12:34:20 +02:00
Mark Fettig 1bc7c722a3 address PHP 8.1 'explode', 'number_format', and 'replace' deprecations (#755) 2022-09-09 22:39:24 +02:00
Simon Wisselink 02968a82b5 Update SECURITY.md
Removed comment that still indicated v4 wasn’t released yet.
2022-08-16 22:43:47 +02:00
Simon Wisselink 97aeb14c6f Merge branch 'release/4.2.0' 2022-08-01 23:57:38 +02:00
Simon Wisselink ed454551a3 version bump 2022-08-01 23:57:36 +02:00
Simon Wisselink f4b26a3cbf Fixed second param of unescape modifier (#778)
Fixes #777
2022-08-01 23:49:19 +02:00
Simon Wisselink 20a8026ccd Merge branch 'fix-issue-549-v3' of github.com:AnrDaemon/smarty into AnrDaemon-fix-issue-549-v3 (#771) 2022-07-19 22:55:07 +02:00
Simon Wisselink 27910bf2c1 git push origin masterMerge branch 'JonisoftGermany-master' 2022-07-17 00:54:29 +02:00
Simon Wisselink cb95216671 Changelog 2022-07-17 00:54:20 +02:00
Simon Wisselink d6ac3297df Merge branch 'master' of github.com:JonisoftGermany/smarty into JonisoftGermany-master 2022-07-17 00:53:25 +02:00
Simon Wisselink 560475a2f2 Do not use obsolete smarty properties '_dir_perms', '_file_perms', 'plugin_search_order' in our own code. (#772) 2022-07-17 00:13:57 +02:00
Gunnar Kreitz 382d66305d Fix PHP 8.1 htmlspecialchars deprecation (#766) 2022-07-14 23:51:26 +02:00
Simon Wisselink 44bac8d58c add local testrunners for all supported PHP versions using docker. (#770) 2022-07-14 23:50:22 +02:00
Simon Wisselink f8e1ba76f7 Replaced outdated references to SMARTY_RESOURCE_CHAR_SET in docs with Smarty::$_CHARSET. 2022-06-15 22:12:38 +02:00
Simon Wisselink 629504485f Add CVE to changelog 2022-05-17 14:58:05 +02:00
Simon Wisselink 71036be8be Merge branch 'release/4.1.1' 2022-05-17 14:56:28 +02:00
Simon Wisselink 78f0cf5f65 version bump 2022-05-17 14:56:26 +02:00
Simon Wisselink 64ad6442ca Merge branch 'security/blockfunctioninjection' 2022-05-17 14:55:47 +02:00
Simon Wisselink 7eff7d6fb0 Changelog 2022-05-16 13:31:15 +02:00
Simon Wisselink 05f1a7deda Replace '*/' in user supplied input in C-style comments with '* /'. 2022-05-16 12:34:49 +02:00
Simon Wisselink 3f97b7352e Changelog 2022-04-26 22:11:59 +02:00
Simon Wisselink a6711b3833 Merge pull request #727 from liborm85/escape-modifier-fix
PHP 8.1: fix deprecation in escape modifier
2022-04-26 22:11:33 +02:00
Simon Wisselink 52056ce65a Changelog 2022-04-26 22:09:50 +02:00
Simon Wisselink 8b96efad45 Merge pull request #743 from xorti/fix-php81-rtrim-calls
Fix PHP 8.1 deprecated warning when calling rtrim
2022-04-26 22:09:10 +02:00
Simon Wisselink bfa02f3b91 Merge branch 'patch-1' 2022-04-26 22:06:29 +02:00
Simon Wisselink 89dc506638 Add changelog 2022-04-26 22:05:34 +02:00
Stephen Sigwart e68065bc33 Exclude demo from export and composer 2022-04-01 22:48:14 -04:00
Stephen Sigwart db2547287c Exclude docs from export and composer 2022-04-01 22:46:50 -04:00
Jorge Sá Pereira 962f266483 Fix PHP 8.1 deprecated warning when calling rtrim
Fixes - Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated
2022-03-10 02:06:00 +00:00
Simon Wisselink 8aeb5d6821 Merge pull request #726 from pH-7/patch-1
gitattributes: Ignore `.github` folder for distribution
2022-02-13 22:34:29 +01:00
Libor M a2e1df1768 PHP 8.1: fix deprecation in escape modifier 2022-02-08 13:30:19 +01:00
♚ PH⑦ de Soria™♛ fe6d333c60 Ignore .github folder for distribution
`.github` wasn't added here was it got created. However, we don't want `.github` for the distribution builds. Further info about this: https://www.pixelite.co.nz/article/using-git-attributes-exclude-files-your-release/
2022-02-08 06:32:27 +10:30
Simon Wisselink 50c4604857 Added issue 721 to changelog 2022-02-07 09:43:49 +01:00
Simon Wisselink e5a6ff42f8 Merge pull request #725 from smarty-php/bugfix/699
prevent float to int cast deprecation warning in truncate modifier
2022-02-06 22:25:34 +01:00
Simon Wisselink 3cc56392c6 prevent float to int cast deprecation warning in truncate modifier
Fixes #699
2022-02-06 22:20:05 +01:00
Simon Wisselink 17025423e1 Merge pull request #724 from smarty-php/bugfix/706
Fix PHP 8.1 deprecation notices in demo/plugins/cacheresource.pdo.php
2022-02-06 22:09:39 +01:00
Simon Wisselink 18d3e564da Merge branch 'master' into bugfix/706 2022-02-06 22:05:01 +01:00
Simon Wisselink 0d2c38b482 fix PHP 8.1 deprecation notices in demo/plugins/cacheresource.pdo.php
Fixes #706
2022-02-06 22:03:24 +01:00
Simon Wisselink f90348971b Merge pull request #722 from kochichi/bugfix/721
math equation return warning: max(x, y)
2022-02-06 21:54:54 +01:00
Simon Wisselink 9e0536de18 Merge branch 'release/4.1.0' 2022-02-06 21:34:27 +01:00
Simon Wisselink 265cf4f3bc version bump 2022-02-06 21:34:26 +01:00
Simon Wisselink 47f95ad324 Merge pull request #717 from vemaeg/php81-doc
Updating PHP 8.0 to 8.1 in the docs and add php8.1 test runner.
2022-02-06 21:30:52 +01:00
Pavel Kochman 02633ecaba math equation return warning: math: illegal character for : {math equation="max(x, y)" x=$x y=$y} 2022-02-04 21:03:25 +01:00
Thomas A. Hirsch 6786623afb Activating jit compiler for ubuntu-latest + php 8.1 2022-01-21 17:58:35 +01:00
Thomas 2d97169086 Merge branch 'smarty-php:master' into php81-doc 2022-01-21 17:57:27 +01:00
Thomas 0f098802c6 Create getting-started.md 2022-01-21 17:55:23 +01:00
Thomas bbcd5817f6 Update README.md 2022-01-21 17:51:45 +01:00
Simon Wisselink 612094d763 Updated changelog 2022-01-21 10:21:00 +01:00
Simon Wisselink 0ef0dda825 Merge pull request #713 from vemaeg/php81
PHP 8.1 compatibility (without IntlDateFormatter)
2022-01-21 10:18:48 +01:00
Thomas BACCELLI cef8951100 Add PHP 8.1 tests 2022-01-18 15:56:23 +01:00
Thomas BACCELLI 323aefa89f Fix phpunit warning 2022-01-18 15:56:23 +01:00
Thomas A. Hirsch 277648b81c Cherry-picked from da76d927ed
Co-Authored-By: Thomas BACCELLI <tbaccelli@gmail.com>
2022-01-18 15:56:23 +01:00
Thomas A. Hirsch 8d3a7af308 Cherry-picked from da76d927ed
Co-Authored-By: Thomas BACCELLI <tbaccelli@gmail.com>
2022-01-18 15:56:23 +01:00
Simon Wisselink cdf0f2b164 Merge branch 'release/4.0.4' 2022-01-18 00:17:19 +01:00
Simon Wisselink 995b7eb36f version bump 2022-01-18 00:17:17 +01:00
Claas Augner 059bea274c Support multiple operators in math equations (#708)
* fix(math): fix equation regexp

Fixes #702.
2022-01-18 00:10:17 +01:00
Simon Wisselink f707dadecb Merge branch 'release/4.0.3' 2022-01-10 10:52:14 +01:00
Simon Wisselink ace1c8e90f version bump 2022-01-10 10:52:13 +01:00
Simon Wisselink 19ae410bf5 Merge pull request from GHSA-4h9c-v5vg-5m6m
* Prevent evasion of the static_classes security policy.

* Updated deprecated exception expectations.
2022-01-10 10:48:27 +01:00
Simon Wisselink baad3115cd Fixed PHPUnit expected Exceptions. (#701) 2022-01-10 09:46:01 +01:00
Simon Wisselink 6f4f06db7e Merge branch 'release/4.0.2' 2022-01-10 00:09:08 +01:00
Simon Wisselink a535445dfd version bump 2022-01-10 00:09:06 +01:00
Simon Wisselink 215d81a9fa Merge pull request from GHSA-29gp-2c3m-3j6m
* Temporary fix. Waiting for CVE

* Add CVE
2022-01-10 00:01:43 +01:00
Simon Wisselink efb416e5ef Fixed unit tests 2022-01-09 23:29:43 +01:00
Simon Wisselink 29c0e5ac51 Merge branch 'release/4.0.1' 2022-01-09 23:20:45 +01:00
Simon Wisselink 23be620fc8 version bump 2022-01-09 23:20:44 +01:00
Simon Wisselink e6ab34654b Merge remote-tracking branch 'origin/master' 2022-01-09 23:15:44 +01:00
Simon Wisselink c7576eb1a1 Rewrote the mailto function to not use eval when encoding with javascript 2022-01-09 23:15:25 +01:00
Marc Laporte 56aadc697f Fix a typo in docs (#690) 2021-12-22 23:01:19 +01:00
Darek Krzysztofiak cd962280ce Fix for php 8.0 (#687)
* Fix PHP 8.0
$parts must be an array, because the argument for count() must be countable, mb_split() returns an array or a boolean.
2021-12-03 17:13:52 +01:00
Simon Wisselink cb5efd04c3 Improve the documentation, bringing it up to date with PHP7/8 and Smarty 4 and providing
a more logical introduction and getting started experience.
2021-12-03 16:51:08 +01:00
Simon Wisselink 3a91df797e added links to appndixes, removed unuseful old appendixes 2021-12-03 12:18:46 +01:00
Simon Wisselink 6983788dfb Merge branch 'master' of github.com:smarty-php/smarty 2021-12-03 12:15:04 +01:00
Simon Wisselink 09875a61f4 changed homepage links in composer.json 2021-12-03 12:04:13 +01:00
Simon Wisselink 428a701b18 Feature/add docs (#689)
* Add converted docs repo

* Set theme jekyll-theme-minimal

* Removed BC docs, added TOC

* Added TOCs, rewrote most important links in documentation. Linked README to new Github Pages site

* some link fixes
2021-12-03 11:59:22 +01:00
Simon Wisselink baebd59bb4 Merge branch 'release/4.0.0' 2021-11-25 22:18:25 +01:00
Simon Wisselink e603269eda version bump 2021-11-25 22:18:24 +01:00
Simon Wisselink 572cbe5595 Make make-release.sh safer by checking for version number. 2021-10-22 15:59:46 +02:00
Simon Wisselink ffb2fd923b Update README.md. Fix references to Smarty3. Get rid of old changelog-like files. 2021-10-13 22:49:43 +02:00
Simon Wisselink 64a6333d5d Merge branch 'release/4.0.0-rc.0' 2021-10-13 12:16:20 +02:00
Simon Wisselink d0863f0d0b version bump 2021-10-13 12:16:19 +02:00
Simon Wisselink 39b69f0142 Feature/php8 support (#629)
Adds support for PHP8.0, dropping support for PHP7.0 and below.

Backwards incompatible changes:
- Dropped support for php asp tags in templates (removed from php since php7.0)
- Dropped deprecated API calls that where only accessible through SmartyBC
- Dropped support for {php} and {include_php} tags and embedded PHP in templates. Embedded PHP will now be passed through as is.
- Removed all PHP_VERSION_ID and compare_version checks and conditional code blocks that are now no longer required
- Dropped deprecated SMARTY_RESOURCE_CHAR_SET and SMARTY_RESOURCE_DATE_FORMAT constants
- Dropped deprecated Smarty::muteExpectedErrors and Smarty::unmuteExpectedErrors API methods
- Dropped deprecated $smarty->getVariable() method. Use $smarty->getTemplateVars() instead.
- $smarty->registerResource() no longer accepts an array of callback functions

See the changelog for more details.

Switched CI from Travis to Github CI.
2021-10-13 12:15:17 +02:00
Simon Wisselink 9d4f8309ed Merge branch 'release/3.1.40' 2021-10-13 12:04:31 +02:00
Simon Wisselink 7c4354e7b8 version bump 2021-10-13 12:04:29 +02:00
Simon Wisselink 770bc4aae2 Merge branch 'm-haritonov-escape' 2021-08-19 16:15:57 +02:00
Simon Wisselink 0ff7ba5ab6 Add changelog 2021-08-19 16:13:30 +02:00
Simon Wisselink 3b0fd82849 Merge branch 'escape' of https://github.com/m-haritonov/smarty into m-haritonov-escape 2021-08-19 15:26:27 +02:00
Ikko Ashimine 1a68b79b6c Update README.md (#668)
github -> GitHub
2021-08-18 23:23:36 +02:00
Michael Voříšek e3eabe0b96 Delete uninted file expectException (#664) 2021-05-25 21:18:07 +02:00
Simon Wisselink 4698dd9fb0 Changelog 2021-03-21 21:24:32 +01:00
David Goodwin 039043e5a2 Update modifier.escape.php (#649)
trigger a notice if an incorrect modifier was used (E.g.|escape:quotes vs |escape:quote).
2021-03-21 21:21:55 +01:00
Mihail Haritonov 9cde36e3bc plugins: escape: javascript escaping secure fix 2021-02-28 16:44:56 +03:00
Simon Wisselink 290aee6db3 Update CHANGELOG.md
Add CVE's
2021-02-21 22:23:45 +01:00
Simon Wisselink e2485fa45e Create SECURITY.md 2021-02-21 22:03:44 +01:00
Simon Wisselink e27da524f7 Merge branch 'release/3.1.39' 2021-02-17 22:57:51 +01:00
Simon Wisselink a21f59663c version bump 2021-02-17 22:57:50 +01:00
Simon Wisselink 3148d406a0 changelog 2021-02-17 22:57:33 +01:00
Simon Wisselink 4f634c0097 Merge branch 'bugfix/tplfunction_sandbox_escape' 2021-02-17 22:52:34 +01:00
Simon Wisselink c9272058d9 Merge branch 'bugfix/template_object_sandbox_escape' 2021-02-17 22:51:38 +01:00
Simon Wisselink e66e293a8a Do not push release automatically in make release script, to enable a chance to catch any errors. 2021-02-17 22:50:52 +01:00
Simon Wisselink 74cab5a56b updated changelog header to security 2021-02-17 22:30:35 +01:00
Simon Wisselink 8fc66e27a7 Cannot use in Smarty3 yet, revert to @expectedException 2021-02-01 10:33:00 +01:00
Simon Wisselink 2543174460 Cannot use in Smarty3 yet, revert to @expectedException 2021-02-01 10:31:20 +01:00
Simon Wisselink 288a54f6b0 Add unit test 2021-01-24 23:52:45 +01:00
Simon Wisselink 165f1bd4d2 Fixed Code injection vulnerability by using illegal function names 2021-01-24 23:44:07 +01:00
Simon Wisselink 6463519a6c Prevent access to .template_object when in security mode to prevent PHP code injection vulnerability 2021-01-24 23:13:26 +01:00
Simon Wisselink fedc127057 Mark tests that use sleep calls as slow, so we can ignore them when running unit tests in development 2021-01-16 23:01:15 +01:00
Ikko Ashimine 3af2df20a4 Fix typo in StreamVariableTest.php (#616)
existant -> existent
2021-01-08 17:28:33 +01:00
Simon Wisselink 63b3c0aed0 Merge branch 'release/3.1.38' 2021-01-08 15:05:42 +01:00
Simon Wisselink 2af2a07906 version bump 2021-01-08 15:05:40 +01:00
Simon Wisselink cb4254355e Removed unused error_reporting.ini file, updated version number in Smarty::SMARTY_VERSION, fixed inline phpdoc that caused an IDE error 2021-01-08 15:05:10 +01:00
Simon Wisselink f65e7ddd22 fixed changelog 2021-01-07 00:34:08 +01:00
Simon Wisselink 92e05d4f8d Brought lexer source functionally up-to-date with compiled version (#625)
Fixes #621
2021-01-07 00:26:28 +01:00
Simon Wisselink e2b28167f8 Clarify correct LGPL version.
Fixes #612
2021-01-05 22:23:13 +01:00
Libor M 820782cd80 const fix for usage with comparison operators (#618)
Fixes #609 #613
2021-01-05 22:07:44 +01:00
Simon Wisselink c295786e43 Fixes for php8.0.0beta3 (#608)
* Set $errcontext argument optional to support PHP 8

- Argument is optional and deprecated in PHP 7.2

* Getting ready for PHP8, handling changed error levels/handlers mostly

* php5 compat syntax

* Updated UndefinedTemplateVarTest for PHP8 (and disabled a check for PHP<5.6) and re-enabled php:nightly in travis config

* Attempt to fix travis runs for (almost) all php versions supported

* Fix unit tests for php8, force composer to think we are still php7 to pick a supported phpunit and being less specific about an error msg because PHP8 is in active development and the exact wording is changing.

* Fixed a unit test that accidentally passed on phpunit < 7 because of sloppy string comparison.

* changelog

* run travis in xenial where possible for latest php versions. Fix unit tests from freakingo over inconsistent error messages in php8-beta.

* Incorporated AnrDaemons suggestions, making composer figure out the required phpunit version instead of specifying it explicitly and removing a unneeded error supression (@).

Co-authored-by: Jorge Sá Pereira <me@jorgesapereira.com>
2020-09-12 21:37:31 +02:00
♚ PH⑦ de Soria™♛ 859a09e1bb Bumped phpdoc @version tag to 3.1.36 (#598)
Although this could be removed, since the header comment is still there, it's good to keep the @version tag updated in order to avoid confusion for those who read it :)
2020-09-11 13:34:15 +02:00
Simon Wisselink a5934a755d Fixed a unit test that accidentally passed on phpunit < 7 because of sloppy string comparison. 2020-09-11 13:22:45 +02:00
Stoll, Jonathan dff1955cd5 Update to HTML5-syntax in debug template
* Replace deprecated tags
* Use CSS3 selectors
* Update html-frame
* Remove deprecated syntax
* Harmonize syntax in general
2020-06-19 21:20:46 +02:00
Simon Wisselink 5a72624380 Test travis config for PHP5 versions (#592)
* Run tests for PHP5.x
* Start from 5.3 since composer requires it and without it we cannot install phpunit
* Specify dist for 5.3
* Disabled nightly testing because phpunit doesn't support php8 yet.
2020-05-05 15:08:31 +02:00
Simon Wisselink 1418c8c422 Merge branch 'AnrDaemon-fix-php5.3-compat' 2020-05-05 09:21:07 +02:00
Simon Wisselink f46c13b32a Updated changelog 2020-05-05 09:20:56 +02:00
AnrDaemon eae19f23b9 PHP 5.3 compatibility fixes 2020-05-05 01:37:36 +03:00
Sławomir Kaleta e1c050a32c Fix comment - Method can return string (#583) 2020-04-14 17:26:20 +02:00
Simon Wisselink fd148f7ade Merge branch 'release/3.1.36' 2020-04-14 16:44:26 +02:00
Simon Wisselink 07772aac90 version bump 2020-04-14 16:44:24 +02:00
Simon Wisselink 08227651fc Fixed #584 2020-04-14 16:44:09 +02:00
Simon Wisselink e0ea6899c8 fixed version of Smarty::SMARTY_VERSION and updates make-release script to do so automatically from now on 2020-04-14 16:40:44 +02:00
Simon Wisselink 97f700971f Merge branch 'release/3.1.35' 2020-04-14 00:02:48 +02:00
Simon Wisselink a0abc47588 version bump 2020-04-14 00:02:39 +02:00
Simon Wisselink 728a584ad5 Moved changelog to a keepachangelog.com format and added a release script 2020-04-14 00:02:18 +02:00
Simon Wisselink 290f7cfc3d Moved the isset tests into the test suite 2020-04-13 23:44:39 +02:00
Simon Wisselink 48d24b7ad1 Fix repo layout for package maintainers (#571)
* Do not ignore lexer subfolder for export as this contains source files and add smarty-lexer as a composer dev-dependency.
* Remove unit tests etc from archive export

Please note that the generated lexer / parser classes are not exactly equivalent, as they have been editing to conform to coding standards afterwards. I did a quick review and there don't seem to be any differences in semantics though.
2020-04-13 22:32:23 +02:00
Simon Wisselink 19ef8342aa Strip now removes whitespaces after comment (#582)
* Mark text sections as to be stripped, but do not strip them right away. Combine equivalent sections in chunks at the template level and strip combined chunks where possible.
- simplified Smarty_Internal_TemplateCompilerBase::processText along the way
Fixes #447
2020-04-13 22:27:42 +02:00
Simon Wisselink 4f89f6d84f Throw SmartyException when setting caching attributes for cacheable plugin as compiling this would fail (#573)
Fixes #457
2020-04-13 22:26:24 +02:00
Simon Wisselink 4396351d75 Switched to a more advanced regex to test wheter parameter is a variable (#567)
* This appears to fix #453, #498, #499 and possibly more issues.
2020-04-13 22:24:29 +02:00
Simon Wisselink 17d4d43624 Feature/merge smarty-phpunit into tests subfolder (#580)
* Removed unneeded files and replace dummy.txt with .gitignore files
* Synced unit tests with master codebase, noted TODO's, fixed phpunit scripts and travis config
* fix php7.4 deprecation and remove php7.4 from travis allow_failures since php7.4 is current stable

Co-authored-by: Uwe Tews <uwe.tews@googlemail.com>
Co-authored-by: Uwe Tews <uwe.tews@gmail.com>
Co-authored-by: AnrDaemon <anrdaemon@yandex.ru>
2020-04-13 15:30:52 +02:00
Simon Wisselink 61e7412807 Merge pull request #570 from vadimkuragkovskiy/master
fix minor typo
2020-04-12 11:41:22 +02:00
Vadim Kuragkovskiy 38b5ac72fa fix minor typo 2020-02-07 18:56:25 +02:00
Simon Wisselink 4b29dfce11 Merge pull request #566 from smarty-php/bugfix/506_foreachelse_on_arrayiterators
Bugfix/506 foreachelse on arrayiterators
2020-01-27 16:08:35 +01:00
Simon Wisselink e0df3d47e2 Ignore templates_c dir 2020-01-27 16:04:04 +01:00
Simon Wisselink 62d772e734 Fixed broken nesting and null handling. 2020-01-27 16:02:02 +01:00
Simon Wisselink 388993e9ca Fix foreachelse on arrayiterators
Keep track of main loop using a do_else variable.
Fixed #506
2020-01-27 15:24:45 +01:00
Simon Wisselink 97c27a0f2f Merge pull request #503 from SeahunOh/master
fix typo
2020-01-26 23:49:57 +01:00
Monte Ohrt b2ecd98ae0 update changelog to reflect resent pull request merges 2020-01-13 18:56:03 -06:00
mohrt 4911f49b9c Merge pull request #535 from glensc/patch-1
exclude error_reporting.ini from git export
2020-01-13 18:51:34 -06:00
mohrt a62a7caf97 Merge pull request #540 from Hunman/master
Fixing problem with assigning value to object variables as arrays in smarty_internal_compile_assign
2020-01-13 18:50:41 -06:00
mohrt 704fcef160 Merge pull request #542 from IT-Experte/master
Fixed using wrong get and set methods from class memcached
2020-01-13 18:48:56 -06:00
mohrt d1f37449a9 Merge pull request #546 from matks/enhance-readme
Add Travis badge and php compatibility infos in readme
2020-01-13 18:46:14 -06:00
mohrt 9e9961feae Merge pull request #551 from bits4breakfast/master
Replace callback typehint with callable
2020-01-13 18:45:23 -06:00
mohrt 4fb3f616b2 Merge pull request #560 from JercSi/master
Typo in exception message
2020-01-13 18:44:07 -06:00
mohrt e4239d095a Merge pull request #563 from caugner/patch-1
Fixes the change log date of the 3.1.34 release
2020-01-13 18:42:54 -06:00
Claas Augner 5547e0177b fix change log date 2020-01-13 18:51:37 +01:00
JercSi b9b9d30144 Typo in exception message
Added space between 'line' and line number.
2019-12-20 09:49:32 +01:00
Monte Ohrt 0137c2e7e6 update change log version 2019-12-12 18:56:47 -06:00
Matteo Galli c7ee6a3333 Replace callback typehint with callable
`callback` is not a valid PHP type and makes static analysis tools failing
2019-08-14 09:34:42 +02:00
Mathieu Ferment 651b129700 Add Travis badge and php compatibility infos in readme 2019-07-04 11:11:51 +02:00
Mathias 6d8d3b67d8 Changed read and write methods for compatibility with class memcached
The methods of the memcached class have different parameters than the memcache class.
2019-05-24 12:08:44 +02:00
Sanyi 7bc96d56fe Fix missing parenthesises in smarty_internal_compile_assign 2019-05-13 17:15:14 +02:00
Elan Ruusamäe 78924d8d68 exclude error_reporting.ini from git export 2019-03-02 18:11:04 +02:00
uwetews c9f0de05f4 Fix PHPunit tests for PHP7 https://github.com/smarty-php/smarty/pull/532 2019-02-28 07:42:20 +01:00
uwetews f93f95787f Fix PHPunit tests for PHP7 https://github.com/smarty-php/smarty/pull/532 2019-02-28 05:59:23 +01:00
uwetews 70fc2fd276 Travis fix 2018-12-09 05:06:53 +01:00
uwetews 3ddd960337 Travis fix 2018-12-09 04:42:05 +01:00
uwetews 20bb96c1b0 Revert "Travis fix"
This reverts commit eca7ec7f48.
2018-12-09 04:28:51 +01:00
uwetews 22cb50fcda Revert "Travis fix"
This reverts commit 2db8437354.
2018-12-09 04:28:28 +01:00
uwetews f0d1b52094 Revert "Travis fix"
This reverts commit 4dbaa25cee.
2018-12-09 04:27:56 +01:00
uwetews 4dbaa25cee Travis fix 2018-12-09 04:23:02 +01:00
uwetews 2db8437354 Travis fix 2018-12-09 04:17:23 +01:00
uwetews eca7ec7f48 Travis fix 2018-12-09 04:05:30 +01:00
uwetews d453d9e667 Merge pull request #515 from AnrDaemon/use-classmaps
Use Composer classmap autoload instead of custom bootstrap.
2018-11-28 07:01:04 +01:00
AnrDaemon dc2484dd3c Merge branch 'master' into use-classmaps 2018-11-26 21:21:43 +03:00
AnrDaemon 91af98d328 Tweaked the composer.json a little. 2018-11-26 20:58:42 +03:00
uwetews 69c6a0d650 Merge pull request #509 from jplusc/patch-1
minor typo in NEW_FEATURES.txt (setLiterals)
2018-11-11 09:16:56 +01:00
jplusc 69e8f3f892 minor typo in NEW_FEATURES.txt (setLiterals)
function is actually 'setLiterals' but docs refer to 'setLiteral'
2018-11-10 21:44:33 -05:00
shpik 5ccdf3a3fc fix typo
fix typo
2018-11-01 01:01:47 +09:00
uwetews 68537949f2 - bugfix a nested subblock in an inheritance child template was not replace by
outer level block with same name in same child template https://github.com/smarty-php/smarty/issues/500
2018-10-30 01:03:52 +01:00
uwetews 433d220fa1 - bugfix Smarty::$php_handling == PHP_PASSTHRU (default) did eat the "\n" (newline) character if it did directly followed
a PHP tag like "?>" or other https://github.com/smarty-php/smarty/issues/501
2018-10-29 23:32:22 +01:00
uwetews 3626e37c53 - bugfix autoloader exit shortcut https://github.com/smarty-php/smarty/issues/467 2018-10-14 04:18:45 +02:00
uwetews b05bc1b617 - bugfix in date-format modifier; NULL at date string or default_date did not produce correct output
https://github.com/smarty-php/smarty/pull/458
2018-10-11 09:22:23 +02:00
uwetews c930f0e207 - bugfix {insert} not works when caching is enabled and included template is present
https://github.com/smarty-php/smarty/issues/496
2018-10-11 06:56:22 +02:00
uwetews 7f531f6a44 09.10.2018
- bugfix fix of 26.8.2017 https://github.com/smarty-php/smarty/issues/327
   modifier is applied to sum expression https://github.com/smarty-php/smarty/issues/491
 - bugfix indexed arrays could not be defined "array(...)""
2018-10-09 03:36:14 +02:00
uwetews 9301ba4bfc 09.10.2018
- bugfix fix of 26.8.2017 https://github.com/smarty-php/smarty/issues/327
   modifier is applied to sum expression https://github.com/smarty-php/smarty/issues/491
 - bugfix indexed arrays could not be defined "array(...)""
2018-10-09 03:34:34 +02:00
uwetews 5204723bc6 update .travis.yml 2018-09-18 05:36:27 +02:00
uwetews a6cb648dfc - bugfix large plain text template sections without a Smarty tag > 700kB could
could fail in version 3.1.32 and 3.1.33 because PHP preg_match() restrictions
    https://github.com/smarty-php/smarty/issues/488
2018-09-18 04:46:30 +02:00
AnrDaemon b9dbd46289 Merge branch 'master' into use-classmaps 2018-09-14 17:25:51 +03:00
uwetews dd55b23121 Prepare 3.1.33 release 2018-09-12 22:54:16 +02:00
uwetews 2d1905cd88 - bugfix {foreach} using new style property access like {$item@property} on
Smarty 2 style named foreach loop could produce errors https://github.com/smarty-php/smarty/issues/484
2018-09-03 01:18:26 +02:00
uwetews 2c60503dfc - bugfix some custom left and right delimiters like '{^' '^}' did not work
https://github.com/smarty-php/smarty/issues/450 https://github.com/smarty-php/smarty/pull/482
2018-08-31 17:32:44 +02:00
uwetews 7b64226e16 - reformating for PSR-2 coding standards https://github.com/smarty-php/smarty/pull/483 2018-08-31 16:46:20 +02:00
uwetews 4f7cd8f1b3 - reformating for PSR-2 coding standards https://github.com/smarty-php/smarty/pull/483 2018-08-31 16:45:09 +02:00
uwetews d52a04fba1 travis configuration problem fpr PHP 5.4 2018-08-31 16:24:31 +02:00
uwetews 8a4a817c66 - bugfix on Windows absolute filepathes did fail if the drive letter was followed by a linux DIRECTORY_SEPARATOR
like C:/  at Smarty > 3.1.33-dev-5 https://github.com/smarty-php/smarty/issues/451
2018-08-31 16:07:47 +02:00
uwetews 7a8607fe17 - PSR-2 code style fixes for config and template file Lexer/Parser generated with
the Smarty Lexer/Parser generator from https://github.com/smarty-php/smarty-lexer
    https://github.com/smarty-php/smarty/pull/483
2018-08-31 02:37:47 +02:00
Uwe Tews 3a78a21f14 Update .gitattributes to force eol=lf 2018-08-30 17:38:07 +02:00
uwetews a1f6720318 - bugfix/enhancement {capture} allow variable as capture block name in Smarty special variable
like $smarty.capture.$foo https://github.com/smarty-php/smarty/issues/478 https://github.com/smarty-php/smarty/pull/481
2018-08-26 00:46:29 +02:00
uwetews 8e09f97a14 - bugfix/enhancement {capture} allow variable as capture block name in Smarty special variable
like $smarty.capture.$foo https://github.com/smarty-php/smarty/issues/478 https://github.com/smarty-php/smarty/pull/481
2018-08-26 00:20:31 +02:00
uwetews 72185fb743 Merge pull request #477 from dusta/master
Fixed #476, Wrong demo directory location
2018-08-19 11:48:13 +02:00
uwetews 7096c99ff3 - fix PSR-2 coding standards and PHPDoc blocks https://github.com/smarty-php/smarty/pull/452
https://github.com/smarty-php/smarty/pull/475
    https://github.com/smarty-php/smarty/pull/473
  - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472 (reverted from commit 2fe3a30e75) (reverted from commit ed674ee050)
2018-08-19 10:30:28 +02:00
uwetews ed674ee050 - fix PSR-2 coding standards and PHPDoc blocks https://github.com/smarty-php/smarty/pull/452
https://github.com/smarty-php/smarty/pull/475
    https://github.com/smarty-php/smarty/pull/473
  - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472 (reverted from commit 2fe3a30e75)
2018-08-19 10:22:47 +02:00
Sławomir Kaleta d191935127 Fixed #476, Wrong demo directory location 2018-08-19 09:47:58 +02:00
uwetews 2fe3a30e75 - fix PSR-2 coding standards and PHPDoc blocks https://github.com/smarty-php/smarty/pull/452
https://github.com/smarty-php/smarty/pull/475
    https://github.com/smarty-php/smarty/pull/473
  - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472
2018-08-19 02:41:43 +02:00
uwetews 799b5cb342 - fix PSR-2 coding standards and PHPDoc blocks https://github.com/smarty-php/smarty/pull/452
https://github.com/smarty-php/smarty/pull/475
    https://github.com/smarty-php/smarty/pull/473
  - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472
2018-08-19 02:35:46 +02:00
uwetews b5e5085391 Merge pull request #452 from dusta/Update-PSR-2
Update PSR-2
2018-08-12 03:20:33 +02:00
AnrDaemon da29452d74 Updated composer.json with require-dev deps. 2018-07-19 20:03:29 +03:00
AnrDaemon e9dacb4fd0 Integrate ongoing master. 2018-06-19 07:51:02 +03:00
Sławomir Kaleta 2404095783 Update PSR-2 2018-06-12 09:58:15 +02:00
Uwe Tews cc4d8fa1a0 - bugfix strip-block produces different output in Smarty v3.1.32 https://github.com/smarty-php/smarty/issues/436 2018-05-17 16:04:48 +02:00
Uwe Tews 87ec44e9f8 - bugfix Smarty::compileAllTemplates ignores $extension parameter https://github.com/smarty-php/smarty/issues/437
https://github.com/smarty-php/smarty/pull/438
2018-05-17 13:50:14 +02:00
Uwe Tews e2aec4d011 Fix annotation https://github.com/smarty-php/smarty/issues/441 2018-05-17 08:12:26 +02:00
Uwe Tews 514d99beaa - improvement do not compute total property in {foreach} if not needed https://github.com/smarty-php/smarty/issues/443 2018-05-17 06:27:35 +02:00
Uwe Tews 115e178884 - bugfix plugins may not be loaded when setMergeCompiledIncludes is true https://github.com/smarty-php/smarty/issues/435 2018-05-17 04:40:58 +02:00
Uwe Tews cb59fc5537 Delete unwanted file 2018-04-28 05:32:02 +02:00
Uwe Tews c9dbe1d08c - bugfix regarding Security Vulnerability did not solve the problem under Linux 2018-04-26 21:38:08 +02:00
Uwe Tews 2e081a51b1 - bugfix regarding Security Vulnerability did not solve the problem under Linux 2018-04-26 18:06:45 +02:00
Uwe Tews f9ca3c63d1 - bugfix regarding Security Vulnerability did not solve the problem under Linux 2018-04-26 13:02:51 +02:00
Uwe Tews ac9d4b587e Release version 3.1.32 2018-04-24 16:53:33 +02:00
Uwe Tews e83bdc2ece Revert "remove - php: nightly test"
This reverts commit 216ada91f3.
2018-04-24 16:51:39 +02:00
Uwe Tews bcedfd6b58 Release version 3.1.32 2018-04-24 16:14:10 +02:00
Uwe Tews 216ada91f3 remove - php: nightly test 2018-04-24 16:00:35 +02:00
Uwe Tews a57d514e8c update .travis.yml 2018-04-24 12:41:39 +02:00
Uwe Tews 20c3f70379 update .travis.yml 2018-04-24 12:37:01 +02:00
Uwe Tews c95d3f3a4d - fix compatibility for PHP version < 5.6 2018-04-24 11:33:47 +02:00
Uwe Tews 8d21f38dc3 - bugfix possible Security Vulnerability in Smarty_Security class. 2018-04-24 10:38:18 +02:00
Uwe Tews fbbb292ef0 update access to parent object 2018-04-19 16:04:41 +02:00
Uwe Tews 8bea607b78 fix comment lines of inline subtemplates 2018-04-19 15:57:37 +02:00
uwetews 7c3606e839 Merge pull request #432 from dusta/patch-1
Update README.md
2018-04-19 13:14:12 +02:00
Dusta b2d55b677d Update README.md
Add https, add dots
2018-04-14 20:32:35 +02:00
Uwe Tews 860ebb618e - bugfix plugins may not be loaded if {function} or {block} tags are executed in nocache mode 2018-03-28 07:35:52 +02:00
Uwe Tews 336c07c23f - bugfix plugins may not be loaded if {function} or {block} tags are executed in nocache mode
https://github.com/smarty-php/smarty/issues/371
2018-03-28 07:15:29 +02:00
Uwe Tews cf22e986c0 - new feature {parent} = {$smarty.block.parent} {child} = {$smarty.block.child} 2018-03-28 07:14:29 +02:00
Uwe Tews 0dbace8321 - new feature {parent} = {$smarty.block.parent} {child} = {$smarty.block.child} 2018-03-26 22:35:31 +02:00
Uwe Tews c81948d602 - bugfix preg_replace could fail on large content resulting in a blank page https://github.com/smarty-php/smarty/issues/417 2018-03-23 19:34:18 +01:00
Uwe Tews 3a3b8c75a1 - bugfix preg_replace could fail on large content resulting in a blank page https://github.com/smarty-php/smarty/issues/417 2018-03-23 19:14:53 +01:00
Uwe Tews d646d4678c - bugfix preg_replace could fail on large content resulting in a blank page https://github.com/smarty-php/smarty/issues/417 2018-03-23 19:11:12 +01:00
Uwe Tews d79af55485 - bugfix short form of {section} attributes did not work https://github.com/smarty-php/smarty/issues/428 2018-03-21 15:19:57 +01:00
Uwe Tews b7e7def0b1 - bugfix {$smarty.section...} used outside {section}{/section} showed incorrect values if {section}{/section} was called inside
another loop https://github.com/smarty-php/smarty/issues/422
2018-03-21 07:36:11 +01:00
Uwe Tews 60415e6f2a - improvement Smarty::compileAllTemplates() exit with a non-zero status code if max errors is reached https://github.com/smarty-php/smarty/pull/402 2018-03-17 08:31:40 +01:00
Uwe Tews a5961606f3 - bugfix extends resource did not work with user defined left/right delimiter https://github.com/smarty-php/smarty/issues/419 2018-03-16 18:44:47 +01:00
AnrDaemon ca00a31f71 Use Composer classmap instead of bootstrap. 2017-12-05 21:19:17 +03:00
Uwe Tews 93909aacf8 bugfix {break} and {continue} could fail if {foreach}{/foreach} did contain other looping tags like {for}, {section} and {while} https://github.com/smarty-php/smarty/issues/323 2017-11-22 01:21:09 +01:00
Uwe Tews 40ea5d89da - replacement of " by ' 2017-11-20 12:26:48 +01:00
Uwe Tews fcf108b33f bugfix variable filter might not have been loaded in cache file for use in nocache sections. 2017-11-20 11:11:46 +01:00
Uwe Tews 96fd914cc1 bugfix rework of newline spacing between tag code and template text.
now again identical with Smarty2 (forum topic 26878)
2017-11-20 04:07:51 +01:00
Uwe Tews 654659aadf remove html tags from PHPDoc blocks 2017-11-11 07:11:33 +01:00
Uwe Tews 96bcbd2221 fix comment correct last commit 2017-11-11 07:10:35 +01:00
Uwe Tews efe0e4c40c fix comment 2017-11-11 06:44:33 +01:00
Uwe Tews da273df95f remove blanks on line endings 2017-11-06 19:27:14 +01:00
Uwe Tews 5220ca6776 - bugfix {$smarty.section.name.loop} used together with {$smarty.section.name.total} could produce
wrong results (forum topic 27041) 3.1.32-dev-35
2017-11-06 04:58:02 +01:00
Uwe Tews 3fc8abeb98 code cleanup and optimizations 3.1.32-dev-34 2017-11-06 01:02:56 +01:00
Uwe Tews 3799714d53 lexer/parser optimization 2017-11-05 20:04:32 +01:00
Uwe Tews dd9c076dfa - correction of PHPDoc blocks
- minor code cleanup
2017-10-26 10:25:41 +02:00
Uwe Tews 812758225c - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
version update because of recent commit problems
2017-10-26 06:34:51 +02:00
Uwe Tews 5d8cd94c1d - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-26 06:30:19 +02:00
Uwe Tews 570bc41b12 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-26 06:14:22 +02:00
Uwe Tews 4575a31e62 - deprecate functions Smarty::muteExpectedErrors() and Smarty::unmuteExpectedErrors()
as Smarty does no longer use error suppression like @filemtime().
    for backward compatibility code is moved from Smarty class to an external class and still can be
    called.
2017-10-26 06:00:40 +02:00
Uwe Tews 926ed8714b - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-26 05:36:13 +02:00
Uwe Tews f86d251e5b - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-26 05:27:25 +02:00
Uwe Tews c404294a1f - bugfix Smarty version was not filled in header comment of compiled and cached files 2017-10-26 05:09:07 +02:00
Uwe Tews 87f260e3a9 fix Smarty version in header comment (reverted from commit 5ec2e1f62b) 2017-10-26 04:37:39 +02:00
Uwe Tews 41621ca35e - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) 2017-10-26 04:37:31 +02:00
Uwe Tews a675aaf68e - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) 2017-10-26 04:37:17 +02:00
Uwe Tews f3950a45a7 - bugfix Smarty version was not filled in header comment of compiled and cached files
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1)
2017-10-26 04:37:05 +02:00
Uwe Tews 8e9108544a - bugfix Smarty version was not filled in header comment of compiled and cached files
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1) (reverted from commit 42a292d56a)
2017-10-26 04:36:41 +02:00
Uwe Tews 4cbc436599 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2) 2017-10-26 04:36:17 +02:00
Uwe Tews eaac933770 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2) (reverted from commit 36c6a72015) 2017-10-26 04:36:08 +02:00
Uwe Tews 36c6a72015 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2) 2017-10-26 04:35:56 +02:00
Uwe Tews 86f36196e2 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) 2017-10-26 04:19:23 +02:00
Uwe Tews 42a292d56a - bugfix Smarty version was not filled in header comment of compiled and cached files
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1)
2017-10-26 04:18:28 +02:00
Uwe Tews 1e787d08f1 - bugfix Smarty version was not filled in header comment of compiled and cached files
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-26 03:38:27 +02:00
Uwe Tews beaa293eb3 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) 2017-10-26 03:37:40 +02:00
Uwe Tews f7a5316205 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-22 03:38:10 +02:00
Uwe Tews 5ec2e1f62b fix Smarty version in header comment 2017-10-21 23:43:22 +02:00
Uwe Tews 3d7dece088 - bugfix custom delimiters could fail since modification of version 3.1.32-dev-23
https://github.com/smarty-php/smarty/issues/394
2017-10-21 13:14:14 +02:00
Uwe Tews 668d07cda9 disable php5.2 tests 2017-10-18 14:03:22 +02:00
Uwe Tews 338f5a5769 enable PHPunit tests for PHP 5.2 and 5.3 2017-10-18 13:50:29 +02:00
Uwe Tews 19ebab9e4a enable PHPunit tests for PHP 5.2 and 5.3 2017-10-18 13:39:19 +02:00
Uwe Tews e4f41adf5a -bugfix fix implementation of unclosed block tag in double quoted string of 12.10.2017
https://github.com/smarty-php/smarty/issues/396 https://github.com/smarty-php/smarty/issues/397
    https://github.com/smarty-php/smarty/issues/391 https://github.com/smarty-php/smarty/issues/392
2017-10-18 09:40:38 +02:00
Uwe Tews 6b97d5cdd5 - unclosed block tag in double quted string must throw compiler exception.
https://github.com/smarty-php/smarty/issues/391 https://github.com/smarty-php/smarty/issues/392
2017-10-12 20:15:42 +02:00
Uwe Tews b271173a2d bugfix $smarty.block.child and $smarty.block.parent could not be used like any
$smarty special variable https://github.com/smarty-php/smarty/issues/393
2017-10-12 08:21:12 +02:00
Uwe Tews 34fc5e6b46 remove phpunit tests for hhvm 2017-10-09 23:50:45 +02:00
Uwe Tews 64ed85a954 enable PHPunit tests for PHP 7.2 and hhvm 2017-10-09 23:28:58 +02:00
Uwe Tews 0bf112c2bb Use phpunit 6.4.1 for PHP 7.1 2017-10-09 21:26:36 +02:00
Uwe Tews 157f51086c Test phpunit 6.4.1 (reverted from commit f60d8a763c) 2017-10-09 17:04:03 +02:00
Uwe Tews 7e84d34363 Use phpunit 6.4.1 for PHP 7.1 2017-10-09 16:38:32 +02:00
Uwe Tews 0f0fdf0200 Use phpunit 6.4.1 for PHP 7.1 2017-10-09 15:22:35 +02:00
Uwe Tews 0b8940c75e Use phpunit 6.4.1 for PHP 7.1 2017-10-09 14:30:08 +02:00
Uwe Tews b98be78cbf Use phpunit 6.4.1 for PHP 7.1 2017-10-09 14:17:47 +02:00
Uwe Tews 0cad914147 Test phpunit 6.4.1 2017-10-09 14:08:36 +02:00
Uwe Tews d76a00673b Test phpunit 6.4.1 2017-10-09 13:56:16 +02:00
Uwe Tews f60d8a763c Test phpunit 6.4.1 2017-10-09 13:53:21 +02:00
Uwe Tews 1bb374c1fb Test phpunit 6.4.1 2017-10-09 13:39:54 +02:00
Uwe Tews 8d3153401a Test phpunit 6.4.1 2017-10-09 13:27:39 +02:00
Uwe Tews f55baf5e73 Test phpunit 6.4.1 2017-10-09 13:19:19 +02:00
Uwe Tews 89d924659e Test phpunit 6.4.1 2017-10-09 13:15:55 +02:00
Uwe Tews 989e49a7de Test phpunit 6.4.1 2017-10-09 13:13:11 +02:00
Uwe Tews 2777efb84e Test phpunit 6.4.1 2017-10-09 13:07:51 +02:00
Uwe Tews 68b73fe153 Test phpunit 6.1 2017-10-09 13:02:59 +02:00
Uwe Tews 030abc6364 Test against 7.1.9
PHPunit does fail on 7.1.10
2017-10-09 10:53:47 +02:00
Uwe Tews b1cc51a380 set error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT for PHP versions == 7.1 2017-10-09 10:23:21 +02:00
Uwe Tews e25bc7a291 set error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT for PHP versions >= 7.0 2017-10-09 10:13:52 +02:00
Uwe Tews 9ad66c695d Update COMPOSER_RELEASE_NOTES.txt
https://github.com/smarty-php/smarty/issues/373
2017-10-09 08:53:58 +02:00
Uwe Tews 428efa634d - bugfix modification of 9.8.2017 did fail on some recursive
tag nesting. https://github.com/smarty-php/smarty/issues/389
2017-10-07 09:05:54 +02:00
Uwe Tews b0ea1cb5df Improve extension handler 2017-10-07 08:20:18 +02:00
Uwe Tews deb9e12aaa - bugfix {make_nocache} did display code if the template did not contain other nocache code
https://github.com/smarty-php/smarty/issues/369
2017-08-26 16:13:04 +02:00
Uwe Tews 94c2ab7e54 - bugfix templates filepath with multibyte characters did not work
https://github.com/smarty-php/smarty/issues/385
2017-08-26 14:56:02 +02:00
Uwe Tews f90b449d21 - bugfix chained modifier failed when last modifier parameter is a signed value
https://github.com/smarty-php/smarty/issues/327
2017-08-26 11:47:41 +02:00
Uwe Tews 511773ce6b - improvement repeated delimiter like {{ and }} will be treated as literal
https://groups.google.com/forum/#!topic/smarty-developers/h9r82Bx4KZw
2017-08-09 12:58:47 +02:00
Uwe Tews 2c1f0312a1 register autoloader as first in chain 2017-08-09 12:22:37 +02:00
Uwe Tews 6a257a7ad3 - improvement repeated delimiter like {{ and }} will be treated as literal
https://groups.google.com/forum/#!topic/smarty-developers/h9r82Bx4KZw
2017-08-09 12:20:33 +02:00
Uwe Tews 418a1fd443 - improvement repeated delimiter like {{ and }} will be treated as literal
https://groups.google.com/forum/#!topic/smarty-developers/h9r82Bx4KZw
2017-08-09 11:15:33 +02:00
Uwe Tews 353240c38d fixed spelling 2017-08-06 05:01:15 +02:00
Uwe Tews db16d0d2e6 fixed typo 2017-08-06 02:58:05 +02:00
Uwe Tews 30526520b6 - cleanup of _getSmartyObj() 2017-08-05 23:08:59 +02:00
Uwe Tews 5cc9b27784 - bugfix wordwrap modifier could fail if used in nocache code.
converted plugin file shared.mb_wordwrap.php into modifier.mb_wordwrap.php
2017-08-05 19:59:23 +02:00
Uwe Tews c3b331d2ad remove PHP 5.3 test 2017-07-31 23:26:41 +02:00
Uwe Tews da6181f733 Update travis.yml 2017-07-31 23:23:35 +02:00
Uwe Tews 036f1143fa Update travis.yml 2017-07-31 23:09:38 +02:00
Uwe Tews 105651a469 - Call clearstatcache() after mkdir() failure https://github.com/smarty-php/smarty/pull/379 2017-07-31 18:58:41 +02:00
Uwe Tews bcfea52cbf - rewrite mkdir() bugfix to retry automatically see https://github.com/smarty-php/smarty/pull/377
https://github.com/smarty-php/smarty/pull/379
2017-07-30 05:16:31 +02:00
Uwe Tews 5165776aec add link to documentation
https://github.com/smarty-php/smarty/issues/380
2017-07-30 00:39:41 +02:00
uwetews b562e9527e Merge pull request #320 from glensc/patch-1
Update Autoloader.php comment
2017-07-21 08:17:14 +02:00
Uwe Tews 5a8d015ef1 - bugfix solve preg_match() hhvm parameter problem https://github.com/smarty-php/smarty/pull/372 2017-07-21 08:12:33 +02:00
Uwe Tews f3325c4923 Merge pull request #377 from a-shpota/fix-writefile-sysplugin
fix 'mkdir(): File exists' error on create directory from parallel processes
2017-07-21 06:46:13 +02:00
uwetews ba2de9721b Merge pull request #377 from a-shpota/fix-writefile-sysplugin
fix 'mkdir(): File exists' error on create directory from parallel processes
2017-07-21 06:38:05 +02:00
Uwe Tews 67e9d08371 remove hhvm from travis tests 2017-07-21 05:53:22 +02:00
Uwe Tews bd6bf0628e fix travis for hhvm testing 2017-07-21 05:43:05 +02:00
Uwe Tews 614ad1f8b9 - security possible PHP code injection on custom resources at display() or fetch()
calls if the resource does not sanitize the template name
2017-07-21 05:13:54 +02:00
Andrew Shpota 6768340a97 fix 'mkdir(): File exists' error on create directory from parallel
processes
2017-07-14 15:10:12 +03:00
uwetews a6f3a518e1 - improvement replace phpversion() by PHP_VERSION constant.
https://github.com/smarty-php/smarty/pull/363
2017-05-27 14:37:35 +02:00
uwetews 03e2a1c8a2 - bugfix https://github.com/smarty-php/smarty/pull/368 did break the default plugin handler 2017-05-27 12:33:48 +02:00
uwetews ea93486135 - bugfix https://github.com/smarty-php/smarty/pull/368 did break the default plugin handler 2017-05-27 12:18:43 +02:00
uwetews ef889c79e0 - bugfix change compiled code for registered function and modifiers to called as callable to allow closures
https://github.com/smarty-php/smarty/pull/368
2017-05-27 11:30:21 +02:00
uwetews e51b0ac4af - performance store flag for already required shared plugin functions in static variable or
Smarty's $_cache to improve performance when plugins are often called
    https://github.com/smarty-php/smarty/commit/51e0d5cd405d764a4ea257d1bac1fb1205f74528#commitcomment-22280086
2017-05-27 11:04:00 +02:00
uwetews a49a08748f Remove nightly test. Does hang on PHP 7.2 2017-05-21 19:55:25 +02:00
uwetews 63b578708f disable PHP 5.2 tests 2017-05-21 19:23:25 +02:00
uwetews 0f2d703c63 Add PHP 5.2 to test (reverted from commit 3dbb5c4eae) 2017-05-21 18:59:00 +02:00
uwetews 3dbb5c4eae Add PHP 5.2 to test 2017-05-21 18:34:21 +02:00
uwetews cd1a864751 Add PHP 5.2 to test (reverted from commit 9e7c1f4b0d) 2017-05-21 18:22:43 +02:00
uwetews 9e7c1f4b0d Add PHP 5.2 to test 2017-05-21 18:20:19 +02:00
uwetews f860f7ce88 - bugfix version 3.1.31 did fail under PHP 5.2
https://github.com/smarty-php/smarty/issues/365
2017-05-21 18:19:52 +02:00
uwetews 28688d5ce7 - new feature The named capture buffers can now be accessed also as array
See NEWS_FEATURES.txt https://github.com/smarty-php/smarty/issues/366
    fixed bug in above change
2017-05-21 17:14:30 +02:00
uwetews 4fd1f7684e - bugfix remove deleted files by clear_cache() and clear_compiled_template() from
ACP cache if present, add some is_file() checks to avoid possible warnings on filemtime()
    caused by above functions.
    https://github.com/smarty-php/smarty/issues/341
2017-05-21 16:58:58 +02:00
uwetews 61b59a9ec3 - bugfix remove special treatment of classes implementing ArrayAccess in {foreach}
https://github.com/smarty-php/smarty/issues/332
2017-05-21 02:24:48 +02:00
uwetews da22c961bb - improvement check if ini_get() and ini_set() not disabled
https://github.com/smarty-php/smarty/pull/362
2017-05-21 02:24:48 +02:00
uwetews 2782e83a92 - new feature The named capture buffers can now be accessed also as array
See NEWS_FEATURES.txt https://github.com/smarty-php/smarty/issues/366
2017-05-21 02:24:48 +02:00
uwetews d571ffa111 Merge pull request #361 from zonuexe/patch-1
Fix markdown
2017-05-19 19:02:48 +02:00
uwetews 8f54ad7c96 Merge pull request #354 from jcodt/master
Fix markdown titles
2017-05-19 19:02:08 +02:00
uwetews f0e215b954 - change properties $accessMap and $obsoleteProperties from private to protected
https://github.com/smarty-php/smarty/issues/351
2017-05-19 04:54:49 +02:00
USAMI Kenta e3cea24be1 Fix markdown
affected by GitHub's Markdown parser change
https://githubengineering.com/a-formal-spec-for-github-markdown/
2017-05-11 10:50:42 +09:00
jcodt 5af93831ee Fix markdown titles 2017-04-25 17:49:55 +02:00
uwetews 5448fecc9d - fix spelling https://github.com/smarty-php/smarty/commit/e3eda8a5f5653d8abb960eb1bc47e3eca679b1b4#commitcomment-21803095 2017-04-24 18:21:37 +02:00
uwetews e3eda8a5f5 - correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5
https://github.com/smarty-php/smarty/issues/347
2017-04-17 05:32:24 +02:00
uwetews 29388b8baa - correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5
https://github.com/smarty-php/smarty/issues/347 (reverted from commit cfd8bf32b0)
2017-04-17 05:04:44 +02:00
uwetews f7bdfe463b Add PHP 7.1 to travis tests 2017-04-17 04:35:17 +02:00
uwetews cfd8bf32b0 - correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5
https://github.com/smarty-php/smarty/issues/347
2017-04-17 03:49:39 +02:00
uwetews 1a7328ca67 - merge pull requests https://github.com/smarty-php/smarty/pull/349, https://github.com/smarty-php/smarty/pull/322 and
https://github.com/smarty-php/smarty/pull/337 to fix spelling and annotation
2017-04-14 15:01:43 +02:00
uwetews cfc3f8c424 Merge pull request #322 from simivar/patch-1
Fix annotation for addPluginsDir()
2017-04-14 14:52:18 +02:00
uwetews ec9fd99684 Merge pull request #349 from ka7/feature/spelling
spelling fixes
2017-04-14 14:37:18 +02:00
uwetews 00974d74b8 Merge pull request #337 from SvenRtbg/patch-1
Fix typo in @method annotation
2017-04-14 14:33:19 +02:00
uwetews 6d85c715f1 - bugfix array_merge() parameter should be checked https://github.com/smarty-php/smarty/issues/350 2017-04-13 07:15:46 +02:00
uwetews fd95365bf3 Prepare 3.1.32-dev 2017-04-13 05:17:27 +02:00
klemens 51a0e764e8 spelling fixes 2017-04-08 12:10:39 +02:00
SvenRtbg 697df30d18 Fix typo in @method annotation
It's `setDefaultModifiers()`, not `setDefaultModifier()`
2017-02-14 22:48:26 +01:00
simivar 1900ce24a3 Fix annotation for addPluginsDir()
Param of [addPluginsDir()](http://www.smarty.net/docs/en/api.add.plugins.dir.tpl) can be null, array or a string. Fixed annotation so there will be no IDE warnings.
2016-12-29 14:52:35 +01:00
Elan Ruusamäe 66205d5565 Update Autoloader.php
spelling fix
2016-12-21 23:36:37 +02:00
uwetews c7d42e4a32 prepare 3.1.31 release 2016-12-14 22:57:25 +01:00
uwetews 27928ece9c - move template object cache into static variables 2016-11-23 17:12:38 +01:00
uwetews 04a2327c75 - change version checking 2016-11-19 18:13:00 +01:00
uwetews 91af9d090a - bugfix inheritance root child templates containing nested {block}{/block} could call sub-bock content from parent
template https://github.com/smarty-php/smarty/issues/317
2016-11-19 07:34:06 +01:00
uwetews 05933749c0 - smaller speed optimization 2016-11-11 23:09:28 +01:00
uwetews be054c1727 touch 2016-11-11 22:17:35 +01:00
uwetews 5b9699b41a touch 2016-11-11 22:16:58 +01:00
uwetews b745a31a2d fixed spelling chilek commented on c4746e9 2016-11-11 21:17:32 +01:00
uwetews d120c1fad2 - bugfix when Smarty is using a cached template object on Smarty::fetch() or Smarty::isCached() the inheritance data
must be removed https://github.com/smarty-php/smarty/issues/312
2016-11-11 20:13:40 +01:00
uwetews e867ae125e add utility to build Smarty_Internal_Testinstall 2016-11-08 18:09:14 +01:00
uwetews 7438ac39d0 Merge pull request #295 from glensc/patch-1
exclude files from git export
2016-11-08 18:04:08 +01:00
uwetews 428a7ad883 - add bootstrap file to load and register Smarty_Autoloader. Change composer.json to make it known to composer 2016-11-08 17:48:25 +01:00
uwetews c4746e9080 - optimization of lexer speed https://github.com/smarty-php/smarty/issues/311 2016-11-07 03:08:11 +01:00
uwetews 2d2be8f57f - bugfix template function definitions array has not been cached between Smarty::fetch() and Smarty::display() calls
https://github.com/smarty-php/smarty/issues/301
2016-10-27 05:42:17 +02:00
uwetews 98efe22e02 - improvement/bugfix when Smarty::fetch() is called on a template object the inheritance and tplFunctions property
should be copied to the called template object
2016-10-23 18:48:17 +02:00
uwetews d79edd2fe0 - improvement/bugfix when Smarty::fetch() is called on a template object the inheritance and tplFunctions property
should be copied to the called template object
2016-10-23 18:34:59 +02:00
uwetews 29cbe10857 - bugfix for compile locking touched timestamp of old compiled file was not restored on compilation error https://github.com/smarty-php/smarty/issues/308 2016-10-21 04:00:07 +02:00
uwetews 6699299767 - bugfix nocache code was not removed in cache file when subtemplate did contain PHP short tags in text but no other
nocache code https://github.com/smarty-php/smarty/issues/300
2016-10-20 00:53:04 +02:00
uwetews 34e5739fc1 - bugfix {make_nocache $var} remove spaces from variable value https://github.com/smarty-php/smarty/issues/304 2016-10-19 20:43:17 +02:00
uwetews 80a024f44e - bugfix {make_nocache $var} did fail when variable value did contain '\' https://github.com/smarty-php/smarty/issues/305 2016-10-19 19:35:58 +02:00
uwetews f3e0e01266 - bugfix {include} with template names including variable or constants could fail after bugfix from
28.09.2016 https://github.com/smarty-php/smarty/issues/302
2016-10-12 01:02:54 +02:00
uwetews 3c07a28434 - optimization move runtime extension for template functions into Smarty objects 2016-10-08 06:07:14 +02:00
uwetews caceefc300 use absolute path normalizaion 2016-09-30 04:10:25 +02:00
uwetews 80af6ea2b5 - improvement new Smarty::$extends_recursion property to disable execution of {extends} in templates called by extends resource
https://github.com/smarty-php/smarty/issues/296
2016-09-30 02:30:39 +02:00
uwetews 68ab01dc9e - improvement new Smarty::$extends_recursion property to disable execution of {extends} in templates called by extends resource
https://github.com/smarty-php/smarty/issues/296
2016-09-29 04:26:44 +02:00
uwetews 4de72f1acd - improvement new Smarty::$extends_recursion property to disable execution of {extends} in templates called by extends resource
https://github.com/smarty-php/smarty/issues/296
2016-09-29 04:22:20 +02:00
uwetews 5b508b7bf3 - bugfix nocache hash was not removed for <?xml ?> tags in subtemplates https://github.com/smarty-php/smarty/issues/300 2016-09-28 23:39:05 +02:00
uwetews 998c778948 - bugfix the generated code for calling a subtemplate must pass the template resource name in single quotes https://github.com/smarty-php/smarty/issues/299 2016-09-28 04:59:51 +02:00
uwetews 3f0d519daf - bugfix when Smarty does use an internally cached template object on Smarty::fetch() calls
the template and config variables must be cleared https://github.com/smarty-php/smarty/issues/297
2016-09-27 23:19:56 +02:00
Elan Ruusamäe beeec36bb8 exclude files from git export
add files to be excluded from git export

visible when used via composer --prefer-dist
2016-09-24 11:03:02 +03:00
uwetews efa18457f2 - temporary fix for https://github.com/smarty-php/smarty/issues/293 main reason still under investigation 2016-09-20 16:06:01 +02:00
uwetews ec3a00e5ab - improvement new tags {block_parent} {block_child} in template inheritance 2016-09-20 16:00:28 +02:00
uwetews b8acd7ea17 - 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
2016-09-20 14:21:39 +02:00
uwetews d9a6938473 - cleanup convert cache resource file method clear into runtime extension 2016-09-19 16:39:19 +02:00
uwetews a9e7e8881e - optimization clear compiled and cached folder completely on detected version change 2016-09-19 14:59:49 +02:00
uwetews 8835408e0d - improvement make Smarty::clearCompiledTemplate() on custom resource independent from changes of templateId computation 2016-09-15 09:14:56 +02:00
uwetews cd28347130 - 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 2016-09-15 08:36:12 +02:00
uwetews f95b81a6f9 - 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 2016-09-15 06:43:36 +02:00
uwetews 58b6472d4f - 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
2016-09-15 03:23:04 +02:00
uwetews 424dca6d24 - 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 2016-09-15 02:56:34 +02:00
uwetews 44189a7531 - performance Smarty::configLoad() did load unneeded template source object 2016-09-11 05:41:16 +02:00
uwetews 0a8e47ecb2 - improvement move often used code snippets into methods 2016-09-11 04:35:52 +02:00
uwetews e62b40c421 - improvement {math} misleading E_USER_WARNING messages when parameter value = null https://github.com/smarty-php/smarty/issues/288 2016-09-11 00:23:37 +02:00
uwetews 7e230713c6 - improvement {math} misleading E_NOTICE messages when parameter value = null https://github.com/smarty-php/smarty/issues/288 (reverted from commit 810881c76e) 2016-09-11 00:21:45 +02:00
uwetews 810881c76e - improvement {math} misleading E_NOTICE messages when parameter value = null https://github.com/smarty-php/smarty/issues/288 2016-09-11 00:13:29 +02:00
uwetews 62099617ae - improvement {foreach} observe {break n} and {continue n} nesting levels when restoring saved $item and $key variables 2016-09-09 22:54:42 +02:00
uwetews 0e942e4821 - bugfix {foreach} must keep the @properties when restoring a saved $item variable as the properties might be used outside {foreach} https://github.com/smarty-php/smarty/issues/267 2016-09-09 19:45:08 +02:00
uwetews 21aa211ddb - bugfix/optimization {foreach} did not execute the {foreachelse} when iterating empty objects https://github.com/smarty-php/smarty/pull/287 2016-09-09 18:43:37 +02:00
uwetews 124b333da2 - bugfix implement wrapper for removed method getConfigVariable() https://github.com/smarty-php/smarty/issues/286 2016-09-08 22:28:06 +02:00
uwetews bfc1ef8885 - bugfix {capture}{/capture} did add in 3.1.30 unintended additional blank lines https://github.com/smarty-php/smarty/issues/268 2016-09-07 17:43:10 +02:00
uwetews 0429272370 - bugfix when {foreach} was looping over an object the total property like {$item@total} did always return 1 https://github.com/smarty-php/smarty/issues/281 2016-09-07 00:41:31 +02:00
uwetews e5bbc052b1 - bugfix uppercase TRUE, FALSE and NULL did not work when security was enabled https://github.com/smarty-php/smarty/issues/282 2016-09-07 00:15:44 +02:00
uwetews e82f966682 - bugfix using nocache like attribute with value true like {plugin nocache=true} did not work https://github.com/smarty-php/smarty/issues/285 2016-09-07 00:06:17 +02:00
uwetews 51e0d5cd40 - performance require_once should be called only once for shared plugins https://github.com/smarty-php/smarty/issues/280 2016-09-06 04:26:46 +02:00
uwetews e1d27d68d7 - performance require_once should be called only once for shared plugins https://github.com/smarty-php/smarty/issues/280 2016-09-02 01:08:50 +02:00
uwetews 5580857d9b - bugfix change of 23.08.2016 failed on linux when use_include_path = true 2016-08-26 05:54:11 +02:00
uwetews 2003020df9 - bugfix remove constant DS as shortcut for DIRECTORY_SEPARATOR as the user may have defined it to something else https://github.com/smarty-php/smarty/issues/277 2016-08-23 08:03:39 +02:00
uwetews be39cc0121 - bugfix {make_nocache} failed when using composer autoloader https://github.com/smarty-php/smarty/issues/275 2016-08-20 15:58:12 +02:00
uwetews c39abdf83e - bugfix {config_load ... scope="global"} shall not throw an arror but fallback to scope="smarty" https://github.com/smarty-php/smarty/issues/274 2016-08-20 14:18:43 +02:00
uwetews db01627c1c - optimization remove unneeded call to update acopes when {assign} scope and template scope was local (default) 2016-08-14 03:32:07 +02:00
uwetews 1b6d2a9375 - bugfix Class 'Smarty_Internal_Runtime_ValidateCompiled' not found when upgrading from some older Smarty versions with existing
compiled or cached template files https://github.com/smarty-php/smarty/issues/269
2016-08-14 02:38:55 +02:00
uwetews fee77dbfb8 - bugfix $smarty_>debugging = true; did E_NOTICE messages when {eval} tag was used https://github.com/smarty-php/smarty/issues/266 2016-08-14 01:12:37 +02:00
uwetews 7f932e7ac4 Prepare 3.1.31-dev 2016-08-07 20:57:11 +02:00
uwetews ed2b7f1146 Release 3.1.30 2016-08-07 20:46:49 +02:00
uwetews 0cc1577b1b Update travis for 3.1.30 test 2016-08-07 20:35:44 +02:00
uwetews 001f16aa0a update error message 2016-08-07 16:08:10 +02:00
uwetews 761e516a32 - bugfix update of 04.08.2016 was incomplete 2016-08-07 15:31:01 +02:00
uwetews 25ad0b3b5a - updated error checking at template and config default handler 2016-08-05 21:29:15 +02:00
uwetews 04301645d6 - bugfix compiling of templates failed when the Smarty delimiter did contain '/' https://github.com/smarty-php/smarty/issues/264 2016-08-05 01:00:51 +02:00
uwetews e96a218e8b Merge pull request #263 from a-shpota/fix-method-define
Fix define method in registered objects
2016-08-04 23:11:59 +02:00
uwetews ffa270c395 04.08.2015
- improvement move template function source parameter into extension
2016-08-04 23:10:26 +02:00
Andrey Shpota a3c1a152ca fix define method in registered objects 2016-08-04 12:28:19 +03:00
uwetews 335f199cbc - optimization unneeded loading of compiled resource 2016-07-26 04:00:15 +02:00
uwetews f74a0d575a - regression this->addPluginsDir('/abs/path/to/dir') adding absolute path without trailing '/' did fail https://github.com/smarty-php/smarty/issues/260 2016-07-24 20:31:27 +02:00
uwetews eb2d9d4e6d - improvement remove double funtion declaration in plugin shared.escape_special_cars.php https://github.com/smarty-php/smarty/issues/229 2016-07-23 22:37:17 +02:00
uwetews 2ba2f6e2e7 - bugfix setTemplateDir('/') and setTemplateDir('') did create wrong absolute filepath https://github.com/smarty-php/smarty/issues/245
- optimization of filepath normalization
2016-07-23 22:21:14 +02:00
uwetews 6d7d36d9a6 Fx changelog text for - bugfix {match} shell injection vulnerability patch provided by Tim Weber 2016-07-19 20:22:10 +02:00
uwetews 50068ca52a - bugfix {match} shell injection vulnerability patch provided by Tim Weber 2016-07-19 20:17:47 +02:00
uwetews f39e61762c - bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246 2016-07-19 03:37:01 +02:00
uwetews afb971f84b - bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246 (reverted from commit 09d8eab89f) (reverted from commit 3fdd9e4b89) 2016-07-19 00:25:49 +02:00
uwetews e865374fc2 - bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246 (reverted from commit 09d8eab89f) (reverted from commit 3fdd9e4b89) 2016-07-19 00:19:22 +02:00
uwetews 3fdd9e4b89 - bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246 (reverted from commit 09d8eab89f) 2016-07-19 00:14:51 +02:00
uwetews 09d8eab89f - bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246 2016-07-18 23:50:37 +02:00
uwetews 5fd21b7361 - bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246 2016-07-18 23:43:58 +02:00
uwetews d854219696 - bugfix avoid opcache_invalidate to result in ErrorException when opcache.restrict_api is not empty https://github.com/smarty-php/smarty/pull/244 2016-07-18 19:45:30 +02:00
uwetews 92945eaf12 - bugfix modifier on plugins like {plugin|modifier ... } did fail when the plugin does return an array https://github.com/smarty-php/smarty/issues/228 2016-07-18 17:57:50 +02:00
uwetews 79a4fdcd52 - bugfix {foreach} if key variable and item@key attribute have been used both the key variable was not updated https://github.com/smarty-php/smarty/issues/254 2016-07-18 05:27:46 +02:00
uwetews c666ec9a34 - bugfix wrong parameter on compileAllTemplates() and compileAllConfig() https://github.com/smarty-php/smarty/issues/231 2016-07-14 20:32:41 +02:00
uwetews e5eebc3cc2 - bugfix wrong parameter on compileAllTemplates() https://github.com/smarty-php/smarty/issues/231 2016-07-13 01:49:38 +02:00
uwetews cbea88b3a7 - bugfix template function data should be merged when loading subtemplate https://github.com/smarty-php/smarty/issues/240 2016-07-13 01:42:54 +02:00
uwetews 38b13661fe - bugfix enable debugging could fail when template objects did already exists https://github.com/smarty-php/smarty/issues/237 2016-07-13 01:07:53 +02:00
uwetews 31f6afd16e - update testInstall() https://github.com/smarty-php/smarty/issues/248https://github.com/smarty-php/smarty/issues/248 2016-07-13 00:26:17 +02:00
uwetews 353ee1a490 - bugfix PHP 7 compatibility on registered compiler plugins https://github.com/smarty-php/smarty/issues/241 2016-07-13 00:12:58 +02:00
uwetews 02f95184ab - bugfix enableSecurity() must init cache flags https://github.com/smarty-php/smarty/issues/247 2016-07-12 02:30:14 +02:00
uwetews b525d4d1d7 - bugfix {foreach} item variable must be created also on empty from array https://github.com/smarty-php/smarty/issues/238 and https://github.com/smarty-php/smarty/issues/239 2016-07-12 00:24:11 +02:00
uwetews b46a9a8dbd - bugfix/improvement of compileAlltemplates() follow symlinks in template folder (PHP >= 5.3.1) https://github.com/smarty-php/smarty/issues/224
clear internal cache and expension handler for each template to avoid possible conflicts https://github.com/smarty-php/smarty/issues/231
2016-05-28 03:33:32 +02:00
uwetews 778b0d920e - bugfix/improvement of compileAlltemplates() follow symlinks in template folder (PHP >= 5.3.1) https://github.com/smarty-php/smarty/issues/224
clear internal cache and expension handler for each template to avoid possible conflicts https://github.com/smarty-php/smarty/issues/231
2016-05-27 22:22:57 +02:00
uwetews dccfc6c2f5 - broken PHP 5.3 and 5.4 compatibility 2016-05-16 18:17:58 +02:00
uwetews 0fcac38c70 - optimization {foreach} compiler and processing 2016-05-16 17:57:06 +02:00
uwetews a62557e817 - broken PHP 5.3 and 5.4 compatibility 2016-05-15 11:51:46 +02:00
uwetews 6ef0d0eaa0 - optimization and cleanup of resource code 2016-05-15 11:13:31 +02:00
uwetews 1fbf16afed - optimization of inheritance processing 2016-05-10 03:54:56 +02:00
uwetews 608064e5f2 -bugfix Only variables should be assigned by reference https://github.com/smarty-php/smarty/issues/227 2016-05-07 13:46:37 +02:00
uwetews f02f943021 Merge pull request #188 from tinogo/master
Minor optimization for Smarty_Internal_Data::assign()
2016-05-03 21:55:46 +02:00
uwetews ecdd33d334 - bugfix same relative filepath at {include} called from template in different folders could display wrong sub-template 2016-05-02 04:28:09 +02:00
uwetews 971058fc61 - enhancement {block} tag names can now be variable https://github.com/smarty-php/smarty/issues/221 2016-05-02 00:58:17 +02:00
uwetews f1b3662b28 - bugfix same relative filepath at {include} called from template in different folders could display wrong sub-template 2016-05-01 23:53:38 +02:00
uwetews 2cb03512f7 - bugfix {strip} remove space on linebreak between html tags https://github.com/smarty-php/smarty/issues/213 2016-04-29 00:24:47 +02:00
uwetews 116854cee2 Merge pull request #222 from glensc/patch-1
Update NEW_FEATURES.txt
2016-04-24 15:18:03 +02:00
Elan Ruusamäe 608dbd0f7f whitespace cleanup 2016-04-24 15:21:08 +03:00
Elan Ruusamäe af1b632a11 Update NEW_FEATURES.txt 2016-04-24 15:19:30 +03:00
uwetews 13a2127b50 - bugfix nested {include} with relative file path could fail when called in {block} ... {/block} https://github.com/smarty-php/smarty/issues/218 2016-04-24 11:04:36 +02:00
uwetews d3b7a344aa - bugfix the default template handler must calculate the source uid https://github.com/smarty-php/smarty/issues/205 2016-04-14 21:24:26 +02:00
uwetews 9839de9cc4 - bugfix special variable {$smarty.capture.name} was not case sensitive on name https://github.com/smarty-php/smarty/issues/210 2016-04-14 21:12:34 +02:00
uwetews 6d4a4de0d5 - bugfix template inheritance status must be saved when calling sub-templates https://github.com/smarty-php/smarty/issues/215 2016-04-13 03:36:16 +02:00
uwetews a36d9bc809 Fixing wrong date 2016-03-27 18:53:53 +02:00
uwetews 2dac1729c2 - bugfix change of 11.03.2014 cause again {capture} data could not been seen in other templates with {$smarty.capture.name} https://github.com/smarty-php/smarty/issues/153 2016-03-27 18:44:19 +02:00
uwetews ff6a8521bb - improvement $smarty->clearCompiledTemplate() should return on recompiled or uncompiled resources 2016-03-11 03:36:43 +01:00
uwetews af71fda639 - optimization of capture and security handling 2016-03-11 02:55:55 +01:00
uwetews 62bf9eeddc - optimization of resource processing 2016-03-11 01:07:26 +01:00
uwetews 880967aff3 - optimization of resource processing 2016-03-11 01:05:26 +01:00
uwetews 4815464b9c - optimization of resource processing 2016-03-10 22:22:46 +01:00
uwetews 00be382842 fix function name case 2016-03-09 04:03:37 +01:00
uwetews 5c1907052e fix class name case 2016-03-09 04:01:47 +01:00
uwetews 23acdf722c fix passed parameter 2016-03-09 03:53:12 +01:00
uwetews 43c5aabda5 update {capture} compiler tag nesting code 2016-03-09 03:13:15 +01:00
uwetews f63ceb1c05 - remove access to removed an not needed property 2016-03-09 02:44:38 +01:00
uwetews 91b4992ab8 - improvement rework of 'scope' attribute handling see see NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/194
https://github.com/smarty-php/smarty/issues/186 https://github.com/smarty-php/smarty/issues/179
  missed commit
2016-03-09 02:11:06 +01:00
uwetews e066488f8b - bugfix correct Autoloader update of 2.3.2014 https://github.com/smarty-php/smarty/issues/199 2016-03-09 01:44:10 +01:00
uwetews abf5be58ad - improvement rework of 'scope' attribute handling see see NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/194
https://github.com/smarty-php/smarty/issues/186 https://github.com/smarty-php/smarty/issues/179
2016-03-09 01:01:32 +01:00
uwetews d88168d1b6 - bugfix change from 01.03.2016 will cause $smarty->isCached(..) failure if called multiple time for same template
(forum topic 25935) related to 825aa26079
2016-03-04 17:54:10 +01:00
uwetews 4f5aeeb2b6 - revert autoloader optimizations because of unexplainable warning when using plugins https://github.com/smarty-php/smarty/issues/199 2016-03-02 18:17:22 +01:00
uwetews b99bc7b8da - bugfix template objects must be cached on $smarty->fetch('foo.tpl) calls incase the template is fetched
multiple times (forum topic 25909)
2016-03-01 00:55:28 +01:00
uwetews 825aa26079 - bugfix template objects must be cached on $smarty->fetch('foo.tpl) calls incase the template is fetched
multiple times (forum topic 25909)
2016-03-01 00:54:33 +01:00
uwetews 0e5ea2a467 - bugfix instanceof expression in template code must be treated as value https://github.com/smarty-php/smarty/issues/191 2016-02-26 00:50:15 +01:00
uwetews a5b465e2c6 - optimization of _realpath 2016-02-25 23:36:53 +01:00
uwetews 8df91e9d0d - bugfix wrong _realpath with 4 or more parent-directories https://github.com/smarty-php/smarty/issues/190 2016-02-25 02:53:55 +01:00
uwetews b39f561083 update https://github.com/smarty-php/smarty/issues/179 2016-02-20 22:00:19 +01:00
uwetews 4530a8232f - new feature/bugfix {foreach}{section} add 'properties' attribute to force compilation of loop properties
see NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/189
2016-02-20 21:45:21 +01:00
uwetews b832cd36a5 - bugfix {strip} must keep space between hmtl tags. Broken by changes of 10.2.2016 https://github.com/smarty-php/smarty/issues/184
- new feature/bugfix {foreach}{section} new attribute 'property' to force compilation of loop property
    read NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/189 (reverted from commit 4958deaf09)
2016-02-20 21:33:31 +01:00
uwetews 4958deaf09 - bugfix {strip} must keep space between hmtl tags. Broken by changes of 10.2.2016 https://github.com/smarty-php/smarty/issues/184
- new feature/bugfix {foreach}{section} new attribute 'property' to force compilation of loop property
    read NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/189
2016-02-20 21:13:38 +01:00
uwetews a884855818 - bugfix {strip} must keep space between hmtl tags. Broken by changes of 10.2.2016 https://github.com/smarty-php/smarty/issues/184 2016-02-20 17:24:48 +01:00
uwetews 3e463c1be0 - revert output buffer flushing on display, echo content again because possible problems when PHP files had
characters (newline} after ?> at file end https://github.com/smarty-php/smarty/issues/187
2016-02-19 16:10:17 +01:00
Tino Goratsch 8dc8fc23c8 Optimization for Smarty_Internal_Data::assign()
Removed the extra if block, when an array has been given as the $tpl_var argument, because in the else block there is already a "not empty check".
2016-02-19 09:44:07 +01:00
uwetews 0735ff9605 - optimization make compiler tag object cache static for higher compilation speed 2016-02-14 20:57:21 +01:00
uwetews 30328d318c - optimization of tag attribute compiling 2016-02-14 19:58:55 +01:00
uwetews 7e36f98c1d - bugfix using extendsall as default resource and {include} inside {block} tags could produce unexpected results https://github.com/smarty-php/smarty/issues/183 2016-02-14 14:33:59 +01:00
uwetews 4b1ba73eea - optimization of sub-template processing 2016-02-14 09:17:55 +01:00
uwetews 0f7f0d87b6 - new tag {make_nocache} read NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/110 2016-02-14 02:54:38 +01:00
uwetews 3756588858 - improvement added KnockoutJS comments to trimwhitespace outputfilter https://github.com/smarty-php/smarty/issues/82
https://github.com/smarty-php/smarty/pull/181
2016-02-11 22:05:45 +01:00
uwetews 00f07690e7 update of the inheritance release notes 2016-02-10 21:32:52 +01:00
uwetews 9c37394ccb - bugfix other {strip} error with output tags between hmtl https://github.com/smarty-php/smarty/issues/180 2016-02-10 21:12:35 +01:00
uwetews a8d3373f26 - improvement because of ambiguities the inline constant support has been removed from the $foo.bar syntax https://github.com/smarty-php/smarty/issues/149 2016-02-10 04:06:05 +01:00
uwetews b8fb986327 - bugfix {strip} must keep space on output creating smarty tags within html tags https://github.com/smarty-php/smarty/issues/177 other update for BC 2016-02-10 03:49:09 +01:00
uwetews 47237eb84f - bugfix wrong precedence on special if conditions like '$foo is ... by $bar' could cause wrong code https://github.com/smarty-php/smarty/issues/178 2016-02-10 03:19:25 +01:00
uwetews 417088bdb7 - bugfix {strip} must keep space on output creating smarty tags within html tags https://github.com/smarty-php/smarty/issues/177 2016-02-10 03:17:32 +01:00
uwetews 08db1a4a3f - bugfix {strip} must keep space on output creating smarty tags within html tags https://github.com/smarty-php/smarty/issues/177 2016-02-10 01:12:57 +01:00
uwetews 2f62b99173 - update/bugfix scope attribute handling reworked. Read the newfeatures.txt file 2016-02-09 23:27:07 +01:00
uwetews 37e6d26b23 - move some code from parser into compiler 2016-02-09 04:48:08 +01:00
uwetews b04486a091 - reformat all code for unique style 2016-02-09 01:27:15 +01:00
uwetews c59ca44b9f - move some code from parser into compiler 2016-02-09 01:15:12 +01:00
uwetews c1f34b1314 - improvement internal compiler changes 2016-02-05 17:41:11 +01:00
uwetews 85eedd0c11 - bugfix {foreach} compilation failed when $smarty->merge_compiled_includes = true and pre-filters are used.
https://github.com/smarty-php/smarty/issues/172
2016-02-01 00:46:15 +01:00
uwetews e1bf16a504 - bugfix implement replacement code for _tag_stack property https://github.com/smarty-php/smarty/issues/151 2016-01-29 01:21:00 +01:00
uwetews addd2a74e2 Merge pull request #156 from glensc/patch-1
Update change_log.txt
2016-01-28 05:49:12 +01:00
uwetews a687a127c4 - bugfix if fetch('foo.tpl') is called on a template object the $parent parameter should default to the calling template object https://github.com/smarty-php/smarty/issues/152 2016-01-28 05:34:41 +01:00
uwetews 193163be29 - bugfix allow windows network filepath or wrapper (forum topic 25876) https://github.com/smarty-php/smarty/issues/170 2016-01-28 03:51:54 +01:00
uwetews 41684818d9 - bugfix {capture} data could not been seen in other templates with {$smarty.capture.name} https://github.com/smarty-php/smarty/issues/153 2016-01-27 05:18:29 +01:00
uwetews f59b00c6dd - bugfix {extends} with relative file path did not work https://github.com/smarty-php/smarty/issues/154
https://github.com/smarty-php/smarty/issues/158
2016-01-27 04:51:02 +01:00
uwetews 04d9c5cc34 - bugfix output filters did not observe nocache code flag https://github.com/smarty-php/smarty/issues/160 2016-01-27 00:35:04 +01:00
uwetews 71f71e6262 - bugfix string resource could inject code at {block} or inline subtemplates through PHP comments https://github.com/smarty-php/smarty/issues/157 2016-01-26 22:22:20 +01:00
uwetews 867a2f3165 - bugfix string resource could inject code at {block} or inline subtemplates through PHP comments https://github.com/smarty-php/smarty/issues/157 (reverted from commit 2850cce19f) 2016-01-26 21:49:56 +01:00
uwetews 2850cce19f - bugfix string resource could inject code at {block} or inline subtemplates through PHP comments https://github.com/smarty-php/smarty/issues/157 2016-01-26 21:34:11 +01:00
uwetews 0b31052418 - bugfix {$smarty.section.customer.loop} did throw compiler error https://github.com/smarty-php/smarty/issues/161
update of yesterdays fix
2016-01-26 21:25:29 +01:00
uwetews 8a0c783b71 - revert bugfix compiling {section} did create warning 2016-01-26 20:49:46 +01:00
uwetews ccbc4303ed - bugfix {$smarty.section.customer.loop} did throw compiler error https://github.com/smarty-php/smarty/issues/161 2016-01-26 03:01:33 +01:00
uwetews b58e1cdc5a - bugfix compiling {section} did create warning 2016-01-26 02:57:21 +01:00
uwetews 8b0e0a3df6 - improvement observe Smarty::$_CHARSET in debugging console https://github.com/smarty-php/smarty/issues/169 2016-01-26 00:15:39 +01:00
Elan Ruusamäe 5cf9824cdf Update change_log.txt
typo fixes
2016-01-06 23:40:13 +02:00
uwetews dd0f4c7c36 - improvement runtime checks if registered block plugins are callabel 2016-01-02 17:58:58 +01:00
uwetews 418492b40b - optimize block plugin compiler 2016-01-02 11:27:44 +01:00
uwetews 59343127f7 - update scope handling 2016-01-02 02:47:32 +01:00
uwetews bdf9f41da8 - remove Smarty::$resource_cache_mode property 2016-01-01 18:28:27 +01:00
uwetews 8e9cb7586f add memcache tests to travis 2015-12-31 06:45:19 +01:00
uwetews d381c47ba8 add memcache tests to travis 2015-12-31 06:36:19 +01:00
uwetews ea866a5a92 add memcache tests to travis 2015-12-31 06:33:47 +01:00
uwetews 04afbdb18d disable 5.2 2015-12-31 06:07:18 +01:00
uwetews 0dc576bfc0 enable 5.2 2015-12-31 06:03:56 +01:00
uwetews d32badfdee disable 5.2 2015-12-31 05:45:24 +01:00
uwetews b935ae803b enable 5.2 2015-12-31 05:20:50 +01:00
uwetews fe85dd4a3b disable 5.2 2015-12-31 05:08:25 +01:00
uwetews 77b6a9e8e1 Add travis test for php 5.2 2015-12-31 04:55:59 +01:00
uwetews 633a6285b0 Test if class Memcached exists 2015-12-31 03:44:42 +01:00
uwetews 239fed38b9 enable mysql and memcache tests on travis 2015-12-31 02:49:45 +01:00
uwetews c60cdb3e64 - optimization of {assign}, {if} and {while} compiled code 2015-12-31 02:20:47 +01:00
uwetews 7eb56ac5e3 - bugfix plugin names starting with "php" did not compile https://github.com/smarty-php/smarty/issues/147 2015-12-30 22:11:15 +01:00
uwetews 34062d45b7 - bugfix Smarty::error_reporting was not observed when display() or fetch() was called on template objects https://github.com/smarty-php/smarty/issues/145 2015-12-29 16:54:15 +01:00
uwetews 59b3a53089 remove allowed failure on hhvm 2015-12-28 06:00:03 +01:00
uwetews afec7564d6 - optimization of {foreach} code size and processing 2015-12-28 00:58:22 +01:00
uwetews c8c82a292a - PHPdoc updates 2015-12-27 08:12:46 +01:00
uwetews c2f05e8c3c - code fixes 2015-12-27 08:11:31 +01:00
uwetews 94cc120439 update SmartyBC 2015-12-27 07:19:04 +01:00
uwetews b0691dd056 - update external methods 2015-12-27 07:18:35 +01:00
uwetews 4dd8b0bf73 new _clearTemplateCache() method 2015-12-27 05:43:11 +01:00
uwetews ca48e93f00 force opcache invalidation 2015-12-27 05:42:30 +01:00
uwetews 1ebaac314c remove obsolete code 2015-12-27 05:37:50 +01:00
uwetews dc6da4384b - improve inheritance code 2015-12-27 04:02:21 +01:00
uwetews 7e7591f6c0 new _clearTemplateCache() method 2015-12-27 03:28:26 +01:00
uwetews fbf544286a - new feature If ACP is enabled force an apc_compile_file() when compiled or cached template was updated 2015-12-25 10:29:29 +01:00
uwetews 613e66c257 - optimization replace hhvm extension by inline code 2015-12-25 10:02:10 +01:00
uwetews fdd20dd4f1 - compile {block} tag code and its processing into classes 2015-12-25 09:10:39 +01:00
uwetews 2ebacc3b54 - bugfix post filter did fail on template inheritance https://github.com/smarty-php/smarty/issues/144 2015-12-24 05:52:41 +01:00
uwetews 297f47a15a - new feature Compiler does now observe the template_dir setting and will create separate compiled files if required 2015-12-24 02:29:21 +01:00
uwetews 9d0865aaf8 - new feature Caching does now observe the template_dir setting and will create separate cache files if required 2015-12-24 02:26:31 +01:00
uwetews 5c377637e1 - new feature Caching does now observe the template_dir setting and will create separate cache files if required 2015-12-23 04:35:48 +01:00
uwetews db2cace210 - optimization move subtemplate processing back into template object 2015-12-23 03:08:23 +01:00
uwetews 8a0562fb58 lost code on last commit 2015-12-23 00:57:52 +01:00
uwetews ad635471cb - optimization move internal method decodeProperties back into template object 2015-12-23 00:44:51 +01:00
uwetews ef3da3cc0b - code optimizations 2015-12-22 23:49:25 +01:00
uwetews 136e94ae74 - change $xxx_dir properties from private to protected in case Smarty class gets extended.
Properties like $template_dir must never be accessed directly or overloaded by a user class. Use getter/setter methods like setTemplateDir()
2015-12-22 01:21:35 +01:00
uwetews a8f8efd4b4 - bugfix {strip} must remove all blanks between html tags https://github.com/smarty-php/smarty/issues/136 2015-12-21 23:35:52 +01:00
uwetews fd09164be5 - optimization of filepath normalization 2015-12-21 22:50:55 +01:00
uwetews 76bb166eda - bugfix a filepath starting with '/' or '\' on windows should normalize to the root dir
of current working drive https://github.com/smarty-php/smarty/issues/134 (reverted from commit e29834387f) (reverted from commit 5a418efe57)
2015-12-21 17:19:39 +01:00
uwetews 5a418efe57 - bugfix a filepath starting with '/' or '\' on windows should normalize to the root dir
of current working drive https://github.com/smarty-php/smarty/issues/134 (reverted from commit e29834387f)
2015-12-21 16:36:33 +01:00
uwetews e29834387f - bugfix a filepath starting with '/' or '\' on windows should normalize to the root dir
of current working drive https://github.com/smarty-php/smarty/issues/134
2015-12-21 16:34:46 +01:00
uwetews b22686023e Merge pull request #141 from m1nd53t/master
set correct path to template in CompileAll
2015-12-21 15:05:53 +01:00
Kars Frijters d8109dda75 set correct path to template in CompileAll
When the template is in a subdirectory of the sourcedir, the the template could not be loaded
2015-12-21 14:27:26 +01:00
uwetews fa482f09f5 Fix typo in version 2015-12-21 03:08:35 +01:00
uwetews ee0ea0afbf Prepare 3.1.20-dev 2015-12-21 03:01:41 +01:00
uwetews 35480f10e7 Release 3.1.29 2015-12-21 02:57:06 +01:00
uwetews 6867515183 v3.1.28-p1 patch 2015-12-21 02:49:46 +01:00
uwetews efaa61cfb6 - optimization improve speed of filetime checks on extends and extendsall resource 2015-12-21 02:18:27 +01:00
uwetews 3548de5fa1 - bugfix the source uid of the extendsall resource must contain $template_dir settings https://github.com/smarty-php/smarty/issues/123 2015-12-20 17:51:16 +01:00
uwetews 78243be722 - bugfix add addition check for OS type on normalization of file path https://github.com/smarty-php/smarty/issues/134 2015-12-20 16:21:32 +01:00
uwetews 6483164d18 - update compilation of Smarty special variables 2015-12-20 15:13:34 +01:00
uwetews e655856871 - bugfix failure when the default resource type was set to 'extendsall' https://github.com/smarty-php/smarty/issues/123 2015-12-20 05:27:43 +01:00
uwetews dc9872e0e2 - bugfix broken PHP 5.2 compatibility https://github.com/smarty-php/smarty/issues/139 2015-12-19 21:55:32 +01:00
uwetews 9cdf68807f - improvement make sure that compiled and cache templates never can contain a trailing '?>? 2015-12-19 21:37:46 +01:00
uwetews d11956fc78 - remove no longer used code 2015-12-19 21:35:24 +01:00
uwetews 116c0caa5b update travis 2015-12-19 20:19:32 +01:00
uwetews b75f638d20 update travis 2015-12-19 20:16:18 +01:00
uwetews 5558f4face update travis 2015-12-19 20:13:46 +01:00
uwetews 224a1c4874 - bugfix broken PHP 5.2 compatibility 2015-12-19 20:10:45 +01:00
uwetews e32720ef4e - bugfix using $smarty.capture.foo in expressions could fail https://github.com/smarty-php/smarty/pull/138 2015-12-19 19:18:31 +01:00
uwetews 818715351a typo 2015-12-18 05:52:04 +01:00
uwetews 44eea98260 - bugfix regression when mdifier parameter was follow by math https://github.com/smarty-php/smarty/issues/132 2015-12-18 04:43:55 +01:00
uwetews 05c069d889 - bugfix using {block append/prepend} on same block in multiple levels of inheritance templates could fail (forum topic 25827) 2015-12-18 00:34:58 +01:00
uwetews 9a8bcb93b1 - bugfix text content consisting of just a single '0' like in {if true}0{/if} was suppressed (forum topic 25834) 2015-12-17 21:51:19 +01:00
uwetews 919861014a - bugfix using {block append/prepend} on same block in multiple levels of inheritance templates could fail (forum topic 25827) 2015-12-17 21:32:36 +01:00
uwetews fb80bd53a5 - bugfix {$smarty.capture.nameFail} did lowercase capture name https://github.com/smarty-php/smarty/issues/135 2015-12-17 20:31:30 +01:00
uwetews b7118b6beb - optimize direct access $smarty->template_dir = 'foo'; should call Smarty::setTemplateDir() https://github.com/smarty-php/smarty/issues/121 2015-12-16 22:32:07 +01:00
uwetews c4a5aca865 - bugfix direct access $smarty->template_dir = 'foo'; should call Smarty::setTemplateDir() https://github.com/smarty-php/smarty/issues/121 2015-12-16 04:54:34 +01:00
uwetews fa3aed33ee - bugfix {foreach} did fail if from atrribute is a Generator class https://github.com/smarty-php/smarty/issues/128 2015-12-16 03:25:33 +01:00
uwetews e1eefdca75 Merge pull request #127 from logbon72/master
Restored Smarty_Internal_Data::getVariable()
2015-12-16 00:58:13 +01:00
uwetews b842934abd Merge pull request #129 from eaglewu/patch-1
Compatible with PHP7
2015-12-16 00:57:54 +01:00
Di Wu 1f7a82e2be Compatible with PHP7
Explicitly defining the evaluation order with the curly braces.

In PHP5
``
$person->$property['first'] is evaluated as $person->{$property['first']}
``

But in PHP7
``
$person->$property['first'] is evaluated as {$person->$property}['first']
``
2015-12-15 17:37:53 +08:00
Joseph Orilogbon 048b648bff - Restored Smarty_Internal_Data::getVariable(), but added deprecation message. 2015-12-15 08:54:21 +01:00
uwetews 017120c1ef - bugfix a call to clearAllCache() and other should clear all internal template object caches (forum topic 25828) 2015-12-15 03:37:13 +01:00
uwetews 80f872ac06 Merge pull request #126 from glensc/patch-1
Update NEW_FEATURES.txt
2015-12-15 01:52:53 +01:00
uwetews 862ce9db08 - bugfix {$smarty.cookies.foo} did return the $_COOKIE array not the 'foo' value https://github.com/smarty-php/smarty/issues/122 2015-12-15 01:34:18 +01:00
Elan Ruusamäe ca12046179 typos here too 2015-12-14 23:33:42 +02:00
Elan Ruusamäe 362af770fe one more typo fix
altho not sure where the quote should be here
2015-12-14 23:31:40 +02:00
Elan Ruusamäe b40684c5d5 more typos 2015-12-14 23:30:45 +02:00
Elan Ruusamäe 5c71e35d4f Update NEW_FEATURES.txt
typos
2015-12-14 23:29:07 +02:00
uwetews c4e6ad6c35 - bugfix multiple calls of {section} with same name droped E_NOTICE error https://github.com/smarty-php/smarty/issues/118 2015-12-14 00:18:27 +01:00
uwetews f8ec3ecaef - bugfix {$smarty.config.foo} broken in 3.1.28 https://github.com/smarty-php/smarty/issues/120 2015-12-14 00:04:31 +01:00
uwetews bc3ea2c878 Prepare .1.29-dev 2015-12-13 15:41:00 +01:00
uwetews d234f79203 Prepare release 3.1.28 2015-12-13 15:19:58 +01:00
uwetews 15e3d10267 Fix typos 2015-12-13 15:16:20 +01:00
uwetews 2cab5c74ff fix link to documentation 2015-12-13 14:50:11 +01:00
uwetews dca9cd887e Merge pull request #117 from yonexyonex/fix_typo
fix typo in template error message
2015-12-13 14:41:20 +01:00
yonex fc999d81be fix typo in template error message 2015-12-13 22:35:22 +09:00
uwetews e8078f55ae - bugfix Debug Console could display incorrect data when using subtemplates 2015-12-13 14:15:54 +01:00
uwetews 7e521a92d9 - bugfix $smarty->debugging_ctrl = 'URL' did not work (forum topic 25811) 2015-12-13 10:16:10 +01:00
uwetews 6dc9196c35 - bugfix {foreach} and {section} with uppercase characters in name attribute did not work (forum topic 25819) 2015-12-13 06:30:08 +01:00
uwetews 71e364e4b2 - bugix Smarty did fail under PHP 7.0.0 with use_include_path = true; 2015-12-09 02:16:48 +01:00
uwetews e783f61132 - bugix Smarty did fail under PHP 7.0.0 with use_include_path = true; 2015-12-09 02:03:56 +01:00
uwetews 260d3e3e46 -bugfix {strip} should exclude some html tags from stripping, related to fix for https://github.com/smarty-php/smarty/issues/111 2015-12-09 01:35:17 +01:00
uwetews ee743d2729 update of SMARTY_VERSION 2015-12-08 23:45:04 +01:00
uwetews 29e2eb0bca - bugfix internal template function data got stored in wrong compiled file https://github.com/smarty-php/smarty/issues/114 2015-12-08 23:41:42 +01:00
uwetews be8340bef2 - remove no longer needed file and updated testinstall 2015-12-08 23:41:01 +01:00
uwetews 4839d0e0cc -bugfix {strip} should insert a single space https://github.com/smarty-php/smarty/issues/111 2015-12-05 17:28:05 +01:00
uwetews 54fe432730 Merge pull request #109 from KLVTZ/master
Refactor readme: use github markdown parser
2015-12-04 04:11:16 +01:00
Justin Page a061365844 Provide new line to separate highlights 2015-11-28 16:51:14 -08:00
Justin Page 0403c876ed Use quotes to highlight features 2015-11-28 16:48:27 -08:00
Justin Page 2bc86a00f1 Wrap JSON examples in language specific code wrap
This allows Github or any repo system to parse and display correctly code
examples by proper wrappers.
2015-11-28 16:45:46 -08:00
uwetews e0fc310b6e -bugfix a left delimter like '[%' did fail on [%$var_[%$variable%]%] (forum topic 25798) 2015-11-25 21:19:23 +01:00
uwetews 5ca1cd485f - bugfix {include} with variable file name like {include file="foo_$bar.tpl"} did fail in 3.1.28-dev https://github.com/smarty-php/smarty/issues/102 2015-11-02 23:04:52 +01:00
uwetews aa730800bd - bugfix {include} with variable file name like {include file="foo_$bar.tpl"} did fail in 3.1.28-dev https://github.com/smarty-php/smarty/issues/102 2015-11-02 18:06:42 +01:00
uwetews cc3f69a2a3 - update config file processing 2015-11-01 02:58:27 +01:00
uwetews 8a78038181 update PHPdoc 2015-11-01 02:57:50 +01:00
uwetews 72258bc28d add test for valid scope name 2015-11-01 02:02:27 +01:00
uwetews 9496df8e1f - bugfix add missing $trusted_dir property to SmartyBC class (forum topic 25751) 2015-10-31 23:13:12 +01:00
uwetews eedfdff62f - improve template scope handling 2015-10-29 22:33:00 +01:00
uwetews 55f38125a4 - improve template scope handling 2015-10-29 22:17:35 +01:00
uwetews a0f583078d - minor optimizations 2015-10-29 21:41:21 +01:00
uwetews 862b23fe52 - update testinstall() 2015-10-26 01:27:06 +01:00
uwetews 6e3d94c13e - more optimizations of template processing 2015-10-25 05:59:45 +01:00
uwetews 2b9dcb22b5 - more optimizations of template processing 2015-10-25 05:03:23 +01:00
uwetews 42e722926a - bugfix Error when using {include} within {capture} https://github.com/smarty-php/smarty/issues/100 2015-10-25 04:53:58 +01:00
uwetews 1a51c1c17b - more optimizations of template processing 2015-10-25 04:53:19 +01:00
uwetews 50760c794c - more optimizations of template processing 2015-10-24 22:43:19 +02:00
uwetews 4ea4d1ff41 - improve autoloader speed 2015-10-24 05:20:09 +02:00
uwetews abdb335b26 - fix comment 2015-10-24 05:17:17 +02:00
uwetews b7fb490cb1 - improve compiled code 2015-10-24 05:16:54 +02:00
uwetews 891495f849 - improve recovery from ivalid compiled template code 2015-10-24 05:14:47 +02:00
uwetews 0ea1360d65 - new extension handler to load functions when called 2015-10-24 05:12:10 +02:00
uwetews 888014b908 - new extension handler to load functions when called 2015-10-24 05:02:24 +02:00
uwetews eec7639c9c - fix template scope processing 2015-10-24 04:45:09 +02:00
uwetews b26ba9ce52 update travis 2015-10-21 04:32:27 +02:00
uwetews e25a8ab661 - move some code into runtime extensions 2015-10-21 03:53:25 +02:00
uwetews ad65c850f7 - move some code into runtime extensions 2015-10-21 02:02:42 +02:00
uwetews 4e1d6707fe - update code generated by template function call handler 2015-10-18 22:12:16 +02:00
uwetews 0e28150b4a - fix compiled code for new {block} assign attribute 2015-10-18 11:35:08 +02:00
uwetews bd7d10e09d Update travis 2015-10-18 05:14:27 +02:00
uwetews bf6910ee21 - bugfix under HHVM temporary cache file must only be created when caches template was updated 2015-10-18 05:08:03 +02:00
uwetews 4776491a7f - bugfix under HHVM temporary cache file must only be created when caches template was updated 2015-10-18 04:58:53 +02:00
uwetews c99fe144f6 - speed and size optimizations 2015-10-18 04:54:09 +02:00
uwetews 8dc2a0af7c - rework of template inheritance 2015-10-18 04:46:05 +02:00
uwetews ca9ccfc919 - optimize filepath normalization 2015-10-18 04:40:45 +02:00
uwetews 757d66a731 parser: add support for template prefix and postfix code 2015-10-18 02:02:43 +02:00
uwetews 5cde3a8799 compiler: add support for post compile callbacks 2015-10-18 02:02:42 +02:00
uwetews 8dc777effd Merge pull request #96 from glensc/patch-1
do not load "Autoloader" from include path
2015-10-18 02:00:49 +02:00
Elan Ruusamäe 87a04b2ef6 do not load "Autoloader" from include path
loading it from include path (without abs path) can be dangerous, can load some other project's Autoloader.php instead the right one.
2015-10-13 10:32:04 +03:00
uwetews 788566cf70 - bugfix {if $foo instanceof $bar} failed to compile if 2nd value is a variable https://github.com/smarty-php/smarty/issues/92 (reverted from commit 428e667453) 2015-10-08 19:53:25 +02:00
uwetews 428e667453 - bugfix {if $foo instanceof $bar} failed to compile if 2nd value is a variable https://github.com/smarty-php/smarty/issues/92 2015-10-08 19:47:43 +02:00
uwetews 7f0a2f788f Merge pull request #95 from dshepherd/patch-1
Update README with correct plugin method signature
2015-10-08 19:42:03 +02:00
Dan Shepherd d45652afe2 Update README with correct plugin method signature
The existing README states that 3 params are passed for plugins (params, smarty, template) but the smarty object was actually removed long ago. This update correct this.
2015-10-08 13:50:46 +01:00
uwetews 64464e8fbe - bugfix {if $foo instanceof $bar} failed to compile if 2nd value is a variable https://github.com/smarty-php/smarty/issues/92 2015-09-19 19:55:14 +02:00
uwetews d5ca4518be - bugfix {foreach} first attribute was not correctly reset since commit 05a8fa2 of 02.08.2015 https://github.com/smarty-php/smarty/issues/90 2015-09-17 21:01:48 +02:00
uwetews e1e8d2feda - update compiler by moving no longer needed properties, code optimizations and other 2015-09-16 16:23:38 +02:00
uwetews 5a9500c2d9 - remove not needed compiled code whan caching is disabled 2015-09-15 01:25:40 +02:00
uwetews 83a68c99c8 - update template inheritance processing 2015-09-15 00:44:34 +02:00
uwetews fb9f2c9267 fix 2015-09-15 00:21:28 +02:00
uwetews ceb9afbb5d - bugfix unintended multiple debug windows (forum topic 25699) 2015-09-15 00:18:17 +02:00
uwetews 0eb7f4b8d1 - improvement invalidate OPCACHE for cleared compiled and cached template files (forum topic 25557) 2015-09-15 00:15:12 +02:00
uwetews 6ff3505a37 - move code of {call} processing back into Smarty_Internal_Template class 2015-09-14 23:50:20 +02:00
uwetews 8d734a9d52 - update template inheritance processing 2015-09-14 23:46:17 +02:00
uwetews 71c1b32c51 - optimize internal subtemplate handling 2015-09-14 23:39:04 +02:00
uwetews 5cbedc87f0 - optimize internal subtemplate handling 2015-09-14 23:16:13 +02:00
uwetews df0824675a - optimize internal subtemplate handling 2015-09-14 23:12:03 +02:00
uwetews 56a884a428 - optimize autoloader 2015-09-14 23:02:59 +02:00
uwetews bfcffb009a - remove unneeded code and properties, minor fixes 2015-09-01 02:52:09 +02:00
uwetews ca0b3f02b9 add some cope needed for PHPunit tests 2015-09-01 02:35:51 +02:00
uwetews 2e0b834b59 remove unneeded realpath call 2015-09-01 02:34:59 +02:00
uwetews d2fa4083f7 - move template function code into runtime extension 2015-09-01 02:30:56 +02:00
uwetews 2ba7109043 - move subtemplate code into runtime extension and optimize for size and speed 2015-09-01 02:27:22 +02:00
uwetews 37e6529c7b - improvement convert template inheritance into runtime processing
- bugfix {$smarty.block.parent} did always reference the root parent block https://github.com/smarty-php/smarty/issues/68
2015-09-01 02:10:15 +02:00
uwetews 620e52405b - improvement convert template inheritance into runtime processing
- bugfix {$smarty.block.parent} did always reference the root parent block https://github.com/smarty-php/smarty/issues/68
2015-09-01 01:54:28 +02:00
uwetews 54d54e5000 hook for runtime extension loading 2015-09-01 00:33:10 +02:00
uwetews 0d46c17578 - rearrange internal cache 2015-08-29 14:37:59 +02:00
uwetews 31a7162fba - remove double break 2015-08-27 19:26:49 +02:00
uwetews 3ba86e8d91 remove permission properties 2015-08-23 19:58:27 +02:00
uwetews d67acf7e9a revert removal of permission properties 2015-08-23 18:46:32 +02:00
uwetews 470cd186c4 major push of internal changes for size and speed optimizations 2015-08-23 17:23:09 +02:00
uwetews 0e4039f5c0 - bugfix compiling super globals like {$smarty.get.foo} did fail in the master branch https://github.com/smarty-php/smarty/issues/77 2015-08-23 16:59:34 +02:00
uwetews 9fd0b3086d - remove redundant code 2015-08-23 13:53:03 +02:00
uwetews 9eb87ef5a2 - relocate properties for size optimization 2015-08-23 13:24:24 +02:00
uwetews 606b8e8669 - optimize use_include_path processing 2015-08-23 11:13:20 +02:00
uwetews 2c197a2ea6 - check if $includes entry does exist 2015-08-23 06:47:39 +02:00
uwetews 3382aab429 - fix output buffer handling 2015-08-23 06:46:03 +02:00
uwetews 0b9e46d6ed - bugfix do not cache template object for config files 2015-08-23 05:36:20 +02:00
uwetews c6ea69feb7 - bugfix uncompiled templates could not be cached after recent change 2015-08-23 05:35:13 +02:00
uwetews 3daf187fb1 - bugfix of unneeded instanceof conditions replacement 2015-08-23 05:33:04 +02:00
uwetews 189b2af115 - optimize invalidation of internal caches 2015-08-23 05:27:16 +02:00
uwetews 1ae11c26c0 - optimize Smarty::templateExists() 2015-08-23 05:15:05 +02:00
uwetews fb83a888f3 varname changes 2015-08-23 02:03:25 +02:00
uwetews e2f11126eb fix PHPDoc 2015-08-23 02:00:25 +02:00
uwetews a413a2a2e1 replace unneeded instanceof conditions 2015-08-23 01:50:05 +02:00
uwetews 6eed7732df - remove properties with redundant content 2015-08-23 01:46:30 +02:00
uwetews 87985d1243 - move caching to Smarty::_cache 2015-08-23 01:39:18 +02:00
uwetews 6a26393099 - optimize rendering 2015-08-23 01:26:46 +02:00
uwetews 329cd6ec4d - remove not really needed properties 2015-08-19 02:19:25 +02:00
uwetews df541858de - cache template object of {include} if same template is included several times 2015-08-19 01:22:27 +02:00
uwetews 7935b181fb - optimize nocache hash processing 2015-08-19 01:18:25 +02:00
uwetews 8292a3581c - use output buffers for better performance and less memory usage 2015-08-19 01:09:08 +02:00
uwetews 6087ac5de0 - convert debug console processing to object 2015-08-19 00:58:47 +02:00
uwetews 5f7b5a45ac improve performance 2015-08-18 03:20:01 +02:00
uwetews 457a0486f5 - cache template object of {include} if same template is included several times 2015-08-18 02:55:53 +02:00
uwetews e8252906ba - make sure that property value is set 2015-08-17 22:27:41 +02:00
uwetews 6cbcdf4d7b - load seldom used Smarty API methods dynamically to reduce memory footprint 2015-08-17 21:52:32 +02:00
uwetews eb7aa8fe92 update template_id handling 2015-08-15 18:35:51 +02:00
uwetews 8a9b52e975 optimize $properties array 2015-08-15 18:32:27 +02:00
uwetews 9ad5e1eb1e define missing properties 2015-08-15 18:25:06 +02:00
uwetews af6f77a9e6 create raw compiled object to avoid checking for compiled file 2015-08-10 22:45:56 +02:00
uwetews e63926088c optimize compilation of merged subtemplates 2015-08-10 22:35:33 +02:00
uwetews 0260b525b8 introduce Smarty::$resource_cache_mode and cache template object of {include} inside loop 2015-08-10 21:57:06 +02:00
uwetews 5c9c57df7d replace property array by object properties 2015-08-09 21:14:16 +02:00
uwetews 6bcdd0edbe remove unused parameter 2015-08-09 20:56:18 +02:00
uwetews dde6bc506b remove unneeded method 2015-08-09 20:54:13 +02:00
uwetews 7d2e27ae2f use parent_compiler object for storing required plugins 2015-08-09 20:53:32 +02:00
uwetews 3619b672f4 replace property array by object properties 2015-08-09 20:48:33 +02:00
uwetews c08191d191 replace property array by object properties 2015-08-09 20:45:28 +02:00
uwetews d16e2d3a15 replace property array by object properties 2015-08-09 20:43:04 +02:00
Uwe Tews 643e6784e8 - bugfix Smarty failed when compile_id did contain "|" 2015-08-06 21:42:20 +02:00
Uwe Tews c5cf7884d5 - commit several internal improvements 2015-08-06 19:46:44 +02:00
Uwe Tews ea6f848e04 fix properties 2015-08-06 19:42:40 +02:00
Uwe Tews 5d1ba7ca9c restore template object state on exception, free lexer/parser resources 2015-08-06 19:40:37 +02:00
Uwe Tews e402e2f893 no need to clone handler 2015-08-06 19:32:33 +02:00
Uwe Tews de49865d22 optimize template object caching 2015-08-06 19:25:00 +02:00
Uwe Tews 16fc95ccf7 load source resource at template object creation 2015-08-06 19:16:41 +02:00
Uwe Tews 1ed4808bd9 check parent object type 2015-08-06 19:14:55 +02:00
Uwe Tews 5ca4f0484a load source resource at template object creation 2015-08-06 19:12:24 +02:00
Uwe Tews 35c7e9767d remove unneeded properties 2015-08-06 19:05:11 +02:00
Uwe Tews 8cffee8426 invalidate compiled resource cache 2015-08-06 19:02:30 +02:00
Uwe Tews 63a1e74811 - rewrite compileAll... utility methods 2015-08-06 01:29:36 +02:00
Uwe Tews a7098432ba Make declaration compatible with compile assign 2015-08-06 01:24:41 +02:00
Uwe Tews e1cc514a68 - avoid possible circular object referances caused by parser/lexer objects 2015-08-06 01:19:11 +02:00
Uwe Tews ca969fe663 fix autoloader optimization 2015-08-06 00:59:06 +02:00
Uwe Tews 8c5f20430d optimize duplicate code 2015-08-06 00:57:36 +02:00
Uwe Tews 80ee385965 - improve getIncludePath() to return directory i 2015-08-03 22:32:09 +02:00
Uwe Tews 201ea13a33 - bugfix compileAllConfig() was broken since 3.1.22 because of the changes in config file processing 2015-08-03 21:39:30 +02:00
Uwe Tews f2585a035c - rework clear cache methods 2015-08-03 05:40:34 +02:00
Uwe Tews 147ba329b5 Fix generated code 2015-08-03 03:14:25 +02:00
Uwe Tews 7dfe853076 remove unneed dummy $smarty template variable 2015-08-02 21:12:33 +02:00
Uwe Tews c95ff14434 - rework {capture} compiler 2015-08-02 20:57:46 +02:00
Uwe Tews e205cb7a89 - optimization and code cleanup of {foreach} and {section} compiler 2015-08-02 19:43:21 +02:00
Uwe Tews 05a8fa245e - improvement show resource type and start of template source instead of uid on eval: and string: resource (forum topic 25630) 2015-08-01 14:28:39 +02:00
Uwe Tews 3d2a15be3c - update DateTime object can be instance of DateTimeImmutable since PHP5.5 https://github.com/smarty-php/smarty/pull/75 2015-08-01 13:09:41 +02:00
Uwe Tews c5cdd90352 - optimize {foreach} and {section} compiler 2015-07-31 01:03:29 +02:00
Uwe Tews e9d172d8ac - optimize {section} compiler for speed and size of compiled code 2015-07-30 02:45:38 +02:00
Uwe Tews 20640577a1 Revert "- optimize {section} compiler for speed and size of compiled code"
This reverts commit 1074090473.
2015-07-30 02:03:29 +02:00
Uwe Tews 1074090473 - optimize {section} compiler for speed and size of compiled code 2015-07-30 01:15:22 +02:00
Uwe Tews aa6e2219ec - optimize {section} compiler for speed and size of compiled code 2015-07-30 01:03:12 +02:00
Uwe Tews 8eabafed83 add some error suppression for undefined variables 2015-07-29 23:30:52 +02:00
Uwe Tews 99d802f30c - optimize {section} compiler for speed and size of compiled code 2015-07-29 22:23:23 +02:00
Uwe Tews c9f2a0d26e - update for PHP 7 compatibility 2015-07-28 01:39:08 +02:00
Uwe Tews fe4fdd15d8 add PHP 7 to travis tests 2015-07-28 01:15:31 +02:00
Uwe Tews d192e470d5 add PHP 7 to travis tests 2015-07-28 01:12:45 +02:00
Uwe Tews 0436176739 add hhvm to travis test 2015-07-26 18:11:10 +02:00
Uwe Tews f9d9ca0f67 - improvement impement workaround for HHVM PHP incompatibillity https://github.com/facebook/hhvm/issues/4797 2015-07-26 18:04:40 +02:00
Uwe Tews bb3dfc6fdf - bugfix parser did hang on text starting <?something https://github.com/smarty-php/smarty/issues/74 2015-07-25 22:32:10 +02:00
Uwe Tews f61084f70f move Smarty::clear() into extension 2015-07-20 04:38:13 +02:00
Uwe Tews 8cbe51a603 - improvement invalidate PHP 5.5 opcache for recompiled and cached templates https://github.com/smarty-php/smarty/issues/72 2015-07-20 04:01:43 +02:00
Uwe Tews 3e54c268ab - bugfix config files got recompiled on each request 2015-07-20 03:15:45 +02:00
Uwe Tews 61253c1999 optimization 2015-07-12 07:03:55 +02:00
Uwe Tews 208628080f reformat 2015-07-12 07:02:25 +02:00
Uwe Tews 21e07daf6d optimization 2015-07-12 02:26:42 +02:00
Uwe Tews 878724c4ea - optimize {extends} compilation 2015-07-12 01:11:22 +02:00
Uwe Tews b3fd262541 - bugfix force file: resource in demo resource.extendsall.php 2015-07-10 05:18:10 +02:00
Uwe Tews 7a56edc180 - bugfix convert each word of class names to ucfirst in in compiler. (forum topic 25588) 2015-07-08 04:59:37 +02:00
Uwe Tews 40f0dda0e6 - new feature multiple indices on file: resource 2015-07-07 18:18:19 +02:00
Uwe Tews 1e4f28da54 update Smarty::_realpath() 2015-07-07 17:56:50 +02:00
Uwe Tews 7fa6c4fd47 update include_path handling 2015-07-07 17:55:45 +02:00
Uwe Tews 733755f94a reformat 2015-07-07 17:51:40 +02:00
uwetews f66cd7e062 Merge pull request #71 from mmerian/master
Added $limit parameter to regex_replace modifier
2015-07-07 15:40:28 +02:00
Maxime Mérian 73dc3f311a Added $limit parameter to regex_replace modifier 2015-07-07 09:32:40 +02:00
Uwe Tews bc99747f93 - improvement allow fetch() or display() called on a template object to get output from other template
like $template->fetch('foo.tpl') https://github.com/smarty-php/smarty/issues/70
2015-07-07 02:01:45 +02:00
Uwe Tews 5b401789b5 - optimization resource extendsall 2015-07-06 06:57:56 +02:00
uwetews a35294946e Merge pull request #69 from bmewburn/master
removed invalid .gitignore pattern
2015-07-06 05:46:01 +02:00
Uwe Tews 06096191c5 - optimize {block} compilation 2015-07-06 03:41:37 +02:00
Uwe Tews b1fdc085e7 - optimization get rid of __get and __set in source object 2015-07-06 03:25:03 +02:00
Uwe Tews b198e6488c - optimize {block} compilation 2015-07-06 03:12:25 +02:00
bmewburn da38a22621 removed invalid .gitignore pattern
git ignore pattern .idea\ causes version control in netbeans 8.02 to crash
2015-07-06 11:12:11 +10:00
Uwe Tews 7e7112153a search {foreach} properties also in parent compiler 2015-07-01 13:01:16 +02:00
Uwe Tews e5bea506af - bugfix debugging console did not display string values containing \n, \r or \t correctly https://github.com/smarty-php/smarty/issues/66 2015-07-01 10:54:45 +02:00
Uwe Tews a756ce3d9e add error messages 2015-07-01 10:46:51 +02:00
Uwe Tews be212a2a87 load template source early 2015-07-01 06:44:28 +02:00
Uwe Tews 9ac1dd44e2 - update {foreach} compiler 2015-07-01 03:30:08 +02:00
Uwe Tews a9f0b8ad1f - optimize compile check handling 2015-07-01 03:27:06 +02:00
Uwe Tews 86783c857d use tag object cache of parent compiler 2015-07-01 03:25:55 +02:00
Uwe Tews 2762d81d93 add new methods and optimizations 2015-07-01 03:23:40 +02:00
Uwe Tews 8567f08248 fix flag in file status cache 2015-06-30 02:59:41 +02:00
Uwe Tews c84e406db5 observe $smarty->compile_check 2015-06-29 20:48:49 +02:00
Uwe Tews 83f6154eae - compiler optimization 2015-06-29 20:45:21 +02:00
Uwe Tews 3052406cfc - fix $smarty->use_include_path option and optimize file path code 2015-06-29 02:41:42 +02:00
Uwe Tews 99fe8120c8 - remove redundant code 2015-06-28 15:45:50 +02:00
Uwe Tews 8d30442450 - bugfix PATH_SEPARATOR was replaced by mistake in autoloader 2015-06-28 15:12:00 +02:00
Uwe Tews cd132140f2 - optimize file path normalization 2015-06-28 12:54:47 +02:00
Uwe Tews c1ae1a52af - optimize autoloader 2015-06-28 08:33:18 +02:00
Uwe Tews ce0c1dcfae - move $smarty->append() and $smarty->appendByRef() into extension 2015-06-28 05:22:19 +02:00
Uwe Tews 3442acd407 update comment 2015-06-28 05:00:47 +02:00
Uwe Tews f4d7838a8f - move getStreamVariable() into extension 2015-06-28 05:00:27 +02:00
Uwe Tews afe9af11b7 - move $smarty->getTemplateVars() into extension 2015-06-28 04:44:16 +02:00
Uwe Tews 85eb95d960 - move auto load filter methods into extension 2015-06-28 04:05:07 +02:00
Uwe Tews aee07f7bba - optimize security isTrustedResourceDir() 2015-06-28 02:37:41 +02:00
Uwe Tews 5377fd5926 - move $smarty->enableSecurity() into Smarty_Security class 2015-06-28 01:38:52 +02:00
Uwe Tews 15d8e545cd - rework of $smarty->clearCompiledTemplate() and move it to its own extension 2015-06-27 23:59:12 +02:00
Uwe Tews 9d937ffe68 - bugfix allow function plugins with name ending with 'close' https://github.com/smarty-php/smarty/issues/52 2015-06-27 22:18:08 +02:00
Uwe Tews 1360be4eef - minor compiler optimizations 2015-06-27 21:50:33 +02:00
Uwe Tews 38e47c7ee2 - minor compiler optimizations 2015-06-27 21:23:22 +02:00
Uwe Tews 291c06dbea - move $smarty->loadPlugin() into extension 2015-06-27 20:56:27 +02:00
Uwe Tews 75ccd86c8a - update {include_php} with new realpath handling 2015-06-27 20:25:54 +02:00
Uwe Tews f567d5d778 - update Smarty security with new realpath handling 2015-06-27 20:18:01 +02:00
Uwe Tews 6197df45b5 - update $smarty->_realpath for relative path not starting with './' 2015-06-27 20:08:17 +02:00
Uwe Tews aefec40962 - fix special cases of filepath normalization 2015-06-27 18:30:47 +02:00
Uwe Tews e0630b106a revert 2015-06-27 16:31:26 +02:00
Uwe Tews c5ea2e4b48 add hhvm 2015-06-27 16:26:31 +02:00
Uwe Tews 9986286af0 - bugfix resolve naming conflict between custom Smarty delimiter '<%' and PHP ASP tags https://github.com/smarty-php/smarty/issues/64 2015-06-27 16:09:50 +02:00
Uwe Tews 3239a19435 - bugfix resolve naming conflict between custom Smarty delimiter '<%' and PHP ASP tags https://github.com/smarty-php/smarty/issues/64 2015-06-27 15:35:27 +02:00
Uwe Tews 6b875397a5 update autoloader 2015-06-21 13:56:10 +02:00
Uwe Tews b64d5d26c9 - update realpath handling 2015-06-21 13:53:52 +02:00
Uwe Tews 666f7264f4 optimization 2015-06-21 13:51:50 +02:00
Uwe Tews dd4cbfac3a - move registerObject / registerClass into extension 2015-06-21 13:43:17 +02:00
Uwe Tews 1a24b3971d - optimization of filter execution 2015-06-21 13:23:23 +02:00
Uwe Tews c09b05cbe3 - optimization of directory handling / build realpath 2015-06-21 13:11:52 +02:00
Uwe Tews 31d94d05d3 - optimization of template/config file normalization 2015-06-21 12:52:49 +02:00
Uwe Tews 4e471b19e2 - optimization of template/config file normalization 2015-06-21 12:42:53 +02:00
Uwe Tews 2d0f457abd Update 2015-06-20 18:25:05 +02:00
Uwe Tews afe79aac2e - improvement allow closures as callback at $smarty->registerFilter() https://github.com/smarty-php/smarty/issues/59 2015-06-19 03:21:52 +02:00
Uwe Tews 4537d8aae6 Release 3.1.27 2015-06-18 02:55:59 +02:00
Uwe Tews 34531edb4c - bugfix another update on file path normalization failed on path containing something like "/.foo/" https://github.com/smarty-php/smarty/issues/56 2015-06-18 02:53:22 +02:00
Uwe Tews 2cdba79a74 Release 3.1.26 2015-06-18 02:08:42 +02:00
Uwe Tews 7b469c1f4a - bugfix file path normalization failed on path containing something like "/.foo/" https://github.com/smarty-php/smarty/issues/56 2015-06-18 01:46:35 +02:00
Uwe Tews 52ced72361 - bugfix calling a plugin with nocache option but no other attributes like {foo nocache} caused call to undefined function https://github.com/smarty-php/smarty/issues/55 2015-06-18 00:06:40 +02:00
Uwe Tews 58616d6ee5 Release 3.1.25 2015-06-16 00:23:24 +02:00
Uwe Tews ec383370cb - optimization of smarty_cachereource_keyvaluestore.php code 2015-06-15 23:39:42 +02:00
Uwe Tews 3bb22560c0 - bugfix an output tag with variable, modifier followed by an operator like {$foo|modifier+1} did fail https://github.com/smarty-php/smarty/issues/53 2015-06-14 04:26:37 +02:00
Uwe Tews 83f3f6d7f1 - bugfix an output tag with variable, modifier followed by an operator like {$foo|modifier+1} did fail https://github.com/smarty-php/smarty/issues/53 2015-06-14 04:23:50 +02:00
Uwe Tews ecddc1f720 - bugfix a relative sub template path could fail if template_dir path did contain /../ https://github.com/smarty-php/smarty/issues/50
- optimization rework of path normalization
2015-06-14 03:30:31 +02:00
Uwe Tews e96ee1b5d6 - bugfix a custom cache resource using smarty_cachereource_keyvaluestore.php did fail if php.ini mbstring.func_overload = 2 (forum topic 25568) 2015-06-13 19:39:02 +02:00
Uwe Tews 768b7d1ec5 - bugfix the lexer could hang on very large quoted strings (forum topic 25570) 2015-06-11 23:33:30 +02:00
Uwe Tews f1e1f56ffe - bugfix using {$foo} as array index like $bar.{$foo} or in double quoted string like "some {$foo} thing" failed https://github.com/smarty-php/smarty/issues/49 2015-06-08 23:54:46 +02:00
Uwe Tews d804454f21 Fix spelling 2015-06-04 02:40:36 +02:00
Uwe Tews 2a1badfebb - bugfix possible error message on unset() while compiling {block} tags https://github.com/smarty-php/smarty/issues/46 2015-06-04 02:39:26 +02:00
Uwe Tews fa269d418f - bugfix <?xml ... ?> including template variables broken since 3.1.22 https://github.com/smarty-php/smarty/issues/47 2015-06-01 22:26:45 +02:00
Uwe Tews 3771ea8d35 Fix comments 2015-05-28 22:31:35 +02:00
Uwe Tews 63b1d343b8 - bugfix {include} with variable file name must not create by default individual cache file (since 3.1.22) https://github.com/smarty-php/smarty/issues/43 2015-05-27 22:24:24 +02:00
Uwe Tews 0434f34bdd - bugfix if condition string 'neq' broken due to a typo https://github.com/smarty-php/smarty/issues/42 2015-05-24 18:37:53 +02:00
Uwe Tews c9cd39f36f minor bugfix when processing autoliteral { php} tag. Does not effect generated output. 2015-05-23 23:40:02 +02:00
Uwe Tews 0356b70578 minor fix 2015-05-23 22:40:24 +02:00
Uwe Tews aa1e554993 Remove redundant code 2015-05-23 22:36:46 +02:00
Uwe Tews 531b298886 Prepare 3.1.25-dev 2015-05-23 19:25:50 +02:00
Uwe Tews b58771e31b Release 3.1.24 2015-05-23 19:22:14 +02:00
Uwe Tews c226fbd3d9 Travis setup does not work for PHP 5.2 for some reason 2015-05-23 19:04:19 +02:00
Uwe Tews 25391749a1 - improvement on php_handling to allow very large PHP sections, better error handling
- improvement allow extreme large comment sections (forum 25538)
2015-05-23 19:03:13 +02:00
Uwe Tews ec449734c3 - improvement on php_handling to allow very large PHP sections, better error handling
- improvement allow extreme large comment sections (forum 25538)
2015-05-23 18:56:00 +02:00
Uwe Tews c8ecad0b06 - bugfix named {foreach} comparison like $smarty.foreach.foobar.index > 1 did compile into wrong code https://github.com/smarty-php/smarty/issues/41 2015-05-21 00:59:26 +02:00
Uwe Tews 5d8718f761 - bugfix broken PHP 5.2 compatibility when compiling <?php tags https://github.com/smarty-php/smarty/issues/40 2015-05-21 00:05:16 +02:00
Uwe Tews 85e05458c6 - bugfix compiler could run into the pcre.backtrack_limit on larger comment or {php} tag sections (forum 25538) 2015-05-20 05:48:45 +02:00
Uwe Tews b8eb8784d4 - bugfix output filter trimwhitespace could run into the pcre.backtrack_limit on large output (code.google issue 220) 2015-05-20 04:26:29 +02:00
Uwe Tews 5468f140fa - bugfix compiler did overwrite existing variable value when setting the nocache attribute https://github.com/smarty-php/smarty/issues/39 2015-05-19 22:47:04 +02:00
Uwe Tews dcf53ca957 Fix max nesting parameter 2015-05-18 05:39:57 +02:00
Uwe Tews ed740b967a Removed redundant code 2015-05-18 04:26:46 +02:00
Uwe Tews ac99173cea - improvement introduce shortcuts in lexer/parser rules for most frequent terms for higher
compilation speed
2015-05-18 04:12:40 +02:00
Uwe Tews bef7c55544 {for} should be able to init array elements 2015-05-18 04:00:17 +02:00
Uwe Tews e3123c0427 - improvement higher compilation speed by modified lexer/parser generator at "smarty/smarty-lexer" 2015-05-16 16:33:50 +02:00
Uwe Tews d21921de22 - improvement reduce number of lexer tokens on operators and if conditions 2015-05-16 14:47:12 +02:00
Uwe Tews 22bccee350 - improvement remove not needed ?><?php transitions from compiled code 2015-05-16 14:17:59 +02:00
Uwe Tews 0bdd805d6b remove code not intended for this version 2015-05-16 13:40:45 +02:00
Uwe Tews a74804b061 - bugfix {php}{/php} did work just for single lines https://github.com/smarty-php/smarty/issues/33 2015-05-16 13:33:04 +02:00
Uwe Tews 9f1061f5bc - bugfix template functions failed when calling the function recursively with function name as tag name https://github.com/smarty-php/smarty/issues/28 2015-05-14 15:13:09 +02:00
Uwe Tews 2db464a6e5 - bugfix template functions failed when calling the function recursively with function name as tag name https://github.com/smarty-php/smarty/issues/28 2015-05-14 15:11:38 +02:00
Uwe Tews 8ee805632d - bugfix in Smarty_Security 'nl2br' should be a trusted modifier, not PHP function (code.google issue 223) 2015-05-13 20:17:02 +02:00
Uwe Tews dea56a2243 default for $debug_tpl will be set up in Smarty_Internal_Debug 2015-05-13 19:25:05 +02:00
Uwe Tews e0dbc79204 Debugging - add display of Smarty version 2015-05-13 19:10:06 +02:00
Uwe Tews a3c89bb4f4 Debugging - truncate output of Origin to 80 characters and increase string values from 40 to 80 characters 2015-05-13 19:03:54 +02:00
Uwe Tews 319e396937 use clean Smarty object to display the debugging console.
Avoid possible promblems when application did overload the Smarty object or properties go modified hardcoded in the class source.
2015-05-13 18:04:29 +02:00
Uwe Tews 3240b5a596 - improvement remove not needed ?><?php transitions from compiled code 2015-05-13 02:09:00 +02:00
Uwe Tews 2b858212b7 - improvement remove not needed ?><?php transitions from compiled code 2015-05-13 02:06:33 +02:00
Uwe Tews cf5b5c4e1f Disable hhvm test because of a hhvm PHP compatibility problem 2015-05-13 01:50:23 +02:00
Uwe Tews 07c781d9cf - bugfix in nested {foreach} saved item attributes got overwritten https://github.com/smarty-php/smarty/issues/33 2015-05-13 00:33:23 +02:00
Uwe Tews e4741e9dd7 version update after fixed issues 28 and 29 2015-05-12 20:41:41 +02:00
Uwe Tews ece0e2241f Log fixes for issue 28 and 29 2015-05-12 20:39:10 +02:00
Uwe Tews 3ac71869a6 Remove PHP nightly test 2015-05-12 20:33:18 +02:00
uwetews f791eeba11 Merge pull request #32 from Stricted/patch-1
fix variable name
2015-05-12 18:40:53 +02:00
uwetews 962cf3d193 Merge pull request #30 from Stricted/master
fix constant handling
2015-05-12 18:40:08 +02:00
Stricted a8f30dc7f6 fix variable name 2015-05-12 15:52:54 +02:00
Stricted 4af23bc104 fix last commit 2015-05-12 15:44:54 +02:00
Stricted 811e2e0e13 fix constant handling
on undefined constants you get 'TEST_CONST' on definied constants TEST_CONST
2015-05-12 15:43:57 +02:00
Uwe Tews 2ff51de3df allow failures of hhvm 2015-05-12 04:48:10 +02:00
Uwe Tews 04f0090c40 release 3.1.23 2015-05-12 04:08:22 +02:00
Uwe Tews e6a4e68139 remove hhvm nightly test 2015-05-12 04:01:10 +02:00
Uwe Tews d234625d7c - bugfix of smaller performance issue introduce in 3.1.22 when caching is enabled 2015-05-12 03:34:38 +02:00
Uwe Tews b4792df08a - bugfix missig entry for smarty-temmplate-config in autoloader 2015-05-12 03:07:24 +02:00
Uwe Tews 6deb3cee7c update travis 2015-05-12 02:58:32 +02:00
Uwe Tews c12655ded2 - bugfix of smaller performance issue introduce in 3.1.22 when caching is enabled 2015-05-12 02:52:30 +02:00
Uwe Tews 8acb920e20 update 2015-05-12 01:17:14 +02:00
Uwe Tews d276829aa6 fix comment 2015-05-11 23:09:27 +02:00
Uwe Tews 556185c9e2 Update 2015-05-10 23:17:43 +02:00
Uwe Tews ebef3b1988 Update 2015-05-10 23:14:51 +02:00
Uwe Tews ee8a695a57 Update 2015-05-10 22:46:48 +02:00
Uwe Tews 94d5e1e198 Update 2015-05-10 22:42:24 +02:00
Uwe Tews 469a6ad860 correction 2015-05-10 21:55:43 +02:00
Uwe Tews 735507b0ba correction 2015-05-10 21:53:16 +02:00
Uwe Tews 4c3e67a301 update 2015-05-10 21:47:34 +02:00
Uwe Tews 31edf7fcea push 2015-05-10 21:44:18 +02:00
Uwe Tews 5963632a99 add .travis.yml 2015-05-10 21:05:54 +02:00
Uwe Tews 3836cafd90 Prepare 3.1.23-dev 2015-05-10 13:17:33 +02:00
Uwe Tews 0f9ec2642a Release 3.1.22 2015-05-10 13:08:04 +02:00
Uwe Tews ab93b0feee - improvement added constants for $debugging 2015-05-10 12:18:41 +02:00
Uwe Tews 741a07fc8f new dev version 2015-05-10 12:13:21 +02:00
Uwe Tews 8a34ad0cd2 parameter cleanup 2015-05-10 12:09:24 +02:00
Uwe Tews b0ca67b213 - bugfix cache lock was not handled correctly after timeout when $cache_locking == true 2015-05-10 12:08:47 +02:00
Uwe Tews 5ce5d4df49 - bugfix custom cache resource did not observe compile_id and cache_id when $cache_locking == true 2015-05-10 12:00:19 +02:00
Uwe Tews edf49ca3cf formatting 2015-05-10 11:53:09 +02:00
Uwe Tews af4a923da5 - uodate and fixes at cache locking 2015-05-08 07:27:45 +02:00
Uwe Tews d7b0b57420 - optimization of resource class loading 2015-05-08 06:02:59 +02:00
Uwe Tews c5468b421e - optimization of resource class loading 2015-05-07 22:57:59 +02:00
Uwe Tews 37449b2fcb - improvement of the debugging console. Read NEW_FEATURES.txt 2015-05-07 04:36:49 +02:00
Uwe Tews af08353e93 - bugfix/improvement in 3.1.22-dev cache locking did not work as expected 2015-05-06 23:10:39 +02:00
Uwe Tews 57df382ff2 - bugfix in 3.1.22-dev cache resource must not be loaded for subtemplates 2015-05-06 22:10:04 +02:00
Uwe Tews d92714cc7e - optimization move <?php ?> handling from parser to new compiler module 2015-05-06 00:03:26 +02:00
Uwe Tews d7ff1eec47 - optimization on cache update when main template is modified 2015-05-05 15:46:24 +02:00
Uwe Tews 914815d438 Fix broken code 2015-05-05 06:48:37 +02:00
Uwe Tews 3e4734acfb - bugfix code could be messed up when {tags} are used in multiple attributes https://github.com/smarty-php/smarty/issues/23 2015-05-05 03:33:53 +02:00
Uwe Tews 6575e11f68 Add missing properties 2015-05-05 03:27:16 +02:00
Uwe Tews c5915a8c0c - improvement use is_file() checks to avoid errors suppressed by @ which could still cause problems (https://github.com/smarty-php/smarty/issues/24) 2015-05-05 00:41:30 +02:00
Uwe Tews f14f2dcc6f - bugfix Smarty_Resource::parseResourceName incompatible with Google AppEngine (https://github.com/smarty-php/smarty/issues/22) 2015-05-04 22:44:29 +02:00
Uwe Tews 22ea1404df add information how to get development tools 2015-05-04 18:21:55 +02:00
Uwe Tews 08c81acbb1 add require-dev to load PHPUnit tests and lxer/parser generator (reverted from commit f3d7b05ccb) 2015-05-04 18:20:44 +02:00
Uwe Tews 9789867d8b Revert "add require-dev to load PHPUnit tests and lxer/parser generator"
This reverts commit f3d7b05ccb.
2015-05-04 18:09:21 +02:00
Uwe Tews 80926a538d Revert "test"
This reverts commit d40e2a0286.
2015-05-04 18:08:41 +02:00
Uwe Tews d40e2a0286 test 2015-05-04 05:54:05 +02:00
Uwe Tews f3d7b05ccb add require-dev to load PHPUnit tests and lxer/parser generator 2015-05-04 05:20:22 +02:00
Uwe Tews ea17aad266 - bugfix plugins of merged subtemplates not loaded in 3.1.22-dev (forum topic 25508) 2nd fix 2015-04-28 23:12:12 +02:00
Uwe Tews e312dd9b59 - bugfix plugins of merged subtemplates not loaded in 3.1.22-dev (forum topic 25508) 2015-04-28 01:38:45 +02:00
Uwe Tews c7ba22dc98 - bugfix a nocache template variable used as parameter at {insert} was by mistake cached 2015-04-23 02:34:28 +02:00
Uwe Tews de892651c2 - bugfix at a template function containing nocache code a parmeter could overwrite a template variable of same name 2015-04-20 22:59:45 +02:00
Uwe Tews 6fb27d5ae4 strip property must now be public 2015-04-07 02:11:20 +02:00
Uwe Tews a92302d059 move strip processing from parser to compiler 2015-04-02 01:42:53 +02:00
Uwe Tews e9fd2354ef move compileVariable() from parser to compiler 2015-04-02 01:35:16 +02:00
Uwe Tews ea2a566b1f - bugfix Smarty_Security->allow_constants=false; did also disable true, false and null (change of 16.03.2015)
- improvement added a whitelist for trusted constants to security Smarty_Security::$trusted_constants (forum topic 25471)
2015-03-28 03:58:08 +01:00
Uwe Tews 443ae8c216 - bugfix problems when {function}{/function} defined a template function in a cached subtemplate and it was called {call} from a not cached subtemplate {forum topic 25468} 2015-03-23 00:39:22 +01:00
Uwe Tews 2a005ac6d6 - bugfix correct update of global variable values on exit of template functions. (reported under Smarty Developers) 2015-03-20 18:25:59 +01:00
Uwe Tews 2758cb8ce9 Correct version number 2015-03-20 01:49:52 +01:00
Uwe Tews 4ecc75344f - bugfix make sure that function properties get saved only in compiled files containing the fuction definition {forum topic 25452} 2015-03-20 00:41:55 +01:00
Uwe Tews 03c7b786a0 Clean up template functions property structure 2015-03-17 04:53:57 +01:00
Uwe Tews ab1272a2e4 fix whitespaces on tags included in double quoted strings 2015-03-17 04:31:51 +01:00
Uwe Tews 4c0e124c22 - bugfix {block}{/block} tags did not work inside double quoted strings issues #18 2015-03-17 03:40:01 +01:00
Uwe Tews 6df84b6fe3 - bugfix {block}{/block} tags did not work inside double quoted issues #18 2015-03-17 03:31:44 +01:00
Uwe Tews e7ad5909e5 - bugfix Smarty_Security->allow_constants=false; did not disallow direct usage of defined constants like {SMARTY_DIR} {forum topic 25457} 2015-03-17 02:29:19 +01:00
Uwe Tews eead9c81e9 - bugfix problems with {function}{/function} and {call} tags in different subtemplate cache files {forum topic 25452} 2015-03-17 01:10:51 +01:00
Uwe Tews 7b7118eea9 - bugfix $smarty->compile_check must be restored before rendering of a just updated cache file {forum 25452} 2015-03-15 02:01:07 +01:00
Uwe Tews 7fe81e6d79 - bugfix {nocache} {/nocache} tags corrupted code when used within a nocache section caused by a nocache template variable 2015-03-14 15:17:58 +01:00
Uwe Tews 8020144d46 - bugfix template functions defined with {function} in an included subtemplate could not be called in nocache
mode with {call... nocache} if the subtemplate had it's own cache file {forum 25452}
2015-03-14 12:02:57 +01:00
Uwe Tews e9b1f296cb - bugfix {include ... nocache} with variable file or compile_id attribute was not executed in nocache mode. 2015-03-10 18:06:05 +01:00
Uwe Tews 8892f358ad - bugfix __get() was called when loading config files 2015-03-07 01:44:30 +01:00
Uwe Tews b1cd4cd7d2 Return to saved output buffer level on exceptions 2015-03-01 21:39:54 +01:00
Uwe Tews 464b37c053 optimize compiled code of {foreach} 2015-02-15 16:58:42 +01:00
Uwe Tews 8082bc7471 get rid of smarty object self pointer 2015-02-15 01:45:37 +01:00
Uwe Tews f93cfc63ad get rid of reference parameter 2015-02-14 21:57:42 +01:00
Uwe Tews 6925c98af0 - bugfix multiple Smarty::fetch() of same template when $smarty->merge_compiled_includes = true; could cause function alreday defined error 2015-02-12 23:56:43 +01:00
Uwe Tews 0e87a99507 - bugfix recursive {includes} did create E_NOTICE message when $smarty->$merge_compiled_includes = true; 2015-02-11 07:15:40 +01:00
Uwe Tews aec380839c - bugfix recursive {includes} did create E_NOTICE message when $smarty->$merge_compiled_includes = true; 2015-02-11 06:57:17 +01:00
Uwe Tews 05f5ddf573 remove comments 2015-02-09 23:52:25 +01:00
Uwe Tews d62d394345 update 2015-02-08 22:22:52 +01:00
Uwe Tews d288e58692 update 2015-02-08 21:36:32 +01:00
Uwe Tews b2b114d5b8 udate 2015-02-08 21:21:30 +01:00
Uwe Tews 10bf6f6032 add isset($_smarty_tpl) to avoid errors when unit test runs in separate process 2015-02-08 21:10:45 +01:00
Uwe Tews 1fc2b9ece2 add isset($_smarty_tpl) to avoid errors when unit test runs in separate process 2015-02-08 19:57:14 +01:00
Uwe Tews e4e3e176c0 add note 2015-01-22 04:07:58 +01:00
Uwe Tews 1a781b39b1 new feature: security can now control access to static methods and properties
see also NEW_FEATURES.txt
2015-01-22 03:53:01 +01:00
Uwe Tews ec19bc763f - bugfix 'self::' and 'parent::' was interpreted in template syntax as static class 2015-01-21 23:30:37 +01:00
Uwe Tews 8d5fa36a80 - bugfix clearCompiledTemplates(), clearAll() and clear() could try to delete whole drive
at wrong path permissions because realpath() fail (forum 25397)
2015-01-21 22:14:25 +01:00
Uwe Tews 85f24ce413 convert writeFile() to object method to remove a vulnerability 2015-01-21 21:12:00 +01:00
Uwe Tews 7a1df12afa - bugfix clearCompiledTemplates() could try to delete whole drive
at wrong path permissions because realpath() fail (forum 25397)
2015-01-20 22:33:38 +01:00
Uwe Tews 4428d72e6d Update testInstall() and move it into its own class 2015-01-12 22:12:20 +01:00
Uwe Tews 593f984f6a load source, compiled and cache resource manually in normal flow (avoid __get()) 2015-01-07 17:46:12 +01:00
Uwe Tews 466c3ee9f8 Use require_once ; remove unnedded paramter 2015-01-07 16:46:57 +01:00
Uwe Tews 740a583c7c Use require_once 2015-01-07 16:46:03 +01:00
Uwe Tews b3f8ddefd2 remove redundant overloaded methods 2015-01-06 04:42:49 +01:00
Uwe Tews 43f043364f fix case in class name 2015-01-06 01:18:58 +01:00
Uwe Tews 67162324bb check ..._dir property overloading
if $template_dir, $compile_dir, $cache_dir, $config_dir or $plugins_dir properties
are overloaded the setters must be called for required processing
2015-01-05 02:03:24 +01:00
Uwe Tews 2aaa29ad20 reset _is_file_cache 2015-01-04 23:54:11 +01:00
Uwe Tews 7cc981e6a6 revert some unneeded normalization of compiled_dir, cache_dir and plugins_dir 2015-01-04 23:42:22 +01:00
Uwe Tews 3463fae2a1 push llast weeks changes to github 2015-01-04 05:57:49 +01:00
Uwe Tews 111a10bb17 Move some classes into its own files 2015-01-04 05:51:52 +01:00
Uwe Tews d528234a97 Small optimization 2015-01-04 05:51:03 +01:00
Uwe Tews 068da64c99 best defaults for internal resource caching
$resource_caching = false and $template_resource_caching = true

fixed typos
2015-01-04 05:49:38 +01:00
Uwe Tews 66eac7bc2a fix code frame of inline (merged) subtemplate 2015-01-03 21:32:33 +01:00
Uwe Tews 8b71e591c0 some minor speed optimization 2015-01-03 21:27:33 +01:00
Uwe Tews 57620443e9 Optimize constructor 2015-01-03 07:56:03 +01:00
Uwe Tews f236905fed create different compiled templates and config files
Smarty does now automatically detect a change of the $merge_compiled_includes and $escape_html
    property and create different compiled templates files depending on the setting.

    Same applies to config files and the $config_overwrite, $config_booleanize and
    $config_read_hidden properties.
2015-01-03 07:36:07 +01:00
Uwe Tews cfdd53c6b4 restructure config file processing
move code into an extension class
use Smarty_Internal_Template
2015-01-02 22:30:53 +01:00
Uwe Tews 75ad0b4da5 move default template handling into an extesion class 2015-01-02 10:48:07 +01:00
Uwe Tews 15728f6ea3 normalize directory path 2015-01-02 10:22:36 +01:00
Uwe Tews c8712b8b7e update autoloader 2015-01-02 09:12:27 +01:00
Uwe Tews 0a3579f9ca restructure template processing
Code was moved into classes it better belongs to.
This does reduce also Smarty's memory footprint
2015-01-02 09:12:01 +01:00
Uwe Tews 8c1f400c09 remove \r from template source before compiling 2015-01-02 08:25:27 +01:00
Uwe Tews 97e7948e16 fix update of file dependency 2015-01-02 08:20:57 +01:00
Uwe Tews 6f801de283 update buildFilepath() 2015-01-02 06:29:08 +01:00
Uwe Tews c55367d1f6 update buildFilepath() 2015-01-02 06:26:04 +01:00
Uwe Tews 296a88b557 Change class name case because of composer autoloader problems 2015-01-02 06:07:19 +01:00
Uwe Tews 3f08b18170 Correct recompiled check 2015-01-02 01:05:03 +01:00
Uwe Tews 48f66c81c7 rework class Smarty_Template_Cached
- move class Smarty_Template_Cached in its own file
- implement all code for chached template handling in class
2015-01-01 23:53:59 +01:00
Uwe Tews c3aa9994c8 rework source resource handling
- move class Smarty_Template_Source into its own file
- impelement all source processing into the classes it better belongs to
2015-01-01 23:34:29 +01:00
Uwe Tews dd2d24d1d6 rework class Smarty_Template_Compiled
- move class Smarty_Template_Compiled in its own file
- implement all code for compiled template handling in class
2015-01-01 23:28:09 +01:00
Uwe Tews 7c4e5175a4 rework class Smarty_Template_Compiled
- move class Smarty_Template_Compiled in its own file
- implement all code for compiled template handling in class (reverted from commit f6a1349fdb)
2015-01-01 23:15:08 +01:00
Uwe Tews f6a1349fdb rework class Smarty_Template_Compiled
- move class Smarty_Template_Compiled in its own file
- implement all code for compiled template handling in class
2015-01-01 23:11:35 +01:00
Uwe Tews 80bf76cc6e move internal createTemplateCodeFrame() method into an extension class 2015-01-01 22:59:07 +01:00
Uwe Tews e8a77171d3 implement templateId generation as method 2015-01-01 22:27:45 +01:00
Uwe Tews 2f8d4f1dbf missing property 2014-12-31 16:08:36 +01:00
Uwe Tews 0cb8b24055 implement most common stetters as method for better performance 2014-12-31 15:56:59 +01:00
Uwe Tews b013984dfd move properties into classes where they better belong to 2014-12-31 15:44:08 +01:00
Uwe Tews 2687f36849 update autoloader with for special class names 2014-12-31 14:32:47 +01:00
Uwe Tews 47faa63a0e use function_exists('mb_get_info') for setting Smarty::$_MBSTRING
Function mb_split could be overloaded depending on php.ini mbstring.func_overload
2014-12-31 06:07:17 +01:00
Uwe Tews 4b7fba4d88 get config properties via compiler object
- reverting part of earlier change of today
2014-12-30 18:16:51 +01:00
Uwe Tews e351c0123f move some code into Smarty_Internal_Debug class
where it better belongs to
2014-12-30 17:17:15 +01:00
Uwe Tews d3e26fb679 template function call handling 2014-12-30 16:43:42 +01:00
Uwe Tews 1d248d6349 formatting 2014-12-30 16:28:18 +01:00
Uwe Tews 8fe6f14af7 Change class name case because of composer autoloader problems 2014-12-30 16:27:08 +01:00
Uwe Tews b122878131 rename parse tree class names and minor fixes 2014-12-30 16:22:03 +01:00
Uwe Tews 825ccc9f47 rename parse tree class names to Smarty_Internal_ParseTree.... 2014-12-30 16:16:54 +01:00
Uwe Tews 485f093e0b get config properties via template object 2014-12-30 16:03:21 +01:00
Uwe Tews 6be6bf7b70 limit the template nesting level by security 2014-12-30 12:57:43 +01:00
Uwe Tews 1da50aa61d security can now disable special $smarty variables
see also NEW_FEATURES.txt
2014-12-29 21:59:23 +01:00
Uwe Tews 49a3427515 clear internal _is_file_cache when plugins_dir was modified 2014-12-27 23:06:04 +01:00
Uwe Tews 5e4f55d121 add .plex and .y files
add lexer .plex and parser .y files to distribution for easier version
control
2014-12-14 00:49:42 +01:00
Uwe Tews 46654268ef update .gitignore 2014-12-14 00:44:11 +01:00
Uwe Tews 2fb5bc6bbe lexer and parser optimizations
up to 30% higher compiling speed depending on template complexity
2014-12-13 23:02:29 +01:00
Uwe Tews 2fe60e8996 resolve parser ambiguity
- bugfix resolve parser ambiguity between constant print tag {CONST} and
other smarty tags after change of 09.12.2014
2014-12-11 05:21:21 +01:00
Smarty PHP Template Engine 042e93c725 Merge pull request #12 from jenolan/master
Commit 7b2a2c4a88 changed the constant pro...
2014-12-11 03:11:19 +01:00
Larry Lewis 7bb7b3ac03 Commit 7b2a2c4a88 changed the constant processing to allow a variable in teh $smarty.const but this broke the normal callout. Change allows both methods. 2014-12-11 08:06:27 +11:00
Uwe Tews 2a2a73cabc - bugfix call of template function by a variable name
did not work after latest changes (forum 25342)
2014-12-10 00:51:09 +01:00
Uwe Tews 7bd40d2c0b - bugfix variables $null, $true and $false did not work
after the change of 12.11.2014 (forum 25342)
2014-12-09 23:33:11 +01:00
Uwe Tews ffbfe40043 - bugfix a plugin with attached modifier could fail
if the tag was immediately followed by another Smarty tag (since 3.1.21) (forum 25326)
2014-11-23 13:25:09 +01:00
Uwe Tews de7310b702 Revert "delete unwanted file"
This reverts commit 77d8349ffb.
2014-11-13 19:52:41 +01:00
Uwe Tews 77d8349ffb delete unwanted file 2014-11-13 19:48:34 +01:00
Uwe Tews 0b6af0add7 move autoload code into Autoloader.php.
Use Composer autoloader when possible
2014-11-13 19:42:01 +01:00
Uwe Tews 0b21213c55 new feature - added support of namespaces to template code 2014-11-12 19:07:00 +01:00
Uwe Tews c7e8881c76 bugfix for recent changes of {function} tag handling 2014-11-11 01:01:01 +01:00
Uwe Tews 9ecbb93ebb update of the $smarty->merge_compiled_includes option 2014-11-11 00:03:08 +01:00
Uwe Tews 460be5a5da bugfix for recent changes of {function} tag handling 2014-11-10 23:57:30 +01:00
Uwe Tews adc6091c4d update of cache resources for template function calls in nocache mode 2014-11-09 10:20:06 +01:00
Uwe Tews 223cdc0787 moved code into constructor 2014-11-09 10:15:16 +01:00
Uwe Tews 230c5787e6 move Smarty exceptions into syslibs folder 2014-11-09 06:42:20 +01:00
Uwe Tews 4edb5fce30 Update of change log 2014-11-08 21:44:55 +01:00
Uwe Tews b82756a705 - bugfix subtemplate called in nocache mode could be called with wrong compile_id when it did change on one of the calling templates 2014-11-08 21:27:53 +01:00
Uwe Tews ea9c681106 remove no longer needed code 2014-11-08 21:06:53 +01:00
Uwe Tews f92af96419 fixed $smarty->debugging on merged compiled subtemplates 2014-11-08 21:02:14 +01:00
Uwe Tews 8f8d462b8a add code of template functions called in nocache mode dynamically to cache file 2014-11-08 17:19:53 +01:00
uwetews 845c4184b2 Merge pull request #9 from uwetews/master
new $smarty->debug options
2014-11-04 19:00:56 +01:00
Uwe Tews 963e5dae5e new $smarty->debug options
- new feature $smarty->debug = true; => overwrite existing Debug Console
window (old behaviour)
$smarty->debug = 2; => individual Debug Console window by template name
2014-11-04 18:59:57 +01:00
uwetews 5b1c649c6a Merge pull request #8 from uwetews/master
Debug Console Update
2014-11-03 22:31:13 +01:00
Uwe Tews 158b7be58a Debug Console Update
- bugfix Debug Console did not show included subtemplates since 3.1.17
(forum 25301)
- bugfix Modifier debug_print_var did not limit recursion or prevent
recursive object display at Debug Console
(ATTENTION: parameter order has changed to be able to specify maximum
recursion)
- bugfix Debug consol did not include subtemplate information with
$smarty->merge_compiled_includes = true
- improvement The template variables are no longer displayed as objects
on the Debug Console
- improvement $smarty->createData($parent = null, $name = null) new
optional name parameter for display at Debug Console
- addition of some hooks for future extension of Debug Console
2014-11-03 22:27:32 +01:00
uwetews 4b3196fe30 Merge pull request #2 from smarty-php/master
Merge pull request #7 from uwetews/master
2014-11-02 14:57:41 +01:00
uwetews 4369b2fe05 Merge pull request #7 from uwetews/master
-bugfix and enhancement on subtemplate {include} and template {function}
2014-11-01 22:52:01 +01:00
Uwe Tews bc13ebbc9b -bugfix and enhancement on subtemplate {include} and template {function} tags.
* Calling a template which has a nocache section could fail if it was
called from a cached and a not cached subtemplate.
* Calling the same subtemplate cached and not cached with the
$smarty->merge_compiled_includes enabled could cause problems
* Many smaller related changes
2014-11-01 22:42:34 +01:00
uwetews 5f2f292739 Merge pull request #1 from smarty-php/master
merge
2014-11-01 11:24:58 +01:00
Smarty PHP Template Engine 337ab5bd1e Merge pull request #6 from aivus/patch-1
Clean merge conflicts
2014-11-01 11:14:25 +01:00
Ilya Antipenko 95cc39deb6 Clean merge conflicts 2014-11-01 11:22:03 +02:00
Smarty PHP Template Engine 402547baaf Merge pull request #5 from uwetews/master
resolved merge conflict
2014-11-01 00:42:31 +01:00
Uwe Tews 199c16e827 resolved merge conflict 2014-11-01 00:34:32 +01:00
Uwe Tews 84e5ef7345 3.1.22-dev 2014-10-31 05:48:52 +01:00
Uwe Tews 21204c6613 Merge branch 'trunk' 2014-10-31 05:31:56 +01:00
Uwe Tews 1f878e6d74 v3.1.21 2014-10-31 05:22:20 +01:00
Uwe Tews 6254b5d4df Merge branch 'v3.1.21' 2014-10-31 05:16:16 +01:00
Uwe Tews cef27602bb v3.1.20 2014-10-31 05:12:39 +01:00
Uwe Tews 1153afe2f5 Merge branch 'v3.1.20' 2014-10-31 05:05:40 +01:00
Uwe Tews be0fd3186c Merge branch 'v3.1.19' 2014-10-31 02:29:14 +01:00
Uwe Tews c65444124a v3.1.19 2014-10-31 02:26:40 +01:00
Uwe Tews bf1de6c105 Merge branch 'v3.1.18' 2014-10-31 02:15:15 +01:00
Uwe Tews 97decc4c04 Merge branch 'v3.1.17' 2014-10-31 02:10:17 +01:00
Uwe Tews 43be80762e Merge branch 'v3.1.16' 2014-10-31 02:05:49 +01:00
Uwe Tews 1bdaf9a2a6 v3.1.15 2014-10-31 02:02:52 +01:00
Uwe Tews 4281d16bd4 Merge branch 'v3.1.15' 2014-10-31 01:59:07 +01:00
Uwe Tews 5ea2a50161 v3.1.14 2014-10-31 01:55:21 +01:00
Uwe Tews 8c18f8664c Merge branch 'v3.1.14' 2014-10-31 01:52:37 +01:00
Uwe Tews 7b2a2c4a88 Merge branch 'v3.1.13' 2014-10-31 01:47:26 +01:00
Uwe Tews 014e8bc2be Merge branch 'v3.1.12'
Conflicts:
	change_log.txt
2014-10-31 01:41:04 +01:00
Uwe Tews 25d1339bea v3.1.12 2014-10-31 01:38:04 +01:00
Uwe Tews 0b24c4520b Merge branch 'v3.1.11' 2014-10-31 01:35:16 +01:00
Uwe Tews 5b6aa49b23 prepare 3.1 2014-10-31 01:34:24 +01:00
Uwe Tews af7a4c10e2 v3.1.11 2014-10-31 01:30:32 +01:00
Uwe Tews f83b3effc6 prepare 3.1 2014-10-31 01:28:26 +01:00
Uwe Tews 0ecdd6c41d Merge branch 'v2.6.28' 2014-10-31 01:07:20 +01:00
Uwe Tews a4ff415bfa delete unneeded 2014-10-31 01:06:18 +01:00
Uwe Tews 9a36601dad Merge branch 'v2.6.27' 2014-10-31 01:03:22 +01:00
Uwe Tews 1594e08924 delete unneeded 2014-10-31 01:02:41 +01:00
Uwe Tews ad3e64b890 Merge branch 'v2.6.26' 2014-10-31 00:57:26 +01:00
Uwe Tews 8bcad8125a delete unneeded 2014-10-31 00:56:50 +01:00
Uwe Tews de8354e152 Merge branch 'v2.6.25' 2014-10-31 00:52:59 +01:00
Uwe Tews 9e6dddeee4 delete unneeded 2014-10-31 00:52:20 +01:00
Uwe Tews 79ce93d4fd Merge branch 'v2.6.24' 2014-10-31 00:47:33 +01:00
Uwe Tews 1bd813d939 delete unneeded 2014-10-31 00:46:27 +01:00
Uwe Tews f433b70cf1 Init 2014-10-31 00:42:46 +01:00
Uwe Tews 52fb7b1e25 - bugfix access to class constant by object like {$object::CONST} or variable class name {$class::CONST} did not work (forum 25301) me 2014-10-30 00:55:01 +01:00
Uwe Tews 0c9ca2994e - bugfix merge_compiled_includes option failed when caching enables and same subtemplate was included cached and not cached 2014-10-26 09:47:10 +01:00
Uwe Tews f7955513b2 Revert "- bugfix template function call handler must never be called as nocache code"
This reverts commit db183d1aa4.
2014-10-24 00:09:45 +02:00
Uwe Tews db183d1aa4 - bugfix template function call handler must never be called as nocache code 2014-10-23 19:05:25 +02:00
Uwe Tews a22ee9f264 - bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text 2014-10-23 18:27:12 +02:00
Uwe Tews fc55a39d67 Update README.md 2014-10-23 18:13:05 +02:00
Uwe Tews 53c5e3fc4a Added licence file and demo folder 2014-10-18 17:42:52 +02:00
Uwe Tews cbc9ce927e add composer release notes 2014-10-18 07:48:57 +02:00
Uwe Tews c0a9a0449b add composer release notes 2014-10-18 07:44:20 +02:00
Uwe Tews 16afbfaca1 Prepare 3.1.22-dev 2014-10-18 01:21:53 +02:00
Uwe Tews 1441f32fce Upload 3.1.21 2014-10-18 01:19:29 +02:00
Uwe Tews 117d28f647 Upload 3.21 2014-10-18 01:17:22 +02:00
Uwe Tews 542892dded Upload 3.1.21 2014-10-18 01:09:18 +02:00
Uwe Tews 024b336bea Upload 3.1.20 2014-10-18 01:05:22 +02:00
Uwe Tews 7c6b3d21fa revert 2014-10-18 01:01:36 +02:00
Uwe Tews 6cb40b8bcc Upload 3.1.20 2014-10-18 00:55:00 +02:00
Uwe Tews bdac1cb2e1 Upload 3.1.20 2014-10-18 00:53:39 +02:00
Uwe Tews d26db3f717 Revert "Prepare 3.2.22-dev"
This reverts commit 451c62001d.
2014-10-18 00:45:38 +02:00
Uwe Tews 451c62001d Prepare 3.2.22-dev 2014-10-18 00:38:59 +02:00
Uwe Tews eb48f3bcea Upload 3.1.21 2014-10-18 00:31:50 +02:00
Uwe Tews 0409ab005e Upload version 3.1.20 2014-10-18 00:18:11 +02:00
uwetews d091179e43 Initial commit 2014-10-17 19:51:33 +02:00
Uwe.Tews@googlemail.com 279bdbd352 - bugfix on $php_handling security and optimization of smarty_internal_parsetree (Thue Kristensen) 2014-10-16 22:53:22 +00:00
Uwe.Tews@googlemail.com 1c63d3a9fc - bugfix composer.json update 2014-10-16 01:33:28 +00:00
Uwe.Tews@googlemail.com b10b12165a - bugfix calling a new created cache file with fetch() and Smarty::CACHING_LIFETIME_SAVED multiple times did fail (forum 22350) 2014-10-15 20:22:22 +00:00
Uwe.Tews@googlemail.com dece63c5d7 - improvement cache is_file(file_exists) results of loadPlugin() to avoid unnecessary calls during compilation (Issue 201} 2014-10-14 22:29:58 +00:00
Uwe.Tews@googlemail.com d9bc39da57 - bugfix classmap in root composer.json should start at "libs/..." 2014-10-14 21:59:49 +00:00
Uwe.Tews@googlemail.com c77cc80a8c - bugfix any tag placed within "<script language=php>" will throw a security exception to close all thinkable holes 2014-10-14 21:45:05 +00:00
Uwe.Tews@googlemail.com 4dde85a089 - bugfix "<script language=php>" with $php_handling PHP_PASSTHRU was executed in {nocache} sections 2014-10-12 15:57:16 +00:00
Uwe.Tews@googlemail.com f03fc13bc9 - bugfix change of 08.10.2014 could create E_NOTICE meassage when using "<?php" tags 2014-10-12 15:09:52 +00:00
Uwe.Tews@googlemail.com 6af75db3c3 2014-10-12 14:11:34 +00:00
Uwe.Tews@googlemail.com a1dac5a053 Switch trunk version to 3.1.21-dev 2014-10-10 17:12:39 +00:00
monte.ohrt 11e0cd566c fix date format 2014-10-09 21:37:21 +00:00
monte.ohrt d0673df7c2 update composer file 2014-10-09 21:29:46 +00:00
monte.ohrt 821456043b update changelog 2014-10-09 21:23:23 +00:00
Uwe.Tews@googlemail.com a7b4f6cdd9 2014-10-07 22:20:21 +00:00
Uwe.Tews@googlemail.com 6af4441f0e - bugfix security mode of "<script language=php>" must be controlled by $php_handling property (Thue Kristensen) 2014-10-07 22:07:15 +00:00
monte.ohrt 795c3af692 update classmap 2014-10-02 15:48:56 +00:00
Uwe.Tews@googlemail.com 2a311c5473 - bugfix existing child {block} tag must override parent {block} tag append / prepend setting (topic 25259) 2014-10-01 21:03:40 +00:00
monte.ohrt 7add711ea0 add composer.json to dist folder 2014-10-01 18:57:34 +00:00
monte.ohrt f57bb66746 revert move 2014-10-01 18:52:28 +00:00
monte.ohrt 2d3a853bce move composer file 2014-10-01 18:50:11 +00:00
Uwe.Tews@googlemail.com bbf0e42847 Fix typo's in Smarty_Security class comment and documentation 2014-10-01 17:15:24 +00:00
Uwe.Tews@googlemail.com 68b83f591d - bugfix template resource of inheritance blocks could get invalid if the default resource type is not 'file'(Issue 202) 2014-09-30 23:20:56 +00:00
Uwe.Tews@googlemail.com 254230a5d5 Correct wording 2014-08-06 17:29:53 +00:00
Uwe.Tews@googlemail.com 95760bb537 fixed spelling 2014-08-02 15:39:02 +00:00
Uwe.Tews@googlemail.com 9307f0cfcb - bugfix modifier wordwrap did output break string wrong if first word was exceeding lenght with cut = true (topic 25193) 2014-08-02 15:24:28 +00:00
monte.ohrt 9b06625c74 update changelog 2014-07-24 15:10:55 +00:00
monte.ohrt fcece85062 fix issue where cache dir does not exist
-This line, and those below, will be ignored--

M    distribution/libs/sysplugins/smarty_internal_cacheresource_file.php
2014-07-24 15:08:32 +00:00
Uwe.Tews@googlemail.com 071f9af42f anchor BOM regex to front of file 2014-07-16 21:40:57 +00:00
Uwe.Tews@googlemail.com 77292d394a - enhancement remove BOM automatically from template source (topic 25161) 2014-07-16 18:21:25 +00:00
Uwe.Tews@googlemail.com c2bba29216 - bugfix the bufix of 02.06.2014 broke correct handling of child templates with same name but different template folders in extends resource (issue 194 and topic 25099) 2014-07-03 23:16:23 +00:00
monte.ohrt 4b3e1eb89d fix url in comment 2014-07-01 19:33:25 +00:00
monte.ohrt 84a2b19447 update version 2014-07-01 05:20:41 +00:00
Uwe.Tews@googlemail.com fb28ee9d2e - bugfix template variables could not be passed as paramter in {include} when the include was in a {nocache} section (topic 25131) 2014-06-21 08:56:11 +00:00
Uwe.Tews@googlemail.com a75e36b357 - bugfix template variables could not be passed as paramter in {include} when the include was in a {nocache} section (topic 25131) 2014-06-21 08:53:38 +00:00
Uwe.Tews@googlemail.com ee69f963c6 - bugfix large template text of some charsets could cause parsing errors (topic 24630) 2014-06-17 20:24:20 +00:00
Uwe.Tews@googlemail.com 0e1f7fdcfc - bugfix {html_image} security check did fail on files relative to basedir (Issue 191) 2014-06-08 19:03:39 +00:00
Uwe.Tews@googlemail.com 7ca939f47b - bugfix UNC WINDOWS PATH like "\\psf\path\to\dir" did not work as template directory (Issue 192) 2014-06-08 18:12:09 +00:00
Uwe.Tews@googlemail.com ee4a77b797 upload reformatted versions 2014-06-08 16:00:56 +00:00
Uwe.Tews@googlemail.com e5dd155809 - bugfix {block} tags within {literal} .. {/literal} got not displayed correctly (topic 25024) 2014-06-08 15:52:08 +00:00
Uwe.Tews@googlemail.com 642c071437 - bugfix registered objects did not work after spelling fixes of 006.06.2014 2014-06-08 15:43:02 +00:00
Uwe.Tews@googlemail.com 425091a19f - fixed spelling, PHPDoc , minor errors, code cleanup 2014-06-06 02:40:04 +00:00
Uwe.Tews@googlemail.com ca6a908c83 - fixed PHPUnit outputFilterTrimWhitespaceTests.php assertion of test result 2014-06-05 22:58:58 +00:00
Uwe.Tews@googlemail.com 3a124b4a56 Rename release note file 2014-06-02 20:11:09 +00:00
Uwe.Tews@googlemail.com 2c5ce49b97 - using multiple cwd with relative template dirs could result in identical compiled file names. (issue 194 and topic 25099) 2014-06-02 19:56:38 +00:00
Uwe.Tews@googlemail.com c7071d9d2c - bugfix clearCompiledTemplate() did not delete files on WINDOWS when a compile_id was specified 2014-04-19 13:53:20 +00:00
Uwe.Tews@googlemail.com 8658b04c86 bugfix calling createTemplate(template, data) with empty data array caused notice of array to string conversion (Issue 189) 2014-04-19 11:42:11 +00:00
Uwe.Tews@googlemail.com d6c1482996 fixed typos 2014-04-18 08:13:32 +00:00
Uwe.Tews@googlemail.com 608dddc19a 2014-04-18 08:09:38 +00:00
Uwe.Tews@googlemail.com a613394887 Update dev version number to 3.1.19-dev 2014-04-07 19:57:42 +00:00
monte.ohrt f67473f085 update to 3.1.18 2014-04-07 18:30:41 +00:00
Uwe.Tews@googlemail.com 00c919dcc2 bugfix update of composer file (Issue 168 and 184) 2014-04-06 19:06:32 +00:00
Uwe.Tews@googlemail.com 668bc16717 - bugfix template inheritance fail when using custom resource after patch of 8.3.2014 (Issue 187) 2014-04-06 18:50:39 +00:00
Uwe.Tews@googlemail.com 79d67afb0f - bugfix default date format leads to extra spaces when displaying dates with single digit days (Issue 182) 2014-04-04 23:38:36 +00:00
Uwe.Tews@googlemail.com 58982caf27 - bugfix Smart_Resource_Custom should not lowercase the resource name (Issue 183) 2014-03-26 20:33:03 +00:00
Uwe.Tews@googlemail.com 474e863af1 - bugfix using a {foreach} property like @iteration could fail when used in inheritance parent templates (Issue 182) 2014-03-24 18:52:29 +00:00
Uwe.Tews@googlemail.com 478db521c9 - bugfix $smarty->auto_literal and mbsting.func_overload 2, 6 or 7 did fail (forum topic 24899) 2014-03-20 22:07:26 +00:00
Uwe.Tews@googlemail.com 7dec7d9963 - revert change of 17.03.2014 2014-03-18 18:22:33 +00:00
Uwe.Tews@googlemail.com d82d54bffd fix line endings 2014-03-17 21:57:15 +00:00
Uwe.Tews@googlemail.com 45fc4cd729 - bugfix $smarty->auto_literal and mbsting.func_overload 2, 6 or 7 did fail (forum topic 24899) 2014-03-17 19:04:48 +00:00
Uwe.Tews@googlemail.com ad62b0b2f8 - bugfix Smarty_CacheResource_Keyvaluestore did use different keys on read/writes and clearCache() calls (Issue 169) 2014-03-15 21:43:04 +00:00
Uwe.Tews@googlemail.com 3d4d35f4d7 - bugfix clearXxx() change of 27.1.2014 did not work when specifing cache_id or compile_id (forum topic 24868 and 24867) 2014-03-13 20:32:39 +00:00
monte.ohrt 40acefe91b update changelog 2014-03-12 19:50:58 +00:00
Uwe.Tews@googlemail.com af13907219 08.03.2014
- bugfix relative file path {include} within {block} of child templates did throw exception on first call (Issue 177)
2014-03-08 23:03:08 +00:00
Uwe.Tews@googlemail.com f06013927c - bugfix Smarty failed when executing PHP on HHVM (Hip Hop 2.4) because uniqid('',true) does return string with ',' (forum topic 20343) 2014-02-17 18:21:31 +00:00
Uwe.Tews@googlemail.com bfa0ce8ba4 - bugfix a '//' or '\\' in template_dir path could produce wrong path on relative filepath in {include} (Issue 175) 2014-02-16 18:34:08 +00:00
Uwe.Tews@googlemail.com f242ce30fb - bugfix shared.literal_compiler_param.php did throw an exception when literal did contain a '-' (smarty-developers group) 2014-02-05 19:39:21 +00:00
Uwe.Tews@googlemail.com ba2996fef5 - bugfix clearCompiledTemplate(), clearAll() and clear() should use realpath to avoid possible exception from RecursiveDirectoryIterator (Issue 171) 2014-01-27 16:35:56 +00:00
Uwe.Tews@googlemail.com 79dfde4977 - bugfix $smarty->debugging = true; did show the variable of the $smarty object not the variables used in display() call (forum topic 24764) 2014-01-27 16:08:55 +00:00
Uwe.Tews@googlemail.com 0e03ba5b61 - bugfix undo block nesting checks for {nocache} for reasons like forum topic 23280 (forum topic 24762) 2014-01-26 20:11:19 +00:00
Uwe.Tews@googlemail.com 290dd3f73f - bugfix the compiler did fail when using template inheritance and recursive {include} (smarty-developers group) 2014-01-18 14:43:02 +00:00
Uwe.Tews@googlemail.com 1dfbe19ebf - internals content cache should be clear when updating cache file 2014-01-11 12:21:12 +00:00
Uwe.Tews@googlemail.com 18ff092501 2014-01-11 12:15:37 +00:00
Uwe.Tews@googlemail.com 54d5d949de - bugfix SmartyBC.class.php should use require_once to load Smarty.class.php (forum topic 24683) 2014-01-08 21:16:06 +00:00
Uwe.Tews@googlemail.com 797bd37c5f - bugfix Smarty_CacheResource_Custom did not handle template resource type specifications on clearCache() calls (Issue 161) 2014-01-08 21:05:58 +00:00
monte.ohrt fa09638f95 update changelog 2013-12-17 16:06:12 +00:00
Uwe.Tews@googlemail.com a0a24e1975 - enhancement additional debug output at $smarty->_parserdebug = true; 2013-12-15 15:25:50 +00:00
Uwe.Tews@googlemail.com 7f88dcd31f - bugfix {include} with {block} tag handling (forum topic 24599, 24594, 24682) (Issue 161)
Read 3.1.16_RELEASE_NOTES for more details
2013-12-15 15:19:01 +00:00
Uwe.Tews@googlemail.com 6abc9ea0d3 - bugfix compiler could fail if PHP mbstring.func_overload is enabled (Issue 164) 2013-11-07 20:00:56 +00:00
Uwe.Tews@googlemail.com 4e1f7b1568 - bugfix too restrictive handling of {include} within {block} tags. 3.1.15 did throw errors where 3.1.14 did not (forum topic 24599) 2013-11-07 19:09:37 +00:00
Uwe.Tews@googlemail.com c8996a4085 - bugfix multiple {block}s with same name in parent did not work (forum topic 24631) 2013-10-29 00:40:14 +00:00
Uwe.Tews@googlemail.com 5dc4b61771 - bugfix correction of modifier capitalize fix from 3.10.2013 (issue 159) 2013-10-28 23:56:41 +00:00
Uwe.Tews@googlemail.com c3e6823f5d - bugfix notice "Trying to get property of non-object" removed (Issue 163) 2013-10-28 23:53:01 +00:00
Uwe.Tews@googlemail.com 26e4a5120e - bugfix variable resource name at custom resource plugin did not work within {block} tags (Issue 163) 2013-10-28 18:24:01 +00:00
Uwe.Tews@googlemail.com 8342cf45f3 - bugfix a variable file name at {extends} tag did fail (forum topic 24618) 2013-10-20 15:27:35 +00:00
Uwe.Tews@googlemail.com fccd80818b - bugfix yesterdays fix could result in an undefined variable 2013-10-14 07:47:49 +00:00
Uwe.Tews@googlemail.com c3994f4006 .- bugfix relative includes with same name like {include './foo.tpl'} from different folder failed (forum topic 24590)(Issue 161) 2013-10-13 17:49:38 +00:00
Uwe.Tews@googlemail.com cd6c1c2ff8 bugfix variable names on {include} in template inheritance did unextepted error message (forum topic 24585) (Issue 161) 2013-10-13 12:48:07 +00:00
Uwe.Tews@googlemail.com 51453d196b - bugfix variable file names at {extends} had been disbabled by mistake with the rewrite of
template inheritance of 24.08.2013   (forum topic 24585)
2013-10-04 08:47:46 +00:00
Uwe.Tews@googlemail.com 655a2d9301 - bugfix loops using modifier capitalize did eat up memory (issue 159) 2013-10-03 09:16:27 +00:00
monte.ohrt 3281c14769 update change log 2013-10-01 19:35:02 +00:00
Uwe.Tews@googlemail.com 953f6f5a14 - improvement on performance when using error handler and multiple template folders (issue 152) 2013-10-01 18:56:49 +00:00
Uwe.Tews@googlemail.com 51ee8c4ad9 - use current delimiters in compiler error messages (issue 157) 2013-10-01 18:48:29 +00:00
Uwe.Tews@googlemail.com 4129665748 Fixed old vulnerability bug https://bugs.gentoo.org/show_bug.cgi?id=356615 2013-09-30 19:14:32 +00:00
Uwe.Tews@googlemail.com 5bbfbafc47 - improvement added patch for additional SmartyCompilerException properties for better access to scource information (forum topic 24559) 2013-09-17 20:44:41 +00:00
Uwe.Tews@googlemail.com bf8275ee20 - bugfix recompiled templates did not show on first request with zend opcache cache (forum topic 24320) 2013-09-16 18:47:04 +00:00
Uwe.Tews@googlemail.com a0dcb5611b - bugfix html_select_time defaulting error for the Meridian dropdown (forum topic 24549) 2013-09-13 20:48:40 +00:00
Uwe.Tews@googlemail.com 0d9f9802db - bugfix incorrect compiled code with array(object,method) callback at registered Variable Filter (forum topic 24542} 2013-09-09 16:10:13 +00:00
Uwe.Tews@googlemail.com 70d5af437e fixed spelling 2013-09-03 16:20:04 +00:00
Uwe.Tews@googlemail.com 96c2a9c71a - bugfix delimiter followed by linebreak did not work as auto literak after update form 24.08.2013 (forum topic 24518} 2013-08-27 19:42:38 +00:00
Uwe.Tews@googlemail.com 98c1dd29cd - bugfix and enhancement
Because several recent problems with template inheritance the {block} tag compiler has been rewriten
   - Error messages shown now the correct child template file and line number
   - The compiler could fail on some larger UTF-8 text block (forum topic 24455}
   - The {strip} tag can now be placed outside {block} tags in child templates (forum topic 24289}
- change SmartyException::$escape  is now false by default
- change PHP traceback has been remove for SmartyException and SmartyCompilerException
2013-08-24 18:46:31 +00:00
Uwe.Tews@googlemail.com e206ba63f0 - bugfix compiled filepath of config file did not observe different config_dir (forum topic 24493) 2013-08-14 19:38:03 +00:00
Uwe.Tews@googlemail.com e9601e1d6d - bugfix avoid possible E_STRICT error after bugfix for (forum topic 24493) 2013-08-13 23:03:28 +00:00
Uwe.Tews@googlemail.com 3ad903ad21 - bugfix the internal resource cache did not observe config_dir changes (forum topic 24493) 2013-08-13 20:54:59 +00:00
Uwe.Tews@googlemail.com 518ffca6f5 - bugfix internal $tmpx variables must be unique over all inheritance templates (Issue 149) 2013-08-12 21:09:29 +00:00
Uwe.Tews@googlemail.com 35d2e254bb - bugfix a newline was eaten when a <?xml ... ?> was passed by a Smarty variable and caching was enabled (forum topic 24482) 2013-08-10 09:55:27 +00:00
Uwe.Tews@googlemail.com 6d88d33c5b - bugfix headers already send warning thrown when using 'SMARTY_DEBUG=on' from URL (Issue 148) 2013-07-29 13:58:08 +00:00
Uwe.Tews@googlemail.com 6851c57ef8 - enhancement allow access to properties of registered opjects for Smarty2 BC (forum topic 24344) 2013-07-27 10:06:43 +00:00
Uwe.Tews@googlemail.com e62dcaa6a9 - enhancement allow access to properties of registered opjects for Smarty2 BC (forum topic 24344) 2013-07-27 09:48:42 +00:00
Uwe.Tews@googlemail.com 697696fef9 Source code reformatted 2013-07-27 07:05:26 +00:00
Uwe.Tews@googlemail.com f83eba920d - bugfix template inheritance nesting problem (forum topic 24387) 2013-07-26 13:50:44 +00:00
Uwe.Tews@googlemail.com bbe4890b89 * Fixed made Smarty_Compiler.class.php compatible with PHP 5.5 2013-07-16 19:46:59 +00:00
Uwe.Tews@googlemail.com 584886cb1c - update code generated by PSR-2 standards fixer which introduced PHP 5.4 incompatibilities of 14.7.2013 2013-07-15 18:18:28 +00:00
Uwe.Tews@googlemail.com 00ccae8857 - update for PHP 5.4 compatibility
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +00:00
Uwe.Tews@googlemail.com f99e6a83ce - bugfix increase of internal maximum parser stacksize to allow more complex tag code {forum topic 24426} 2013-07-14 21:12:08 +00:00
Uwe.Tews@googlemail.com 917f92d38b - bugfix Do not remove '//' from file path at normalization (Issue 142) 2013-07-12 00:16:43 +00:00
monte.ohrt a74d8d5416 update change log 2013-07-02 14:16:49 +00:00
monte.ohrt a0f26a96cc fix order of replacements (mohrt) 2013-07-02 14:11:12 +00:00
monte.ohrt 739688a454 update change log 2013-06-28 02:02:53 +00:00
Uwe.Tews@googlemail.com 0643bf9808 - bugfix removed PHP 5.5 deprecated preg_replace /e option in modifier capitalize (forum topic 24389) 2013-06-26 22:21:17 +00:00
Uwe.Tews@googlemail.com b7d4796400 - bugfix added smarty_security.php to composer.json (Issue 135) 2013-06-17 13:48:22 +00:00
Uwe.Tews@googlemail.com 338e7c5d56 - enhancement added constant SMARTY::CLEAR_EXPIRED for the change of 26.05.2013 (forum topic 24310) 2013-06-17 13:30:49 +00:00
Uwe.Tews@googlemail.com b0b2c0e86d 17.06.2013
- fixed spelling in sources and documentation (from smarty-developers forum Veres Lajos)
2013-06-17 12:34:10 +00:00
Uwe.Tews@googlemail.com 00c034b593 - enhancement an expire_time of -1 in clearCache() and clearAllCache() will delete outdated cache files
by their individual cache_lifetime used at creation (forum topic 24310)
2013-05-26 10:50:13 +00:00
Uwe.Tews@googlemail.com 6b5b06564f - bugfix modifier strip_tags:true was compiled into wrong code (Forum Topic 24287)
- bugfix /n after ?> in Smarty.class.php did start output buffering (Issue 138)
2013-05-21 21:01:23 +00:00
Uwe.Tews@googlemail.com 8e2d249233 - bugfix escape and wordrap modifier could be compiled into wrong code when used in {nocache}{/nocache}
section but caching is disabled  (Forum Topic 24260)
2013-04-25 15:20:13 +00:00
Uwe.Tews@googlemail.com f074a20ed5 - bugfix after the fix for Issue #130 compiler exceptions got double escaped (Forum Topic 24199) 2013-04-05 22:19:13 +00:00
Uwe.Tews@googlemail.com 58f2227cce - bugfix post filter must not run when compiling inheritance child blocks (Forum Topic 24094) 2013-04-05 21:19:28 +00:00
uwe.tews@googlemail.com c3319fc5ca fixed date 2013-02-28 19:41:00 +00:00
uwe.tews@googlemail.com 6612fa6d8b - bugfix Compile ID gets nulled when compiling child blocks (Issue #134) 2013-02-28 19:23:04 +00:00
uwe.tews@googlemail.com bd8af7c5cb - bugfix nocache blocks could be lost when using CACHING_LIFETIME_SAVED (Issue #133) 2013-02-28 19:17:26 +00:00
uwe.tews@googlemail.com 2140439352 - bugfix wrong tag type in smarty_internal_templatecompilerbase.php could cause wrong plugin search order (Forum Topic 24028) 2013-01-24 19:16:41 +00:00
monte.ohrt 6148053a15 update changelog 2013-01-16 02:07:15 +00:00
uwe.tews@googlemail.com 73c7b32c83 13.01.2013
- enhancement allow to disable exception message escaping by SmartyException::$escape = false;  (Issue #130)
2013-01-13 21:13:14 +00:00
uwe.tews@googlemail.com af4735193e - added abstract method declaration doCompile() in Smarty_Internal_TemplateCompilerBase (Forum Topic 23969) 2013-01-09 23:54:31 +00:00
uwe.tews@googlemail.com 993a2eac70 - enhancement to allow variable constant names like {$smarty.const.{$foo}} (Forum Topic 23970) 2013-01-09 23:35:40 +00:00
uwe.tews@googlemail.com 285a535346 - bugfix template inheritance could fail if nested {block} tags in childs did contain {$smarty.block.child} (Issue #127)
- bugfix template inheritance could fail if {block} tags in childs did have similar name as used plugins (Issue #128)
2013-01-09 23:05:09 +00:00
uwe.tews@googlemail.com 2f83a70627 - bugfix compilation did fail when a prefilter did modify an {extends} tag (Forum Topic 23966) 2013-01-09 00:05:07 +00:00
uwe.tews@googlemail.com b24eada147 - Allow '://' URL syntax in template names of stream resources (Issue #129) 2013-01-06 19:22:48 +00:00
uwe.tews@googlemail.com 6ebd099041 - bugfix wrong variable usage in smarty_internal_utility.php (Issue #125) 2012-11-27 13:37:35 +00:00
uwe.tews@googlemail.com 88693d327a - bugfix global variable assigned within template function are not seen after template function exit (Forum Topic 23800) 2012-11-26 20:11:10 +00:00
rodneyrehm 9c6bda43d0 made SmartyBC loadable via composer (Issue #124) 2012-11-24 10:45:38 +00:00
uwe.tews@googlemail.com 27be6508bd - bugfix assignGlobal() called from plugins did not work (Forum Topic 23771) 2012-11-20 02:06:20 +00:00
rodneyrehm b8f0d3bacb - adding attribute "strict" to html_options, html_checkboxes, html_radios to only print disabled/readonly attributes if their values are true or "disabled"/"readonly" (Issue #120) 2012-11-13 18:31:48 +00:00
rodneyrehm 642e021f45 Fixing Issue #118 - muteExpectedErrors would fail non-readable directories 2012-11-01 10:10:10 +00:00
monte.ohrt 3204262e0f update change log 2012-09-25 19:03:40 +00:00
uwe.tews@googlemail.com b67c7082a7 - escape Smarty error messages to avoid possible script execution 2012-09-24 20:05:15 +00:00
uwe.tews@googlemail.com 191a13b623 - bugfix template inheritance failed to compile with delimiters {/ and /} (Forum Topic 23008) 2012-09-14 14:42:15 +00:00
uwe.tews@googlemail.com 4305a8931c - bugfix escape Smarty exception messages to avoid possible script execution 2012-09-11 16:23:30 +00:00
uwe.tews@googlemail.com 81a6d0869b - bugfix tag option flags and shorttag attributes did not work when rdel started with '=' (Forum Topic 22979) 2012-09-10 22:04:03 +00:00
rodneyrehm 9ef8d6045f bugfix resolving relative paths broke in some circumstances (Issue #114) 2012-08-31 19:39:28 +00:00
rodneyrehm 98c9862de4 - bugfix test MBString availability through mb_split(), as it could've been compiled without regex support (--enable-mbregex). Either we get MBstring's full package, or we pretend it's not there at all. 2012-08-22 20:45:22 +00:00
uwe.tews@googlemail.com b70b06aa20 - bugfix $auto_literal = false did not work with { block} tags in child templates
(problem was reintroduced after fix in 3.1.7)(Forum Topic 20581)
2012-08-21 21:54:30 +00:00
uwe.tews@googlemail.com 9d34e78d0b 17.08.2012
- bugfix compiled code of nocache sections could contain wrong escaping (Forum Topic 22810)
2012-08-17 11:19:16 +00:00
uwe.tews@googlemail.com 090ba8e7c5 - bugfix template inheritance did produce wrong code if subtemplates with {block} was
included several times (from smarty-developers forum)
2012-08-15 15:09:12 +00:00
rodneyrehm b977381e4e bugfix PHP5.2 compatibility compromised by SplFileInfo::getBasename() (Issue 110) 2012-08-14 13:22:34 +00:00
rodneyrehm b921a7657d fixing typo in comments 2012-08-14 13:18:24 +00:00
uwe.tews@googlemail.com b069c08eb4 - bugfix avoid PHP error on $smarty->configLoad(...) with invalid section specification (Forum Topic 22608) 2012-08-01 21:31:24 +00:00
uwe.tews@googlemail.com 897d40fe5c -bugfix {assign} in a nocache section should not overwrite existing variable values
during compilation (issue 109)
2012-07-30 20:07:51 +00:00
uwe.tews@googlemail.com 50b3a4f070 28.07.2012
- bugfix array access of config variables did not work (Forum Topic 22527)
2012-07-28 08:10:04 +00:00
uwe.tews@googlemail.com 942db98f0c - bugfix the default plugin handler did create wrong compiled code for static class methods
from external script files (issue 108)
2012-07-18 22:31:56 +00:00
monte.ohrt c6f25b466d update changelog 2012-06-30 21:20:53 +00:00
uwe.tews@googlemail.com ab1cdc8d84 - bugfix {block.. hide} did not work as nested child (Forum Topic 22216) 2012-06-30 15:53:22 +00:00
rodneyrehm 79087f409f <script><!-- … is bad practice and should not be encouraged. 2012-06-28 20:13:17 +00:00
uwe.tews@googlemail.com d59870d557 - bugfix the default plugin handler did not allow static class methods for modifier (issue 85) 2012-06-25 21:46:17 +00:00
rodneyrehm fc8e4767ca bugfix escape modifier support for PHP < 5.2.3 (Forum Topic 21176) 2012-06-24 18:15:58 +00:00
uwe.tews@googlemail.com 7be2c1fded - bugfix the patch for Topic 21856 did break tabs between tag attributes (Forum Topic 22124) 2012-06-11 18:14:41 +00:00
monte.ohrt c3d4693604 update changelog 2012-06-09 15:57:26 +00:00
uwe.tews@googlemail.com 766d3f04a2 - bugfix the patch for Topic 21856 did break multiline tags (Forum Topic 22124) 2012-06-09 14:27:25 +00:00
uwe.tews@googlemail.com 42d2ee98dd 09.06.2012
- bugfix the compiler did ignore registered compiler plugins for closing tags (Forum Topic 22094)
2012-06-09 14:00:57 +00:00
monte.ohrt 7133a3c85c update change log 2012-06-08 20:44:17 +00:00
rodneyrehm dd6d9b159e bugfix treat "0000-00-00" as 0 in modifier.date_format (Issue 103) 2012-06-07 13:01:58 +00:00
rodneyrehm a37492e04a bugfix fetch() and display() with relative paths (Issue 104) 2012-06-07 12:54:02 +00:00
uwe.tews@googlemail.com 179c62e4ef - bugfix add compile_id to cache key of of source (Issue 97) 2012-05-24 17:03:31 +00:00
uwe.tews@googlemail.com 35a68ed535 - bugfix attribute parameter names of plugins may now contain also "-" and ":" (Forum Topic 21856) 2012-05-24 16:01:19 +00:00
rodneyrehm 8f831024ce bugfix Smarty_Internal_Write_File::writeFile() could cause race-conditions on linux systems (Issue 101) 2012-05-24 15:13:19 +00:00
uwe.tews@googlemail.com bc2622bf94 - bugfix recursive {include} within {section} did fail (Smarty developer group) 2012-05-22 21:00:47 +00:00
rodneyrehm b27fc84447 bugfix {html_options} did not properly escape values (Issue 98) 2012-05-12 10:59:49 +00:00
uwe.tews@googlemail.com 208ad6b540 2012-05-03 16:17:39 +00:00
uwe.tews@googlemail.com 9e5eed4733 - bugfix {nocache}{block}{plugin}... did produce wrong compiled code when caching is disabled (Forum Topic 21572, issue 95) 2012-05-02 17:19:33 +00:00
uwe.tews@googlemail.com 8c3bcf9eef - bugfix concurrent cache updates could create a warning (Forum Topic 21403) 2012-04-12 16:55:35 +00:00
uwe.tews@googlemail.com 4c86e72faa - Smarty did eat the linebreak after the <?xml...?> closing tag (Issue 93) 2012-04-12 15:43:06 +00:00
uwe.tews@googlemail.com 409e39c4ec - bugfix "\\" was not escaped correctly when generation nocache code (Forum Topic 21364) 2012-04-08 12:08:48 +00:00
uwe.tews@googlemail.com 8d60164201 2012-03-30 14:21:16 +00:00
uwe.tews@googlemail.com 0364e35e7d - bugfix implement Smarty2's behaviour of variables assigned by reference in SmartyBC. {assign} will affect all references.
(issue 88)
2012-03-27 17:07:32 +00:00
uwe.tews@googlemail.com d157cac590 - bugfix prefilter did run multiple times on inline subtemplates compiled into several main templates (Forum Topic 21325) 2012-03-27 14:44:46 +00:00
uwe.tews@googlemail.com 9079b1d890 - bugfix compileAllTemplates() and compileAllConfig() did not return the number of compiled files (Forum Topic 21286) 2012-03-21 17:18:51 +00:00
uwe.tews@googlemail.com e2b14e7c19 - correction of yesterdays bugfix (Forum Topic 21175 and 21182) 2012-03-13 18:10:00 +00:00
uwe.tews@googlemail.com 62f01f29e5 - bugfix template inheritance did set $merge_compiled_includes globally true 2012-03-12 19:29:10 +00:00
uwe.tews@googlemail.com a7f7267b04 - bugfix a double quoted string of "$foo" did not compile into PHP "$foo" (Forum Topic 21175) 2012-03-12 19:25:30 +00:00
uwe.tews@googlemail.com 065db28777 - optimization of compiling speed when same modifier was used several times 2012-03-03 14:10:39 +00:00
uwe.tews@googlemail.com f6769036f1 - enhancement the default plugin handler can now also resolve undefined modifier (Smarty::PLUGIN_MODIFIER)
(Issue 85)
2012-03-02 20:26:38 +00:00
monte.ohrt 902e8e6e15 update changelog 2012-02-20 16:26:49 +00:00
uwe.tews@googlemail.com e134e54820 - enhancement added Smarty special variable $smarty.template_object to return the current template object (Forum Topic 20289) 2012-02-19 18:53:10 +00:00
uwe.tews@googlemail.com d0ad3df670 - bugfix {include} could result in a fatal error if used in appended or prepended nested {block} tags
(reported by mh and Issue 83)
2012-02-19 15:48:05 +00:00
uwe.tews@googlemail.com c000b3a480 - enhancement cacheable parameter added to default plugin handler, same functionality as in registerPlugin (request by calguy1000) 2012-02-07 21:55:37 +00:00
uwe.tews@googlemail.com 820e0e70d8 - bugfix increase entropy of internal function names in compiled and cached template files (Forum Topic 20996) 2012-02-07 18:54:06 +00:00
uwe.tews@googlemail.com 53df807220 - improvement replaced some calls of preg_replace with str_replace (Issue 73) 2012-02-06 20:53:57 +00:00
rodneyrehm e91ee4c5ec improved include_path resolving 2012-02-06 20:45:10 +00:00
rodneyrehm 0f39bdfd59 added modifier unescape:"url", fix (Forum Topic 20980) 2012-02-06 20:33:07 +00:00
rodneyrehm 6d90cd3fd7 bugfix fetch('extends:foo.tpl') always yielded $source->exists == true (Forum Topic 20980) 2012-02-06 20:18:47 +00:00
rodneyrehm 8f805ca871 todo 2012-02-06 20:17:49 +00:00
rodneyrehm b9bae74db6 improvement stream_resolve_include_path() added to Smarty_Internal_Get_Include_Path (Forum Topic 20980) 2012-02-06 20:17:32 +00:00
rodneyrehm f009a80a74 typos 2012-01-30 11:39:04 +00:00
rodneyrehm 26eac9888d bugfix Smarty_Security internal $_resource_dir cache wasn't properly propagated 2012-01-30 11:31:34 +00:00
uwe.tews@googlemail.com 9419a999c9 2012-01-27 19:30:53 +00:00
uwe.tews@googlemail.com d8b26c5ad0 - bugfix output filter must not run before writing cache when template does contain nocache code {Issue 71} 2012-01-20 18:21:32 +00:00
uwe.tews@googlemail.com 1e2fb8fbbe - fixed typo in template parser 2012-01-20 14:52:50 +00:00
uwe.tews@googlemail.com c352723ec9 - bugfix typo in Smarty_Internal_Get_IncludePath did cause runtime overhead (Issue 74)
- improvment remove unneeded assigments (Issue 75 and 76)
2012-01-20 14:47:01 +00:00
uwe.tews@googlemail.com b38be6edaa - bugfix {block foo nocache} did not load plugins within child {block} in nocache mode (Forum Topic 20753) 2012-01-02 20:49:26 +00:00
uwe.tews@googlemail.com 1b25005d42 - bugfix embedded quotes in single quoted strings did not compile correctly in {nocache} sections (Forum Topic 20730) 2011-12-29 18:44:09 +00:00
rodneyrehm 3d409db9b1 typo 2011-12-29 13:32:40 +00:00
rodneyrehm ec99ee7ee6 - bugfix enable more entropy in Smarty_Internal_Write_File for "more uniqueness" and Cygwin compatibility 2011-12-29 13:30:09 +00:00
uwe.tews@googlemail.com 05f17be99a - bugfix Smarty's internal header code must be excluded from postfilters (issue 71) 2011-12-28 18:51:20 +00:00
uwe.tews@googlemail.com d6abd3155d - bugfix template inheritace did fail if mbstring.func_overload != 0 (issue 70) (Forum Topic 20680) 2011-12-22 19:37:44 +00:00
uwe.tews@googlemail.com 44f7651eb2 - bugfix the new lexer of 17.12.2011 did fail if mbstring.func_overload != 0 (issue 70) (Forum Topic 20680) 2011-12-22 16:33:12 +00:00
uwe.tews@googlemail.com 04c1b32a81 adjust formatting 2011-12-20 17:50:15 +00:00
uwe.tews@googlemail.com ea567850b0 - bugfix template inheritance: {$smarty.block.child} in nested child {block} tags did not return
content after {$smarty.block.child} (Forum Topic 20564)
2011-12-20 15:52:59 +00:00
monte.ohrt dae58ebd3e update changelog 2011-12-19 22:12:28 +00:00
rodneyrehm ac2e0dcde5 typo 2011-12-19 21:53:53 +00:00
rodneyrehm 6f2c439455 (typo) 2011-12-19 07:56:12 +00:00
rodneyrehm 2c25a64dd3 - added Smarty_Security::isTrustedUri() and Smarty_Security::$trusted_uri to validate remote resource calls through {fetch} and {html_image} (Forum Topic 20627) 2011-12-18 22:21:49 +00:00
rodneyrehm df60ed94fa (typos) 2011-12-18 18:51:04 +00:00
rodneyrehm 52754a1a47 - added Smarty::$_UTF8_MODIFIER for proper PCRE charset handling (Forum Topic 20452) 2011-12-18 18:48:07 +00:00
rodneyrehm d645ad2ea1 - changed internals to use Smarty::$_MBSTRING ($_CHARSET, $_DATE_FORMAT) for better unit testing 2011-12-18 18:20:09 +00:00
rodneyrehm 75c271079d stashing PCRE modifications 2011-12-18 17:21:44 +00:00
rodneyrehm 23a924cebe (phpdoc indentation) 2011-12-18 16:55:28 +00:00
rodneyrehm 3495b683bd (phpdoc indentation) 2011-12-18 16:52:26 +00:00
rodneyrehm 9be91eb04b - added chaining to Smarty_Internal_Templatebase
- changed unloadFilter() to not return a boolean in favor of chaining and API conformity
- bugfix unregisterObject() raised notice when object to unregister did not exist
2011-12-18 16:51:32 +00:00
uwe.tews@googlemail.com d0b6b69f7c - bufix strings ending with " in multiline strings of config files failed to compile {isse 67) 2011-12-18 15:39:51 +00:00
uwe.tews@googlemail.com 6c17076d19 - improvement of compiling speed by new handling of plain text blocks in the lexer/parser (issue 68) 2011-12-17 14:23:31 +00:00
uwe.tews@googlemail.com e439c13a3e - bugfix the source exits flag and timestamp was not setup when temple is in php include path (issue 69) 2011-12-16 17:00:51 +00:00
uwe.tews@googlemail.com 36ec5acb0d - bugfix {capture} tags around recursive {include} calls did throw exception (Forum Topic 20549)
- bugfix $auto_literal = false did not work with { block} tags in child templates (Forum Topic 20581)
- bugfix template inheritance: do not include code of {include} in overloaded {block} into compiled 
   parent template (Issue 66}
- bugfix template inheritance: {$smarty.block.child} in nested child {block} tags did not return expected
   result (Forum Topic 20564)
2011-12-09 22:05:16 +00:00
monte.ohrt 0455f90c8d update changelog, fix dev version number 2011-12-01 15:34:04 +00:00
uwe.tews@googlemail.com 678b28769d - bugfix is_cache() for individual cached subtemplates with $smarty->caching = CACHING_OFF did produce
an exception (Forum Topic 20531)
2011-11-30 16:31:25 +00:00
uwe.tews@googlemail.com f14c4bfb9c - bugfix added exception if the default plugin handler did return a not static callback (Forum Topic 20512) 2011-11-29 17:47:37 +00:00
uwe.tews@googlemail.com fe68b976e8 - bugfix {html_select_date} and {html_slecet_time} did not default to current time if "time" was not specified
since r4432 (issue 60)
2011-11-25 17:06:30 +00:00
uwe.tews@googlemail.com e8a933e8e0 - bugfix a subtemplate later used as main template did use old variable values 2011-11-24 21:08:26 +00:00
uwe.tews@googlemail.com 8b414e3b8a - bugfix cache file could include unneeded modifier plugins under certain condition 2011-11-21 00:37:33 +00:00
uwe.tews@googlemail.com 8f732cc4b6 - bugfix declare all directory properties private to map direct access to getter/setter also on extended Smarty class 2011-11-18 15:32:17 +00:00
rodneyrehm 3d03494a74 - added escape argument to html_checkboxes and html_radios (Forum Topic 20425) 2011-11-16 11:28:35 +00:00
rodneyrehm 0fb537aed2 - bugfix Smarty_Resource::load() did not always return a proper resource handler (Forum Topic 20414) 2011-11-16 08:25:33 +00:00
monte.ohrt 0c368eb1bb update changelog 2011-11-14 17:58:52 +00:00
uwe.tews@googlemail.com 4b7de63dc5 - bugfix allow space between function name and open bracket (forum topic 20375) 2011-11-14 17:14:28 +00:00
monte.ohrt 55fc3b1bc7 fix typos paramter to parameter 2011-11-14 14:53:16 +00:00
uwe.tews@googlemail.com 9a9dd9a7ba fixed topic reference in change_log.txt 2011-11-09 17:12:08 +00:00
uwe.tews@googlemail.com 555a7fceb9 - bugfix different behaviour of uniqid() on cygwin. See https://bugs.php.net/bug.php?id=34908
(forum topic 20199)
2011-11-09 15:30:06 +00:00
uwe.tews@googlemail.com a061bc47d1 - bugfix multiline strings in config files could fail on longer strings (reopened Issue #55) 2011-11-01 21:41:12 +00:00
uwe.tews@googlemail.com d3e71dabb6 - bugfix {if} and {while} tags without condition did not throw a SmartyCompilerException (Issue #57) 2011-11-01 20:27:53 +00:00
uwe.tews@googlemail.com 4f4cb7847d fixed changelog 2011-10-22 17:07:06 +00:00
uwe.tews@googlemail.com 20a14579ce - bugfix use catch Exception instead UnexpectedValueException in
clearCompiledTemplate to be PHP 5.2 compatible

- fixed PHPunit ClearCompiledTests to run also under Windows
2011-10-22 16:47:35 +00:00
rodneyrehm 1edb2220c7 - bugfix smarty_mb_from_unicode() would not decode unicode-points properly 2011-10-22 15:30:26 +00:00
rodneyrehm 7659c6c0ea - add Smarty::$allow_ambiguous_resources to activate unique resource handling (Forum Topic 20128)
see http://www.smarty.net/forums/viewtopic.php?t=20128
2011-10-21 18:40:16 +00:00
rodneyrehm 6baca38bf1 - improvement sha1() for array keys longer than 150 characters 2011-10-21 12:10:41 +00:00
uwe.tews@googlemail.com 37719ce858 - bugfix apostrophe in plugins_dir path name failed (forum topic 20199) 2011-10-21 12:08:35 +00:00
rodneyrehm 6470e6a2c9 - improvement removed unnecessary sha1()
(and added previously forgotten templates for ClearCompileTests)
2011-10-20 20:28:21 +00:00
rodneyrehm 922017c7fa - bugfix {html_select_date} and {html_select_time} did not properly handle empty time arguments (Forum Topic 20190)
see http://www.smarty.net/forums/viewtopic.php?t=20190
2011-10-20 13:31:25 +00:00
rodneyrehm b71323ca24 - bugfix Smarty::clearCompiledTemplate() threw an Exception if $cache_id was not present in $compile_dir when $use_sub_dirs = true.
-rewrote ClearCompiledTests to cover all possible usage scenarios
2011-10-20 12:50:12 +00:00
rodneyrehm 38af2463df - @silenced unlink() in Smarty_Internal_Write_File since debuggers go haywire without it. 2011-10-20 10:55:11 +00:00
uwe.tews@googlemail.com 85658fcdd4 - fixed PHP4 constructor message 2011-10-19 19:49:27 +00:00
monte.ohrt 5547f8a485 revert PHP4 constructor 2011-10-19 19:20:58 +00:00
monte.ohrt dd30176b9e fix text filenames, update changelog 2011-10-19 18:20:03 +00:00
monte.ohrt 724e1b969f update change log 2011-10-19 14:37:08 +00:00
monte.ohrt 0dd7ddb2d1 add exception for using php4 style constructor 2011-10-19 14:32:52 +00:00
rodneyrehm eea360e87d - bugfix testInstall() did not propery check cache_dir and compile_dir 2011-10-16 09:53:14 +00:00
rodneyrehm 131553272a - bugfix Smarty_Resource and Smarty_CacheResource runtime caching (Forum Post 75264)
www.smarty.net/forums/viewtopic.php?p=75264#75264
2011-10-15 10:46:03 +00:00
rodneyrehm 318328cd75 fixing previous commit 2011-10-14 17:54:25 +00:00
rodneyrehm 59a95253b4 - add Smarty_Internal_Template::clearCache() to accompany isCached() fetch() etc. 2011-10-14 17:15:06 +00:00
rodneyrehm ef32ed830c fixing previous commit 2011-10-14 16:22:00 +00:00
rodneyrehm 8a82d84861 - add locking to custom resources (Forum Post 75252)
this is a potentially dirty commit
2011-10-14 16:17:27 +00:00
rodneyrehm ef3e29daa7 - bugfix unique_resource did not properly apply to compiled resources (Forum Topic 20128) 2011-10-14 09:31:09 +00:00
uwe.tews@googlemail.com 8471e25bd8 - bugfix multiline strings in config files could fail on longer strings (Issue #55) 2011-10-13 16:25:50 +00:00
rodneyrehm 81c068dc3a f***ing phpunit now doing what it's supposed to. 2011-10-13 15:36:35 +00:00
rodneyrehm 94dff13c89 removing todos 2011-10-13 13:41:59 +00:00
rodneyrehm 6979b4efb0 - add concept unique_resource to combat potentially ambiguous template_resource values when custom resource handlers are used (Forum Topic 2012)
http://www.smarty.net/forums/viewtopic.php?t=2012

thereby DRYed and optimized the resource handler identification method.
2011-10-13 13:10:06 +00:00
uwe.tews@googlemail.com 806c51fdcf - bugfix disable of caching after isCached() call did not work (Forum Topic 20131) 2011-10-13 11:59:02 +00:00
rodneyrehm 3b006ae5a1 - add caching for config files in Smarty_Resource
(not really sure why this wasn't implemented yet?!) If we removed this (for some reason) we should've made a note of it in the code...
2011-10-13 09:50:55 +00:00
uwe.tews@googlemail.com 0fabe627ad - add runtime checks for not matching {capture}/{/capture} calls (Forum Topic 20120) 2011-10-11 15:49:19 +00:00
rodneyrehm 352cb05cf5 - bugfix Smarty_CacheResource_mysql example was missing strtotime() calls 2011-10-10 19:31:34 +00:00
uwe.tews@googlemail.com d3258767a6 - bugfix <?xml> tag did create wrong output when caching enabled and the tag was in included subtemplate 2011-10-10 11:38:27 +00:00
rodneyrehm 1cfdafccdd - bugfix variable name typo in {html_options} and {html_checkboxes} (Issue #54) 2011-10-10 08:53:43 +00:00
uwe.tews@googlemail.com 4c070d0bda - bugfix parent pointer was not set when fetch() for other template was called on template object 2011-10-07 15:30:04 +00:00
rodneyrehm b7ef6f0597 - improvement removed some unnecessary count()s 2011-10-07 14:05:26 +00:00
rodneyrehm 1f35133079 - improvement html_checkboxes and html_radios to accept null- and object values, and label_ids attribute 2011-10-07 13:39:45 +00:00
rodneyrehm 1bf1b05846 - bugfix html_options plugin did not handle object values properly (Issue #49, Forum Topic 20049) 2011-10-07 12:11:33 +00:00
rodneyrehm 2fdb8c9bb5 - improvement testInstall() now showing resolved paths and checking the include_path if necessary 2011-10-07 11:07:00 +00:00
rodneyrehm 13f1415c22 - bugfix testInstall() would not show path to internal plugins_dir (Forum Post 74627) 2011-10-07 10:38:46 +00:00
rodneyrehm a3a4bf8f80 - improvement removed html comments from {mailto} (Forum Topic 20092) 2011-10-07 08:55:12 +00:00
rodneyrehm 7169e594c4 - bugfix start_year and end_year of {html_select_date} did not use current year as offset base (Issue #53) 2011-10-06 15:12:35 +00:00
uwe.tews@googlemail.com 904731fd1f - bugfix switch lexer internals depending on mbstring.func_overload 2011-10-06 14:36:30 +00:00
rodneyrehm 3825ef336c - bugfix html_options plugin did not handle null- and object values properly (Issue #49, Forum Topic 20049) 2011-10-05 18:51:10 +00:00
uwe.tews@googlemail.com 1e48394ed3 - bugfix nofilter tag option did not disable default modifier 2011-10-05 18:17:40 +00:00
rodneyrehm 3e3f6ad43c - add environment configuration issue with mbstring.func_overload Smarty cannot compensate for (Issue #45) 2011-10-05 17:51:44 +00:00
rodneyrehm aeec0783ec - bugfix of problem introduced with r4342 by replacing strlen() with isset() 2011-10-05 17:11:01 +00:00
uwe.tews@googlemail.com 8bab7fe522 - bugfix has_nocache_code flag was not reset before compilation 2011-10-04 18:58:17 +00:00
uwe.tews@googlemail.com eb9714cf0e - bugfix output filter should not run on individually cached subtemplates
- add unloadFilter() method
2011-10-04 17:50:39 +00:00
uwe.tews@googlemail.com 4cb1e143cc - bugfix of problem introduced with r4342 on math plugin 2011-10-04 16:38:12 +00:00
uwe.tews@googlemail.com dbda42bc6c - bugfix assign() in plugins called in subtemplates did change value also in parent template 2011-10-04 16:18:24 +00:00
monte.ohrt 9ca21fac77 update changelog 2011-10-03 19:30:08 +00:00
uwe.tews@googlemail.com 12e8593760 - improvement add internal $joined_template_dir property instead computing it on the fly several times 2011-10-03 19:02:44 +00:00
rodneyrehm c24e213ed9 typo 2011-10-01 19:35:54 +00:00
rodneyrehm 9bd3520d97 - improvement Smarty_Internal_Utility::clearCompiledTemplate() removed redundant strlen()s 2011-10-01 19:11:28 +00:00
rodneyrehm 655cbc94bc - improvement replaced some strlen($foo) > 3 calls by isset($foo[3]) 2011-10-01 18:47:56 +00:00
rodneyrehm aff7c6a0ab - improvement replaced most in_array() calls by more efficient isset() on array_flip()ed haystacks
- added notes on possible performance optimization/problem with Smarty_Security
2011-10-01 18:10:48 +00:00
rodneyrehm 41958a5790 - improvement of Smarty_Internal_Config::loadConfigVars() dropped the in_array for index look up 2011-09-29 12:59:06 +00:00
uwe.tews@googlemail.com bc2d519c38 - bugfix on template functions called nocache calling other template functions 2011-09-28 15:56:01 +00:00
uwe.tews@googlemail.com d9ba05407a - bugfix wrong resource could be used on compile check of custom resource 2011-09-27 21:48:33 +00:00
rodneyrehm ae85a298d8 - bugfix smarty_make_timestamp() failed to process DateTime objects properly 2011-09-27 18:16:03 +00:00
uwe.tews@googlemail.com 0348e71109 - bugfix variable property did not work on objects variable in template 2011-09-27 17:52:21 +00:00
uwe.tews@googlemail.com 5c33be7fc0 - bugfix remove race condition when a custom resource did change timestamp during compilation 2011-09-27 17:15:31 +00:00
rodneyrehm 0cd9821dcc - added chaining to Smarty_Internal_Data so $smarty->assign('a',1)->assign('b',2); is possible now 2011-09-27 12:36:50 +00:00
rodneyrehm b6e6b67548 - bugfix possible warning "attempt to modify property of non-object" in {section} (issue #34) 2011-09-27 10:09:25 +00:00
uwe.tews@googlemail.com 709e5e1e84 - bugfix repeated calls to same subtemplate did not make use of cached template object 2011-09-26 15:21:50 +00:00
uwe.tews@googlemail.com a98d83bbf3 - improvment better error message for undefined templates at {include} 2011-09-24 18:20:13 +00:00
rodneyrehm 5c0d7ad8b4 - added compile_dir and cache_dir to list of muted directories 2011-09-24 15:45:30 +00:00
rodneyrehm 25e31b38f5 fixed error_handler 2011-09-24 14:12:36 +00:00
rodneyrehm d0228e96ea - removed internal muteExpectedErrors() calls in favor of having the implementor call this once from his application
- optimized muteExpectedErrors() to pass errors to the latest registered error handler, if appliccable

error muting is now a global thing. this was done because of the overhead set_error_handler imposes and the fact, that only a few people really "need" this. 

The decision was made by uwe.tews and rodneyrehm. (just in case anyone asks…)
2011-09-24 12:56:52 +00:00
uwe.tews@googlemail.com 537285032c - bugfix error muting was not implemented for cache locking 2011-09-23 22:27:44 +00:00
uwe.tews@googlemail.com 50a8f805dd - remove unused properties
- optimization use real function instead anonymous function for preg_replace_callback
- bugfix a relative {include} in child template blocks failed
- bugfix direct setting of $template_dir, $config_dir, $plugins_dir in __construct() of an 
  extended Smarty class created problems
2011-09-23 20:21:16 +00:00
monte.ohrt 1d9f527c1e update header 2011-09-23 14:22:30 +00:00
uwe.tews@googlemail.com 00a4769aa5 - bugfix debug.tpl did not display correctly when it was compiled with escape_html = true 2011-09-22 19:13:15 +00:00
uwe.tews@googlemail.com 6e22abb6dd - bugfix {foreachelse} does fail if {section} was nested inside {foreach} 2011-09-22 14:51:34 +00:00
rodneyrehm 48295d9573 - reverted ./ and ../ handling in fetch() and display() - they're allowed again 2011-09-21 23:06:27 +00:00
uwe.tews@googlemail.com 95ab01f99f remove unneeded error suppression 2011-09-21 22:54:08 +00:00
rodneyrehm 985b575e97 oops 2011-09-21 22:45:21 +00:00
rodneyrehm f1511d813e monte wanted some docs on the topic of error_muting 2011-09-21 22:44:53 +00:00
rodneyrehm 38a3554fa0 optimized autoloader 2011-09-21 22:10:52 +00:00
rodneyrehm e499fb11f0 oops… 2011-09-21 22:05:54 +00:00
rodneyrehm 7a6b9dba91 - added $error_muting to suppress error messages even for badly implemented error_handlers
- reverted r4301
2011-09-21 22:02:54 +00:00
uwe.tews@googlemail.com b77446463f - bugfix use 3.0 version of smarty_internal_write_file.php because of problems with custom error handlers 2011-09-21 19:39:30 +00:00
uwe.tews@googlemail.com cade307db0 - bugfix look for mixed case plugin file names as in 3.0 if not found try all lowercase 2011-09-21 19:06:16 +00:00
uwe.tews@googlemail.com eb60692dbe - bugfix {assign} with scope root and global did not work in all cases 2011-09-20 19:12:51 +00:00
rodneyrehm a3dc61542d apc.enable_cli must be activated for the APC test to execute in unit tests (which are run from CLI) duh! 2011-09-20 17:33:15 +00:00
uwe.tews@googlemail.com bff28f38a4 - bugfix {include} did not work inside nested {block} tags 2011-09-20 17:27:45 +00:00
rodneyrehm 2df84e24a6 - bugfix relative paths in $template_dir broke relative path resolving in {include "../foo.tpl"} 2011-09-20 14:12:34 +00:00
uwe.tews@googlemail.com 29a7600b74 - bugfix removed debug echo output while compiling template inheritance 2011-09-19 23:58:52 +00:00
uwe.tews@googlemail.com c8eb5d078a - bugfix output filter shall not run on included subtemplates 2011-09-19 21:13:44 +00:00
rodneyrehm c877da74de - bugfix regression in Smarty_CacheReource_KeyValueStore introduced by r4261
- added APC test
- added read/write test to APC demo ('cause it ain't working on my machine!?)
2011-09-19 20:17:22 +00:00
uwe.tews@googlemail.com 8e6626fbca - bugfix for Smarty2 style compiler plugins on unnamed attribute passing like {tag $foo $bar}
- bugfix debug.tpl did not display correctly when it was compiled with escape_html = true
2011-09-18 18:36:26 +00:00
rodneyrehm c86131979e comma -> dot 2011-09-18 09:48:51 +00:00
uwe.tews@googlemail.com a44d9a6ac9 - bugfix template caching did not care about file.tpl in different template_dir
- bugfix {include $file} was broken when merge_compiled_incluges = true
- bugfix {include} was broken when merge_compiled_incluges = true and same indluded template
  was used in different main templates in one compilation run
2011-09-18 02:31:58 +00:00
rodneyrehm c9be9cd7f9 - bugfix lock_id for file resource would create invalid filepath
- bugfix resource caching did not care about file.tpl in different template_dir
- added svn:ignore where necessary
2011-09-17 16:29:10 +00:00
uwe.tews@googlemail.com 00d45f4d3f - bugfix reverted resource caching as it could not detect template_dir changes 2011-09-16 22:31:34 +00:00
monte.ohrt b6274e6ae9 fix non utf-8 chars 2011-09-16 16:26:28 +00:00
monte.ohrt 12a8953246 commit 3.1 files to trunk 2011-09-16 15:16:22 +00:00
uwe.tews@googlemail.com c0e62f38ba Update SMARTY_3.1_NOTES.txt 2011-09-16 14:46:38 +00:00
monte.ohrt 8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com 5693de91f5 - bugfix subtemplate could use wrong varibale scope when it was recalled from different templates 2011-07-27 16:47:44 +00:00
uwe.tews@googlemail.com c4c0cd254c - bugfix experimental getTags() method did not work 2011-07-26 18:09:31 +00:00
uwe.tews@googlemail.com c64813beb5 - bugfix individual cache_lifetime of {include} did not work correctly inside {block} tags 2011-07-15 00:42:43 +00:00
uwe.tews@googlemail.com c859f6a9ae - bugfix PHP did eat line break on nocache sections 2011-07-12 17:20:45 +00:00
uwe.tews@googlemail.com a55e05506e - bugfix clear_config Smarty2 BC wrapper function was missing 2011-06-19 20:34:28 +00:00
uwe.tews@googlemail.com 4d07e3b03e - bugfix do not overwrite 'smarty' template variable when {include ... scope=parent} exits 2011-06-16 17:27:32 +00:00
rodneyrehm bc96213c44 fix smarty security_policy issue in plugins {html_image} and {fetch} 2011-06-09 07:52:58 +00:00
uwe.tews@googlemail.com 0c552377cd - bugfix registerFilter() or registerPlugin() on template objects did register to the main Smarty object if the register methods had been used on the main Smarty object before. 2011-06-07 14:31:22 +00:00
monte.ohrt b59c9b06f9 update version 2011-06-03 19:39:21 +00:00
uwe.tews@googlemail.com 7c90b107b2 - bugfix <?xml..?> in templates did break "cache modified check" 2011-05-29 10:37:57 +00:00
uwe.tews@googlemail.com 7c0e3c89c1 - bugfix error handling at stream resources 2011-05-14 11:11:52 +00:00
uwe.tews@googlemail.com 86586e5af4 - bugfix fopen() error handling at stream resources 2011-05-14 10:18:10 +00:00
uwe.tews@googlemail.com 184557ed46 - bugfix condition starting with "-" did fail at {if} and {while} tags 2011-05-13 14:08:55 +00:00
uwe.tews@googlemail.com 6443a923cf - workaround for PHP 5.2.13 bug in method_exists() 2011-04-22 02:19:14 +00:00
uwe.tews@googlemail.com 44dc14891d - bugfix allow only fixed string as file attribute at {extends} tag 2011-04-21 23:11:24 +00:00
uwe.tews@googlemail.com d999a7bc5c - bugfix do not run filters and default modifier when displaying the debug template
- bugfix of embedded double quotes within multi line strings (""")
2011-04-01 08:41:57 +00:00
uwe.tews@googlemail.com 1757b274d6 - bugfix on error message in smarty_internal_compile_block.php
- bugfix mb handling in strip modifier
- bugfix for Smarty2 style registered compiler function on unnamed attribute passing like {tag $foo $bar}
2011-03-28 22:18:39 +00:00
uwe.tews@googlemail.com 6b0f3a6ede - bugfix on default {function} parameters when {function} was used in nocache sections
- bugfix on compiler object destruction. compiler_object property was by mistake unset.
2011-03-16 23:57:04 +00:00
uwe.tews@googlemail.com 91c2c9ae1d -bugfix a variable filter should run before modifers on an output tag (see change of 23/07/2010) 2011-03-09 13:26:34 +00:00
monte.ohrt 3e0c5e06b1 fixed config_load to only load defaults with no section defined 2011-03-08 16:14:38 +00:00
uwe.tews@googlemail.com 9d1b0abe5c - bugfix internal rendered_content must be cleared after subtemplate was included 2011-03-03 19:37:00 +00:00
monte.ohrt 78d4e1b2e5 do some updates to the text 2011-03-03 17:03:57 +00:00
uwe.tews@googlemail.com 05335415d4 - bugfix "smarty" template variable was not recreated when cached templated had expired 2011-03-03 16:15:31 +00:00
uwe.tews@googlemail.com fe26cf256e - bugfix replace modifier did not work in 3.0.7 on systems without multibyte support
- bugfix {$smarty.template} could return in 3.0.7 parent template name instead of 
         child name when it needed to compile
2011-03-01 19:47:44 +00:00
uwe.tews@googlemail.com e583777976 - bugfix for Smarty2 style compiler plugins on unnamed attribute passing like {tag $foo $bar} 2011-02-25 16:09:28 +00:00
uwe.tews@googlemail.com 34d5029469 - bugfix $smarty->clearCache('some.tpl') did by mistake cache the template object 2011-02-24 15:28:03 +00:00
uwe.tews@googlemail.com dea3e1f83e - bugfix force default debug.tpl to be loaded by the file resource when default_resource_type was modified 2011-02-19 00:20:45 +00:00
uwe.tews@googlemail.com 5b8a7e2ad9 - bugfix removed possible race condition when isCached() was called for an individually cached subtemplate 2011-02-18 17:33:38 +00:00
uwe.tews@googlemail.com 0e863c651d -improvement not to delete files starting with '.' from cache and template_c folders on clearCompiledTemplate() and clearCache() 2011-02-17 15:43:37 +00:00
uwe.tews@googlemail.com 5a6c3e6928 -improvement allow leading spaces on } tag closing if auto_literal is enabled 2011-02-16 16:45:27 +00:00
uwe.tews@googlemail.com e4e5418b46 -fixed typo in exception message of Smarty_Internal_Template 2011-02-16 14:20:23 +00:00
uwe.tews@googlemail.com 295c2ebd8e 2011-02-13 22:11:27 +00:00
uwe.tews@googlemail.com d38cb92059 - bufix replace $smarty->triggerError() by exception
- removed obsolete {popup_init..} plugin from demo templates
2011-02-13 22:04:58 +00:00
monte.ohrt be268fe3b0 remove popup_init from demo template 2011-02-13 13:37:27 +00:00
monte.ohrt 43f3581591 update change log with version tag 2011-02-11 22:52:27 +00:00
monte.ohrt f9ce2d8c7e fix typos, rewording 2011-02-11 22:21:17 +00:00
uwe.tews@googlemail.com 0154f17de2 - bugfix removed security hole when using {$smarty.template} 2011-02-09 17:50:05 +00:00
uwe.tews@googlemail.com 5c8541eae3 - removed assert() from config and template parser 2011-02-01 12:51:01 +00:00
uwe.tews@googlemail.com 0860e69018 - bugfix the lexer/parser did fail on special characters like VT 2011-01-31 14:15:12 +00:00
monte.ohrt af19a07bf3 flip test for ctype_digit, speed up 2011-01-19 15:13:27 +00:00
monte.ohrt 2d75fb0098 avoid preg for string match 2011-01-17 21:49:19 +00:00
uwe.tews@googlemail.com d494d0db22 -bugfix of Iterator object handling in internal _count() method 2011-01-16 16:22:58 +00:00
uwe.tews@googlemail.com 7dfb27d322 -bugfix of ArrayAccess object handling in internal _count() method 2011-01-16 15:28:43 +00:00
uwe.tews@googlemail.com cfd81bafba fix memory leak 2011-01-14 21:51:08 +00:00
uwe.tews@googlemail.com d8f8e417f4 - remove possible warning 2011-01-14 20:40:42 +00:00
uwe.tews@googlemail.com 9ef3c770ef -bugfix removed memory leak while processing compileAllTemplates 2011-01-14 18:39:16 +00:00
uwe.tews@googlemail.com 7d48680bd5 - bugfix in {if} and {while} tag compiler when using assignments as condition and nocache mode 2011-01-12 21:33:26 +00:00
uwe.tews@googlemail.com 65e823610d - bugfix when using {$smarty.block.child} and name of {block} was in double quoted string
- bugfix updateParentVariables() was called twice when leaving {include} processing
2011-01-10 17:10:35 +00:00
monte.ohrt eba1d212f2 remove overlib plugins - no longer supported 2011-01-04 16:15:04 +00:00
monte.ohrt d0b232e264 fix mb_str_replace to work with utf8 2011-01-03 23:19:22 +00:00
uwe.tews@googlemail.com 9630a99a82 - bugfix dynamic configuration of $debugging_crtl did not work
- bugfix default value of $config_read_hidden changed to false
- bugfix format of attribute array on compiler plugins
- bugfix getTemplateVars() could return value from wrong scope
2010-12-31 13:47:12 +00:00
uwe.tews@googlemail.com 015f817259 - bugfix multiple {append} tags failed to compile. 2010-12-28 22:40:13 +00:00
uwe.tews@googlemail.com 9f3758ace1 do not clone Smarty object on internal createTemplate() calls 2010-12-22 16:35:39 +00:00
monte.ohrt c0b6f29077 update html_options to support class and id attrs 2010-12-21 15:59:25 +00:00
uwe.tews@googlemail.com b9477b0deb - bugfix added missing support of $cache_attrs for registered plugins 2010-12-17 21:05:29 +00:00
uwe.tews@googlemail.com 6d897f0d59 - bugfix assigment as condition in {while} did drop an E_NOTICE 2010-12-15 09:08:35 +00:00
uwe.tews@googlemail.com 2918615377 - bugfix when passing an array as default parameter at {function} tag 2010-12-14 03:55:31 +00:00
uwe.tews@googlemail.com f0c95ab79c - bugfix {$smarty.template} in child template did not return right content
- bugfix Smarty3 did not search the PHP include_path for template files
2010-12-13 22:05:27 +00:00
monte.ohrt 73bd60cad5 update changelog 2010-12-13 15:56:49 +00:00
uwe.tews@googlemail.com 5999777341 - bugfix fixed typo regarding yesterdays change to allow streamWrapper 2010-12-12 12:45:52 +00:00
uwe.tews@googlemail.com b8b68d7edf - bugfix changed code when writing temporary compiled files to allow stream_wrapper 2010-12-11 13:55:06 +00:00
uwe.tews@googlemail.com cf50ede71a - bugfix nested block tags in template inheritance child templates did not work correctly
- bugfix {$smarty.current_dir} in child template did not point to dir of child template
2010-12-11 13:27:14 +00:00
uwe.tews@googlemail.com ea37403f01 - bugfix getTemplateVars() should return 'null' instead dropping E_NOTICE on an unassigned variable 2010-12-06 19:00:50 +00:00
uwe.tews@googlemail.com 6ddcf3819a - bugfix empty($foo) in {if} did drop a notice when $foo was not assigned 2010-12-05 22:15:23 +00:00
uwe.tews@googlemail.com 5522850591 - bugfix missing declaration of $smarty in Smarty class 2010-12-05 17:21:02 +00:00
uwe.tews@googlemail.com 5139a6fcd1 - other update regarding {debug} 2010-12-01 23:34:06 +00:00
uwe.tews@googlemail.com 176c3d625c - improvement of {debug} tag output 2010-12-01 21:19:20 +00:00
uwe.tews@googlemail.com e80dd75958 -change run output filter before cache file is written (as in Smarty2) 2010-11-27 15:05:38 +00:00
uwe.tews@googlemail.com 2e1c83f44d -bugfix on parser at !$foo|modifier
-change parser logic when assignments used as condition in {if] and {while} to allow assign to array element
2010-11-24 19:38:45 +00:00
uwe.tews@googlemail.com c08664e75e -bugfix allow integer as attribute name in plugin calls
-change  trimm whitespace from error message, removed long list of expected tokens
2010-11-23 23:36:16 +00:00
uwe.tews@googlemail.com c0130d5d34 - added error message for illegal variable file attributes at {extends...} tags 2010-11-22 22:03:47 +00:00
uwe.tews@googlemail.com 1153ea5a5a - bugfix on template inheritance when an {extends} tag was inserted by a prefilter 2010-11-22 19:43:11 +00:00
uwe.tews@googlemail.com f14de1689c update changelog 2010-11-21 03:12:26 +00:00
monte.ohrt abf779f91b update README for 3.0.5wq 2010-11-21 02:58:39 +00:00
uwe.tews@googlemail.com 8e4cd21b3d revert change of 19/11/2010 - bugfix on template inheritance. prefilter did not run over child blocks
It was no error
2010-11-20 15:24:32 +00:00
uwe.tews@googlemail.com 1c9f015135 - bugfix on block plugins with modifiers
- bugfix on template inheritance. prefilter did not run over child blocks
2010-11-20 00:00:24 +00:00
uwe.tews@googlemail.com eddb301947 - change on handling of unassigned template variable -- default will drop E_NOTICE
- bugfix on Smarty2 wrapper load_filter() did not work
2010-11-18 18:58:53 +00:00
uwe.tews@googlemail.com 6b9921baae 2010-11-18 00:18:57 +00:00
uwe.tews@googlemail.com dd332db455 -bugfix in function.fetch.php, reference to undefined $smarty 2010-11-17 23:15:12 +00:00
uwe.tews@googlemail.com f49ac309b9 - bugfix on {block} if name did contain '-' 2010-11-17 19:07:59 +00:00
uwe.tews@googlemail.com 6d4b6accfd - bugfix on {call} with variable function name 2010-11-17 17:21:27 +00:00
uwe.tews@googlemail.com a2d99d41b1 - bugfix on default parameter for {function} 2010-11-16 23:16:34 +00:00
uwe.tews@googlemail.com db8867cd88 - bugfix whitespace in front of "<?php" in smarty_internal_compile_private_block_plugin.php
- bugfix {$smarty.now} did compile incorrectly
- bugfix on reset(),end(),next(),prev(),current() within tempaltes
2010-11-16 21:06:46 +00:00
uwe.tews@googlemail.com ef85c9f2ad - bugfix captured content could not be accessed globally
- bugfix Smarty2 wrapper functions could not be call from within plugins
2010-11-15 22:54:59 +00:00
uwe.tews@googlemail.com 21ed644f82 - bugfix when using {$smarty.session} as object
- bugfix scoping problem on $smarty object passed to filters
2010-11-15 19:17:18 +00:00
uwe.tews@googlemail.com d2cafef753 - small performace patch in Smarty class 2010-11-14 18:46:18 +00:00
uwe.tews@googlemail.com 7135787127 - bugfix isset() did not allow multiple parameter
- improvment of some error messages
- bugfix html_image did use removed property $request_use_auto_globals
2010-11-14 15:08:44 +00:00
uwe.tews@googlemail.com 6ff5c28343 - bugfix overloading problem when $smarty->fetch()/display() have been used in plugins 2010-11-13 18:32:50 +00:00
uwe.tews@googlemail.com 5d278ce5ad - code cleanup 2010-11-13 17:48:30 +00:00
uwe.tews@googlemail.com 7dc5c0a09d - bugix overloading problem when $smarty->fetch()/display() have been used in plugins (introduced with 3.0.2) 2010-11-13 15:26:03 +00:00
uwe.tews@googlemail.com fb29ed63ed - improvement remove last linebreak from {function} definition 2010-11-13 11:16:01 +00:00
uwe.tews@googlemail.com 1f0c08ce3f - fixed internal_config (removed unwanted code line) 2010-11-13 05:06:58 +00:00
uwe.tews@googlemail.com fe63ad36b8 - reverted location of loadPlugin() to Smarty class
- fixed comments in plugins
2010-11-13 04:10:52 +00:00
uwe.tews@googlemail.com 3c04e4ff37 - bugfix on {debug} 2010-11-13 01:53:38 +00:00
uwe.tews@googlemail.com 626b95dfb4 2010-11-12 23:43:02 +00:00
uwe.tews@googlemail.com 5e21770fe5 - reactivated $error_reporting property handling
- fixed typo in compile_continue
- fixed security in {fetch} plugin
- changed back plugin parameters to two. second is template object 
  with transparent access to Smarty object
- fixed {config_load} scoping form compile time to run time
2010-11-12 23:42:32 +00:00
monte.ohrt 86afd1b42a update version in README 2010-11-12 15:02:15 +00:00
uwe.tews@googlemail.com 6401833933 - reactivated $error_reporting property handling 2010-11-12 14:53:49 +00:00
monte.ohrt bafcf67f81 update license 2010-11-12 01:44:30 +00:00
monte.ohrt 5abe3d5c62 finish commit, resolve conflict 2010-11-12 01:38:08 +00:00
monte.ohrt 7dc58993ad move smarty 2 trunk to branch area 2010-11-12 01:26:25 +00:00
monte.ohrt fc60543d80 remove trunk dir 2010-11-11 23:01:55 +00:00
monte.ohrt d88df01d7d tag 2_6_26 2010-11-11 22:50:16 +00:00
monte.ohrt 0d1cebad79 update README
2010-11-11 21:54:26 +00:00
monte.ohrt 6cd1b88fbe update README 2010-11-11 21:49:04 +00:00
uwe.tews@googlemail.com f044178bad - major update including some API changes 2010-11-11 21:34:36 +00:00
uwe.tews@googlemail.com 93686c695d 2010-11-10 17:02:48 +00:00
uwe.tews@googlemail.com 8497415888 - observe compile_id also for config files 2010-11-10 16:46:57 +00:00
uwe.tews@googlemail.com 87ec00f518 -bugfix on complex expressions as start value for {for} tag 2010-11-09 20:35:47 +00:00
uwe.tews@googlemail.com 7af4fc7521 - bugfix do not allow access of dynamic and private object members of assigned objects when security is enabled. 2010-11-04 15:53:28 +00:00
uwe.tews@googlemail.com c7e7f5b3b2 - bugfix related to E_NOTICE change. {if empty($foo)} did fail when $foo contained a string 2010-11-01 17:23:28 +00:00
uwe.tews@googlemail.com 0acba360d3 - bugfix on compiling modifiers within $smarty special vars like {$smarty.post.{$foo|lower}} 2010-10-28 20:11:01 +00:00
uwe.tews@googlemail.com ecd1793bdf - bugfix default parameter values did not work for template functions included with {include} 2010-10-27 16:42:01 +00:00
uwe.tews@googlemail.com 5176f39583 - bugfix for E_NOTICE change, array elements did not work as modifier parameter 2010-10-25 18:53:43 +00:00
uwe.tews@googlemail.com ce7a278f44 - bugfix for the E_NOTICE change 2010-10-20 18:28:04 +00:00
uwe.tews@googlemail.com be02af7246 - change Smarty does no longer mask out E_NOTICE by default during template processing 2010-10-19 16:06:52 +00:00
uwe.tews@googlemail.com 147c5d0631 - bugfix on output buffer handling in isCached() method 2010-10-13 23:22:57 +00:00
uwe.tews@googlemail.com cf42bcd242 - bugfix on template inheritance using nested eval or string resource in {extends} tags 2010-10-13 20:26:12 +00:00
uwe.tews@googlemail.com 7ec3cb453c - bugfix removed ambiguity between ternary and stream variable in template syntax
- bugfix use caching properties of template instead of smarty object when compiling child {block}
- bugfix {*block}...{/block*} did throw an exception in template inheritance
2010-10-13 15:44:03 +00:00
uwe.tews@googlemail.com 415d2f43e2 - added {break} and {continue} tags for flow control of {foreach},{section},{for} and {while} loops
- change of 'string' resource. It's no longer evaluated and compiled files are now stored
- new 'eval' resource which evaluates a template without saving the compiled file
- change in isCached() method to allow multiple calls for the same template
2010-10-01 13:19:53 +00:00
uwe.tews@googlemail.com dde2219004 - bugfix on some compiling modifiers 2010-09-25 13:31:57 +00:00
uwe.tews@googlemail.com 802d40f3d3 - bugfix merge_compiled_includes flag was not restored correctly in {block} tag 2010-09-24 12:13:19 +00:00
uwe.tews@googlemail.com e8ab747a60 - bugfix on default modifier 2010-09-22 13:06:47 +00:00
uwe.tews@googlemail.com b38e46db46 - bugfix untility compileAllConfig() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS
- bugfix on templateExists() for extends resource
2010-09-18 14:57:02 +00:00
uwe.tews@googlemail.com 18bcfa2ba7 - bugfix {$smarty.template} and {$smarty.current_dir} did not compile correctly within {block} tags
- bugfix corrected error message on missing template files in extends resource
- bugfix untility compileAllTemplates() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS
2010-09-17 18:10:10 +00:00
uwe.tews@googlemail.com 66752cd790 - bugfix when a doublequoted modifier parameter did contain Smarty tags and ':' 2010-09-16 16:29:44 +00:00
uwe.tews@googlemail.com 44c6732970 15/09/2010
- bugfix resolving conflict between '<%'/'%>' as custom Smarty delimiter and ASP tags
- use ucfirst for resource name on internal resource class names
2010-09-15 15:17:28 +00:00
uwe.tews@googlemail.com 4556f7d370 - bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results) 2010-09-12 17:46:04 +00:00
uwe.tews@googlemail.com 255c271246 - bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results) 2010-09-10 11:15:15 +00:00
Uwe.Tews 550a416209 - allow multiple template inheritance branches starting in subtemplates 2010-09-08 17:40:00 +00:00
Uwe.Tews a2f50cebd4 - bugfix {counter} and {cycle} plugin assigned result to smarty variable not in local(template) scope
- bugfix templates containing just {strip} {/strip} tags did produce an error
2010-09-07 16:24:34 +00:00
Uwe.Tews 96e3d9937a - fixed E_STRICT errors for uninitialized variables 2010-08-23 14:40:10 +00:00
Uwe.Tews ee15e53542 - added attribute cache_id to {include} tag 2010-08-22 12:15:51 +00:00
monte.ohrt 21d507a5cb fix formatting 2010-08-17 15:39:51 +00:00
Uwe.Tews ad921936b0 - remove exception_handler property from Smarty class
- added Smarty's own exceptions SmartyException and SmartyCompilerException
2010-08-13 10:39:51 +00:00
Uwe.Tews cbc4205669 - bugfix on modifier with doublequoted strings as parameter containing embedded tags 2010-08-09 14:28:28 +00:00
Uwe.Tews 85450515d9 2010-08-06 15:34:18 +00:00
Uwe.Tews a8cb6c737f 2010-08-06 14:38:33 +00:00
Uwe.Tews cf231447d2 - bugfix when cascading some modifier like |strip|strip_tags modifier 2010-08-06 13:43:52 +00:00
Uwe.Tews 09dfffd2a0 - bugfix in nocache sections {include} must not cache the subtemplate 2010-08-05 21:13:29 +00:00
Uwe.Tews 08874b0965 - added plugin type modifiercompiler to produce compiled modifier code
- changed standard modifier plugins to the compiling versions whenever possible
2010-08-05 17:50:16 +00:00
Uwe.Tews 254c9e6c53 - bugfix strip did not work correctly in conjunction with comment lines 2010-08-02 16:29:23 +00:00
Uwe.Tews e8fbee624d - bugfix on nocache attribute at {assign} and {append} 2010-07-31 13:29:59 +00:00
Uwe.Tews b52cbe9adb - bugfix passing scope attributes in doublequoted strings did not work at {include} {assign} and {append} 2010-07-30 13:09:52 +00:00
matakagi a2e69a04e7 sync with en. 2010-07-29 08:47:24 +00:00
Uwe.Tews 7c7d65eb32 2010-07-25 11:42:46 +00:00
Uwe.Tews b7b2e7c4be - another bugfix of change from 23/07/2010 when compiling modifer 2010-07-25 10:58:54 +00:00
Uwe.Tews a09ed74a10 2010-07-24 23:44:21 +00:00
Uwe.Tews 8598eca6bc 2010-07-24 23:34:19 +00:00
Uwe.Tews 8e8feb3945 - bugfix of change from 23/07/2010 when compiling modifer 2010-07-24 21:58:16 +00:00
Uwe.Tews 6ae00435af - changed execution order. A variable filter does now run before modifiers on output of variables
- bugfix use always { and } as delimiter for debug.tpl
2010-07-23 12:53:04 +00:00
Uwe.Tews f319a15cfc - bugfix in templateExists() method 2010-07-22 19:11:38 +00:00
Uwe.Tews ff7fce9bca - fixed handling of { strip } tag with whitespaces 2010-07-20 16:19:54 +00:00
Uwe.Tews c4a824bf2c - bufix {$smarty.template} does include now the relative path, not just filename 2010-07-15 14:08:56 +00:00
Uwe.Tews f6b98d0d7f 2010-07-14 23:15:20 +00:00
Uwe.Tews c1e1c03892 - make the date_format modifier work also on objects of the DateTime class
- implementation of parsetrees in the parser to close security holes and remove unwanted empty line in HTML output
2010-07-14 22:47:37 +00:00
monte.ohrt 50637fccdd add DateTime support, clean up some logic 2010-07-13 22:57:47 +00:00
Uwe.Tews db38a0aaec - bugfix on assigning multidimensional arrays within templates
- corrected bugfix for truncate modifier
2010-07-08 18:30:03 +00:00
Uwe.Tews 396d7aa8a5 - bugfix support of script files relative to trusted_dir 2010-07-07 22:08:10 +00:00
Uwe.Tews c8f22fe247 - bugfix the truncate modifier needs to check if the string is utf-8 encoded or not 2010-07-07 16:34:06 +00:00
Uwe.Tews c83ef6792c - create exception on recursive {extends} calls
- fixed reported line number at "unexpected closing tag " exception
- bugfix on escape:'mail' modifier
- drop exception if 'item' variable is equal 'from' variable in {foreach} tag
2010-07-06 20:00:41 +00:00
Uwe.Tews cbe2f3356f - removed call_user_func_array calls for optimization of compiled code when using registered modifiers and plugins
- updated comments
2010-07-01 19:57:56 +00:00
Uwe.Tews 6456403706 - bugfix escaping " when block tags are used within doublequoted strings 2010-06-25 18:41:30 +00:00
Uwe.Tews ccc0e1b6c8 - added $smarty->register->templateClass() and $smarty->unregister->templateClass() methods for supporting static classes with namespace 2010-06-24 20:30:19 +00:00
Uwe.Tews f99e09f588 - replace internal get_time() calls with standard PHP5 microtime(true) calls in Smarty_Internal_Utility 2010-06-24 14:43:04 +00:00
Uwe.Tews 95869f258e - allow spaces between typecast and value in template syntax
- bugfix get correct count of traversables in {foreach} tag
2010-06-22 18:09:12 +00:00
Uwe.Tews f7fd63e890 - improved speed of cache->clear() when a compile_id was specified and use_sub_dirs is true 2010-06-21 20:10:22 +00:00
Uwe.Tews 7626cbf093 - removed use of PHP shortags SMARTY_PHP_PASSTHRU mode 2010-06-21 18:01:36 +00:00
Uwe.Tews 5a974e69cf 2010-06-20 21:16:18 +00:00
Uwe.Tews 1380199f43 - closed security hole when php.ini asp_tags = on 2010-06-20 20:37:16 +00:00
Uwe.Tews b534be00da - replace internal get_time() calls with standard PHP5 microtime(true) calls 2010-06-20 14:37:47 +00:00
Uwe.Tews 7cd84ed640 - added __toString method to the Smarty_Variable class 2010-06-18 15:10:35 +00:00
Uwe.Tews 6ba7d10ccd - make handling of Smarty comments followed by newline BC to Smarty2 2010-06-14 18:40:31 +00:00
Uwe.Tews 7075a1186d - bugfix Smarty3 did not handle hexadecimals like 0x0F as numerical value
- bugifx Smarty3 did not accept numerical constants like .1 or 2. (without a leading or trailing digit)
2010-06-13 12:52:36 +00:00
Uwe.Tews 538708d344 11/06/2010
- bugfix the lexer did fail on larger {literal} ... {/literal} sections
2010-06-11 13:01:36 +00:00
monte.ohrt 968deec9a4 remove newline on include tag 2010-06-10 18:58:26 +00:00
monte.ohrt c963a8342e fix assign_by_ref and append_by_ref BC compatability 2010-06-08 20:45:18 +00:00
Uwe.Tews cf2f6a33e1 - bugfix on calling template functions like Smarty tags 2010-06-03 14:33:51 +00:00
Uwe.Tews 62490ae8c0 - removed /* vim: set expandtab: */ comments
- bugfix of auto literal problem introduce with fix of 31/05/2010
2010-06-01 19:11:48 +00:00
Uwe.Tews c82455c145 - bugfix on template functions used with template inheritance 2010-06-01 17:10:39 +00:00
monte.ohrt 72d41f3b59 update @ syntax 2010-06-01 14:42:26 +00:00
Uwe.Tews 6ac2489ea5 - bugfix the parser did not allow some smarty variables with special name like $for, $if, $else and others. 2010-05-31 17:58:23 +00:00
Uwe.Tews 2ad1d7e102 - make scope of {counter} and {cycle} tags again global as in Smarty2 2010-05-27 19:56:39 +00:00
Uwe.Tews b889d66dd9 - bugfix on object chaining using variable properties 2010-05-27 15:59:40 +00:00
Uwe.Tews 8bf398e22c - bugfix removed decrepated register_resource call in smarty_internal_template.php 2010-05-26 20:35:15 +00:00
Uwe.Tews 063b8bf150 - rewrite of template function handling to improve speed
- bugfix on file dependency when merge_compiled_includes = true
2010-05-25 19:33:55 +00:00
Uwe.Tews eb12b18929 - bugfix when passing parameter with numeric name like {foo 1='bar' 2='blar'} 2010-05-16 20:12:14 +00:00
Uwe.Tews a15c0f85d1 14/05/2010
- bugfix compile new config files if compile_check and force_compile = false
- added variable static classes names to template syntax
2010-05-14 13:45:04 +00:00
Uwe.Tews 3197470ca5 - reverted the change 0f 30/04/2010. With the exception of forward references template functions can be again called by a standard tag. 2010-05-11 17:01:08 +00:00
Uwe.Tews 6e97a8a393 - bugfix make sure that the cache resource is loaded in all conditions when template methods getCached... are called externally 2010-05-11 16:24:24 +00:00
Uwe.Tews 2d1ce2f940 - bugfix on {foreach} and {for} optimizations of 27/04/2010 2010-05-10 20:08:24 +00:00
Uwe.Tews cf11940bf7 - update of template and config file parser because of minor parser generator bugs 2010-05-09 16:48:03 +00:00
Uwe.Tews 25ea3dd1de - bugfix on {insert} 2010-05-07 18:28:17 +00:00
Uwe.Tews d1986c6cff - bugfix on {insert} 2010-05-07 13:08:46 +00:00
Uwe.Tews 98753671e3 - bugfix when merging compiled templates and objects are passed as parameter of the {include} tag 2010-05-06 17:59:31 +00:00
Uwe.Tews bf591a307b - bugfix on getTemplateVars method 2010-05-06 00:32:10 +00:00
Uwe.Tews 2e8b7c864d - implementation of $smarty->default_modifiers as in Smarty2 2010-05-06 00:11:30 +00:00
Uwe.Tews df1ddc31fc - bugfix on {insert} to cache parameter 2010-05-05 19:48:42 +00:00
Uwe.Tews e71c82ff1d - bugfix on handling of variable method names at object chaning 2010-05-01 16:10:20 +00:00
Uwe.Tews ecf66837b5 - fix to make calling of template functions unambiguously by madatory usage of the {call} tag 2010-04-30 21:06:07 +00:00
Uwe.Tews 0920b383c6 - bugfix on template inheritance for tag names starting with "block"
- bugfix on {function} tag with name attribute in doublequoted strings
2010-04-30 18:11:34 +00:00
Uwe.Tews ace9d4fe5e - work around of a substr_compare bug in older PHP5 versions 2010-04-30 14:04:03 +00:00
Uwe.Tews ea84147f45 - work around of a substr_compare bug in older PHP5 versions 2010-04-30 14:00:26 +00:00
Uwe.Tews 6bb0cb7c0c - bugfix when comparing timestamps in sysplugins/smarty_internal_config.php 2010-04-30 13:12:12 +00:00
Uwe.Tews d7a629df0c - change default of $debugging_ctrl to 'NONE'
- optimization of compiled code of {foreach} and {for} loops
- change of compiler for config variables
2010-04-28 20:30:27 +00:00
Uwe.Tews 4e27b70ba5 - bugfix in $smarty->cache->clear() method. (do not cache template object) 2010-04-27 17:47:24 +00:00
Uwe.Tews d44ffe9132 - security fix in {math} plugin 2010-04-17 10:24:44 +00:00
Uwe.Tews abf692eaf7 - fixed security hole in {math} plugin 2010-04-17 10:19:47 +00:00
monte.ohrt 09c208eda6 revert lables on optgroup tags 2010-04-16 13:49:46 +00:00
monte.ohrt 4e8602585e remove label from option tag (unnecessary):wq 2010-04-12 19:04:02 +00:00
Uwe.Tews c8be3ed029 - removed parser restrictions in using true,false and null as ID 2010-04-12 18:22:53 +00:00
Uwe.Tews 5d644eb203 - bugfix in smarty_internal_templatecompilerbase (overloaded property) 2010-04-12 15:06:24 +00:00
Uwe.Tews 1eb8a44b0f - bugfix typo in smarty_internal_templatecompilerbase and smarty_internal_template 2010-04-07 15:19:02 +00:00
Uwe.Tews b14725e21a - bugfix typo in smarty_internal_templatecompilerbase 2010-04-07 15:10:34 +00:00
Uwe.Tews b52e9f1ac8 - compile locking by touching old compiled files to avoid concurrent compilations 2010-03-31 16:23:01 +00:00
Uwe.Tews 24d5ad78f3 - bugfix allow array definitions as modifier parameter
- bugfix observe compile_check property when loading config files
- added the template object as third filter parameter
2010-03-29 15:41:01 +00:00
Uwe.Tews 76f1bd5428 - new method utility->compileAllConfig() to compile all config files 2010-03-25 21:18:58 +00:00
Uwe.Tews c24dce9ed4 - change of utility->compileAllTemplates() log messages
- bugfix on nocache code in {function} tags
2010-03-25 20:43:56 +00:00
Uwe.Tews 8372ef8874 - bugfix on register->modifier() error messages 2010-03-24 11:23:18 +00:00
Uwe.Tews 63d671b935 - bugfix on caching mode SMARTY_CACHING_LIFETIME_SAVED and cache_lifetime = 0 2010-03-23 17:08:46 +00:00
Uwe.Tews 2e27c294b3 - bugfix on template inheritance when calling multiple child/parent relations 2010-03-23 16:51:48 +00:00
Uwe.Tews 7f64fdc593 - bugfix make directory separator operating system independend in compileAllTemplates() 2010-03-22 16:12:18 +00:00
monte.ohrt 56d054b743 fix testInstall() error messages 2010-03-22 14:48:46 +00:00
Uwe.Tews 97041ec7be - removed unused code in compileAllTemplates() 2010-03-21 14:18:17 +00:00
Uwe.Tews 6d2fb922e9 - bugfix for multiple {/block} tags on same line 2010-03-19 15:45:32 +00:00
Uwe.Tews d89e53c2f6 - bugfix make $smarty->cache->clear() function independent from caching status 2010-03-17 17:37:32 +00:00
Uwe.Tews eb4436e7be - bugfix on assign attribute at registered template objects
- make handling of modifiers on expression BC to Smarty2
2010-03-16 18:26:46 +00:00
Uwe.Tews c573ee9bf8 - bugfix on block plugin calls 2010-03-15 21:40:05 +00:00
Uwe.Tews 13089f2d64 - changed parsing of <?php and ?> back to Smarty2 behaviour 2010-03-11 22:26:46 +00:00
monte.ohrt cba54ad3d8 remove old API call 2010-03-10 16:21:16 +00:00
Uwe.Tews 5e2bf86e66 - bugfix on uninitialized properties in smarty_internal_template
- bugfix on $smarty->disableSecurity()
2010-03-09 21:11:21 +00:00
monte.ohrt 689ee2c73c fix overload error 2010-03-09 15:14:11 +00:00
Uwe.Tews 4b6590728e - README update regarding plugins 2010-03-08 18:06:54 +00:00
monte.ohrt 54a8dcd343 add __get() to templateCreate class 2010-03-08 16:20:19 +00:00
monte.ohrt 374d801d51 remove comment 2010-03-08 15:16:35 +00:00
monte.ohrt 05a9c3beab add setters/getters to created templates 2010-03-08 15:15:41 +00:00
Uwe.Tews d9e4646b60 - bugfix on accessing chained objects of static classes 2010-03-04 20:33:53 +00:00
Uwe.Tews a2a7942cea - bugfix allow uppercase chars in registered resource names 2010-03-04 15:49:48 +00:00
Uwe.Tews 5d9f7ab65b - bugfix on nocache code in {block} tags if child template was included by {include} 2010-03-01 16:46:30 +00:00
monte.ohrt 7300133dc6 move replacement func 2010-03-01 14:56:24 +00:00
monte.ohrt 0d3137b511 fix mb check 2010-03-01 14:52:01 +00:00
Uwe.Tews 1819689775 - bugfix on double quote strings 2010-02-28 13:51:57 +00:00
Uwe.Tews 428889e762 - code optimizations 2010-02-28 12:50:33 +00:00
Uwe.Tews ed2458e9ae - code optimization 2010-02-27 23:28:14 +00:00
Uwe.Tews 3898f593f4 - allow block tags inside double quoted string 2010-02-27 20:10:32 +00:00
Uwe.Tews a4d34aebce - support of access to a class constant from an object (since PHP 5.3) 2010-02-26 13:28:54 +00:00
Uwe.Tews 3059df16aa - cache modified check implemented 2010-02-26 12:58:36 +00:00
Uwe.Tews 0426dd0459 - bugfix on expressions in doublequoted string enclosed in backticks
- added security property $static_classes for static class security
2010-02-24 18:01:03 +00:00
monte.ohrt 7c9aed9299 remove debug code 2010-02-20 23:22:55 +00:00
monte.ohrt 591df13a26 fix __get() return value, and set properties before returning 2010-02-20 21:48:19 +00:00
Uwe.Tews f393874262 - bugfix on parsing Smarty tags inside <?xml ... ?>
- bugfix on truncate modifier
2010-02-18 16:28:11 +00:00
monte.ohrt c5b0288087 remove unnecessary param for preg 2010-02-18 14:45:27 +00:00
Uwe.Tews 950c3a7307 2010-02-17 21:30:36 +00:00
Uwe.Tews 44feb88c19 - bugfix on <?xml ... ?> tags for all php_handling modes
- bugfix on parameter of variablefilter.htmlspecialchars.php plugin
2010-02-16 20:20:49 +00:00
monte.ohrt c188b50ecc change ereg to preg 2010-02-16 15:20:47 +00:00
Uwe.Tews 239462fde4 - bugfix $smarty.const... inside doublequoted strings and backticks was compiled into wrong PHP code 2010-02-14 20:26:57 +00:00
Uwe.Tews 9afda44ebf - added missing _plugins property in smarty.class.php 2010-02-14 16:42:39 +00:00
Uwe.Tews 78c2e92f19 - bugfix on nested {block} tags
- changed Smarty special variable $smarty.parent to $smarty.block.parent
2010-02-12 15:56:17 +00:00
Uwe.Tews 99ab6e96a5 - added support of nested {bock} tags 2010-02-12 01:14:34 +00:00
Uwe.Tews cb0ba1908a - allow Smarty tags inside <? ... ?> tags in SMARTY_PHP_QUOTE and SMARTY_PHP_PASSTHRU mode
- bugfix at new "for" syntax like {for $x=1 to 10 step 2}
2010-02-10 20:51:36 +00:00
Uwe.Tews 9f5d885835 - avoid possible notice on $smarty->cache->clear(...), $smarty->clear_cache(....) 2010-02-10 18:00:41 +00:00
Uwe.Tews 43ae585e5e - added $smarty->_tag_stack for tracing block tag hierarchy 2010-02-09 21:20:17 +00:00
Uwe.Tews 24141e81dd - bugfix use template fullpath at §smarty->cache->clear(...), $smarty->clear_cache(....) 2010-02-08 21:04:43 +00:00
monte.ohrt c2ff808db6 update README 2010-02-08 17:49:26 +00:00
monte.ohrt fbebb5bb02 update wrapper 2010-02-08 17:41:48 +00:00
Uwe.Tews b48ef33cd5 - bugfix of cache filename on extended templates when force_compile=true 2010-02-08 17:39:48 +00:00
monte.ohrt 0c2b18c727 move getTemplateVars() into data object 2010-02-08 17:31:15 +00:00
monte.ohrt 5be6130f0c update API list 2010-02-08 17:08:09 +00:00
Uwe.Tews 7bfa54f067 - bugfix on changes of 05/02/2010 2010-02-07 22:21:37 +00:00
Uwe.Tews d19fbb19d9 - bugfix on changes of 05/02/2010 2010-02-07 20:45:44 +00:00
Uwe.Tews 063cb19f18 - preserve line endings type form template source 2010-02-07 12:49:57 +00:00
Uwe.Tews ae49fe099b - minor fixes on API update 2010-02-07 11:09:28 +00:00
monte.ohrt 8f8a11f733 add new files 2010-02-07 03:03:48 +00:00
monte.ohrt 9af377d7d3 major API update 2010-02-06 22:11:10 +00:00
Uwe.Tews 3ad446bb21 - bugfix on modifier and block plugins with same name 2010-02-05 17:03:22 +00:00
Uwe.Tews fde7a592f4 - retaining newlines at registered functions and function plugins 2010-02-02 20:09:57 +00:00
Uwe.Tews 3c88d12e00 - added test that $_SERVER['SCRIPT_NAME'] does exist in Smarty.class.php 2010-01-25 19:02:34 +00:00
Uwe.Tews 8defafbb14 - bugfix cache resource was not loaded when caching was globally off but enabled at a template object 2010-01-25 18:10:35 +00:00
Uwe.Tews e89c15d65d - new method $smarty->createData([$parent]) for creating a data object (required for bugfixes below)
- bugfix config_load() method now works also on a data object
- bugfix get_config_vars() method now works also on a data and template objects
- bugfix clear_config() method now works also on a data and template objects
2010-01-22 16:39:30 +00:00
Uwe.Tews cfea085629 - bugfix on plugins if same plugin was called from a nocache section first and later from a cached section 2010-01-19 17:01:10 +00:00
Uwe.Tews 2c570f25b9 - bugfix on $smarty.const... in double quoted strings 2010-01-17 15:52:37 +00:00
Uwe.Tews f11e4e40bc - internal change of config file lexer/parser on handling of section names
- bugfix on registered objects (format parameter of register_object was not handled correctly)
2010-01-16 12:03:53 +00:00
Uwe.Tews da2f22438c - allow special characters in config file section names for Smarty2 BC 2010-01-14 22:05:32 +00:00
Uwe.Tews 383e4bb4ae - revert handling of newline on no output tags like {if...} 2010-01-14 20:57:27 +00:00
Uwe.Tews 13444e9781 - bugfix on special Smarty variable $smarty.cookies 2010-01-14 19:12:14 +00:00
Uwe.Tews db2c655322 - bugfix allow absolute filepath for config files 2010-01-14 16:43:43 +00:00
Uwe.Tews ecfc492298 - bugfix on backslash within single quoted strings 2010-01-14 15:57:09 +00:00
Uwe.Tews 19c0e47495 - bugfix on {if} tags 2010-01-13 15:33:54 +00:00
Uwe.Tews 51ed5b7861 - closed possible security hole at <?php ... ?> tags
- bugfix of config file parser on large config files
2010-01-12 22:12:19 +00:00
Uwe.Tews db887adc37 - bugfix the {function..} tag did not accept the name attribute in double quotes 2010-01-12 20:37:05 +00:00
Uwe.Tews f83fd47acc - changed back modifer handling in parser. Some restrictions still apply:
if modifiers are used in side {if...} expression or in mathematical expressions 
    parentheses must be used.
2010-01-12 19:05:26 +00:00
Uwe.Tews aabc4352c2 - added optional nocache attribute to {block} tags in parent template
- updated <?php...?> handling supporting now heredocs and newdocs. (thanks to Thue Jnaus Kristensen)
2010-01-11 20:44:01 +00:00
Uwe.Tews e912e731bc - added missing support of insert plugins 2010-01-11 20:22:41 +00:00
Uwe.Tews cdd2aae582 - added \n to the compiled code of the {if},{else},{elseif},{/if} tags to get output of newlines as expected by the template source 2010-01-11 17:58:10 +00:00
Uwe.Tews 64503880b3 - added \n to the compiled code of the {/if} tag to get output of newlines as expected by the template source 2010-01-11 17:36:37 +00:00
Uwe.Tews a3459b2e3a - bugfix on nocache {block} tags in parent templates 2010-01-09 19:23:35 +00:00
Uwe.Tews 6c020763a8 - bugfix on variable filters. filter/nofilter attributes did not work on output statements 2010-01-08 15:54:21 +00:00
Uwe.Tews 17a8c7f0a2 - bugfix on file dependendcy at template inheritance
- bugfix on nocache code at template inheritance
2010-01-07 19:33:18 +00:00
Uwe.Tews 1227de42cc - bugfix for custom delimiter at extends resource and {extends} tag 2010-01-06 18:48:50 +00:00
Uwe.Tews ceb4cb75c7 - bugfix for custom delimiter at extends resource and {extends} tag 2010-01-06 17:31:59 +00:00
Uwe.Tews 57fd94ddb1 - fixed typo in smarty_internal_resource_registered 2010-01-06 15:52:33 +00:00
Uwe.Tews d287c6b1d9 - bugfix sha1() calculations at extends resource and some general improvments on sha1() handling 2010-01-05 21:10:25 +00:00
Uwe.Tews a6c2f5f8d4 - internal change on building cache files 2010-01-03 11:53:28 +00:00
Uwe.Tews 4519218f04 - update cached_timestamp at the template object after cache file is written to avoid possible side effects
- use internally always SMARTY_CACHING_LIFETIME_* constants
2010-01-02 12:15:04 +00:00
Uwe.Tews b5ff9e450f - bugfix for {php} tag (trow an exception if allow_php_tag = false) 2010-01-01 20:19:26 +00:00
Uwe.Tews 8c93e0765a - bugfix for obtaining plugins which must be included (related to change of 12/30/2009) 2010-01-01 12:07:36 +00:00
Uwe.Tews 72219be200 - optimization of generated code for doublequoted strings containing variables
- rewrite of {function} tag handling
  - can now be declared in an external subtemplate
  - can contain nocache sections (nocache_hash handling)
  - can be called in noccache sections (nocache_hash handling)
  - new {call..} tag to call template functions with a variable name {call name=$foo}
- fixed nocache_hash handling in merged compiled templates
2009-12-31 16:38:12 +00:00
Uwe.Tews a6c4c0b192 - bugfix for plugins defined in the script as smarty_function_foo 2009-12-30 14:26:42 +00:00
Uwe.Tews 67641b63e8 - fixed cache filename for custom resources 2009-12-29 23:46:31 +00:00
Uwe.Tews 7a8e24cfc1 - internal change on merging some data 2009-12-29 22:27:04 +00:00
Uwe.Tews 8327f57f36 2009-12-29 20:12:51 +00:00
Uwe.Tews d1969d6f56 - use sha1() for filepath encoding
- updates on nocache_hash handling
2009-12-29 20:12:11 +00:00
Uwe.Tews 589f736efa - fixed bug loading modifiers in child template at template inheritance 2009-12-28 20:46:31 +00:00
monte.ohrt 5d6b87d9a1 replace md5 with str_replace 2009-12-28 17:41:27 +00:00
Uwe.Tews 8ad3fade36 - adding md5 to nocache_hash 2009-12-28 17:02:48 +00:00
Uwe.Tews de4957a151 - update for security fixes
- make modifier plugins always trusted
2009-12-28 15:27:13 +00:00
monte.ohrt f908aa0a27 update cache logic to use secure dynamic cache id 2009-12-28 05:08:45 +00:00
monte.ohrt 55d50efb1d set default cache lifetime to 3600, BC with Smarty 2 2009-12-28 03:22:57 +00:00
Uwe.Tews 997b8cd73f - fixed bug on modifier plugins at nocache output 2009-12-27 22:26:06 +00:00
Uwe.Tews 36da15cee8 - update of getCachedTimestamp() 2009-12-27 19:12:51 +00:00
Uwe.Tews 44dd7830dd --- this is a major update with a couple of internal changes ---
- new config file lexer/parser (thanks to Thue Jnaus Kristensen)
- template lexer/parser fixes for PHP and {literal} handing (thanks to Thue Jnaus Kristensen)
- fix on registered plugins with different type but same name
- rewrite of plugin handling (optimized execution speed)
- closed a security hole regarding PHP code injection into cache files
- fixed bug in clear cache handling
- Renamed a couple of internal classes
- code cleanup for merging compiled templates
- couple of runtime optimizations (still not all done)
2009-12-27 15:06:49 +00:00
Uwe.Tews 5f02276a2a - bugfix on comment lines in config files 2009-12-19 16:57:12 +00:00
Uwe.Tews 8f7a70de38 - bugfix on comment lines in config files 2009-12-19 12:36:15 +00:00
Uwe.Tews be04e0904c - fixed {strip} handling in auto literals 2009-12-17 20:39:11 +00:00
Uwe.Tews aaa7b8f245 - bugfix of parent/global variable update at included/merged subtemplates
- encode final template filepath into filename of compiled and cached files
2009-12-17 16:58:44 +00:00
Uwe.Tews 13448b9b0b - added {include file='foo.tpl' inline} inline option to merge compiled code of aubtemplate into the calling template 2009-12-16 17:05:31 +00:00
Uwe.Tews 5385475a5e - update of changelog 2009-12-16 16:27:06 +00:00
Uwe.Tews 8d5fab37e8 - bugfix on object as array index 2009-12-15 00:02:10 +00:00
Uwe.Tews 7406a7386a - allow !$foo as value 2009-12-13 20:21:54 +00:00
Uwe.Tews b2db17992b - bugfix on single quote inside {function} tag 2009-12-12 11:51:07 +00:00
Uwe.Tews c5f8ceb5e9 - fix short append/prepend attributes in {block} tags 2009-12-12 10:50:40 +00:00
Uwe.Tews 5219139f6b - bugfix on clear_compiled_tpl (avoid possible warning) 2009-12-11 14:26:57 +00:00
Uwe.Tews 048fd5e274 - bugfix on {function} tags and template inheritance 2009-12-10 17:23:32 +00:00
Uwe.Tews bec015821a - fixed documentation of extends resource 2009-12-06 12:25:19 +00:00
Uwe.Tews 74a20f4650 - removed unneeded lexer code 2009-12-05 15:10:47 +00:00
Uwe.Tews 1723b98ce0 - fixed problem when a cached file was fetched several times 2009-12-05 13:38:09 +00:00
monte.ohrt cd5cc650d8 add automagic formatting for date() and strftime() 2009-12-05 05:30:20 +00:00
Uwe.Tews 85c8676988 - added file SMARTY2_BC_NOTES 2009-12-04 16:37:31 +00:00
Uwe.Tews 7e6da87134 - added max attribute to for loop
- added security mode allow_super_globals
2009-12-04 15:44:47 +00:00
Uwe.Tews 19413d8dab - bugfix for {$foo.$x.$y.$z} 2009-12-04 00:18:54 +00:00
Uwe.Tews 9ee61377fa - README 2009-12-03 22:50:05 +00:00
Uwe.Tews 1573bf813c - added {for $foo = 1 to 5 step 2} syntax 2009-12-03 22:39:45 +00:00
Uwe.Tews 91da0aa7fe - template inheritance: child templates can now call functions defined by the {function} tag in the parent template 2009-12-03 19:49:17 +00:00
Uwe.Tews 2c23dccf3b - use $template_class property for template class name when compiling {include},{eval} and {extends} tags 2009-12-01 22:24:31 +00:00
Uwe.Tews 7e45bcf527 - replaced most hard errors (exceptions) by softerrors(trigger_error) in plugins 2009-12-01 20:34:32 +00:00
Uwe.Tews e5cd6c8a17 - removed cache resource plugin for mysql from the distribution 2009-12-01 19:36:58 +00:00
Uwe.Tews a8a17d09e9 - fixed parsing of names of special formated tags like if,elseif,while,for,foreach
- removed direct access to constants in templates because of some syntax problems
2009-12-01 17:08:54 +00:00
Uwe.Tews 4c4ce1e5bf - update of comment 2009-11-30 21:20:09 +00:00
Uwe.Tews 89e53f6372 - allow {function} tags within {block} tags 2009-11-30 19:56:17 +00:00
Uwe.Tews 319f0c88fb - map 'true' to SMARTY_CACHING_LIFETIME_CURRENT for the $smarty->caching parameter 2009-11-30 17:52:13 +00:00
Uwe.Tews 732ab27055 - ignore compile_id at debug template
- added direct access to constants in templates
- some lexer/parser optimizations
2009-11-28 18:48:02 +00:00
Uwe.Tews 9f18a6bf62 - added comment with MYSQL create table command 2009-11-27 21:06:17 +00:00
Uwe.Tews 27d3a21fb4 - added cache resource MYSQL plugin 2009-11-27 20:46:56 +00:00
Uwe.Tews 255eec00ae - bugfix double quoted string 2009-11-27 00:43:38 +00:00
Uwe.Tews be47f5773e - fix on checking dynamic varibales with error_unassigned = true 2009-11-26 23:36:30 +00:00
Uwe.Tews 25270df6bd - correct line number on unknown tag error message
- changed {include} compiled code
2009-11-26 22:49:56 +00:00
Uwe.Tews f3f01b928a 2009-11-26 21:08:45 +00:00
Uwe.Tews 4afab27bd8 - {strip} tag functionality rewritten 2009-11-25 20:56:51 +00:00
Uwe.Tews f94acef2cc - allow null, NULL, Null 2009-11-25 16:44:02 +00:00
Uwe.Tews e80531444b - allow the following writing for boolean: true, TRUE, True, false, FALSE, False 2009-11-25 16:27:06 +00:00
Uwe.Tews 2bab2f147d - bugfix for $smarty->config_overwrite = false 2009-11-24 20:33:40 +00:00
Uwe.Tews 4925a98949 - suppress warnings on unlink caused by race conditions
- correct line number on unknown tag error message
2009-11-23 22:31:22 +00:00
Uwe.Tews 963b13b0af - fixed configfile parser for text starting with a numeric char
- the default_template_handler_func may now return a filepath to a template source
2009-11-23 16:05:30 +00:00
Uwe.Tews 631e3023cc - bugfix for empty config files
- convert timestamps of registered resources to integer
2009-11-20 21:49:20 +00:00
Uwe.Tews cc4058c633 - compiled templates are no longer touched with the filemtime of template source 2009-11-19 14:45:04 +00:00
Uwe.Tews 6b506c4b40 - allow integer as attribute name in plugin calls 2009-11-18 21:51:20 +00:00
Uwe.Tews 4e98b48c7c - make $smarty->_current_file available during compilation for Smarty2 BC 2009-11-18 17:43:39 +00:00
Uwe.Tews 4286ad068b - observe umask settings when setting file permissions
- avoide unneeded cache file creation for subtemplates which did occur in some situations
2009-11-18 17:25:18 +00:00
Uwe.Tews 7d42f5efb9 - bugfix cycle plugin 2009-11-17 20:20:17 +00:00
Uwe.Tews e081d85b79 - bugfix cycle plugin 2009-11-17 20:17:51 +00:00
Uwe.Tews 1470251f18 - renamed extend tag and resource to extens: {extends file='foo.tol'} , $smarty->display('extends:foo.tpl|bar.tpl); 2009-11-17 19:03:06 +00:00
Uwe.Tews 724a31ce11 - added {foreach $array as $key=>$value} syntax 2009-11-17 18:09:29 +00:00
Uwe.Tews a63bc0f83b - sanitize compile_id and cache_id (replace illegal chars with _)
- use _dir_perms and _file_perms properties at file creation
- new constant SMARTY_RESOURCE_DATE_FORMAT (default '%b %e, %Y') which is used as default format in modifier date_format
2009-11-17 17:46:03 +00:00
monte.ohrt 72de1a7b33 fix delimiter setting 2009-11-17 01:31:44 +00:00
monte.ohrt 5d2ed61c31 Revert delimiter code change 2009-11-17 01:29:01 +00:00
Uwe.Tews 9f505c1c23 - lexer/parser optimizations on quoted strings 2009-11-15 19:05:53 +00:00
Uwe.Tews 960fd1b3a9 - parser could run into a PHP error on wrong file attribute 2009-11-14 20:09:18 +00:00
Uwe.Tews 5b6050bf54 - fix on merging compiled templates with nocache sections in nocache includes 2009-11-14 16:20:18 +00:00
Uwe.Tews 6154717b48 - fixed locaion where outputfilters are running
- fixed config file definitions at EOF
2009-11-14 13:02:48 +00:00
Uwe.Tews d482a8b137 - bugfix modifiers on registered object tags 2009-11-14 10:40:08 +00:00
Uwe.Tews 2e70e88b0f - bugfix on merging compiled templates when source files got removed or renamed. 2009-11-14 10:08:27 +00:00
Uwe.Tews 39b25f8db8 - fix on nocache code in child {block} tags 2009-11-12 22:50:48 +00:00
Uwe.Tews da8e893358 2009-11-12 22:13:21 +00:00
Uwe.Tews e47a58fb6a - added description of template inheritance 2009-11-12 21:56:54 +00:00
Uwe.Tews f149804f3e - added scope to Smarty variables in the {block} tag compiler 2009-11-12 21:32:46 +00:00
Uwe.Tews 55b2d90fb8 - fixed variable filenames in {include_php} and {insert} 2009-11-12 17:20:42 +00:00
Uwe.Tews 7af23e23b6 - changed debugging handling 2009-11-11 22:09:06 +00:00
Uwe.Tews ad70b964cb - removed checking for reserved variables 2009-11-11 16:54:04 +00:00
Uwe.Tews ba6ba0cf8d - fixed {foreachelse}, {forelse}, {sectionelse} compiled code at nocache variables 2009-11-11 16:15:47 +00:00
Uwe.Tews d35746dd26 - fixed preg_qoute on delimiters 2009-11-10 16:04:32 +00:00
Uwe.Tews 60601acc25 2009-11-09 21:50:11 +00:00
Uwe.Tews 039d9044da 2009-11-09 21:22:28 +00:00
Uwe.Tews 6f7896c87b - bugfix for {function} block tags in included templates 2009-11-09 20:56:50 +00:00
Uwe.Tews 9f77baac25 - new SMARTY_SPL_AUTOLOAD constant to control the autoloader option 2009-11-09 17:26:59 +00:00
Uwe.Tews ff8c1050e4 - lexer/parser bugfix 2009-11-09 16:30:56 +00:00
Uwe.Tews 2e61999def - fixed alphanumeric array index 2009-11-08 21:01:22 +00:00
Uwe.Tews ce18a4cc15 - bugfix on complex double quoted strings 2009-11-08 16:17:51 +00:00
Uwe.Tews 6a9924162b - lexer/parser fix for null,true,false as array index 2009-11-06 17:40:20 +00:00
Uwe.Tews b7876e55ec - register only smartyAutoload 2009-11-06 16:51:46 +00:00
monte.ohrt 3386b94e15 change linefeed style to native on all files 2009-11-06 14:35:00 +00:00
Uwe.Tews 5c2b897534 - config_load method can now be called on data and template objects 2009-11-05 18:22:40 +00:00
Uwe.Tews db0767a71e - bugfix on complex indexed special Smarty variables 2009-11-04 17:54:00 +00:00
Uwe.Tews caac4bb841 - added typecasting support for template variables 2009-11-04 16:03:25 +00:00
Uwe.Tews 94b80e892b - renamed function names of autoloaded Smarty methods to Smarty_Method_....
- new security_class property (default is Smarty_Security)
2009-11-03 20:38:38 +00:00
Uwe.Tews 05c64b7748 - fixed file dependency for {incude} inside {block} tag
- fixed not compiling on non existing compiled templates when compile_check = false
2009-11-03 18:02:13 +00:00
monte.ohrt 4babb2e550 add smarty property, fix typo 2009-11-03 15:51:29 +00:00
monte.ohrt 23c4e77f14 fix typo 2009-11-03 15:46:22 +00:00
Uwe.Tews bbbb5e098e - fixed parser error on objects with special smarty vars 2009-11-03 15:23:18 +00:00
Uwe.Tews 67af69cbb1 - throw exception on illegal Smarty() constructor calls 2009-11-02 23:04:10 +00:00
Uwe.Tews 7409a9061d - remove last change for unquoted attribute values 2009-11-02 22:25:35 +00:00
monte.ohrt 182e40d4e9 remove tabs 2009-11-02 21:20:36 +00:00
monte.ohrt 469975c237 remove tabs 2009-11-02 21:19:57 +00:00
monte.ohrt 6eb95b0b30 update README 2009-11-02 21:14:10 +00:00
Uwe.Tews 15ee358dd7 - change on unquoted attribute values 2009-11-02 20:21:28 +00:00
Uwe.Tews 8d6607d410 - added neq,lte,gte,mod as aliases to if conditions 2009-11-02 17:49:57 +00:00
monte.ohrt b48f460a63 fix spl_autoload when autoloaders exist 2009-11-01 16:26:06 +00:00
Uwe.Tews cf379474fd - change of filenames in sysplugins folder for internal spl_autoload function
- lexer/parser changed for increased compilation speed
2009-10-31 00:44:58 +00:00
monte.ohrt 6efbb3ee58 fix typo 2009-10-29 14:02:21 +00:00
monte.ohrt 466805978c add SVN Id 2009-10-29 13:39:02 +00:00
monte.ohrt 1374718163 add $Rev$ to version number 2009-10-29 13:37:10 +00:00
Uwe.Tews 100d72ffbe - fixed missing quotes in include_php.php 2009-10-28 15:37:50 +00:00
Uwe.Tews fa9290135f - pass {} through as literal 2009-10-27 20:25:16 +00:00
Uwe.Tews 5584d80b98 - fixed typo in method.register_resource 2009-10-27 16:25:15 +00:00
Uwe.Tews eddbf62d03 - merge only compiled subtemplates into the compiled code of the main template 2009-10-26 20:36:26 +00:00
uwe.tews 6c7c18d79f - fixed merging of recursive includes 2009-10-24 09:27:53 +00:00
uwe.tews f88b868d5a - fixed nocache vars at internal block tags 2009-10-24 08:41:54 +00:00
uwe.tews 4914c90e9a - fixed nocache var problem 2009-10-23 16:49:21 +00:00
uwe.tews 8dd550f216 - fixed nocache var problem 2009-10-23 15:14:33 +00:00
uwe.tews 28f883ca8e - fixed nocache var problem 2009-10-22 23:05:14 +00:00
Uwe.Tews ecb5c84d5d - fix trimwhitespace outputfilter parameter 2009-10-22 13:08:43 +00:00
Uwe.Tews 60d1a30791 - fixed nocache variable inside if condition of {if} tag 2009-10-21 18:26:14 +00:00
Uwe.Tews 530c4bf108 - fixed function definitions on some autoloaded methods 2009-10-21 16:13:20 +00:00
Uwe.Tews 5fe16d23f0 - fixed file dependency for config files
- some code optimizations
2009-10-21 15:19:00 +00:00
Uwe.Tews 4a68612a5a - added {$foo++}{$foo--} syntax
- buxfix changed PHP "if (..):" to "if (..){" because of possible bad code when concenating PHP tags
- autoload Smarty internal classes
2009-10-21 09:49:43 +00:00
Uwe.Tews dc592e5a44 - check at compile time for variable filter to improve rendering speed if no filter is used
- fixed bug at combination of {elseif} tag and {...} in double quoted strings of static class parameter
2009-10-20 17:09:22 +00:00
Uwe.Tews fad5c12f3a - fixed compiled template merging on variable double quoted strings as name 2009-10-19 20:25:47 +00:00
Uwe.Tews 7189a3db28 - fixed bug in caching mode 2 and cache_lifetime -1 2009-10-19 18:32:35 +00:00
Uwe.Tews 88229447d1 - fixed modifier support on block tags 2009-10-19 14:36:57 +00:00
Uwe.Tews 5b554f80a4 new experimental version of compile_directory method 2009-10-17 14:40:02 +00:00
Uwe.Tews 72a04fe699 once again include template with variable name 2009-10-17 13:09:31 +00:00
Uwe.Tews cd321f4bd6 - problem with variable names of included templates 2009-10-17 12:11:00 +00:00
Uwe.Tews e73de1713b - bugfix on variable include filename 2009-10-17 10:41:12 +00:00
Uwe.Tews 402e3f4272 - remove ?>\n<?php and ?><?php sequences from compiled template 2009-10-17 03:36:47 +00:00
Uwe.Tews 81ebefccea experimental compile_directory method 2009-10-17 02:02:28 +00:00
Uwe.Tews b8837aecba - parser bugfix on array access 2009-10-16 16:54:25 +00:00
Uwe.Tews 395131c2d0 - buxfix on assigning array elements inside templates 2009-10-16 13:13:33 +00:00
Uwe.Tews 0fe0ad55c9 - allow bit operator '&' inside {if} tag
- implementation of ternary operator
2009-10-15 21:00:23 +00:00
Uwe.Tews fb29f74f3d added missing file 2009-10-15 13:51:41 +00:00
Uwe.Tews 5be5d4cf28 - do not recompile evaluated templates if reused just with other data
- recompile config files when config properties did change
- some lexer/parser otimizations
2009-10-13 19:44:38 +00:00
Uwe.Tews 526337aa23 - allow {block} tags inside included templates
- bugfix for resource plugins in Smarty2 format
- some optimizations of internal.template.php
2009-10-12 14:37:31 +00:00
Uwe.Tews 7afa8dce66 - fixed bug when template with same name is used with different data objects
- fixed bug with double quoted name attribute at {insert} tag
- reenabled assign_by_ref and append_by_ref methodes
2009-10-11 20:23:00 +00:00
Uwe.Tews 9eab32ff60 - removed block nesting checks for {capture} 2009-10-07 20:24:17 +00:00
Uwe.Tews 6869fa9a49 - bugfix on {insert} 2009-10-07 15:52:57 +00:00
Uwe.Tews e62d6baa2a - added support of "isinstance" to {if} tag
- bugfix in PHP resource
2009-10-05 18:55:22 +00:00
Uwe.Tews 585c115c94 - internal changes to improve performance
- fix registering of filters for classes
2009-10-04 18:12:30 +00:00
Uwe.Tews 9cc1533ac0 - update of README 2009-10-02 20:48:46 +00:00
Uwe.Tews 3c4b99ca34 -update of README 2009-10-02 15:30:32 +00:00
monte.ohrt c4b46fe7c8 update for beta 2009-10-02 14:43:55 +00:00
Uwe.Tews 84a1428bf7 - removed default timezone setting 2009-10-01 17:09:49 +00:00
Uwe.Tews c55e606278 - added missing file 2009-09-30 22:16:14 +00:00
Uwe.Tews b85d0ca2db - Update of README 2009-09-30 22:06:46 +00:00
Uwe.Tews 898819dd2b - reactivated PHP resource for simple PHP templates. Must set allow_php_templates = true to enable
- {PHP} tag can be enabled by allow_php_tag = true
2009-09-30 22:03:41 +00:00
Uwe.Tews 25d4535be6 - fixed handling of template_exits methode for all resource types 2009-09-30 18:28:50 +00:00
Uwe.Tews ed6df80a8f - bugfix for other cache resources than file 2009-09-30 16:00:11 +00:00
Uwe.Tews 26949347e2 - the methodes assign_by_ref is now wrapped to assign, append_by_ref to append
- allow arrays of variables pass in display, fetch and createTemplate calls
  $data = array('foo'=>'bar','foo2'=>'blar');
  $smarty->display('my.tpl',$data);
2009-09-29 22:58:54 +00:00
Uwe.Tews 8387d1ef6f - enabled short boolean attributes {some attr} equala {some attr=true} 2009-09-29 21:40:30 +00:00
Uwe.Tews 0fdcb79ec3 - allow $tpl->display(), $tpl->fetch(); and $tpl->is_cached() calls on template objects 2009-09-29 21:00:00 +00:00
Uwe.Tews 56e01e8a45 - allow Smarty2 and Smarty3 parameter ordering on display, fetch and create template 2009-09-29 20:36:29 +00:00
Uwe.Tews 3ab56b041e - bugfix on <?php ?> tags 2009-09-29 18:52:58 +00:00
Uwe.Tews 6a5f07a1ad - lexer fix for multiline <?php ...?> tags 2009-09-29 17:17:41 +00:00
Uwe.Tews 1af2723de9 - changed {php} tag handling
- removed support of Smarty::instance()
- removed support of PHP resource type
- improved execution speed of {foreach} tags
- fixed bug in {section} tag
2009-09-29 16:23:35 +00:00
Uwe.Tews 4faa5eff33 - reload of {section} tag fix 2009-09-27 17:58:33 +00:00
Uwe.Tews 97278555f7 - bugfix for {literal} tag inside comment 2009-09-26 23:06:57 +00:00
Uwe.Tews 441c1aa978 - update of $smarty->test() methode 2009-09-26 10:38:24 +00:00
Uwe.Tews d2aeb81188 - bugfix on {section} tag 2009-09-26 10:32:36 +00:00
Uwe.Tews 324276f7fa - improvements and bugfix on {include} tag handling
******************************************************************
NOTICE: existing compiled template and cache files must be deleted
******************************************************************
2009-09-23 16:50:16 +00:00
Uwe.Tews 5bf063d2cc - fixed error in is_cached 2009-09-20 02:02:44 +00:00
Uwe.Tews 0e68cdd9d2 - replace internal "eval()" calls by "include" during rendering process
- speed improvment for templates which have included subtemplates
    the compiled code of included templates is merged into the compiled code of the parent template
- added logical operator "xor" for {if} tag
- changed parameter ordering for Smarty2 BC
    fetch($template, $cache_id = null, $compile_id = null, $parent = null)
    display($template, $cache_id = null, $compile_id = null, $parent = null)
    createTemplate($template, $cache_id = null, $compile_id = null, $parent = null)
- property resource_char_set is now replaced by constant SMARTY_RESOURCE_CHAR_SET
- fixed handling of classes in registered blocks
- speed improvement of lexer on text sections
2009-09-19 13:22:32 +00:00
Uwe.Tews 1c30387c96 - update extend resource 2009-09-11 18:59:48 +00:00
Uwe.Tews b360c7cb5b - bugfix {extend} tag
- bugfix of automatic literals
2009-09-11 15:11:21 +00:00
Uwe.Tews 6c5c0a156e - bugfix for very large {block} tag content 2009-09-10 23:08:06 +00:00
Uwe.Tews 11a748a6e9 - removed var_dump 2009-09-08 18:58:15 +00:00
Uwe.Tews 62061b73e2 - bugfix on clear_cache() 2009-09-08 18:54:22 +00:00
Uwe.Tews 1cdb112388 - bugfix 2009-09-01 22:04:30 +00:00
Uwe.Tews 5563fc9fd5 - dropped nl2br as plugin
- added '<>' as comparission operator in {if} tags
- cached caching_lifetime property to cache_liftime for backward compatibility with Smarty2.
  {include} optional attribute is also now cache_lifetime
- fixed trigger_error methode (moved into Smarty class)
- version is now  Beta!!!
2009-09-01 21:11:42 +00:00
Uwe.Tews 45ba48f2b6 - some speed optimizations on loading internal plugins 2009-08-30 18:10:01 +00:00
monte.ohrt 770ef89611 remove built-in exception handling, add DS as shorthand to DIRECTORY_SEPARATOR 2009-08-29 22:57:29 +00:00
Uwe.Tews bfefb8e017 - implemented caching of registered Resources
- new property 'auto_literal'. if true(default)  '{ ' and ' }' interpreted as literal, not as Smarty delimiter
2009-08-29 16:29:52 +00:00
Uwe.Tews a13ae6628c - Fix on line breaks inside {if} tags 2009-08-28 18:32:31 +00:00
Uwe.Tews 8c48521260 - fixed wrong case at require_once 2009-08-27 16:02:44 +00:00
Uwe.Tews 4331452b8e - implemented registered resources as in Smarty2. NOTE: caching does not work yet
- new property 'force_cache'. if true it forces the creation of a new cache file
- fixed modifiers on arrays
- some speed optimization on loading internal classes
2009-08-27 14:59:28 +00:00
Uwe.Tews e759f76661 - bugfix - the output of plugins was not cached
- added global variable SCRIPT_NAME
2009-08-24 19:26:31 +00:00
Uwe.Tews b688c24976 - fixed typo in lexer definition for '!==' operator 2009-08-24 15:31:31 +00:00
Uwe.Tews 5fce224f8d - fixed problems whitespace in conjunction with custom delimiters
- Smarty tags can now be used as value anywhere
2009-08-21 14:50:34 +00:00
Uwe.Tews c12c6d9471 2009-08-18 18:43:06 +00:00
Uwe.Tews eef7400f55 - definition of template class name moded in internal.templatebase.php
- whitespace parser changes
2009-08-18 16:53:33 +00:00
monte.ohrt 29fefe388c add outputfilters to see also list 2009-08-18 16:25:07 +00:00
Uwe.Tews 6e9350f7c7 - fixed parser problems 2009-08-12 16:43:37 +00:00
Uwe.Tews 9fecdb57b8 - fixed parser problems with custom delimiter 2009-08-11 18:53:23 +00:00
Uwe.Tews 0ba34008a7 - update of mb support in plugins 2009-08-10 17:52:26 +00:00
Uwe.Tews a693a00280 - fixed problems with doublequoted strings at name attribute of {block} tag
- bugfix at scope attribute of {append} tag
2009-08-09 22:03:33 +00:00
Uwe.Tews d2d8c8925b - removed all internal calls of Smarty::instance()
- fixed code in double quoted strings
2009-08-08 17:28:23 +00:00
Uwe.Tews fc9b7eef10 - bugfix of \n.\t etc in double quoted strings 2009-08-05 19:41:49 +00:00
Uwe.Tews 8b555a5903 - bugfix mb_string support 2009-08-05 19:40:48 +00:00
Uwe.Tews 83cc212060 - added syntax for variable config vars like #$foo# 2009-07-29 16:43:54 +00:00
Uwe.Tews 85998e3fca - fixed parsing of $smarty.session vars containing objects 2009-07-28 19:26:56 +00:00
Uwe.Tews 21659a76e8 - fix of "$" handling indouble quoted strings 2009-07-22 16:22:24 +00:00
Uwe.Tews 0c7113d98e 2009-07-21 17:41:16 +00:00
Uwe.Tews 51cc106811 - fix that {$smarty.current_dir} returns correct value within {block} tags. 2009-07-21 16:26:11 +00:00
Uwe.Tews 12ef15812c - drop error message on unmatched {block} {/block} pairs 2009-07-20 15:38:11 +00:00
monte.ohrt e348a33cf0 change split() to preg_split(), deprecated in php 5.3 2009-07-05 05:03:24 +00:00
monte.ohrt 243531e4a3 change split() to preg_split(), deprecated in php 5.3 2009-07-05 04:58:48 +00:00
monte.ohrt 3463a3a090 add SMARTY_EXCEPTION_HANDLER constant to determine if internal exception handling is enabled 2009-07-03 14:48:38 +00:00
Uwe.Tews b288d014f4 - fixed smarty_function_html_options call in plugin function.html_select_date.php (missing ,) 2009-07-01 20:19:04 +00:00
Uwe.Tews 18b939331e - fixed smarty_function_html_options call in plugin function.html_select_date.php 2009-06-24 16:27:42 +00:00
Uwe.Tews 581620d8cd - fix on \n and spaces inside smarty tags
- removed request_use_auto_globals propert as it is no longer needed because Smarty 3 will always run under PHP 5
2009-06-22 14:23:21 +00:00
Uwe.Tews f5aabcd47f - added $smarty.current_dir which returns the current working directory 2009-06-18 18:51:21 +00:00
Uwe.Tews b6b4d90487 - fixed compilation of block plugins when caching enabled 2009-06-18 17:46:25 +00:00
monte.ohrt 443e36f1a8 revert super global access changes, and instead use ALLOW_SUPER_GLOBALS for security measures 2009-06-17 14:39:24 +00:00
monte.ohrt c1bf89849b fix syntax error in example 2009-06-15 14:56:50 +00:00
monte.ohrt 4014a41c02 update super global access to gracefully handle unset super global vars 2009-06-15 14:04:53 +00:00
Uwe.Tews ce9a656829 - allow smarty tags within xml tags
- PHPunit update
2009-06-14 13:08:13 +00:00
Uwe.Tews ae3c3fce48 - fixed array access on super globals
- changed internal access to smarty object
2009-06-14 11:07:26 +00:00
matakagi 3bdad9eaeb sync with en. 2009-06-14 07:23:39 +00:00
matakagi 42696fcc21 sync with en. 2009-06-14 05:59:54 +00:00
Uwe.Tews 18a3bb1971 - instantiate classes of plugins instead of calling them static 2009-06-13 21:05:57 +00:00
Uwe.Tews 06ce127133 - bugfix at extend resource: create unique files for compiled template and cache for each combination of template files
- update extend resource to handle appen and prepend block attributes
2009-06-13 20:39:56 +00:00
monte.ohrt 8189261d68 update example to be css friendly 2009-06-12 14:49:25 +00:00
Uwe.Tews 30bd8f119b - fixed repeat at block plugins 2009-06-03 18:07:15 +00:00
monte.ohrt 49e154a6f9 make it clear {section} is for sequentially indexed arrays 2009-05-28 14:13:11 +00:00
Uwe.Tews d4558ca158 - fixed problem with caching of compiler plugins 2009-05-25 21:14:44 +00:00
monte.ohrt 2172df777a fix E_NOTICE Errors 2009-05-23 20:59:25 +00:00
monte.ohrt 25be1792e6 fix E_NOTICE with sessions disabled 2009-05-17 14:48:19 +00:00
monte.ohrt e11b8c6d7a rename supers to _supers 2009-05-16 23:27:22 +00:00
monte.ohrt 2919f9a608 fix problem with super globals and isset() 2009-05-16 23:23:49 +00:00
monte.ohrt 5220455ae5 update NEWS file and dev version numbers 2009-05-14 13:18:50 +00:00
Uwe.Tews 1084678645 - fixed directory separator handling 2009-05-14 10:53:28 +00:00
monte.ohrt 4e3a04b5b3 update NEWS file with math backtick fix 2009-05-13 15:38:17 +00:00
monte.ohrt c82db76539 strip backticks from math equations 2009-05-13 15:37:29 +00:00
Uwe.Tews bd6b49ee1e - syntax change for stream variables 2009-05-09 12:44:43 +00:00
Uwe.Tews 8f8111a449 - fixed bug when using absolute template filepath and caching 2009-05-09 07:04:55 +00:00
Uwe.Tews 0a64988240 - fixed bug of {nocache} tag in included templates 2009-05-08 11:34:21 +00:00
Uwe.Tews ff4619801a - allow that plugins_dir folder names can end without directory separator 2009-05-06 07:46:08 +00:00
Uwe.Tews d7a8731ac9 - fixed E_STRICT incompabilities
- {function} tag bug fix 
- security policy definitions have been moved from plugins folder to file Security.class.php in libs folder
- added allow_super_global configuration to security
2009-05-05 17:19:33 +00:00
monte.ohrt 34cadb491c disallow writing to super globals from within the template. also add ability to disable super global access with security enabled 2009-04-30 21:51:19 +00:00
Uwe.Tews 5bbc44f35d - functions defined with the {function} tag now always have global scope 2009-04-30 17:39:17 +00:00
Uwe.Tews f3c58dfa8d - allow that cache_dir can end without directory separator 2009-04-29 19:31:33 +00:00
Uwe.Tews 0b9887cc17 - allow that cache_dir can end without directory separator 2009-04-29 19:25:44 +00:00
Uwe.Tews d7093433ae - fixed problem with directory setter methodes 2009-04-29 17:56:56 +00:00
Uwe.Tews 4c794a3d70 - the {function} tag can no longer overwrite standard smarty tags
- inherit functions defined by the {fuction} tag into subtemplates
- added {while <statement>} sytax to while tag
2009-04-28 15:37:13 +00:00
monte.ohrt e7e01305bd update NEWS file regarding unreadable template source 2009-04-27 15:50:00 +00:00
monte.ohrt 7ba848416c let smarty throw error when template source is not readable 2009-04-27 15:46:54 +00:00
Uwe.Tews c724b720be - added trusted stream checking to security
- internal changes at file dependency check for caching
2009-04-26 16:56:17 +00:00
Uwe.Tews 4f4f2d3dd3 - changed name of {template} tag to {function} 2009-04-24 22:36:12 +00:00
Uwe.Tews e315782819 - added new {template} tag 2009-04-24 19:59:51 +00:00
Uwe.Tews 1ee0747801 - fixed access of special smarty variables from included template 2009-04-23 13:32:45 +00:00
Uwe.Tews d991f96423 - unified template stream syntax with standard Smarty resource syntax $smarty->display('mystream:mytemplate') 2009-04-21 22:09:17 +00:00
Uwe.Tews 453d8a23da - change of new style syntax for forach. Now: {foreach $array as $var} like in PHP 2009-04-21 18:02:34 +00:00
Uwe.Tews 380cb27945 - fixed "$foo.bar ..." variable replacement in double quoted strings 2009-04-20 20:33:14 +00:00
Uwe.Tews 73fe38c488 - fixed error in {include} tag with variable file attribute 2009-04-20 14:08:02 +00:00
Uwe.Tews 152cedb75c - added stream resources ($smarty->display('mystream://mytemplate'))
- added stream variables  {$mystream:myvar}
2009-04-18 14:46:29 +00:00
Uwe.Tews 24e3218d28 - added {if 'expression' is in 'array'} syntax 2009-04-14 12:41:07 +00:00
Uwe.Tews 1970c0cbdb - fixed compile_id handling on {include} tags 2009-04-14 11:25:45 +00:00
Uwe.Tews 3d0b7663e2 - fixed compile_id handling on {include} tags 2009-04-14 10:31:02 +00:00
Uwe.Tews 04fc33b99a - fixed append/prepend attributes in {block} tag
- added  {if  'expression' is in 'array'}  syntax
- use crc32 as hash for compiled config files.
2009-04-14 09:04:15 +00:00
Uwe.Tews 139b3d4570 - fixed scope problem with parent variables when appending variables within templates.
- fixed code for {block} without childs (possible sources for notice errors removed)
2009-04-12 22:26:02 +00:00
Uwe.Tews bdb43faab3 - update on append and prepend attribute at {block} tag 2009-04-12 05:40:30 +00:00
Uwe.Tews 62039b5e24 - added append and prepend attribute to {block} tag 2009-04-12 02:30:54 +00:00
Uwe.Tews c9b789ca32 - fixed variables in 'file' attribute of {extend} tag
- fixed problems in modifiers (if mb string functions not present)
2009-04-11 08:47:28 +00:00
Uwe.Tews ba61f12384 - check if mb string functions available otherwise fallback to normal string functions 2009-04-10 15:52:59 +00:00
Uwe.Tews 1262b7d873 - parser update 2009-04-10 14:31:23 +00:00
Uwe.Tews eace27e2b6 - added global variable scope SMARTY_GLOBAL_SCOPE
- enable 'variable' filter by default
2009-04-10 12:33:51 +00:00
Uwe.Tews 33082844a5 - fixed {$smarty.block.parent.foo} 2009-04-10 02:29:46 +00:00
Uwe.Tews 066467ca82 - implementation of a 'variable' filter as replacement for default modifier
- update of unregister_....filter methods
2009-04-10 01:15:53 +00:00
Uwe.Tews a424da0671 - syntax corrections on variable object property 2009-04-09 17:43:32 +00:00
Uwe.Tews ba74349d59 - fixed execution of filters defined by classes 2009-04-09 16:38:07 +00:00
Uwe.Tews 57d190e997 - compile the always the content of {block} tags to make shure that the filters are running over it
- syntax corrections on variable object property
- syntax corrections on array access in dot syntax
2009-04-09 15:53:52 +00:00
Uwe.Tews 8bcd6514b5 - allow variable object property 2009-04-08 14:47:28 +00:00
Uwe.Tews 9b41308bf6 - changed variable scopes to SMARTY_LOCAL_SCOPE, SMARTY_PARENT_SCOPE, SMARTY_ROOT_SCOPE to avoid possible conflicts with user constants
- Smarty variable global attribute replaced with scope attribute
2009-04-07 16:22:31 +00:00
Uwe.Tews 0ab30877db - variable scopes LOCAL_SCOPE, PARENT_SCOPE, ROOT_SCOPE
- more getter/setter methodes
2009-04-06 02:53:09 +00:00
Uwe.Tews 65f1871c98 - update of README file 2009-04-05 18:07:17 +00:00
Uwe.Tews fa3a23dace - replaced new array looping syntax {for $foo in $array} with {foreach $foo in $array} to avoid confusion 2009-04-05 17:56:04 +00:00
Uwe.Tews 827e9b08d8 - added append array for short form of assign {$foo[]='bar'} and allow assignments to nested arrays {$foo['bla']['blue']='bar'} 2009-04-05 14:49:27 +00:00
Uwe.Tews 45e2a5f0d6 - make output of template default handlers cachable 2009-04-04 19:07:42 +00:00
Uwe.Tews 228a225f5b - some fixes on yesterdays update 2009-04-04 15:46:09 +00:00
Uwe.Tews 3c5f0d56d3 - added registerDefaultTemplateHandler methode and functionallity
- added registerDefaultPluginHandler methode and functionallity
- added {append} tag to extend Smarty array variabled
2009-04-03 15:59:40 +00:00
Uwe.Tews b46b973b8e - added setter/getter methodes
- added $foo@first and $foo@last properties at {for} tag
- added $set_timezone (true/false) property to setup optionally the default time zone
2009-04-02 12:24:50 +00:00
Uwe.Tews 25e4ef7fb9 - bugfix smarty.class and internal.security_handler
- added compile_check configuration 
- added all setter/getter methodes
2009-03-31 14:20:10 +00:00
Uwe.Tews c9bbd7e834 - added all major setter/getter methodes 2009-03-30 17:05:37 +00:00
Uwe.Tews 590029c092 - code optimization at crc32 hash computation 2009-03-29 13:13:33 +00:00
monte.ohrt 0bde5c5477 revert method chaining code in compiler 2009-03-28 20:28:17 +00:00
Uwe.Tews 53e31d8162 - {block} tags can be nested now 2009-03-28 12:20:53 +00:00
Uwe.Tews 7f00b38f34 - md5 hash function replace with crc32 for speed optimization 2009-03-28 09:41:06 +00:00
Uwe.Tews e180d015ea - file order for exted resource inverted
- clear_compiled_tpl and clear_cache_all will not touch .svn folder any longer
2009-03-28 08:47:26 +00:00
Uwe.Tews 8a8766b0bd - added extend resource 2009-03-27 15:31:47 +00:00
Uwe.Tews 000e5c7892 - implemented $smarty.block.name.parent to access parent block content
- fixed smarty.class
2009-03-26 21:06:02 +00:00
Uwe.Tews 9f95d63ab7 - parser fix 2009-03-26 15:36:01 +00:00
Uwe.Tews 526d5e0388 - fixed parser not to create error on word in double quoted strings
- allow PHP  array(...)
2009-03-26 14:08:43 +00:00
Uwe.Tews 52652dd4f9 - fixed {foreachelse} and {forelse} tags 2009-03-23 15:29:50 +00:00
Uwe.Tews c20094c923 - update of paths 2009-03-22 22:36:46 +00:00
Uwe.Tews a752396d41 - updated paths in development folder 2009-03-22 22:35:10 +00:00
Uwe.Tews 0e2e7efc99 2009-03-22 17:04:35 +00:00
Uwe.Tews d88ab67260 - delete obsolete files 2009-03-22 17:03:59 +00:00
Uwe.Tews e06ebee879 - files moved in SVN 2009-03-22 16:59:03 +00:00
monte.ohrt 73f0eae241 fix path 2009-03-22 16:13:14 +00:00
monte.ohrt dcaa96a9f8 rearrange things into distribution and development directories 2009-03-22 16:09:05 +00:00
matakagi 1218813644 sync with en. 2009-02-26 03:32:15 +00:00
monte.ohrt bf27d80052 update example to not be misleading with unnecessarily detailed example code 2009-02-25 20:13:38 +00:00
monte.ohrt 22ffa6944c update example to not be too misleading with unnecessarily detailed example code 2009-02-25 20:09:09 +00:00
monte.ohrt 438e1f983e put correct php function in example 2009-01-12 20:26:56 +00:00
Martin.Filser ceb41c0262 replace from '. ' to '. ' 2009-01-05 15:44:54 +00:00
Martin.Filser de34b6b038 german docs: change fileencoding from iso-8859-1 to utf-8 2009-01-05 14:17:23 +00:00
Martin.Filser 2a7cba6b10 use utf-8 encoding in html files for all languages expect english 2008-12-24 01:35:17 +00:00
monte.ohrt 8b4eb5df10 replace all occurences of 8859-1 with UTF-8 2008-12-23 20:32:55 +00:00
monte.ohrt a2db07cb46 update version numbers in svn 2008-12-17 20:08:17 +00:00
monte.ohrt 835fd9e69d back out method chaining, some verions of PCRE throw errors 2008-12-08 15:10:03 +00:00
Uwe.Tews 9deaa6a7bf 2008-09-30 15:48:47 +00:00
monte.ohrt 1fe6ad061c patch for security, php executed in templates 2008-09-22 19:26:32 +00:00
monte.ohrt 2e61902cdf revert patch for secuity hole, update site url 2008-09-22 15:29:16 +00:00
Uwe.Tews 1cfe2b63a1 2008-09-18 21:08:54 +00:00
Uwe.Tews 7665ecf8cc 2008-09-18 21:04:38 +00:00
Uwe.Tews 4ed34dc334 2008-09-18 21:04:12 +00:00
Uwe.Tews d195b96411 - fix function injection security hole closed (U.Tews) 2008-09-18 21:03:32 +00:00
Uwe.Tews e7305a7571 2008-09-10 16:00:31 +00:00
Uwe.Tews 0e627cb83e - fix pass expiration time in cache_handler_func call. (U.Tews) 2008-09-10 15:57:27 +00:00
Uwe.Tews ece447453f 2008-09-09 15:37:20 +00:00
Uwe.Tews dcaa29dc3d 2008-09-08 22:35:24 +00:00
Uwe.Tews a21446a764 Updated to allow method chaining for PHP4 and PHP5 (U.Tews) 2008-09-08 22:31:19 +00:00
monte.ohrt e4a5b1f8fc update version numbers (again) 2008-08-15 21:14:45 +00:00
monte.ohrt 54a6a542dd update version numbers 2008-08-15 21:12:56 +00:00
monte.ohrt f780c7e132 update NEWS file 2008-08-15 19:38:01 +00:00
Uwe.Tews ad39c4dcc5 2008-08-12 18:23:17 +00:00
Uwe.Tews 1dd680df13 fix that function results can be used together with conditions like "is even" at the {if} tag (U.Tews) 2008-08-12 18:17:51 +00:00
monte.ohrt 380e0d0d6b fix problem with /e security check on arrays using regex_replace 2008-08-06 17:07:15 +00:00
monte.ohrt f9891ce80c fix bug with replacing cache tags (thanks mankyd) 2008-08-06 16:46:30 +00:00
messju 2e90a041fb fix handling of non-empty <pre>-tags and empty <textarea>- and <script>-tags 2008-07-31 13:52:48 +00:00
matakagi 24284fbb0c sync with en. 2008-07-26 18:57:19 +00:00
laggy.luke 511d135c39 Sync with EN. 2008-07-26 09:14:39 +00:00
laggy.luke 3823c751de Typo fix. 2008-07-26 09:12:54 +00:00
matakagi 2cf5338f31 sync with en. 2008-07-23 02:59:58 +00:00
monte.ohrt 52ed0cd4dd fix typo 2008-07-22 13:42:10 +00:00
laggy.luke 9c79efeb64 Fixed typo, thanks to Slava Semushin <php-coder@altlinux.org> 2008-07-13 20:29:16 +00:00
matakagi e6cae0aec3 converted ja EN-Revision tags to SVN format. 2008-05-26 08:47:23 +00:00
matakagi 63d765fb2b sync with en. 2008-05-26 01:45:21 +00:00
laggy.luke 85e2609724 Converted RU EN-Revision tags to SVN format. 2008-05-25 15:06:11 +00:00
laggy.luke 8892b1851a Updated revcheck.php to use SVN revision number format and new SVN repository layout. 2008-05-25 14:54:57 +00:00
monte.ohrt b6416ffa83 make the docs a bit more clear 2008-03-14 19:09:05 +00:00
matakagi 9ca092b9ec sync with en. 2008-03-11 23:58:17 +00:00
monte.ohrt 2b34244229 fix double quote example 2008-03-11 19:14:20 +00:00
monte.ohrt 7aa88fbace revert to last versio 2008-03-05 13:47:28 +00:00
monte.ohrt 6be653b234 remove irrelevant ? in preg pattern 2008-03-05 03:08:50 +00:00
matakagi 84b05721ed sync with en. 2008-02-27 22:53:49 +00:00
monte.ohrt ad1125ca28 fix example 2008-02-26 14:46:40 +00:00
monte.ohrt e9f7373a2b fix typo 2008-02-13 16:26:20 +00:00
monte.ohrt cc040d7350 fix bug in regex_replace where a \0 character ingores the rest of the line 2008-02-11 15:55:31 +00:00
laggy.luke 71f31c53b2 Switched Russian translation to UTF-8 2008-01-22 21:04:44 +00:00
monte.ohrt 6e252a0dcd update README with list and svn info 2008-01-04 23:49:02 +00:00
monte.ohrt f0a8d3efa3 update README with list and svn info 2008-01-04 23:43:43 +00:00
changelog 77db4c51e4 ChangeLog update 2007-09-28 01:32:05 +00:00
takagi b973cb9ef2 sync with en. 2007-09-27 20:20:40 +00:00
mohrt 874eefefc1 remove redundant attribute 2007-09-27 15:41:13 +00:00
changelog c73c0dbd57 ChangeLog update 2007-09-19 01:33:15 +00:00
messju 6d1192e7a1 removed errornous whitespace 2007-09-18 21:38:43 +00:00
adezm 1bff6b9774 Typos correction and all translated now. 2007-09-18 17:45:46 +00:00
changelog d501f76fd5 ChangeLog update 2007-09-18 01:31:42 +00:00
messju 007410ed62 added indonesian docs - thanks Zaenal Mutaqin 2007-09-17 11:26:17 +00:00
messju 2417034c6d raise pcre.backtrack_limit - thanks to takagi 2007-09-17 11:19:26 +00:00
changelog 165b899cac ChangeLog update 2007-09-17 01:31:38 +00:00
mohrt 06acedfc20 fix typo 2007-09-16 14:47:53 +00:00
changelog 7f8da3249c ChangeLog update 2007-08-23 01:31:24 +00:00
freespace a8d41e86db Sync with EN. 2007-08-22 18:37:13 +00:00
freespace ee6478305e Sync with EN. 2007-08-22 18:32:19 +00:00
changelog 6e7667676c ChangeLog update 2007-08-02 01:31:43 +00:00
mohrt 3cb64d6a44 add append feature to capture 2007-08-01 13:34:39 +00:00
changelog 42d646836c ChangeLog update 2007-06-25 01:31:48 +00:00
takagi 1184bf9eb4 sync with en. 2007-06-24 09:02:28 +00:00
messju 34864d4aef reverted accidently modified file 2007-06-24 08:59:31 +00:00
messju 0eb25cabc1 sync with en 2007-06-24 08:57:40 +00:00
messju 15a1253909 fixed link to ini_set(). thanks to Lee Yunyoung. 2007-06-24 08:27:01 +00:00
changelog de6d4ecf09 ChangeLog update 2007-06-19 01:31:42 +00:00
takagi 294369ed8e sync with en. 2007-06-18 21:06:07 +00:00
danilo 1d9a854262 Updated docs according to the changes from the previous commit 2007-06-18 20:45:33 +00:00
danilo c6a760fa7e Added the ability to (un)register multiple filters of the same type with the same method name but different class name. Before it was not possible due to the fact that only the method name was used to distinguish between different filters of the same type. This does however not allow (same as before) to register multiple filters of the same type with the same method and class name (i.e. different instances of the same class). 2007-06-18 14:29:00 +00:00
changelog d854de2074 ChangeLog update 2007-05-30 01:31:42 +00:00
messju f0c0589b08 fixed typo 2007-05-29 10:20:26 +00:00
changelog 7d64a1cde9 ChangeLog update 2007-05-12 01:31:30 +00:00
messju 2aae91c920 fixed calling registered objects' methods with an empty argument list.
thanks marcello
2007-05-11 13:45:36 +00:00
changelog 70c4c9c7d3 ChangeLog update 2007-05-04 01:31:18 +00:00
takagi cf7891ffbf sync with en. 2007-05-03 22:32:22 +00:00
mohrt 9c1674b9c7 update documentation corrections from marcello in the forums. Thanks marcello! 2007-05-03 16:01:42 +00:00
changelog 6cc859f9f1 ChangeLog update 2007-04-23 01:31:27 +00:00
changelog a48363e72f ChangeLog update 2007-04-22 01:31:28 +00:00
takagi c5b48a95dc corrected the garbled text. 2007-04-22 01:15:53 +00:00
takagi d6d2da10f5 added Japanese translation files. 2007-04-21 12:13:34 +00:00
takagi 22428e98d0 added the configuration for Japanese translation. 2007-04-21 12:07:02 +00:00
changelog acefd1f9ca ChangeLog update 2007-04-12 01:31:17 +00:00
messju dbf0068660 fixed typo 2007-04-11 07:55:55 +00:00
changelog aa99a7e7c5 ChangeLog update 2007-04-05 01:31:24 +00:00
messju 45e724e594 fixed uri for Zend Accelerator 2007-04-04 11:38:31 +00:00
changelog 1ff449e349 ChangeLog update 2007-04-04 01:31:18 +00:00
messju 7fe14a0016 fixed uris for php-accelerator 2007-04-03 08:13:51 +00:00
changelog 1f3a60219e ChangeLog update 2007-03-09 01:31:20 +00:00
mohrt 87dec363dc update version numbers 2007-03-08 19:11:22 +00:00
changelog c8b8edb5cc ChangeLog update 2007-03-08 01:31:36 +00:00
mohrt f8ddd19b9d update NEWS file with patch 2007-03-07 22:10:03 +00:00
mohrt 5c795ae7ca note the fact that section loop will accept an integer 2007-03-07 19:49:19 +00:00
changelog ba65cbf931 ChangeLog update 2007-03-07 01:31:23 +00:00
mohrt e4ed759394 fix html_select_date separator when parts are missing (thanks to kayk for the patch) 2007-03-06 20:13:55 +00:00
messju 1f2852d1da bumped version number 2007-03-06 10:40:06 +00:00
messju 5b5d10a4e2 added release headline 2007-03-06 10:37:54 +00:00
messju 190c012758 fixed detection of non-cached block when writing compiled includes 2007-03-06 10:36:01 +00:00
changelog d668ad8d8c ChangeLog update 2007-03-02 01:31:27 +00:00
danilo edf49d5570 Applied boots clean up patch and removed commented out code.
Updated NEWS file
2007-03-01 18:18:56 +00:00
changelog 3fbe48bbc3 ChangeLog update 2007-02-28 01:31:17 +00:00
danilo a03bcd353f Updated smarty_core_write_file() and smarty_modifier_date_format() to speed up Windows detection.
Emulated more parameters for Windows in smarty_modifier_date_format() and fixed some old ones.
Updated the docs to tell what parameters are emulated on Windows.
Updated NEWS file.
2007-02-27 22:22:09 +00:00
danilo a530c54720 Updated NEWS file to reflect changes commited in the last revision 2007-02-27 18:35:00 +00:00
mohrt 6cfc8e4fb8 fix typo 2007-02-27 14:30:20 +00:00
danilo a9c19850bb Modified _(push|pop)_cacheable_state() to embedd alternate syntax. See this bug report: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=10502 2007-02-27 11:14:10 +00:00
changelog cc2f68e793 ChangeLog update 2007-02-27 01:31:36 +00:00
pete_morgan fb92b3bf48 Fix incorrect var name 2007-02-26 18:27:17 +00:00
changelog d7ad4c4c8d ChangeLog update 2007-02-24 01:31:21 +00:00
mohrt b90563045e escape creating of language=php from interleaving 2007-02-23 19:40:01 +00:00
mohrt 2c90488fd2 add removed line back in 2007-02-23 16:28:34 +00:00
mohrt 5a1db056c7 fix up last patch, remove unnecessary lines 2007-02-23 16:18:02 +00:00
mohrt 6afa5118b4 fix situation when no compiled tags are present 2007-02-23 15:41:56 +00:00
mohrt 7d334255b7 fix problem with php open tags generated from tag interleaving 2007-02-23 14:24:10 +00:00
changelog ce2c6efffe ChangeLog update 2007-02-07 01:31:18 +00:00
boots a9ca05f90a Correct default template handler function example. 2007-02-06 18:32:32 +00:00
changelog ed2fdb7539 ChangeLog update 2007-01-18 01:31:19 +00:00
messju befdff26d8 fixed handling of $etc in the truncate modifier when $etc is longer
than $length.

thanks to Sylvinus!
2007-01-17 22:10:01 +00:00
changelog 181dd87df4 ChangeLog update 2007-01-11 01:31:17 +00:00
boots 72a44bbbf6 fix handling of %I with mysql timestamps
Thanks to Danilo Buerger
2007-01-10 18:55:58 +00:00
boots 89eb4509c0 fix handling of %I with mysql timestamps
Thanks to Danilo Buerger
2007-01-10 18:12:11 +00:00
boots f30371dff9 Better recognize Windows filesystems to reduce warnings 2007-01-10 16:28:38 +00:00
boots aae3f2e702 Emulate %R in the date_format modifier on Windows
Thanks to Danilo Buerger
2007-01-10 16:25:23 +00:00
changelog 92e4c7c7f4 ChangeLog update 2006-12-11 01:31:21 +00:00
yannick ae0cfaa92c fix build 2006-12-10 07:28:39 +00:00
yannick a2230d53da sync with EN 2006-12-10 06:21:27 +00:00
changelog 8d21a2eed3 ChangeLog update 2006-12-03 01:31:23 +00:00
pete_morgan d4835d1dca Tidy example, speeling andd add links 2006-12-02 22:20:09 +00:00
pete_morgan 990948700c Add/correct entities 2006-12-02 22:19:21 +00:00
pete_morgan 7287183e1d Fix entities (strange) 2006-12-02 22:18:14 +00:00
changelog cdd42226d6 ChangeLog update 2006-12-02 01:31:19 +00:00
mohrt 5c14c2c053 update dev version numbers 2006-12-01 15:40:05 +00:00
changelog f3e6ef28f5 ChangeLog update 2006-12-01 01:31:17 +00:00
boots 46fbf65257 Fixed replacement bug introduced in trimwhitespaces output filter that
was introduced in the last release.

Thanks to Spuerhund from the forums.
2006-12-01 01:09:31 +00:00
boots bead1d6696 Fixed replacement bug introduced by last changes.
Thanks to Spuerhund from the forums.
2006-12-01 01:06:13 +00:00
mohrt 07683a4a9c update dev version numbers, fix manual typo 2006-11-30 17:01:28 +00:00
changelog 266340b313 ChangeLog update 2006-11-23 01:31:37 +00:00
freespace a5fd1487a3 sync with EN 2006-11-22 14:56:35 +00:00
freespace c5b1d2692c replaced hardcoded path separator with PATH_SEPARATOR constant 2006-11-22 14:41:10 +00:00
changelog 7727c03141 ChangeLog update 2006-11-21 01:31:26 +00:00
boots 60c143f144 fix depth formatting of arrays and objects in modifier debug_print_var 2006-11-20 21:04:17 +00:00
changelog 7a14682510 ChangeLog update 2006-11-11 01:31:53 +00:00
messju 31b780f16d fixed typo. thanks jonez. 2006-11-10 15:26:43 +00:00
changelog f10b23465b ChangeLog update 2006-11-09 01:31:44 +00:00
boots 6f0d444d50 change file writing semantics in smarty_core_write_file()
This avoids unlink() unless rename() fails or a Windows system is detected

see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=6956

Thanks to c960657 from the forums.
2006-11-08 19:00:46 +00:00
changelog fdac0a409e ChangeLog update 2006-11-08 01:31:43 +00:00
boots 688363bb54 update debug.tpl to xhtml 1.1 compliance, fix javascript escaping in debug output and apply a Smarty based color scheme
see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=7178

thanks to cybot from the forums!
2006-11-07 20:57:34 +00:00
boots 35640e573f enhance reporting precision of debug_print_var modifier
see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=9281

thanks to cybot from the forums
2006-11-07 20:32:56 +00:00
changelog 164bd76107 ChangeLog update 2006-11-02 01:31:23 +00:00
boots 9618565d46 make html_select_date work consistently with 0000-00-00 00:00:00 and 0000-00-00 inputs
Thanks to cybot from forums
2006-11-01 20:35:08 +00:00
changelog 650dc6539a ChangeLog update 2006-10-17 01:31:24 +00:00
freespace 6f715dd43c minor typo fix - &$class doesn't make sense. 2006-10-16 16:13:53 +00:00
changelog 05056e5c8c ChangeLog update 2006-10-15 01:31:21 +00:00
yannick ed85b34ce6 sync with EN 2006-10-14 14:54:52 +00:00
fernandoc 8edf87cdaf New Translation 2006-10-14 04:40:59 +00:00
fernandoc a0af181cda New Translations 2006-10-14 04:39:19 +00:00
fernandoc 116de5f784 Used in revcheck 2006-10-14 04:35:39 +00:00
fernandoc 32e89c932e Big update. Revision tag for all files. Some updates. Now I can update it 2006-10-14 04:29:44 +00:00
changelog 8a3f03c445 ChangeLog update 2006-10-10 01:31:28 +00:00
pete_morgan 0a851225eb Minor changes and corrections 2006-10-09 23:28:03 +00:00
pete_morgan a1c55f4b30 Minor formatting and error correction 2006-10-09 22:50:41 +00:00
pete_morgan 4820a8f636 minor formatting and changes 2006-10-09 22:35:54 +00:00
pete_morgan 3d66246282 Tidied up formatting so more readable, tidied up the install to the paths are more clear (ta jj) 2006-10-09 22:07:53 +00:00
yannick 0a9fa843fb sync with EN 2006-10-09 15:55:58 +00:00
changelog b2ed2cc288 ChangeLog update 2006-10-09 01:31:17 +00:00
yannick 0c262a8e60 fix build 2006-10-08 12:46:29 +00:00
yannick bb46b87b66 sync with EN 2006-10-08 12:39:15 +00:00
yannick a88922ae3a sync with EN 2006-10-08 10:27:27 +00:00
changelog 4c6bcbd8be ChangeLog update 2006-10-08 01:31:11 +00:00
yannick 5a7a7b43e9 sync with EN 2006-10-07 21:01:42 +00:00
yannick f4629a1aef sync with EN 2006-10-07 12:05:26 +00:00
changelog 1c80cd9cc8 ChangeLog update 2006-10-04 01:31:09 +00:00
yannick 8613486ff0 sync with EN 2006-10-03 20:48:58 +00:00
yannick 69f24113ad sync with EN 2006-10-03 20:20:06 +00:00
yannick 4821b6b597 sync with EN 2006-10-03 18:55:36 +00:00
changelog 5bec771475 ChangeLog update 2006-10-02 01:31:10 +00:00
yannick 11278302ba sync with EN 2006-10-01 20:03:00 +00:00
yannick 7e4778f53c sync with EN 2006-10-01 11:18:39 +00:00
changelog 2a9b76d540 ChangeLog update 2006-10-01 01:31:07 +00:00
yannick c5ebd65858 sync with EN 2006-09-30 15:12:18 +00:00
yannick 4a888f9b5a sync with EN 2006-09-30 10:04:12 +00:00
yannick 6fe577813b fix build 2006-09-30 09:14:40 +00:00
yannick 79bca03392 sync with EN 2006-09-30 09:12:55 +00:00
yannick e6183de5ea sync with EN
#Un biberon, un commit ! Merci Ewan ;)
2006-09-30 03:20:52 +00:00
changelog b9ae51f37f ChangeLog update 2006-09-28 01:31:12 +00:00
pete_morgan 38c4a89f1a Minor tweaks and corrections 2006-09-27 09:15:04 +00:00
pete_morgan 20b3333e4f Add literal tags to html, general formatting 2006-09-27 08:47:37 +00:00
pete_morgan acc9df9694 Tidy up of formatting 2006-09-27 07:20:56 +00:00
pete_morgan a970418813 Tidy up of formatting 2006-09-27 06:28:21 +00:00
pete_morgan 9a5853dba9 Adding some more resources 2006-09-27 04:33:29 +00:00
pete_morgan ecf7820fdc Tidy up of formatting 2006-09-27 04:32:52 +00:00
pete_morgan 409efbdd68 Tidy up some formatting 2006-09-27 03:26:52 +00:00
pete_morgan e521084a10 Tidy up of formatting 2006-09-27 01:47:51 +00:00
changelog 7a82d2caf9 ChangeLog update 2006-09-27 01:31:09 +00:00
pete_morgan 782bd58ba0 Tidy up of formatting 2006-09-27 00:54:40 +00:00
pete_morgan c9bdfdf1e5 Tidy up formatting and examples 2006-09-26 23:29:02 +00:00
pete_morgan f56effe8fd Moved recurring para for register_* 2006-09-26 22:41:21 +00:00
pete_morgan 967bbd1833 Spelling on modifiers 2006-09-26 19:32:37 +00:00
pete_morgan 046eff51f8 Tidying up some markup 2006-09-26 19:28:45 +00:00
pete_morgan 20742cea79 typo 2006-09-26 03:45:51 +00:00
pete_morgan b0507f2ab3 Tidy up formatting on variables 2006-09-26 03:44:02 +00:00
pete_morgan 253fd367bb Formatting of the basic-syntax dir 2006-09-26 02:42:08 +00:00
pete_morgan 0f7046d4d6 More formatting and cleaning up examples 2006-09-26 02:02:55 +00:00
changelog 1698b7a1e5 ChangeLog update 2006-09-26 01:31:11 +00:00
pete_morgan 937c9c7d67 Doh! removing tabs 2006-09-25 22:17:33 +00:00
pete_morgan 345a0d56fa A lot of formatting, tagging and tidy up. Some consistency at last 2006-09-25 21:47:31 +00:00
pete_morgan cffb3cf957 Major tidy up 2006-09-25 19:21:24 +00:00
pete_morgan 2a251ef091 Major tidy up, added index property and some examples 2006-09-25 18:39:31 +00:00
changelog e779800d82 ChangeLog update 2006-09-04 01:31:14 +00:00
yannick c32220d6c5 sync with EN 2006-09-03 10:03:12 +00:00
changelog d65e3acee2 ChangeLog update 2006-09-02 01:31:05 +00:00
freespace 5dc32ca99b sync with EN 2006-09-01 10:45:20 +00:00
changelog 37dab2ebe5 ChangeLog update 2006-08-26 01:31:20 +00:00
messju c5f0dad3e2 fixed wrong handling of name attribute in {insert}
thanks to Ivan Kravets for reporting this
2006-08-25 19:21:27 +00:00
messju 117173df93 fixed typo 2006-08-25 19:12:16 +00:00
changelog aae1dae93d ChangeLog update 2006-08-22 01:31:15 +00:00
freespace a0ce00f805 sync with EN 2006-08-21 09:45:04 +00:00
freespace 9db38c549d another missing dot 2006-08-21 09:44:15 +00:00
freespace ff82d8971d missing dot 2006-08-21 09:22:00 +00:00
freespace 58f4312568 missing comma 2006-08-21 09:18:59 +00:00
changelog 6c829c99d6 ChangeLog update 2006-08-20 01:31:22 +00:00
pete_morgan 3cc68f72ba avoid dupes and added remote paths 2006-08-19 01:38:46 +00:00
changelog c58074c891 ChangeLog update 2006-08-07 01:31:21 +00:00
yannick dc10f91d09 sync with EN 2006-08-06 09:55:57 +00:00
changelog 41cbc069c0 ChangeLog update 2006-08-04 01:31:16 +00:00
messju bf3f34cab1 fix false replacement of "$t" inside double quotes
thanks to checat for reporting this
2006-08-03 20:03:20 +00:00
changelog 3385c9f37d ChangeLog update 2006-07-21 01:31:16 +00:00
freespace 04cb59e09c sync with EN 2006-07-20 12:42:00 +00:00
freespace c0387dc68e incrementing EN-Revision 2006-07-20 11:58:12 +00:00
freespace 787b4b1f09 sync with EN 2006-07-20 11:56:09 +00:00
freespace 88b4bb7b34 typo 2006-07-20 11:50:27 +00:00
changelog aa1a3b3ff2 ChangeLog update 2006-07-11 01:31:06 +00:00
boots 52820c3eea fixed email address in comments 2006-07-10 17:39:54 +00:00
boots da6df3c7f1 html_table: fixed th/tr output, added hdir support for column headings,update docs to reflect new features 2006-07-10 15:37:08 +00:00
changelog bc1451baf7 ChangeLog update 2006-07-09 01:31:03 +00:00
messju b68f354f23 fix occasional notices on undefined variables 2006-07-08 08:08:29 +00:00
boots bd46e206e9 Added ability to specify column headings in {html_table}
Added th_attrs attribute which works similary to td_attr and tr_attr but
for TH elements. Changes the cols attribute to allow mixed values; a
numeric still specifies the number of columns to render but now an array
of values can be used to specify TH column values. The number of columns
is determine from the size of the array. Further, a comma-separated
string of column names can be used which is internally coverted to an
array and used as if it was specified as a normal array.

Thanks for lynlyn for the feature request.
2006-07-08 07:57:07 +00:00
changelog 39e227d079 ChangeLog update 2006-06-24 01:30:55 +00:00
boots c63f133e69 fix comments in outputfilter.trimwhitespace 2006-06-23 08:41:33 +00:00
boots d39b035391 fixed ordering of replacements in trimwhitespace output filter
Thanks to Getty from IRC for reporting this.
2006-06-23 08:34:31 +00:00
freespace 820fc04c9d sync with EN 2006-06-22 11:00:11 +00:00
changelog ebdc4e2ac4 ChangeLog update 2006-06-22 02:29:09 +00:00
boots eb3e5c3545 update mailto function plugin to work around a firefox/thunderbird escaping bug
Thanks to elijahlofgren from the forums for reporting this and providing the necessary patch
2006-06-20 19:10:56 +00:00
boots 16d9e25684 emulate %l in the date_format modifier on windows
thanks to Gibberish from the forums for reporting this
2006-06-20 16:50:41 +00:00
boots ff0f70bac8 emulate %l in the date_format modifier on windows
thanks to Gibberish from the forums for reporting this
2006-06-20 16:38:36 +00:00
boots 5f26404987 Fix handling of apostrophes in the capitalize modifier.
Thanks to asmecher from the forums for reporting this and providing a partial solution.
2006-06-14 14:14:23 +00:00
freespace 25e2139f8f sync with EN 2006-06-01 12:50:31 +00:00
changelog b4209f8831 ChangeLog update 2006-05-29 05:32:06 +00:00
mohrt c67fdfc756 update version numbers 2006-05-28 17:35:05 +00:00
changelog d4950db1d0 ChangeLog update 2006-05-26 05:32:07 +00:00
boots 4ed5b5acab un-hide hidden xml open tags 2006-05-25 14:46:18 +00:00
yannick 2cc677bfbc sync with EN 2006-05-22 08:46:06 +00:00
mohrt 5518944ab9 fix typo 2006-05-15 13:10:32 +00:00
mohrt 35df2d9136 separator NOT ignored 2006-05-12 15:36:09 +00:00
mohrt bd7c7ac8ad add "assign" attribute to docs 2006-05-12 15:31:16 +00:00
changelog 41ea8621e7 ChangeLog update 2006-05-10 05:32:04 +00:00
boots acd33fed3f separate handling of comment blocks from "special blocks" 2006-05-09 19:57:30 +00:00
boots 08daa7ba84 reverted {popup_init} as proposed change to insertion behviour was not BC 2006-05-09 19:48:54 +00:00
changelog 6909229689 ChangeLog update 2006-05-05 05:32:04 +00:00
boots f6cbf30377 Modified caching sections to remove incorrect references to $caching = true or $caching = false (replaceing with 0, 1, 2 as appropriate. Also minor wording changes. 2006-05-04 19:22:07 +00:00
boots 06d203c81e changed {popup_init} to only emit code once during a request
Thanks to TGKnIght from forums
2006-05-04 19:10:13 +00:00
messju 55d4f91e37 fixed type of "selected"-attribute.
(thanks to dexus)
2006-04-26 13:39:26 +00:00
changelog 70b524b03a ChangeLog update 2006-04-23 05:32:00 +00:00
messju 694d6ddcc2 fix handling of block-methods of registered objects
thanks to El Hombre Gris
2006-04-22 08:16:57 +00:00
freespace a19c3348a0 sync with EN 2006-04-21 10:01:03 +00:00
freespace 86b5563f0e tiny typo 2006-04-21 09:34:15 +00:00
yannick b83cedd4aa sync with EN 2006-04-19 21:01:32 +00:00
messju febbfbf7a4 fixed example 2006-04-19 10:24:48 +00:00
boots c0d90c8a08 Fixed dangling text. 2006-04-10 20:18:14 +00:00
yannick bb34c90acf sync with EN 2006-04-09 21:59:55 +00:00
mohrt f79789ff4f update wording 2006-04-06 13:23:40 +00:00
changelog 90a3fa3a7f ChangeLog update 2006-04-05 05:32:01 +00:00
mohrt 61278fea98 fix typo 2006-04-04 16:24:13 +00:00
pete_morgan 409b9b17fd Cant find the correct words ;-( 2006-04-02 14:53:28 +00:00
boots 7f0ed3cd80 Fixed broken programlisting tag 2006-04-01 22:17:50 +00:00
pete_morgan b7551b1142 tweek 2006-03-28 01:44:26 +00:00
pete_morgan cb6978197b examples 2006-03-28 01:38:42 +00:00
pete_morgan ed8ca5df46 another example 2006-03-28 01:23:16 +00:00
pete_morgan f756e42f38 added an example 2006-03-28 01:15:34 +00:00
pete_morgan 796a57cddf Boots.. hope this makes sense ! 2006-03-28 01:08:14 +00:00
pete_morgan 509e7d1029 oops 2006-03-28 01:02:25 +00:00
pete_morgan 54a0f26810 adding middle truncate example 2006-03-28 00:59:38 +00:00
pete_morgan 0103299b26 xhtml 2006-03-28 00:27:52 +00:00
pete_morgan de0eae0246 oops the sequel 2006-03-28 00:19:21 +00:00
pete_morgan 36e15ae9f7 oops 2006-03-28 00:17:27 +00:00
pete_morgan a2acf082b9 tweek 2006-03-28 00:16:33 +00:00
pete_morgan 6b920dcdb3 tweek 2006-03-27 23:58:23 +00:00
pete_morgan e06a467a6c tweeks 2006-03-27 23:57:45 +00:00
pete_morgan c1aa767b90 tweaks 2006-03-27 23:56:45 +00:00
pete_morgan aceb80eee2 typo 2006-03-26 15:04:50 +00:00
pete_morgan 44fdef7a4d Cleaned up some ws and another example 2006-03-26 14:59:10 +00:00
pete_morgan 353baf9123 tweak 2006-03-25 09:35:06 +00:00
pete_morgan 7878fd9f17 tweak 2006-03-25 09:30:23 +00:00
pete_morgan 17453595bf made more of a point of php functions as modifiers 2006-03-25 09:22:56 +00:00
freespace d6ea6e7f5a sync with EN 2006-03-24 14:45:37 +00:00
yannick 8d1de47cc0 sync with EN 2006-03-22 17:30:04 +00:00
pete_morgan e5292c7523 cvs tags update 2006-03-17 11:30:37 +00:00
pete_morgan 87e68a19c5 another example 2006-03-17 01:11:24 +00:00
pete_morgan 7227269158 undocumented mail 2006-03-17 00:12:38 +00:00
messju 9d2d109a56 sync with en 2006-03-16 13:25:46 +00:00
messju 5cd483169b sync with en (thanks to mattes) 2006-03-16 13:24:04 +00:00
pete_morgan f02dd2f052 links 2006-03-16 05:26:02 +00:00
pete_morgan c1bb0dc73d space 2006-03-16 05:04:42 +00:00
pete_morgan 19e18a4340 links 2006-03-16 05:03:05 +00:00
pete_morgan 3738556f52 link 2006-03-16 04:24:38 +00:00
pete_morgan e54b370199 tweak 2006-03-16 04:23:21 +00:00
pete_morgan 5f1722c169 unlink 2006-03-16 02:09:40 +00:00
mohrt bd9f004622 timeout should be function 2006-03-15 20:31:53 +00:00
pete_morgan 13a88cab71 more examples 2006-03-15 00:41:59 +00:00
pete_morgan 4c25a1f879 example 2006-03-14 04:12:33 +00:00
pete_morgan 5f8115ae38 tweak 2006-03-14 03:46:15 +00:00
pete_morgan b55a257945 oops again 2006-03-14 03:39:00 +00:00
pete_morgan 65631c6f67 more links 2006-03-14 03:36:31 +00:00
pete_morgan 40bd994178 tweek 2006-03-14 03:32:37 +00:00
pete_morgan 9f8633f9cc oops again 2006-03-13 23:31:02 +00:00
pete_morgan ed9da4c642 typos 2006-03-13 23:21:00 +00:00
pete_morgan e2ae392d3b even more tweaks 2006-03-13 23:13:38 +00:00
pete_morgan 41f389a848 tweaks 2006-03-13 22:49:36 +00:00
pete_morgan c88dce0fd1 tweaks 2006-03-13 22:48:14 +00:00
pete_morgan 1a65f0c0c3 tweek 2006-03-13 21:56:39 +00:00
messju 7dbe03ae40 documented assign-attribute of {html_checkboxes} 2006-03-13 14:49:07 +00:00
messju e71d0f0aad fixes <link> 2006-03-13 14:35:48 +00:00
pete_morgan ced91affda example 2006-03-13 04:05:03 +00:00
pete_morgan d56b61f796 more examples 2006-03-13 03:40:01 +00:00
pete_morgan aff1b359f1 Added some examples. Hope it helps ;-) 2006-03-13 03:07:09 +00:00
pete_morgan 3a8d0a996d Added ECMA example 2006-03-13 01:26:23 +00:00
yannick 055fddaea9 sync with EN 2006-03-11 19:45:40 +00:00
changelog 761c739378 ChangeLog update 2006-03-10 06:32:04 +00:00
mohrt 7d847cb01b update for release 2006-03-09 21:01:39 +00:00
changelog 865a048527 ChangeLog update 2006-03-09 06:31:55 +00:00
mohrt 76bc34f2ff remove delim quote 2006-03-08 14:37:37 +00:00
mohrt 76b3d6b688 fix delimiter issue 2006-03-08 14:13:08 +00:00
pete_morgan 028f70ee88 tweak 2006-03-07 19:22:49 +00:00
pete_morgan 6d224cf2cd example now has a variable also 2006-03-07 19:15:37 +00:00
pete_morgan 3bea0f73cf fix descriptions ( thanks Ginger, a Smarty newbie ) 2006-03-07 18:36:04 +00:00
pete_morgan 8f8cd0fa67 *** empty log message *** 2006-03-07 02:00:17 +00:00
pete_morgan 07ca56f901 another example 2006-03-04 15:10:13 +00:00
changelog 0016c345dc ChangeLog update 2006-03-04 06:31:55 +00:00
mohrt 8006bf79a2 use preg_replace to cover any space chars 2006-03-03 14:46:33 +00:00
mohrt d2f6f2a92b fix problem with allowing "e" modifier 2006-03-03 14:42:01 +00:00
yannick bc7dc1b9ba sync with EN 2006-02-18 17:54:23 +00:00
pete_morgan d6c762d729 more tweaks 2006-02-18 13:43:35 +00:00
pete_morgan aabfda3c63 tweaks 2006-02-18 13:18:16 +00:00
pete_morgan baa6910c46 minor tweaks 2006-02-18 12:20:54 +00:00
pete_morgan 927139b1a3 typo 2006-02-18 12:19:32 +00:00
pete_morgan c67679aa6f more linking :-) 2006-02-18 12:12:48 +00:00
pete_morgan d818812d62 minor tweaks 2006-02-18 11:53:24 +00:00
yannick 2675900078 sync with EN 2006-02-17 22:40:55 +00:00
pete_morgan 7a44764759 minor tweaks 2006-02-17 22:19:14 +00:00
yannick 00e211c1f8 sync with EN 2006-02-16 19:17:06 +00:00
freespace a05920d6a1 sync with EN 2006-02-03 09:47:05 +00:00
freespace 19b7f90608 sync with EN 2006-02-03 09:20:34 +00:00
mohrt 9a700739a7 fix date range value on %d specifier 2006-02-02 15:31:19 +00:00
freespace b23b43afba oh, tiny build fix 2006-01-31 14:30:13 +00:00
freespace e833927978 sync with EN 2006-01-31 14:27:44 +00:00
changelog 87c529494b ChangeLog update 2006-01-30 06:31:57 +00:00
messju 2fc1fd958f removed possiblity for E_NOTICE on an undefined variable in
Smarty_Compiler::_compile_if_tag() - thanks to sbeh
2006-01-29 18:11:22 +00:00
yannick e2669949c0 sync with EN 2006-01-28 20:51:46 +00:00
freespace aad206a45c sync with EN 2006-01-26 16:04:33 +00:00
mohrt 86c3403fa8 wording clarification 2006-01-23 16:58:52 +00:00
freespace c095e05f0c sync with EN 2006-01-19 13:02:39 +00:00
freespace 874009df29 tiny link fix 2006-01-19 11:21:26 +00:00
changelog 3a2fa77d50 ChangeLog update 2006-01-19 06:31:56 +00:00
mohrt f4934fdcf0 update version numbers 2006-01-18 19:02:52 +00:00
mohrt ccc52939a4 commit 2.6.12 release 2006-01-18 18:50:44 +00:00
changelog 9683f9bc3e ChangeLog update 2006-01-16 06:31:51 +00:00
messju 05ec80e72f fixed use of references $cache_attrs and $repeat in Smarty_Compiler.
php does not allow to pass an assigned by reference to a function. since php-5.1.2
the reference to the lval gets lost when passing an assignment.
2006-01-15 19:29:45 +00:00
changelog 5cc740b66f ChangeLog update 2006-01-01 06:32:14 +00:00
messju 3079a7510f fixed incompatible use of fread() in Smarty::_read_file()
it choke on php-5.1.1 and later.
thanks to andig for pointing this out.
2005-12-31 19:17:05 +00:00
freespace 4623c56762 sync with EN 2005-12-30 15:43:38 +00:00
freespace cd9d1de27c typo fix 2005-12-30 15:29:33 +00:00
freespace 6b306238c6 tiny example title correction 2005-12-23 11:19:18 +00:00
changelog bf701b85d4 ChangeLog update 2005-12-22 06:32:00 +00:00
boots e009be5640 Fix improper tokenization of certain inline math expressions.
Thanks to gerard at forums for reporting this.
2005-12-21 18:09:23 +00:00
changelog b34bfd27b5 ChangeLog update 2005-12-20 06:31:57 +00:00
nlopess f6dac55bb7 sync with phpdoc 2005-12-19 17:12:45 +00:00
messju b471731ae9 fixed problem with math in certain LC_NUMERIC locales.
thanks to wiebren for providing problem+solution.
2005-12-19 00:12:18 +00:00
changelog 2c2143711c ChangeLog update 2005-12-15 06:31:58 +00:00
yannick 0556786082 sync with EN 2005-12-14 22:09:58 +00:00
messju 5e78193424 fixed iso-latin1 special chars 2005-12-14 16:02:31 +00:00
mohrt 4f33ed7229 update version numbers 2005-12-14 14:53:55 +00:00
mohrt 291daca064 commit NEWS file for 2.6.11 2005-12-14 14:25:19 +00:00
messju 79a3b251e8 sync with en 2005-12-14 11:30:28 +00:00
messju d305c5c193 sync with en 2005-12-13 23:15:47 +00:00
messju b010868fa4 sync with en 2005-12-13 23:08:22 +00:00
messju 1090cf086a fixed example output 2005-12-13 23:07:40 +00:00
messju 06ac506417 added missing 'and' 2005-12-13 21:33:56 +00:00
messju 9dc9ad8b39 added description of 'charset' parameter 2005-12-13 21:32:42 +00:00
messju 6a55c8d916 mention that elements of $secure_dir can also be files 2005-12-13 21:32:09 +00:00
messju 5eaef9f196 added explanation of passthru feature 2005-12-13 21:31:39 +00:00
messju 8bcf265ae3 sync with en 2005-12-11 13:13:38 +00:00
yannick 95861c7804 fix build 2005-12-11 12:04:02 +00:00
yannick 531c87bf0e sync with EN 2005-12-11 11:57:32 +00:00
yannick dcf23c0dc9 Initial translation
#back to 100% YEAH ! ;)
2005-12-10 22:12:38 +00:00
yannick 5d7687ca04 sync with EN 2005-12-10 22:09:38 +00:00
yannick 5f92fc42fb sync with EN 2005-12-10 17:15:59 +00:00
yannick 65c6c7762d sync with EN 2005-12-10 15:52:46 +00:00
yannick fc93770757 sync with EN 2005-12-10 15:13:28 +00:00
yannick b008308a74 sync with EN 2005-12-10 12:42:10 +00:00
messju 14200779c1 sync with en 2005-12-10 09:33:47 +00:00
messju 7a6acedbc0 sync with en 2005-12-10 09:27:40 +00:00
messju 978d902625 sync with en 2005-12-10 09:20:24 +00:00
messju 3d26c6dc2b $caching is an int, not a boolean. 2005-12-10 09:10:27 +00:00
messju b1fcfc081e fixed typo 2005-12-10 08:55:20 +00:00
messju 9ec68204ac fixed linking 2005-12-10 08:54:14 +00:00
messju 0c9e1c3f69 sync with en 2005-12-09 19:50:41 +00:00
messju 01220d7500 changed example domain to (the highly recommended) example.com 2005-12-09 19:47:34 +00:00
messju 5c2e88127e sync with en 2005-12-09 18:59:22 +00:00
messju b98c1e542c fixed description of SMARTY_CORE_DIR
removed useless hack (why should it be in the docs, if it isn't
recommended anyway?)
2005-12-09 18:46:25 +00:00
messju fe19f13ca5 added explanation of variables' scope within {include} 2005-12-09 15:30:13 +00:00
messju 09785da22a fixed examples.
added mentioning off $security when PHP functions are used with {if}
2005-12-09 14:48:28 +00:00
changelog 5307fdc58e ChangeLog update 2005-12-09 06:54:37 +00:00
messju cdaa347533 sync with en 2005-12-08 17:38:59 +00:00
messju 52cff0a8c3 sync with en 2005-12-08 17:05:25 +00:00
boots acc355a1f2 request_use_autoglobals defaults to true since 2.6.1 2005-12-06 18:39:23 +00:00
yannick d64dd06527 sync with EN 2005-12-05 21:37:01 +00:00
yannick 496a98af7e Add missing <title> 2005-12-05 21:16:29 +00:00
yannick 89cc47613a sync with EN 2005-12-05 21:15:38 +00:00
freespace 9637007098 sync with EN 2005-12-05 17:11:58 +00:00
yannick c462c1cadb sync with EN 2005-12-04 21:46:10 +00:00
yannick 88ba6506ba sync with EN 2005-12-04 20:38:28 +00:00
yannick b955a3e840 sync with EN 2005-12-04 20:09:57 +00:00
yannick 6c48710c0e sync with EN 2005-12-04 17:56:06 +00:00
yannick 30d17ca20c sync with EN 2005-12-04 10:12:15 +00:00
mohrt 679422efd9 fix typos 2005-12-02 16:35:31 +00:00
freespace a870ff8ef3 sync with EN 2005-12-02 15:34:39 +00:00
messju 10a939a88a sync with en 2005-12-02 10:07:33 +00:00
messju adf8aa553c removed useless and confusing size-attribute from example 2005-12-02 10:02:48 +00:00
yannick 392ae0c522 sync with EN 2005-12-01 20:28:15 +00:00
messju 822d834075 sync with en 2005-11-30 14:54:39 +00:00
changelog 996fd6b60e ChangeLog update 2005-11-30 06:45:21 +00:00
messju 6665e58ecf forgot to update the strings in smarty_core_write_compiled_include()
when chaning the generated code in
Smarty_Compiler::_push_cacheable_state() and
Smarty_Compiler::_pop_cacheable_state()
2005-11-29 15:20:27 +00:00
messju 1f838f15e7 fixed code generation of non-cacheable blocks to play well with php's
"Alternative syntax" used for example in compiled {if}..{else}..{/if}
blocks.

(see: http://php.net/manual/en/control-structures.alternative-syntax.php
on "Alternative syntax")

thanks to kihara from the forum.
2005-11-29 12:22:54 +00:00
yannick 12041ebeac sync with EN 2005-11-28 21:38:36 +00:00
yannick 226db43853 sync with EN 2005-11-28 21:20:28 +00:00
changelog 42ad4e462e ChangeLog update 2005-11-27 06:51:07 +00:00
messju 3cb166ba4a fixed handling of multiple identical calls to {insert}.
the function was called multiple times, but all inserts where replaced
by the results of the first call to the insert function.
2005-11-26 16:59:02 +00:00
messju bf55612944 added credits 2005-11-26 08:34:08 +00:00
messju 4d3bb1acf7 added "closeclick" from http://www.bosrup.com/web/overlib/?Command_Reference 2005-11-26 08:30:42 +00:00
changelog f3d76842a2 ChangeLog update 2005-11-24 06:43:32 +00:00
boots fdb25e363f replace {} string access with equivalent substr() to avoid E_STRICT warnings in PHP 5.1 2005-11-23 20:36:05 +00:00
messju 3741b9d6c5 fixed parameter order 2005-11-11 16:04:43 +00:00
changelog bbbbba730b ChangeLog update 2005-11-10 06:48:23 +00:00
boots 7e4950a0f0 return valid reference in get_config_vars() when given var is non-existant 2005-11-09 15:46:37 +00:00
nlopess 9bdf158698 huge sync with english by the translator (Mario Ramirez)
thanks
2005-11-08 23:37:29 +00:00
pete_morgan d5924e7b6c made php syntax highlight work 2005-10-24 18:44:23 +00:00
pete_morgan e980e4f117 tweek 2005-10-24 18:37:46 +00:00
pete_morgan 3aa3fc2b59 added php link 2005-10-24 18:17:39 +00:00
changelog 8e5cb4679e ChangeLog update 2005-10-12 05:47:45 +00:00
mohrt daf68045ea Added author title to plugins where they don't exist. I put my name where I was the original or co-author. If there needs to be more credit given somewhere, speak up! 2005-10-11 16:22:56 +00:00
changelog d058b03d0a ChangeLog update 2005-10-11 05:46:44 +00:00
messju 70353bb9cc sync with en 2005-10-10 15:41:31 +00:00
mohrt ff428d79c0 update docs for html_image, add path_prefix 2005-10-10 14:45:34 +00:00
mohrt 093e79e61a add path_prefix to html_image, fix incorrect secure_dir error when image file is missing 2005-10-10 14:41:28 +00:00
changelog 9eb2b700d6 ChangeLog update 2005-10-05 05:46:59 +00:00
mohrt b9486857b8 remove popup example, update section var syntax 2005-10-04 15:49:00 +00:00
changelog 9deee000ed ChangeLog update 2005-09-17 05:44:12 +00:00
nlopess 086c970766 more fixes 2005-09-16 09:42:51 +00:00
nlopess e71d2ba4db fix php bug #34520: broken example display (de only) 2005-09-16 09:40:46 +00:00
pete_morgan 25fc6f44d8 added link to $debugging_ctrl 2005-09-15 07:51:42 +00:00
pete_morgan a42408e2e0 tweak 2005-09-14 19:52:50 +00:00
pete_morgan 66c5c8862d Added Windows example and a few tweaks 2005-09-14 19:42:23 +00:00
mohrt e80314db80 correct documentation wording 2005-09-14 16:01:38 +00:00
pete_morgan 4b4eb79370 tweak 2005-09-13 19:32:43 +00:00
pete_morgan 2cd09d2dae alphabetically 2005-09-13 19:09:30 +00:00
pete_morgan 2ce968b4e2 Moved description to top of page 2005-09-13 19:03:11 +00:00
pete_morgan 428b27b9f9 new example and removed prehistoric 2005-09-13 19:01:35 +00:00
pete_morgan c666426130 Moved description to top of page and some tweaks 2005-09-13 18:41:44 +00:00
pete_morgan 0cc11afe51 tweak 2005-09-13 17:56:19 +00:00
pete_morgan 21e6090661 Moved description to top of page 2005-09-13 17:53:50 +00:00
pete_morgan 2ff942755f tweaks 2005-09-13 17:44:48 +00:00
pete_morgan 00d539f522 added example 2005-09-13 17:18:59 +00:00
pete_morgan ddbf3e447a add links 2005-09-13 17:12:41 +00:00
pete_morgan 92d8d3af4f tweaks 2005-09-13 16:42:49 +00:00
pete_morgan 4d93debe1e typo 2005-09-13 16:38:56 +00:00
pete_morgan 8cbcc81a6c tweaks 2005-09-13 16:14:31 +00:00
pete_morgan 80dea9727c added @count to example 2005-09-10 13:23:59 +00:00
pete_morgan 13bcb96ac0 added php function example 2005-09-10 13:21:14 +00:00
pete_morgan 072e88aeef tweak 2005-09-10 13:18:40 +00:00
pete_morgan 57e03d6516 tweak 2005-09-10 13:04:04 +00:00
pete_morgan 37719bff34 tweak 2005-09-10 12:53:17 +00:00
pete_morgan 63391c75bc tweek 2005-09-10 12:52:18 +00:00
pete_morgan 3954d5495c tweek 2005-09-10 12:46:35 +00:00
pete_morgan aec75a2cec Added equivelant php vars 2005-09-10 12:39:06 +00:00
pete_morgan 3bf125e984 took out suprious ?> 2005-09-10 12:24:50 +00:00
pete_morgan 29a2cc1c64 tweaks 2005-09-10 11:43:21 +00:00
pete_morgan b3b6fb2198 highlight full sys path 2005-09-10 11:36:33 +00:00
yannick 1fc4d122b4 sync with EN 2005-09-03 08:53:14 +00:00
mohrt f61142ac2b fix example 2005-08-31 18:52:22 +00:00
changelog 1bea479a0d ChangeLog update 2005-08-31 05:41:03 +00:00
mohrt 49731f8e1c change default charset from utf8 to iso-8859-1 2005-08-30 21:03:23 +00:00
mohrt dcfee3d1e8 add char_set param 2005-08-30 16:24:22 +00:00
freespace c1eb728550 Sync with en. 2005-08-28 16:51:15 +00:00
changelog ce5dde957c ChangeLog update 2005-08-18 05:52:45 +00:00
mohrt c7d1cc8727 fix notice in debug security check 2005-08-17 15:27:40 +00:00
mohrt 219ec26706 fix typo 2005-08-17 14:59:25 +00:00
mohrt 56bd1fbbd0 return valid reference in get_template_vars() when given var is non-existant 2005-08-17 14:58:32 +00:00
changelog f4a53648c4 ChangeLog update 2005-08-13 05:32:38 +00:00
mohrt c847cf5547 add "urlpathinfo" escape type to escape modifier. (apache does not like %2F in the PATH_INFO) 2005-08-12 19:38:56 +00:00
changelog ec4b82b87b ChangeLog update 2005-08-06 05:38:29 +00:00
messju b2826546c3 added explanation of changed behaviour of date_format's parsing 2005-08-05 21:59:15 +00:00
mohrt 159eb19d33 update version numbers 2005-08-05 20:53:04 +00:00
changelog b2f766ce8c ChangeLog update 2005-08-05 05:40:57 +00:00
mohrt 02122ad37a update secure_dir notes 2005-08-04 21:04:40 +00:00
mohrt 13ec35d234 update truncation documentation with "middle" feature 2005-08-04 20:28:39 +00:00
mohrt a253dd2192 allow debug.tpl to work from arbitrary dir 2005-08-04 20:21:39 +00:00
messju 986640555a fixed proper escaping for literal strings passed to
Smarty_Compiler::_expand_quoted_text() by
Smarty_Compiler::_parse_var_props()
2005-08-04 19:43:21 +00:00
mohrt f96326d4a9 update changes 2005-08-03 12:44:39 +00:00
changelog cda55f5594 ChangeLog update 2005-07-28 05:32:19 +00:00
messju 51c60e9736 removed ambiguity for numeric values passed to smarty_make_timestamp().
numeric values are *always* treated as timestamps now.
2005-07-27 20:54:24 +00:00
changelog 559e04911d ChangeLog update 2005-07-19 05:32:06 +00:00
messju d1e2df731d removed E_NOTICE from Config_File::get() 2005-07-18 15:22:41 +00:00
messju aa88b07e8a removed E_NOTICE 2005-07-18 08:43:53 +00:00
nlopess d5cf305dd7 sync revcheck script with phpdoc (this adds a very usefull link to no-whitespace diff) 2005-07-13 15:37:19 +00:00
changelog 21ec9c9bfc ChangeLog update 2005-07-11 05:40:43 +00:00
yannick b5e23864a9 sync with EN 2005-07-10 19:44:16 +00:00
yannick 42a2caef1a sync with EN 2005-07-10 19:27:50 +00:00
changelog d046280643 ChangeLog update 2005-07-09 05:37:58 +00:00
messju edab07b69d fixed problems with cached templates containing nocache sections when
they where displayed multiple times during a single request
2005-07-08 18:11:22 +00:00
mohrt 96f99ccc9a correct username in NEWS file 2005-07-08 13:38:39 +00:00
mohrt b98c95a904 added passthru attribute feature to html_select_date 2005-07-08 13:36:34 +00:00
changelog e72893f839 ChangeLog update 2005-07-04 05:39:51 +00:00
yannick bc35a58953 sync with EN 2005-07-03 13:41:56 +00:00
yannick af111e0896 add information about old files 2005-07-03 08:49:02 +00:00
messju 023373f4bb sync with en 2005-06-30 08:41:15 +00:00
messju 9156b0ba22 sync with en 2005-06-28 09:45:20 +00:00
messju ae91844f8f added explanation of reset-attribute of {cycle} 2005-06-28 07:32:42 +00:00
messju 4d7485f489 sync with en 2005-06-24 09:02:38 +00:00
messju 25ec77ca15 fixed examples 2005-06-24 09:02:01 +00:00
messju 4fb8e2d9f2 corrected relation between {section} and {foreach} 2005-06-24 08:19:15 +00:00
messju 7d972f35e7 bumped EN-Revision info 2005-06-24 07:24:08 +00:00
messju 40e9b14b19 sync with en 2005-06-23 18:56:00 +00:00
messju c765bf7377 removed paragraph that may encourage using {include_php} over custom
functions. the opposite should be proposed.
2005-06-23 18:40:52 +00:00
messju c9b92b8b56 removed unnecessary require('core.rmdir.php') 2005-06-23 17:30:57 +00:00
mohrt da3f5bd648 add smarty object to function example 2005-06-22 21:33:29 +00:00
messju 445c6d45b5 sync with en 2005-06-21 11:55:27 +00:00
messju 5dc51d227d sync with en 2005-06-20 14:44:30 +00:00
messju cef4ae2676 sync with en 2005-06-18 20:07:24 +00:00
messju 61fa896989 indentation 2005-06-18 19:35:43 +00:00
messju b3bb55f143 sync with en 2005-06-17 11:38:06 +00:00
messju cba9a9730d sync with en 2005-06-17 11:27:24 +00:00
changelog a220cc996c ChangeLog update 2005-06-17 05:37:35 +00:00
messju 599b5fdeb5 sync with en 2005-06-16 18:45:28 +00:00
messju fe989a4f50 indentiation 2005-06-16 18:44:54 +00:00
messju ff249692f7 reverted example. it was good as is. 2005-06-16 17:14:40 +00:00
messju 5fd05a5a9f sync with en 2005-06-16 17:06:37 +00:00
changelog 63235971bd ChangeLog update 2005-06-14 05:32:37 +00:00
mohrt 3c55100655 add "middle" parameter to truncate modifier 2005-06-13 19:22:29 +00:00
changelog ce397ff589 ChangeLog update 2005-06-11 05:41:20 +00:00
messju 18b6f35dcc sync with en 2005-06-10 13:31:26 +00:00
messju f3f404ed33 added german livedocs.ent 2005-06-10 10:32:05 +00:00
messju 93c5f9f83b sync with en 2005-06-10 09:32:59 +00:00
messju 26d51166b9 correct markup for $compile_id parameter of display()/fetch() and for
$compile_id variable
2005-06-10 07:16:47 +00:00
changelog 29e371821c ChangeLog update 2005-06-10 05:32:57 +00:00
messju a9d7cd21f4 sync with en 2005-06-09 09:57:02 +00:00
messju 9d5ea77198 sync with en 2005-06-09 09:18:24 +00:00
messju f8a8bc3b43 fixed directoryname of 'internals'-directory 2005-06-09 08:58:20 +00:00
messju 4c4b67c8c1 sync with en 2005-06-09 07:17:51 +00:00
messju 0308b1afed sync with en 2005-06-08 16:51:56 +00:00
messju 39d31ce096 synched indent with en 2005-06-08 16:40:03 +00:00
pete_morgan f06d39f820 Fix YA type -excuse my welsh 2005-06-06 12:16:32 +00:00
pete_morgan f51a48731f Fix typo 2005-06-06 11:58:08 +00:00
pete_morgan 85e9427ea8 Clean up WS, more linking and examples 2005-06-05 19:46:19 +00:00
pete_morgan 37f610db85 Correction 2005-06-05 18:22:56 +00:00
pete_morgan 60b0355644 Another correction 2005-06-05 18:21:34 +00:00
pete_morgan 712155305d Correction to example 2005-06-05 17:56:39 +00:00
nlopess eea494dcd2 more examples, WS and linking from Peter. Thanks :) 2005-06-05 15:47:25 +00:00
messju 7ed67f0384 removed obsolete $show_info_header and $show_info_include from german docs 2005-06-01 12:39:08 +00:00
nlopess 26b3e5489e more linking and WS from Peter 2005-05-27 16:25:02 +00:00
yannick 3086de700b sync with EN 2005-05-26 18:10:32 +00:00
messju 4fffc09895 fixed whitespaces by Peter 2005-05-26 13:47:49 +00:00
nlopess b84a9d2d46 more patches from Peter: more linking and improvement of examples. thanks :) 2005-05-25 19:13:20 +00:00
yannick a35971406b sync with EN 2005-05-25 16:49:34 +00:00
changelog 0b8e24b1df ChangeLog update 2005-05-25 00:34:26 +00:00
yannick 2056eaac0e sync with EN 2005-05-24 22:13:50 +00:00
yannick dc9aadffb8 sync with EN 2005-05-24 21:06:06 +00:00
yannick 9148717677 sync with EN 2005-05-24 20:46:11 +00:00
yannick 0d9b69e03b sync with EN 2005-05-24 20:07:09 +00:00
messju efa1f78d65 updates by Peter Morgan:
more cross-linking
  better distinction between {assign} and assign() and {fetch} and fetch()
2005-05-24 14:01:49 +00:00
messju a6e4f90a69 Lots of additional cross linking by Peter. 2005-05-23 15:43:01 +00:00
nlopess 4b80984d6a another patch by Peter. some WS. 2005-05-21 12:41:15 +00:00
changelog 918ce294ad ChangeLog update 2005-05-21 00:34:55 +00:00
mohrt b954e0287a fix allowable label id characters 2005-05-20 18:11:50 +00:00
messju 06bc654021 fixed default for debug's output-attribute 2005-05-19 14:28:28 +00:00
yannick 23e779d467 sync with EN 2005-05-11 09:47:36 +00:00
yannick 1bfef29ada sync with EN 2005-05-10 21:36:53 +00:00
yannick dd858b927f sync with EN 2005-05-10 21:15:40 +00:00
yannick 610b3aa2f0 * some wz
* no tab
* add Cdata section
# make test before commit ;)
2005-05-10 21:14:36 +00:00
yannick 9d92dc1613 * some wz
* no tab
* add Cdata section
2005-05-10 20:54:42 +00:00
nlopess aeab0151bf commit Peter Morgan's patch to add more references/aka see also
some WS
2005-05-10 16:01:12 +00:00
nlopess 55dba92857 fix build.. 2005-05-10 15:09:49 +00:00
yannick 6793e12b17 * some wz
* no tab
* add Cdata section
2005-05-10 11:42:40 +00:00
freespace e48ef064fe 2005-05-09 17:34:38 +00:00
yannick 0354314d82 sync with EN 2005-05-09 16:45:23 +00:00
messju 03aec072f1 yet another crosslink by Peter Morgan. 2005-05-08 19:52:51 +00:00
messju 93426f93ac applied manual updates from Peter Morgan. he added loads of useful
crosslinks between related functions and fixed some minors.
2005-05-08 19:47:01 +00:00
changelog 575142f90e ChangeLog update 2005-05-07 00:36:32 +00:00
mohrt a778dae71a make form input label ids optional (monte) 2005-05-06 14:27:19 +00:00
changelog b0cec4acd2 ChangeLog update 2005-05-03 00:36:14 +00:00
mohrt bd60de4b42 add error message for empty if/elseif statements 2005-05-02 14:03:18 +00:00
changelog 672c55f003 ChangeLog update 2005-04-16 00:34:32 +00:00
mohrt 52b17797db cast selected value to string for comparison in html_radios 2005-04-15 16:32:30 +00:00
changelog 7665c6e51f ChangeLog update 2005-04-08 00:38:05 +00:00
messju ced18471d2 added xhtml compliance to html_select_date's year_as_text-feature
thanks to Mark West
2005-04-07 18:11:24 +00:00
messju 04a503f2cf fixed handling of selected month html_select_date
thanks to Yuri Weseman for providing problem+solution
2005-04-07 18:06:21 +00:00
nlopess 27812045a9 sync configure and file-entities scripts with phpdoc, for better windows/cygwin support 2005-04-07 16:24:35 +00:00
messju b2532a58c3 added examples to compile_id. thanks to Pete_M. 2005-04-06 19:29:49 +00:00
mohrt 8f0c1f7026 fix html_checkboxes example text 2005-04-04 16:40:02 +00:00
mohrt 9bcbd1628e fix output example for html_radios 2005-04-04 16:34:31 +00:00
changelog b1ccafb9c1 ChangeLog update 2005-04-01 01:40:30 +00:00
mohrt d13087a591 update version numbers 2005-03-31 14:57:19 +00:00
mohrt f3268df2d1 update NEWS file 2005-03-31 14:38:43 +00:00
mohrt b5c4927789 add javascript_charcode example 2005-03-31 14:34:32 +00:00
changelog 1ca6e5e09b ChangeLog update 2005-03-31 01:32:22 +00:00
messju 7ca31fe1c7 re-enabled hex-constant. i hope in a sane way this time. 2005-03-30 21:30:53 +00:00
mohrt fefc867ad6 fix function testing logic 2005-03-30 17:03:43 +00:00
mohrt 741ffd0e92 disable variable func calls completely 2005-03-30 16:48:41 +00:00
mohrt 3297026a00 disallow variable func calls when security is enabled 2005-03-30 16:45:24 +00:00
freespace 02b5f9e1b4 Sync with en. 2005-03-24 21:14:30 +00:00
changelog 2e7613df1c ChangeLog update 2005-03-23 01:35:35 +00:00
messju 5b5dcbf7b2 bumped version-number to 2.6.9-dev
added headline of 2.6.6 release to NEWS file
2005-03-22 08:45:07 +00:00
changelog e080a89a44 ChangeLog update 2005-03-22 01:34:35 +00:00
messju 77b59c19b6 maybe even better this way. thanks monte :) 2005-03-21 15:27:26 +00:00
messju f76914ec01 little more clear news-entry 2005-03-21 14:34:55 +00:00
mohrt 5f2872591b update NEWS with e-modifier removal 2005-03-21 14:24:24 +00:00
mohrt 3c8c273178 remove e-modifier 2005-03-21 14:09:50 +00:00
changelog 3c8772fe30 ChangeLog update 2005-03-20 01:36:07 +00:00
messju dde07d35fd objects don't get casted to arrays anymore in {foreach} 2005-03-19 18:28:46 +00:00
mohrt db3c310cb8 update html_options example with labels 2005-03-04 19:57:30 +00:00
nlopess 77ecfef38e make pdf TOC deeper 2005-03-02 18:30:47 +00:00
changelog 13a7e2d013 ChangeLog update 2005-02-27 01:35:29 +00:00
messju b5747d2b18 add "null" as a valid token for {if} when security is enabled 2005-02-26 21:18:48 +00:00
changelog 742ae7fdf3 ChangeLog update 2005-02-26 01:35:01 +00:00
mohrt 6b3225138a add javascript_charcode option to mailto 2005-02-25 17:08:28 +00:00
changelog 18bf77e449 ChangeLog update 2005-02-25 01:36:06 +00:00
mohrt 399b127679 update NEWS file 2005-02-24 14:38:32 +00:00
mohrt 02a7c04d88 add label ids to html_radios 2005-02-24 14:37:48 +00:00
freespace 626101b30a Sync with en. 2005-02-16 17:05:14 +00:00
nlopess 6d9dd89e1a fix charset detection in CHM 2005-02-13 22:50:06 +00:00
yannick 8b184bd7b2 sync with EN 2005-02-13 09:18:58 +00:00
mohrt 6ac55456b2 reword a bit, explain multiple plugin dirs 2005-02-11 15:58:11 +00:00
changelog d09bf041a4 ChangeLog update 2005-02-11 01:37:45 +00:00
mohrt 740fdcfd03 update with directory structure 2005-02-10 20:14:55 +00:00
nlopess ce4bb707a5 sync some pt_BR files and enhance chm index 2005-02-10 19:27:13 +00:00
nlopess fa7fb44400 sync with EN, needed for CHM building 2005-02-10 19:08:29 +00:00
nlopess ad47cf70bd fix php error in example 2005-02-10 16:52:47 +00:00
nlopess 8e3ad00914 fix chm generation 2005-02-10 16:45:18 +00:00
nlopess 78cf57939a fix non-english chm building 2005-02-10 16:36:55 +00:00
messju 6e94e1897f fixed too agressive {strip} around delimiters inside strip-blocks 2005-02-10 15:14:15 +00:00
mohrt 552e1c4491 fix a couple errors 2005-02-10 14:44:16 +00:00
nlopess 7cd6a790e0 commiting the new tools to make the CHM manual.
#ripped from phpdoc
2005-02-10 13:27:26 +00:00
changelog d3ab52625d ChangeLog update 2005-02-10 01:33:25 +00:00
nlopess a0e7b33d87 add new file by Mario Ramirez 2005-02-09 20:48:15 +00:00
nlopess 62f6ac03fe sync with en 2005-02-09 17:34:43 +00:00
messju 468ec392ee fixed handling of strip-tags with non-default delimiters 2005-02-09 14:31:18 +00:00
freespace 5c27123e8f Sync with en.
(just changed EN-Revision, as file was already up-to-date)
2005-02-05 15:36:29 +00:00
changelog b987edd4a5 ChangeLog update 2005-02-05 01:34:57 +00:00
messju f0b57a3e3b fixed syntax error. shame on me. 2005-02-04 21:29:06 +00:00
changelog d9d5668e7b ChangeLog update 2005-02-04 01:34:32 +00:00
mohrt 8f26d90f23 fix example 2005-02-03 20:37:20 +00:00
mohrt 99b843644f initial commit 2005-02-03 20:35:24 +00:00
gerald abb2a8ce28 Sync with en 2005-02-03 17:41:38 +00:00
nlopess ccded40385 change <reference> to <chapter> for consistency 2005-02-03 17:39:24 +00:00
mohrt c3e8668266 update version numbers in cvs 2005-02-03 15:14:43 +00:00
mohrt c5e1cd7185 commit version numbers for new release 2005-02-03 14:41:33 +00:00
messju 2ca677a284 sync with en 2005-02-03 05:18:43 +00:00
messju d8ce41d207 fixed comment (thanks to CirTap) 2005-02-03 05:05:16 +00:00
changelog 4e7672c4ba ChangeLog update 2005-02-02 01:33:34 +00:00
freespace f0156fd749 Sync with en. 2005-02-01 19:50:28 +00:00
mohrt 25f3eac67b update docs for border tag removal 2005-02-01 18:52:52 +00:00
mohrt af8335225b remove border tag 2005-02-01 18:51:42 +00:00
freespace 38548b974f Sync with en. 2005-02-01 18:17:58 +00:00
mohrt 6323a489a1 update examples, give more detail 2005-02-01 17:42:59 +00:00
messju c6827dee8a fixed serialization of values containing newlines (like _cache_attrs)
in core_write_cache_file()

bumped version to 2.6.6-dev-3 to indicate that the fileformat of cache
has changed
2005-02-01 10:19:08 +00:00
changelog 4fa9c7299f ChangeLog update 2005-01-31 01:35:54 +00:00
messju bd2abcbbcd fixed handling of hashed opening php-tags inside strip-blocks
(reported by titi_rafa)
2005-01-30 21:54:39 +00:00
nlopess 5740bbd371 fix build 2005-01-30 17:02:42 +00:00
changelog a37e6829fe ChangeLog update 2005-01-29 01:39:19 +00:00
messju 1345545229 escape:url now uses the (RFC 1738 compliant) rawurlencode() 2005-01-28 17:20:14 +00:00
messju e57e545e58 added a more robust implementation when removing of the trailing
'<?php '-token after toke_get_all() . this is also a workaround for
http://bugs.php.net/bug.php?id=29761
2005-01-27 08:51:21 +00:00
nlopess 853519b1c7 change to new URL 2005-01-25 20:26:23 +00:00
changelog 3c13077830 ChangeLog update 2005-01-24 01:36:15 +00:00
messju 5234d7bf5a replaced ? true : false and removed intermediate $_cookie_var in the
handling of the SMARTY_DEBUG-cookie
2005-01-23 22:19:15 +00:00
changelog a3c94c0c71 ChangeLog update 2005-01-23 01:36:26 +00:00
yannick 73889e570e update EN-Revision tag 2005-01-22 09:08:24 +00:00
changelog b6bcbb47b7 ChangeLog update 2005-01-22 01:34:46 +00:00
mohrt 9959c4f263 de-spammify e-mails 2005-01-21 17:46:15 +00:00
mohrt 215e8784b1 update copyright notices, e-mail addresses 2005-01-21 16:41:52 +00:00
freespace be3e9292a2 Sync with en. 2005-01-07 17:56:21 +00:00
gerald abebab8554 Sync with en (ALLOW_CONSTANTS) 2005-01-07 09:51:00 +00:00
gerald 7e3687ca21 Sync with en (operator ===) 2005-01-07 09:42:34 +00:00
changelog a948f0b68f ChangeLog update 2005-01-07 01:35:45 +00:00
messju cfb05b1578 reduced the code that is generated on a {foreach}-block that has a
name.

instead of pre-computing all foreach-properties (like first, last,
show) on each iteration, they are computed on demand as soon as
{$smarty.foreach.*}-variables are used.
2005-01-06 17:24:36 +00:00
messju 6e323a8df2 slight optimization in the compilation of $smarty.const.FOO .
@FOO is less code and executed slightly faster than constant('FOO').

more complex consts like $smarty.const.$name still compile to
constant($this->_tpl_vars['name'])
2005-01-06 17:17:05 +00:00
messju b891cba32f added ALLOW_CONSTANTS to list of security_settings-variables 2005-01-06 09:18:13 +00:00
messju 70e32c2db6 added identity-operator (===) to list of if-operators 2005-01-06 09:15:48 +00:00
changelog 23d83eb307 ChangeLog update 2005-01-06 01:36:11 +00:00
yannick 733e89eab9 sync with EN 2005-01-05 17:42:27 +00:00
mohrt 40db28b8d6 fix typo in example 2005-01-05 14:37:31 +00:00
messju e69c336f76 make block functions and registered objects' block methods use a
local variable for block_content instead of $this->_block_content

it's not necessary to have $smarty->_block_content accessible.
2005-01-05 10:40:11 +00:00
changelog 6cf2f83576 ChangeLog update 2005-01-05 01:36:18 +00:00
mohrt a4a54cc034 make examples easier to identify 2005-01-04 17:19:32 +00:00
mohrt 9ad2a361ba fix typo 2005-01-04 17:17:50 +00:00
yannick 8ca100ea54 sync with EN 2005-01-04 06:28:47 +00:00
freespace 4c46e9cc1c Sync with en. 2005-01-02 23:29:43 +00:00
changelog c94f667286 ChangeLog update 2005-01-02 01:36:48 +00:00
messju b3245435ab Happy new year from germany. 2005-01-01 11:58:21 +00:00
didou 33d086e3e0 Happy new year from Paris 2005-01-01 01:37:09 +00:00
changelog c2b3c4da8b ChangeLog update 2004-12-29 01:37:33 +00:00
mohrt b93ef92f07 fix _read_file comments 2004-12-28 17:24:16 +00:00
yannick 028f2c2f92 not present in EN tree 2004-12-27 09:32:41 +00:00
changelog f58e818076 ChangeLog update 2004-12-27 01:35:56 +00:00
yannick 6f7e0733f6 typo 2004-12-26 21:12:45 +00:00
yannick 04e7f7c5bb initial translation 2004-12-26 20:17:41 +00:00
yannick 2504b1b6c4 sync with EN & typo 2004-12-26 20:05:31 +00:00
yannick ee6a5a5cf2 sync with EN & typo 2004-12-26 17:02:12 +00:00
yannick 42fd57727b sync with EN & typo 2004-12-26 15:03:10 +00:00
freespace 0d8f2cbd36 Small fixes that were left out of attention. 2004-12-24 19:27:11 +00:00
yannick dbd9d23e4a sync with EN 2004-12-22 19:59:35 +00:00
nlopess d6ed8cc076 fix build 2004-12-22 15:47:59 +00:00
changelog f8f194b759 ChangeLog update 2004-12-22 01:36:49 +00:00
yannick 4d87f712bf sync with EN 2004-12-21 21:08:13 +00:00
yannick 4104a579bf sync with EN
#Hello all ;)
2004-12-21 20:31:42 +00:00
freespace 6d52e6b179 Sync with en. 2004-12-20 21:50:05 +00:00
mohrt 75c1349d7e update quote docs to mention modifiers must be outside quotes 2004-12-20 19:52:32 +00:00
changelog b7b32860f5 ChangeLog update 2004-12-18 01:35:41 +00:00
messju f44f5bddba fixed escaping of template-filenames in the generated code that loads
needed plugins
2004-12-17 08:30:56 +00:00
changelog e17f1177e2 ChangeLog update 2004-12-16 01:35:47 +00:00
mohrt 5efa19cf96 fix invalid HTML issue with popup 2004-12-15 20:42:05 +00:00
freespace e0db39bf29 Sync with en again. 2004-12-14 23:44:02 +00:00
mohrt 301ab36559 correct explanation of $foo->bar() 2004-12-14 20:25:44 +00:00
mohrt f4e20398f6 adjust examples/syntax 2004-12-14 14:40:32 +00:00
freespace 12c8edea5d Sync with en. 2004-12-14 05:08:43 +00:00
mohrt f945cfb61e add language-syntax-variables file 2004-12-13 20:27:22 +00:00
freespace 5bc25bf46a Sync with en. 2004-12-11 11:42:50 +00:00
changelog 2cc597e028 ChangeLog update 2004-12-07 01:32:03 +00:00
boots 639bd2c553 - fixed {popup} to properly handle inarray and function parameters and added support for mouseoff and followmouse options 2004-12-06 20:09:12 +00:00
messju 06adad9c19 added italian docs. thanks to Gianluca Gillini 2004-12-01 18:55:26 +00:00
messju 6a6b789efd corrected description of sections loop-attribute 2004-12-01 18:24:27 +00:00
freespace d8e9494f72 Added EN-Revision comment and xml declaration with proper encoding. 2004-11-25 23:32:17 +00:00
freespace e799943aba Converted all line endings from CRLF to LF.
Sorry for such a big commit, but this should be done only once.
And please, don't kill me if I did a stupid thing :)
2004-11-25 23:26:13 +00:00
freespace ea34e0e0e6 Initial translation of livedocs.ent. 2004-11-25 23:10:22 +00:00
freespace 6e690414c8 Sync with en. 2004-11-25 23:07:24 +00:00
freespace 40119eab73 Separated some template code from php code. 2004-11-25 23:01:07 +00:00
freespace 7fc981a638 Another small fix.
Although semicolon isn't required here at all, I left one to avoid confusion.
Please, correct me if I'm wrong.
2004-11-25 22:25:51 +00:00
freespace ec0dabfc77 Small typo. 2004-11-25 22:01:37 +00:00
changelog 10b6ff0464 ChangeLog update 2004-11-22 01:36:54 +00:00
didou 4d89f3077c add livedocs specific entities files 2004-11-21 20:17:02 +00:00
didou 9d4d0c08a1 Clean up:
- domain.com => example.com, as suggested by RFC 2606
- fix and introduce more dockbook tags
- fix white spaces and use CDATA sections
- add some paras to make the text more reader friendly
2004-11-21 02:04:01 +00:00
messju 659563b570 the 3rd and 4th parameter of register_function() are optional.
sry i forgot who pointed that out quite some time ago.
2004-11-18 16:32:24 +00:00
changelog 9209442c1f ChangeLog update 2004-11-17 01:37:51 +00:00
messju 07e6982d1d cleaned up typecasting 2004-11-16 08:05:21 +00:00
changelog 448a5fb06c ChangeLog update 2004-11-16 01:36:32 +00:00
messju b96c5db2ea fixed semantically misleading check for $options (use isset() instead
of is_array() because it is always an array).

thanks to albert almeida.
2004-11-15 13:03:57 +00:00
changelog 76db4e36a4 ChangeLog update 2004-11-09 01:49:45 +00:00
messju 50c81af919 removed unused code 2004-11-08 08:26:16 +00:00
freespace 89a66e5e2f Sync with en. 2004-11-08 07:30:14 +00:00
didou 2b45953b32 sync with en 2004-11-08 02:10:34 +00:00
didou 9860831eb2 typo 2004-11-08 02:09:24 +00:00
freespace 49508266c5 Humbly added myself to the translators list in bookinfo.xml :)
"Refactored" (rephrased, corrected and some WS fixed) files from ru root.
2004-11-06 11:05:22 +00:00
nlopess 2ce0bc6c61 sync es docs
by Mario Ramirez
2004-11-05 22:44:50 +00:00
freespace 89b11c08c6 Sync with en. 2004-11-05 21:33:57 +00:00
gerald f04e40625b Added CData in examples (according to the TODO) 2004-11-01 18:14:22 +00:00
gerald 092fac3bbe Added note about the last parameter, sync revision info 2004-11-01 18:05:10 +00:00
gerald a655411a17 fixed example 2004-11-01 17:58:44 +00:00
gerald 87623a42f9 Fixed example (selected=selected), btw, added CDATA tags for programlisting & screen in the examples 2004-11-01 17:55:34 +00:00
gerald 36eabf3374 Fixed sync 2004-11-01 17:47:43 +00:00
gerald 79d369a008 Added more explanations 2004-11-01 17:43:47 +00:00
gerald 16112e895f Sync with en 2004-11-01 17:34:01 +00:00
freespace 0f112ac869 Reverted datatypes back to english. 2004-11-01 16:02:39 +00:00
freespace c2e0810d2c Sync with en + some typo fixes. 2004-11-01 15:56:12 +00:00
messju 9c408b06af fixed example 2004-11-01 10:42:34 +00:00
messju a66511eb45 fixed examples. tanks to luca200 2004-11-01 10:41:38 +00:00
messju 9fb3387867 fixed explanation of time-attribute. thanks to luca200. 2004-11-01 10:28:59 +00:00
messju 6a799bb608 removed mentioning of deprecated "checked"-attribute 2004-11-01 10:10:37 +00:00
didou 3fc6d90513 Only display headers if needed
# patch by George
2004-10-29 14:23:22 +00:00
didou e50da48229 fix a small typo 2004-10-29 14:18:12 +00:00
gerald 56786ce41a added CDATA,
fixed variable-names
2004-10-29 11:58:15 +00:00
freespace b6ff9101e6 Sync with english. 2004-10-29 11:40:32 +00:00
messju 1eb719c89f fixed variable-names in example. thanks to Hpatoio 2004-10-29 10:00:55 +00:00
didou 029c99280d fix build for now 2004-10-28 14:58:37 +00:00
didou e03a395c38 sync with en
# there's a little make problem, I'll fix this later
2004-10-27 10:43:43 +00:00
changelog d40bcb8883 ChangeLog update 2004-10-26 00:51:07 +00:00
didou fcf28af316 missing space 2004-10-25 11:21:53 +00:00
didou ba565f1375 sync with en 2004-10-25 11:20:46 +00:00
didou 01cd0ac2e4 use unified diff 2004-10-25 11:13:34 +00:00
freespace c27f0cfcb8 Sync with english. 2004-10-23 08:13:41 +00:00
mohrt 99161e7667 update docs to reflect /core/ -> /internals/ directory name change 2004-10-22 13:57:41 +00:00
changelog 268b63ce05 ChangeLog update 2004-10-14 00:49:42 +00:00
mohrt 55dac649d5 update header 2004-10-13 19:49:55 +00:00
mohrt 8e9b2a984c update escaping docs to translated text 2004-10-11 14:55:19 +00:00
messju 5a25bbb439 fixed build 2004-10-07 19:42:08 +00:00
mohrt 8c29cc08f0 spanish docs initial commit 2004-10-07 18:50:52 +00:00
freespace 56ed915a8b A lot of typo and context fixes by Damir Garifullin. 2004-10-05 12:26:26 +00:00
freespace 64177ea5a6 WS fix.
Examples updated.
2004-10-03 16:42:46 +00:00
nlopess f8014929e5 fix revision tags
@@arg0@
2004-10-03 09:04:23 +00:00
nlopess 7150da666f fix build 2004-10-03 08:59:03 +00:00
changelog f6a0cb864f ChangeLog update 2004-10-03 00:35:36 +00:00
messju d0929cf915 fixed nocache-handling with nested includes. there was a logical error
in the replacement of internal nocache-tags to dynamic content that
lead to false results with deeply nested includes or with
nocache-blocks inside nocache-blocks.

many thanks to Lars Jankowfsky for providing big help on reproducing
and tracking down this bug!
2004-10-02 18:03:25 +00:00
thomasgm e383d82f49 fixing revision 2004-10-02 12:49:29 +00:00
changelog 1b019c7ea5 ChangeLog update 2004-10-02 00:35:32 +00:00
messju e9c72aedce - better header for compiled includes (more in line with compiled
templates)

- reuse cache_serials if a file is compiled more than once in one
  process (force_compile)

- don't print nocache-delimiters wenn already inside
process_cached_inserts()
2004-10-01 15:26:44 +00:00
thomasgm 4465197142 Review translation, fixing tags, etc... 2004-10-01 14:39:42 +00:00
tony2001 1203342d80 typo 2004-09-30 06:40:00 +00:00
changelog cb90eb77db ChangeLog update 2004-09-30 00:41:44 +00:00
nlopess ea0842b9c8 some WS
#the sync tag is just for translation
2004-09-29 16:07:23 +00:00
tony2001 68b9065b6a minor corrections of modifier.indent:
fixed typo, converted tabs to spaces, added CDATA ...
2004-09-29 12:25:53 +00:00
messju 305bf858c1 switched from @count() to !empty() . this was pointed out a few times
by a few people with buggy error-handlers
2004-09-29 07:23:45 +00:00
messju ed30e1ad20 added some property declarations 2004-09-29 07:16:17 +00:00
changelog 29a8f095e7 ChangeLog update 2004-09-29 00:34:47 +00:00
messju ca6d58cd92 added revision tag 2004-09-28 12:29:12 +00:00
freespace 7d3dbf4312 Fresh sync + trying to level up indents as in English version. 2004-09-28 11:49:27 +00:00
messju 759e8d2b77 updates on documentation of rows, cols and inner attributes for
html_table
2004-09-28 07:52:57 +00:00
messju 3797857006 bumped up version number to reflect incompatibility in tempfiles of
'core' vs. 'internals'
2004-09-28 07:04:42 +00:00
changelog 27c12cd425 ChangeLog update 2004-09-25 00:35:09 +00:00
messju 508e177b53 fixed $start_year when no value for the year in $time is given. 2004-09-24 14:37:02 +00:00
thomasgm 7ab14ec02a review of text and changed all examples to CDATA support 2004-09-22 14:57:20 +00:00
thomasgm 88c0c2a51e fixing some ticks 2004-09-22 14:55:51 +00:00
thomasgm a5cec0716f correcting my name 2004-09-22 14:42:10 +00:00
changelog 6390720b68 ChangeLog update 2004-09-22 00:34:19 +00:00
messju a100412c5d fixed handling of "inner"-attribute 2004-09-21 19:41:21 +00:00
messju 355fd8292e fixed handling of object derefence inside backticks 2004-09-21 15:28:04 +00:00
mohrt b2da073954 committing portuguese docs updates from Thomas Gonzalez Miranda 2004-09-21 15:05:45 +00:00
messju 1a4250c21c fixed test-cases to use SMARTY_CORE_DIR 2004-09-21 14:40:53 +00:00
changelog c6ab6a45c3 ChangeLog update 2004-09-21 00:34:45 +00:00
freespace bd1961ce86 Fresh sync. 2004-09-20 21:19:31 +00:00
mohrt bd9a78d467 fix typo 2004-09-20 18:17:05 +00:00
mohrt 1ad16aba18 fix typo 2004-09-20 18:07:29 +00:00
mohrt a2057caece add <head></head> tags 2004-09-20 18:00:02 +00:00
changelog b6c813cc12 ChangeLog update 2004-09-19 00:34:22 +00:00
boots 180c0c2847 Fixed \\r\\n line endings mistakenly introduced in last commit. d'oh. 2004-09-18 02:09:35 +00:00
mohrt 698c56a2c6 update docs with "rows" attribute, rewrite vdir and hdir docs 2004-09-17 21:35:25 +00:00
freespace 4cfebee76b Fresh sync and some structure updates. 2004-09-17 21:06:26 +00:00
changelog b88d5b0174 ChangeLog update 2004-09-17 00:33:49 +00:00
boots a735f8bd2f Documented new constant, SMARTY_CORE_DIR. 2004-09-17 00:33:24 +00:00
boots a0d021ef60 Moved /libs/core to /libs/internals and created new constant, SMARTY_CORE_DIR which defaults to SMARTY_DIR/internals. This should help CVS and rsynch users butupgrades will require changes and this may affect 3rd party plugins that use the /core dir. 2004-09-16 23:07:32 +00:00
changelog dbcfb3dfbf ChangeLog update 2004-09-16 00:33:14 +00:00
messju 0580734ff9 moved $this->_num_const_regexp out of $this->_var_regexp and added it
to the places that affect $this->_var_regexp

this should fix some problems parsing plugin-names endings with digits
2004-09-15 18:58:55 +00:00
mohrt 867c47e9ec add method test cases 2004-09-15 15:05:31 +00:00
changelog 1bb41c2a9b ChangeLog update 2004-09-15 00:34:34 +00:00
messju ed00361206 update files to 2.6.6-dev 2004-09-14 07:39:01 +00:00
messju 08ecea66f4 nicer error_handler-handling with php's restore_error_handler() 2004-09-14 07:22:51 +00:00
changelog 427abe0c6d ChangeLog update 2004-09-14 00:33:41 +00:00
messju 0e74c796a2 fixed typo 2004-09-13 16:11:04 +00:00
mohrt 5e5e15f6a1 update NEWS file with parsing correction note 2004-09-13 15:53:32 +00:00
freespace a5b0fceced Finished translation and syncronized with English revision. 2004-09-12 22:46:16 +00:00
freespace b1390eb2ec Some typos fix. 2004-09-12 22:44:08 +00:00
changelog 2e30d0390e ChangeLog update 2004-09-12 00:33:39 +00:00
messju dc726ed4ff removed notice from {debug}
thanks to Peter Billen for pointing this one out!
2004-09-11 18:52:13 +00:00
messju 4e07584230 initial import 2004-09-11 07:22:23 +00:00
changelog 914e1eea50 ChangeLog update 2004-09-11 00:34:04 +00:00
mohrt 3ad2d686e9 fix more object calling syntax issues 2004-09-11 00:14:20 +00:00
messju 33adc4573e added $smarty->security_settings['ALLOW_CONSTANTS']
including test-cases for them
2004-09-10 19:15:01 +00:00
mohrt 54e0324cb2 initial commit 2004-09-10 13:30:13 +00:00
changelog 249f78d097 ChangeLog update 2004-09-10 00:35:35 +00:00
mohrt 614e9c89e2 break down regex to digestable chunks, fix multiple param problem with method calls,
add object method testing to unit_test cases
2004-09-09 22:01:33 +00:00
mohrt f36648c39c update code comment with more examples 2004-09-09 18:25:55 +00:00
mohrt 1d1e095e8e allow objects in arbitrary param positions 2004-09-09 18:21:09 +00:00
mohrt 9ea847409c fix object parameter regex, allow one level of object indirection 2004-09-09 16:09:55 +00:00
mohrt 8cbe83510b fix compile problem with numeric constants and math operator matching 2004-09-09 13:40:14 +00:00
freespace 1f4a5efa64 Synchronized with English version. 2004-09-08 21:49:10 +00:00
freespace 320f31c5a3 Finished translation of preface.xml.
Made my first commit :)
2004-09-08 15:40:47 +00:00
mohrt ebc9ff9e21 update the cache group with more detailed explanation 2004-09-08 15:20:05 +00:00
changelog 8045246a26 ChangeLog update 2004-09-08 00:32:46 +00:00
nlopess 78ef71110d fix build 2004-09-07 17:19:45 +00:00
mohrt 8b8b102a01 update files to 2.6.5-dev 2004-09-07 14:48:55 +00:00
mohrt 8d04d5a8e1 update NEWS file with 2.6.4 header 2004-09-07 14:24:52 +00:00
messju 340eb7f537 added $repeat parameter to block-plugins-docs 2004-09-07 08:27:38 +00:00
tony2001 01e63883f8 revert occasional change 2004-09-04 10:59:50 +00:00
tony2001 732d66b6f9 updates from George Miroshnikov 2004-09-03 18:34:20 +00:00
tony2001 c5f32f70cb updates from George Miroshnikov 2004-09-03 08:59:56 +00:00
tony2001 2a782dda8c fix build 2004-09-03 08:24:06 +00:00
mohrt bde185884f update escaping page with new delimiter vars 2004-09-02 19:08:13 +00:00
mohrt db90fc0c4f add docs for {$smarty.ldelim} and {$smarty.rdelim} 2004-09-02 19:04:36 +00:00
changelog 6845fb08ff ChangeLog update 2004-09-01 00:34:21 +00:00
mohrt 935ab8630a fix preg_quote 2004-08-31 18:18:36 +00:00
tony2001 6f0f0e2010 yet another patchset from George Miroshnikov
(preparing to take over smarty-ru maintainance)
2004-08-31 16:36:14 +00:00
mohrt 3bf0af8517 fix math in object params, clean up some regex on the way, change
preg_ delimiters to ~ to avoid character clashes with ! and %
2004-08-31 16:35:57 +00:00
tony2001 b4be526f55 html_checkboxes accepts both "selected" and "checked" 2004-08-31 15:49:13 +00:00
changelog 66cc09bb74 ChangeLog update 2004-08-31 00:32:46 +00:00
mohrt bf9153bd8a add $smarty.ldelim and $smarty.rdelim to smarty special var 2004-08-30 14:54:30 +00:00
changelog 1a30d78e40 ChangeLog update 2004-08-30 00:33:11 +00:00
messju 1a3c4eb890 tempnam() seems to be borken on many installation.
now we try tempnam first and if that fails we generate our own
temp-filename with uniqid()
2004-08-29 13:16:30 +00:00
boots e99e825c50 document new optional parameter for capitalize modifier and update example to show behaviour 2004-08-24 06:00:54 +00:00
changelog aa4eae4abd ChangeLog update 2004-08-24 00:36:20 +00:00
mohrt ac8ef507c6 dont use constant, use static var instead 2004-08-23 21:52:57 +00:00
mohrt 46b8afae2a implement optional param to capitalize for digit behavior 2004-08-23 21:08:08 +00:00
mohrt 0c7933f6ed another commit to capitalize, taking special chars into account 2004-08-23 20:28:47 +00:00
messju 1af7561db2 cleaned up attribute-handling in Smarty_Compiler::_compile_foreach_start() 2004-08-23 20:21:19 +00:00
mohrt a50a53c0f5 fix capitalize modifier to not rely on buggy ucwords() func 2004-08-23 18:34:12 +00:00
changelog 0e302cdf6c ChangeLog update 2004-08-21 00:33:44 +00:00
mohrt 43c43029ec update version 2004-08-20 13:53:04 +00:00
mohrt e430d63e56 make time param work with negative timestamps, force year range to include
given date unless explicitly set
2004-08-20 13:48:46 +00:00
changelog 59ba8f5b33 ChangeLog update 2004-08-20 00:34:11 +00:00
mohrt a609ff1833 fix bug with fetch, passing user/pass in url did not work 2004-08-19 21:02:24 +00:00
changelog a0fbf0d8be ChangeLog update 2004-08-14 00:34:16 +00:00
messju 06bb354663 fixed handling of {foreachelse} and {sectionelse} that got borked with
the latest commit (v 1.330)
2004-08-13 13:32:27 +00:00
changelog d201ef80d9 ChangeLog update 2004-08-13 00:33:53 +00:00
messju 6217c69fb1 fixed occasional wrong error messages on mismatched tags when
{else}, {elseif}, {foreachelse} or {sectionelse} is involved

thanks to Ooypunk for pointing me on this
2004-08-12 21:07:24 +00:00
nlopess e4a075bd03 enable russian PDF builds 2004-08-12 14:52:37 +00:00
nlopess 0e06d3422b some WS and fix build
#dont forget we have a 'make test' :)
2004-08-11 12:36:34 +00:00
nlopess ccba0859b3 fix build 2004-08-06 10:58:34 +00:00
mohrt 1d36aa627f mention {literal} in ldelim/rdelim text 2004-08-03 15:45:14 +00:00
mohrt 811de72a63 update literal function docs to mention ldelim alternate 2004-08-03 15:34:00 +00:00
tony2001 a1be9e56c7 update documentation (revision tags, sect1 -> refsect1 etc.)
by George Miroshnikov aka freespace
2004-08-02 06:46:02 +00:00
tony2001 d6ec072146 add a couple of snippets.
really HUGE commit will follow (all improvements were done by George Miroshnikov aka freespace)
2004-08-02 06:45:04 +00:00
changelog b37851947e ChangeLog update 2004-07-31 00:34:25 +00:00
nlopess 58c5976bae typo 2004-07-30 12:15:55 +00:00
nlopess a0fcd54deb fix russian building 2004-07-30 10:45:18 +00:00
nlopess 8a8e568750 add make test_xml
this is usefull to detect XML problems
2004-07-30 10:42:52 +00:00
nlopess 519adf9371 fix portuguese build 2004-07-30 10:40:51 +00:00
nlopess 2d0b350ffe fix the NaN problem in the copyright notice 2004-07-30 10:10:39 +00:00
changelog 07b5fc7a03 ChangeLog update 2004-07-30 00:34:12 +00:00
nlopess 4c7fc53c60 avoid warnings in head 2004-07-29 18:37:51 +00:00
nlopess c97204914d remove uneeded code 2004-07-29 18:34:46 +00:00
nlopess 57f41180e0 build pdf files
just type make pdf
2004-07-29 18:32:05 +00:00
messju d13232fc8f fixed type and description of "from"-attribute of {foreach} 2004-07-29 15:03:20 +00:00
changelog 45cabc2b5d ChangeLog update 2004-07-28 00:34:24 +00:00
messju 15435172b7 fixed handling of methods arguments.
thanks to Manfred Wischin for finding this one and providing the
conceptual fix.
2004-07-27 17:59:35 +00:00
tony2001 5fe17ceecb add new files translated by FreeSpace <freespace/at/ua/dot/fm> 2004-07-27 06:34:53 +00:00
tony2001 3fb7ce64b3 fix couple of typos 2004-07-26 13:42:34 +00:00
changelog ef04fde43b ChangeLog update 2004-07-24 00:33:03 +00:00
messju 54613cea84 fixed more typos 2004-07-23 19:12:38 +00:00
mohrt a85f60b08b fix typos 2004-07-23 18:34:21 +00:00
messju 5ee7d5a400 there was little flaw in smarty_function_html_radios() and
smarty_function_html_checkboxes():

the newly introduced assign-attribute was still added to the
tag-output as an extra-attribute.

fixed.
2004-07-23 15:42:41 +00:00
messju c9844d410b backed out renaming of _get_plugin_filepath() to get_plugin_filepath()
we'll stick to _get_plugin_filepath() and look for a more viable
solution to be exposed to plugin-writers.
2004-07-23 15:34:53 +00:00
changelog aa016f3ded ChangeLog update 2004-07-21 00:34:45 +00:00
messju 9942c8b42f Some fixes on PhpDocumentor comments. Thanks go to Ruben Vermeersch. 2004-07-20 11:51:05 +00:00
tony2001 64e51b0e1e multiple ws fixes
added EN-Revision tags everywhere
2004-07-19 13:11:36 +00:00
changelog 93cabbf933 ChangeLog update 2004-07-17 00:32:39 +00:00
andreas 05d0bbbca1 - updated for 2.6.3
- updates for new build system
- added missing files
- corrections from users
- revcheck comments for all files
- big up to didou and nuno, brilliant work
- make test: ok
- make: ok
2004-07-16 14:32:31 +00:00
andreas d89f626f62 - add missing cdata closure 2004-07-16 12:24:51 +00:00
tony2001 97e0f1b93c add EN-Revision tags 2004-07-16 10:32:02 +00:00
tony2001 00cbd0c576 fix typo 2004-07-16 10:22:44 +00:00
nlopess 0a5ca884a3 fix the revision tracking tag
the revision number might not be right. just check it, please
2004-07-16 09:15:19 +00:00
andreas 1c3a2e3934 - updated version (incl revcheck comment) for revcheck testing 2004-07-16 08:17:51 +00:00
andreas d31aa3aa37 - last missing ;-) 2004-07-15 18:25:13 +00:00
andreas dc84527d98 - even more missing files 2004-07-15 18:13:24 +00:00
andreas 57d7871672 - some missing files 2004-07-15 17:54:22 +00:00
changelog 5887ea0171 ChangeLog update 2004-07-15 00:33:16 +00:00
mohrt c6be541e7f replace " with ' where literal strings are quoted (ever so slight speedup) 2004-07-14 21:31:29 +00:00
tony2001 3095e9ebfd fix yet another typo 2004-07-13 06:38:50 +00:00
changelog 7df126450c ChangeLog update 2004-07-13 00:32:48 +00:00
messju 7008adfbda changed call from $smarty->_get_plugin_filepath() to
$smarty->get_plugin_filepath()
2004-07-12 15:27:00 +00:00
messju cba023a811 renamed calls to $smarty->_get_plugin_filepath() to $smarty->get_plugin_filepath() 2004-07-12 15:24:43 +00:00
messju 4d1af77893 renamed Smarty::_get_plugin_filepath() to Smarty::get_plugin_filepath() 2004-07-12 15:22:57 +00:00
messju 08ff67c5ba removed touch() call. changing the timestamp of the compiled-template
to the source template's may be irritating for certain
source-code-caches. now a newly compiled template gets the current
time as timestamp.
2004-07-12 15:05:30 +00:00
tony2001 a8fc9c3591 fix typo 2004-07-12 08:05:22 +00:00
messju 46b434f5cd removed docs vor abandonded $smarty->undefined 2004-07-09 10:39:05 +00:00
gerald ee46e61fc6 added <![CDATA[ tags, synx translation informations. Designers section is now up to date. 2004-07-04 10:02:31 +00:00
gerald 70e05aaf37 Added <![CDATA[ tags, <br> becomes <br /> 2004-07-04 09:51:24 +00:00
gerald cb9c28337f added <![CDATA[ tags, sync translation informations, added missing para and infotables 2004-07-04 09:39:39 +00:00
gerald 5624abeae8 Added <![CDATA[ tags, Sync translations infos, added missing param in count-characters 2004-07-03 09:11:30 +00:00
gerald b83cc891e4 Sync with en docs. Added missing para on modifiers 2004-07-03 08:43:11 +00:00
gerald 9513f59a5d Moved "For example" out of the smarty tag 2004-07-03 08:41:02 +00:00
changelog 6874b3a22b ChangeLog update 2004-07-03 00:32:26 +00:00
gerald 0e72bcadf0 Fixed missing tags to make doc again 2004-07-02 22:30:34 +00:00
gerald bd790b782a Fixed missing tags to be able to make doc again 2004-07-02 22:29:26 +00:00
gerald 85a4ed7167 CTags, Sync, added several missing params 2004-07-02 21:39:32 +00:00
gerald 324ba4fce8 Sync, updated status, Ctags, added missing infotables. 2004-07-02 20:35:23 +00:00
gerald 192b3c2917 added infotable 2004-07-02 19:55:43 +00:00
gerald 64bdf442c5 Ctags, &ltg & stuff 2004-07-02 19:49:32 +00:00
gerald ca16044694 mathematiques => operations mathematiques 2004-07-02 19:38:21 +00:00
gerald 9332c91eaa Added the template exemple 2004-07-02 19:35:24 +00:00
gerald d96b202992 Sync with en docs, added CTags where needed, checked status 2004-07-02 19:26:42 +00:00
gerald 38b5ce25d1 sync revision num for translation info 2004-07-02 19:21:02 +00:00
gerald 01af97cdb5 added the "is a good thing [TM]" as in en docs 2004-07-02 19:19:27 +00:00
gerald 9a47d20e4b added ctags, updated screen => programm listing.
added the technical note founded on the en doc
2004-07-02 19:16:33 +00:00
gerald 5dcb86e2c7 added $compile_id parameter
and a note about is_cached's internals
(as in en docs)
2004-07-02 18:02:01 +00:00
mohrt 8e621339e9 add assign attribute to html_checkboxes and html_radios 2004-07-02 14:14:30 +00:00
messju de676ea589 added $compile_id parameter
and a note about is_cached's internals
2004-07-02 08:33:32 +00:00
changelog f5abaf82bd ChangeLog update 2004-07-02 00:32:22 +00:00
messju ad79be90a0 removed use of get_include_filepath() inside
get_auto_filename(). thanks go to c960657
2004-07-01 15:48:40 +00:00
messju 8c83b9e88b enhanced error-reporting for {foreach} 2004-07-01 15:39:34 +00:00
messju cc08082d67 fixed handling of digits inside tagnames. this problem slipped into
the regexps by adding support for numeric contants next to string
constants as variables.
2004-07-01 12:20:43 +00:00
didou 700678f471 fixed copy/paste error 2004-06-30 13:56:38 +00:00
messju 65ae525f0b fixed indentiation of indent-example.
please don't run auto-indenting blindly on such cdata.
2004-06-28 09:15:19 +00:00
changelog a756a1f478 ChangeLog update 2004-06-28 00:33:29 +00:00
messju b43d689706 fixed escaping of backslashes in Smarty_Compiler::_quote_replace() 2004-06-27 19:37:34 +00:00
changelog ada93a0c29 ChangeLog update 2004-06-24 00:32:26 +00:00
mohrt b67e942fda display date_format %e, %T and %D as expected for windows 2004-06-23 13:56:10 +00:00
messju ac2ccefdf1 if search-regexp.
some pages (html_select_date, popup and popup_init) didn't get the
body replaced correctly.
2004-06-21 10:37:52 +00:00
tony2001 04c82a588b add new translations by nw [at] webdevel [dot] ru
added EN-Revisions
2004-06-21 10:25:42 +00:00
tony2001 7be44d22bd nuke forgotten english string 2004-06-18 16:02:38 +00:00
tony2001 bcab5d9c8d add translations by Pavel Filippov emdin [at] emdin [dot] ru 2004-06-18 15:08:44 +00:00
changelog 2b8687804b ChangeLog update 2004-06-18 00:32:32 +00:00
messju 12af99a73d changed version-number to 2.6.4-dev 2004-06-17 08:55:10 +00:00
tony2001 59889b5af0 add texts, translated by silex [at] bk [dot] ru 2004-06-17 07:59:48 +00:00
changelog ee62c3b546 ChangeLog update 2004-06-17 00:32:42 +00:00
messju c9720952ca fixed default-value for "max"-attribute of {section} 2004-06-16 14:55:46 +00:00
mohrt 1ef80b257e update NEWS file with version number 2004-06-16 13:54:48 +00:00
boots 4a007b3d3a restore mistakenly committed entries (sorry) 2004-06-16 01:23:13 +00:00
boots a9612e828d restore mistakenly committed entries (sorry) 2004-06-16 01:03:15 +00:00
boots 5669986b5a initial import for API 2004-06-16 00:46:02 +00:00
tony2001 fb5c5f9906 add EN-Revision to plugins.xml too 2004-06-11 06:32:33 +00:00
tony2001 5c60a94322 add new translations by nw [at] webdevel [dot] ru
(with minor corrections by me)
2004-06-11 06:26:26 +00:00
changelog 2afea12451 ChangeLog update 2004-06-10 00:32:47 +00:00
mohrt 7b260f7b83 added escapement of '</' to javascript escaping 2004-06-09 14:54:31 +00:00
changelog 98d162e7b8 ChangeLog update 2004-06-09 00:32:43 +00:00
gerald 8a41f75eb6 Added missing parameters year_empty, day_empty & month_empty 2004-06-08 18:23:16 +00:00
gerald 2be3b06d8d corrected a variable name (custId => idClient) 2004-06-08 17:38:57 +00:00
gerald 9bb5d8dcbc Add other translators. 2004-06-08 17:33:14 +00:00
messju e311005304 made the correct value of "use_sub_dirs" available to the compiler.
(not worth a NEWS-entry, i think)
2004-06-08 10:48:50 +00:00
tony2001 1273c0d68f add new translations by nw [ at ] webdevel [ dot ] ru and EN-Revisions 2004-06-07 08:37:45 +00:00
tony2001 e70d53a50e add text translated by nw [ at ] webdevel [ dot ] ru 2004-06-04 10:24:41 +00:00
changelog f95ece56ab ChangeLog update 2004-06-02 00:32:08 +00:00
messju 45b3099b03 added notes how to make the values of year-, month- and day_empty
selected.
2004-06-01 19:11:53 +00:00
messju 50b6c2b425 fix: proper initialistaion of $content.
thanks to Dmitry Koteroff for pointing this out.
2004-06-01 16:46:43 +00:00
nlopess a00ee39cd6 some tags and CS 2004-06-01 13:43:05 +00:00
messju 62e6dd1b5c add documentation for the $replace_with_space-parameter of the
strip_tags-modifier
2004-06-01 13:27:45 +00:00
tony2001 7888af493b add Revision tags
and translate a little
2004-05-31 20:42:44 +00:00
tony2001 b2c3aea41c lots of grammatical fixes 2004-05-31 09:06:08 +00:00
tony2001 d42566aa72 minor fixes and addons 2004-05-30 19:56:26 +00:00
changelog a1bb5455d8 ChangeLog update 2004-05-30 00:32:57 +00:00
didou f445be9429 oups :) 2004-05-29 22:17:28 +00:00
didou 8d0e4aa440 added translation file 2004-05-29 22:16:44 +00:00
didou a3b88e9bc5 fix build
# sorry, can't test before
2004-05-29 22:01:12 +00:00
didou 3aaf9215f2 don't use tabs 2004-05-29 21:56:21 +00:00
didou a68d952494 better examples 2004-05-29 21:22:39 +00:00
didou 53609f1db2 fix build 2004-05-29 12:46:16 +00:00
changelog 2cc8faa546 ChangeLog update 2004-05-29 00:32:28 +00:00
nlopess 2d20e3067c changed title
#revcheck now on-line (daily generated) at: http://phpdocmanager.sf.net/revcheck-smarty/
2004-05-28 21:30:11 +00:00
tony2001 55a12d7818 translate another small piece and fix ws again 2004-05-28 21:03:29 +00:00
tony2001 7210e41c82 fix ws and translate a bit.. 2004-05-28 20:49:29 +00:00
nlopess e18e97b872 clean also file-entities.php 2004-05-28 16:07:12 +00:00
messju 1c5ae377fd added obfuscation of protocol-string in {mailto} when using
hex-encoding (thanks to bharat)
2004-05-28 08:44:46 +00:00
changelog ce11d80ea5 ChangeLog update 2004-05-27 00:32:19 +00:00
messju 72fdad0064 enhanced auto-generated filenames for templates_c and cache
incremented Smarty::_version because the tempfiles' structure changed
a little
2004-05-26 15:26:41 +00:00
tony2001 9b25a0b2f6 fix some typos & grammatics 2004-05-24 11:10:28 +00:00
messju 029f80937c fixed syntax of php-code for the website's manual 2004-05-24 11:04:39 +00:00
changelog c78843cfd4 ChangeLog update 2004-05-24 00:32:52 +00:00
nlopess 912b9c5e10 fix build
#didou why do we have make test? :)
2004-05-23 16:32:20 +00:00
nlopess 98412bfdcc typo 2004-05-23 16:23:31 +00:00
nlopess ea24d25a46 better processing of manual for the web: now it doesnt produce two<head>s etc...
#I HAVENT TEST THIS. can anybody test this on-line please? thanks
2004-05-23 16:21:42 +00:00
didou cc2404234f WS and added revcheck 2004-05-23 15:50:53 +00:00
didou c060c07ab8 WS and added revision tags 2004-05-23 15:44:59 +00:00
nlopess 7f504b740f fix build 2004-05-23 15:39:02 +00:00
didou 8bfb75e986 quick commit, changing computer 2004-05-23 13:49:44 +00:00
didou 09a9bb3a24 introducing the revcheck and WS 2004-05-23 13:19:50 +00:00
changelog 1b02bef722 ChangeLog update 2004-05-22 00:32:36 +00:00
messju b85b3fcb7f fixed typo in error-messages 2004-05-21 14:11:41 +00:00
messju 7e298776d8 added empty language-snippets.ent to fix "make web" 2004-05-21 10:09:35 +00:00
messju d5d66c9cbb added note about unknown attributes to {hmlt_image} 2004-05-17 11:22:37 +00:00
changelog e6e79a05cd ChangeLog update 2004-05-13 01:02:23 +00:00
mohrt 530795cbf5 add 'nonstd' escape modifier 2004-05-12 19:40:36 +00:00
changelog 2647dfea67 ChangeLog update 2004-05-08 00:33:57 +00:00
mohrt bcb1d2a196 update textformat to not output wrap chars after last para 2004-05-07 22:50:11 +00:00
changelog 0262f49c6a ChangeLog update 2004-05-07 00:32:06 +00:00
messju e72c698496 use tempnam() instead of unqid() to create better temporary files in
smarty_core_write_file().

(thanks to xces for finding this race-condition and his work on
fixing it)
2004-05-06 12:37:46 +00:00
changelog 67af8fca2d ChangeLog update 2004-05-05 01:27:30 +00:00
messju f63cb7a54b added check if for file_exists() to Smarty::_read_file() 2004-05-04 16:44:47 +00:00
changelog 9654232a24 ChangeLog update 2004-05-01 00:36:08 +00:00
mohrt 16530ef589 add 'mail' attribute to escape modifier 2004-04-30 14:50:17 +00:00
didou 448572dfc6 fix build 2004-04-22 09:32:38 +00:00
changelog ef4524b29c ChangeLog update 2004-04-21 00:36:05 +00:00
didou 283256fce6 oups :| plop 2004-04-20 19:57:40 +00:00
didou 3016000518 fixing for livedocs 2004-04-20 19:56:54 +00:00
didou 12c2c5295f another entity 2004-04-20 11:37:05 +00:00
didou a40103f346 added the language-snippets.ent file and started using entities for notes under en/programmers/api-functions 2004-04-20 11:27:15 +00:00
didou cfdc174a3f some WS and fixed a typo in the example 2004-04-20 11:20:27 +00:00
didou 876a25fe2c sync with en 2004-04-19 17:08:12 +00:00
changelog 6f6984e388 ChangeLog update 2004-04-19 00:35:08 +00:00
didou bdafb7ea6c WS, and switched to methodsynppsis 2004-04-18 19:22:55 +00:00
didou 2e4e68462c WS 2004-04-18 17:34:12 +00:00
didou a9bc3c91a0 WS and some fixes 2004-04-18 17:30:04 +00:00
didou 421af5ed7c using <note> 2004-04-18 17:23:26 +00:00
didou 72ab60010c WS 2004-04-18 17:18:26 +00:00
didou c9db7a285d new global entity for zend and php-accelerator 2004-04-18 17:02:23 +00:00
didou cf69ab4c8c added myself as translator and added vim comments and xml tags 2004-04-18 16:51:37 +00:00
didou cd8bf8eba2 EN-Revision tag 2004-04-18 16:47:22 +00:00
didou 8b48b7f45b last untranslated files 2004-04-18 16:46:42 +00:00
changelog d1a406e8a3 ChangeLog update 2004-04-17 00:34:37 +00:00
messju 6c25b0951b added entry for numeric constants 2004-04-16 10:33:30 +00:00
messju 4d340b91c9 removed unused 2nd param in call to _parse_var() 2004-04-16 10:31:43 +00:00
messju 984d2f36e6 added explanation for $this->_num_const_regexp 2004-04-16 08:50:27 +00:00
messju 20b4be1048 added escape type "decentity" to smarty_modifier_escape() 2004-04-16 08:40:42 +00:00
messju 397714a96c enabled numerical constants be parsed as statements.
(like {10} or {10|@range:12} )
2004-04-16 08:34:39 +00:00
messju 886059c511 removed unused $smarty_compiler->_dvar_num_var_regexp 2004-04-16 08:30:10 +00:00
messju 121e0e6287 reverted Stuff 2004-04-16 08:06:40 +00:00
messju b73d2a7e63 reverted stuff 2004-04-16 08:03:07 +00:00
messju 729ebe26ed Smarty_Compiler.class.php 2004-04-16 07:53:37 +00:00
changelog d85cbe84ec ChangeLog update 2004-04-16 00:36:52 +00:00
tony2001 dfea03bf9d WS fix again 2004-04-15 16:18:37 +00:00
tony2001 2d5ee85e60 yet another WS fixes 2004-04-15 15:47:00 +00:00
messju ac9aafbb11 made smarty_core_write_compiled_include() php5-aware
if someone knows a better way than patching the source with the
tokenizer, please stand up!
2004-04-15 15:06:09 +00:00
tony2001 7d58d2305c WS fixes 2004-04-15 14:36:05 +00:00
changelog 749a4a3525 ChangeLog update 2004-04-15 00:36:26 +00:00
tony2001 d64e0c9950 yet another one set of WS patches 2004-04-14 16:07:00 +00:00
nlopess 8f20d6ed99 remove file-entities.ent also 2004-04-14 16:03:15 +00:00
tony2001 a3c9eceb2f WS, grammar fixes.
add CDATA to examples
2004-04-14 15:56:25 +00:00
tony2001 0baf0ce664 perhaps this file should be ignored too 2004-04-14 15:55:04 +00:00
nlopess 35fcd074dd some WS and program roles 2004-04-14 15:53:39 +00:00
tony2001 4e7edbbd62 multiple WS & syntax fixes 2004-04-14 15:29:09 +00:00
nlopess f5b76d5533 allow make revcheck 2004-04-14 15:25:57 +00:00
changelog 8feb7cf8eb ChangeLog update 2004-04-14 00:36:08 +00:00
didou a8ed63e741 add a new translated file and sync the two previous ones 2004-04-13 17:49:16 +00:00
didou bde87e3672 add the revcheck script (tm) 2004-04-13 16:24:12 +00:00
didou 9a40945c98 typos 2004-04-13 16:18:12 +00:00
didou 3aeaddf407 link to new files 2004-04-13 16:15:32 +00:00
didou fbc627243b two new files translated 2004-04-13 16:15:18 +00:00
didou beb01fcd5d missed files 2004-04-13 15:43:47 +00:00
didou 5223950dbf cleaning 2004-04-13 12:19:16 +00:00
didou af45ae6f07 Ws 2004-04-13 12:14:17 +00:00
didou e066cf2984 WS 2004-04-13 12:02:28 +00:00
didou 275945f96b banana split 2004-04-13 11:47:32 +00:00
nlopess 9b20267656 do not need inipath 2004-04-13 09:56:52 +00:00
nlopess a9e4fea15c ignore file-entities.php 2004-04-13 09:55:00 +00:00
didou 9f35b41e22 another debug stuff dropped 2004-04-13 08:48:51 +00:00
didou 01f1d9c14c drop my nice debugging line :) 2004-04-13 08:47:40 +00:00
didou 12df73e571 make this scan new splitted files 2004-04-13 08:47:09 +00:00
didou 66f18b2274 banana split 2004-04-13 08:46:28 +00:00
didou 2eb83ddab6 done 2004-04-13 07:34:45 +00:00
didou d52527b68a now the files entites are generated dynamically 2004-04-13 07:26:17 +00:00
changelog be4e37999e ChangeLog update 2004-04-13 00:34:53 +00:00
messju 91549d3dba removed unused functionality to load a subset of lines from a file in
Smarty::_read_file()

additionally removed a warning that is emitted since php-4.3.5 when
fread() is called on an empty file (with filesize()==0). thanks to
Andreas Streichardt who pointed this out.
2004-04-12 12:38:36 +00:00
messju 0af74476bc added test-cases for smarty_core_is_secure() 2004-04-12 12:21:39 +00:00
messju a93fc7a1bc smarty_core_is_secure() only checks the file for readability now, not
the directory where is in.
2004-04-12 12:20:43 +00:00
messju f75615d03c removed unused security_setting 'ALLOW_CONSTANTS' 2004-04-12 10:34:44 +00:00
changelog 7017f3f7d0 ChangeLog update 2004-04-08 00:36:04 +00:00
messju e15005fa24 removed trailing spaces 2004-04-07 19:58:54 +00:00
messju 9fa78a2cfd removed unused $smarty->_error_msg 2004-04-07 18:06:06 +00:00
changelog 8b5d67cdc0 ChangeLog update 2004-04-05 00:36:02 +00:00
nlopess 271c599fdd fixing my crap
put build_date back on-line
2004-04-04 13:17:14 +00:00
changelog 8d59145f9e ChangeLog update 2004-04-04 01:32:26 +00:00
nlopess ab57aebe96 missing file 2004-04-03 13:53:12 +00:00
nlopess 67488fcbd4 trying to fix ru problems 2004-04-03 13:48:48 +00:00
nlopess 94388bd03f removed bogus char
I hope :)
2004-04-02 18:23:40 +00:00
messju 543b12e36f another fix for entities 2004-04-01 17:06:27 +00:00
messju 88eb11da47 fixed some entities inside CDATA 2004-04-01 16:58:05 +00:00
didou fc53c98a2a fix protos 2004-03-31 17:02:11 +00:00
messju a468dde0f4 fixed typo 2004-03-31 16:07:52 +00:00
didou 2507d8a0e2 finished this file :) 2004-03-31 14:59:51 +00:00
didou 4b46f6bc51 cleaned the WS in this file and added more CDATA
# if I ever see a bad WS in this file, I'll kill someone :)
2004-03-31 11:20:13 +00:00
didou 579759d1ae WS and properly using examples 2004-03-31 10:12:10 +00:00
didou 30fc005a67 more CDATA's 2004-03-31 08:44:56 +00:00
changelog 7b6b7cb0c3 ChangeLog update 2004-03-31 01:32:06 +00:00
messju 0a92190418 made the main table of contents elapse 3 levels, instead of 2 2004-03-30 17:40:06 +00:00
messju b47f5c267e fixed call to undefined function when highlighting php-code 2004-03-30 17:39:36 +00:00
mohrt 9177ccb406 fix problem with debug_tpl path and security 2004-03-30 15:51:27 +00:00
mohrt 1db754e93a fix problem displaying debug console when $default_resource_type is not "file:" 2004-03-30 14:36:56 +00:00
didou 6db125ff94 typo typo 2004-03-30 10:47:36 +00:00
didou a7a2083afc more livedocs fixes 2004-03-30 09:35:30 +00:00
didou 8cef1056f8 fixing livedocs build 2004-03-30 09:16:44 +00:00
didou 1b1b075360 add RU docs
# work from Sergei Suslenkov
2004-03-30 09:06:15 +00:00
changelog 9b1f96b666 ChangeLog update 2004-03-30 01:32:02 +00:00
didou ccead5e972 and finally, add a TODO here
# please review my poor english
2004-03-29 11:57:44 +00:00
didou 9a48e18b51 fixed last bug with smarty/livedocs :) 2004-03-29 11:09:14 +00:00
didou f379a6b91e add an ID to this section 2004-03-29 10:51:44 +00:00
didou 19c35168d4 more french chars fixing 2004-03-29 10:26:13 +00:00
didou aeebbec792 more french chars fixes 2004-03-29 10:18:34 +00:00
didou 407ad11219 add links
# this makes appendixes almost perfect :)
2004-03-29 10:01:46 +00:00
didou f9d86aeafb add PHP tags to get syntax colorized and correct the &nbsp; problem
# http://didou.keliglia.com/php/livedocs-smarty/index.php?l=en&q=tips
2004-03-29 09:57:04 +00:00
didou 13fd4c63dd translate bookinfo.xml and put back the translators
# give back to Cesar what belongs to Cesar
2004-03-29 02:13:22 +00:00
didou 4e3a58ca36 fix parse errors in examples
# using this: for i in $(ls |grep xml); do php -d short_open_tag=off -l $i; done
2004-03-29 02:03:39 +00:00
didou afb0000726 more work on the examples 2004-03-29 01:54:07 +00:00
didou ad83ab2472 more CDATAs 2004-03-29 01:49:20 +00:00
didou 9cb02bdb23 more specialchars fixing 2004-03-29 01:45:04 +00:00
didou 81e2f1f9ac fix accents broken by boots last year 2004-03-29 01:40:48 +00:00
changelog 84ddbe714f ChangeLog update 2004-03-29 01:32:10 +00:00
didou b60da80b37 various things 2004-03-28 19:15:35 +00:00
didou ebbdfe66d1 add global.ent and define some general entities 2004-03-28 18:56:09 +00:00
didou 56ff8ee9ea get rid of this ugly programlisting hack 2004-03-28 16:59:22 +00:00
didou a7ec41b3fe clean two files 2004-03-28 16:48:54 +00:00
didou ffac59cf07 and finally, pt_BR builds fine :) 2004-03-28 15:52:22 +00:00
didou 2dc4515708 make de compiles well 2004-03-28 15:45:40 +00:00
didou 50e562c05b make fr compile again 2004-03-28 15:39:32 +00:00
didou 7c2a2e433c split the pt_br dir 2004-03-28 15:24:19 +00:00
didou c2cd578414 let's split the pt_br dir 2004-03-28 15:23:27 +00:00
didou da3f8dadd9 split de files 2004-03-28 15:20:52 +00:00
didou 97462a95f7 add new de files 2004-03-28 15:20:08 +00:00
didou 42419340d4 drop old de files 2004-03-28 15:19:45 +00:00
didou 92206cacff add ommited files 2004-03-28 15:18:57 +00:00
didou 6a1ba05cc9 split the french dir 2004-03-28 15:18:13 +00:00
didou 09be45b2e2 drop old french files 2004-03-28 15:17:22 +00:00
didou 518b5047c6 English dir split 2004-03-28 15:15:38 +00:00
didou 710d11f55d let's put the new build system 2004-03-28 15:13:55 +00:00
changelog 1d89b2094c ChangeLog update 2004-03-27 01:32:35 +00:00
didou 6bf0f74076 not needed anymore 2004-03-26 15:37:35 +00:00
didou 298e4275e0 fix livedocs rendering 2004-03-26 15:09:35 +00:00
didou 0e060d2341 fix livedocs build
# s/&/\&amp;/g
2004-03-26 14:38:16 +00:00
nlopess 0c781dd0bb fixing examples 2004-03-25 16:39:16 +00:00
changelog f052e641aa ChangeLog update 2004-03-25 01:35:50 +00:00
nlopess 4e43457329 fixing some more examples 2004-03-24 17:11:28 +00:00
nlopess 7e71a93dca fixing examples and added roles 2004-03-24 16:57:29 +00:00
nlopess e2f9d174b2 updated stylesheets
highlight PHP automatically
2004-03-24 15:54:31 +00:00
nlopess 7f767e645b remove unneeded file 2004-03-24 15:31:17 +00:00
nlopess fe2eca09e2 adding VI comments and revision tags 2004-03-24 15:16:30 +00:00
nlopess 7d02331821 fixed tag 2004-03-24 15:13:16 +00:00
changelog aad3a71325 ChangeLog update 2004-03-24 01:34:07 +00:00
mohrt 2f9adcb33c fix blunder in componentized template example 2004-03-23 22:25:51 +00:00
nlopess 0c27112edf remove this also 2004-03-23 18:32:49 +00:00
nlopess d8b24f8e2e remove this one too 2004-03-23 18:25:47 +00:00
nlopess fcf75d9e42 removing uneeded files 2004-03-23 18:25:17 +00:00
nlopess 56797a5940 missing revision tag 2004-03-23 18:21:20 +00:00
nlopess 7ce75b7f27 commiting missing files for docbook 2004-03-23 18:20:30 +00:00
nlopess 2b3c344068 bundling docbook 4
now make and make web works
2004-03-23 18:15:53 +00:00
messju 1faf36fa3d some simplifications of the latest assertions 2004-03-23 10:47:06 +00:00
messju cc1067da95 added test-cases for escape-modifier 2004-03-23 10:23:39 +00:00
messju 3cd25264cf unrolled call to the is_compiled()-check to be able to supply the
correct resource_base_path for config_load. this avoids errors when
config-files are accessed where security is enabled.

thanks to shuther for pointing out this bug.
2004-03-23 09:49:23 +00:00
nlopess 5848eb9a49 bundling docbook dtds 2004-03-22 19:02:57 +00:00
nlopess e76c36cf15 some CS 2004-03-22 18:50:16 +00:00
nlopess 6e08566379 vi comments 2004-03-22 18:42:17 +00:00
nlopess 220de7c6ac upgrading to docbook 4
now make test doesnt report any error
2004-03-22 18:40:49 +00:00
changelog fee25a1e5f ChangeLog update 2004-03-21 01:34:54 +00:00
nlopess 058012936b fix build date 2004-03-20 15:59:27 +00:00
changelog bae08116ed ChangeLog update 2004-03-19 01:32:31 +00:00
messju 840b968bab removed merging of $smarty->template_dir into $smarty->secure_dir
the resource_base_path is considerd secure instead. this change should
have absolutely no impact on smarty's security's behaviour
2004-03-18 19:36:36 +00:00
nlopess c9a4753f02 correcting non-existent var 2004-03-18 17:43:09 +00:00
nlopess e37ab8f142 generate build date 2004-03-18 17:34:36 +00:00
nlopess 50cac186ba moved location for english files 2004-03-18 17:16:23 +00:00
nlopess 4c80f3a3ca dsl files 2004-03-18 17:15:24 +00:00
nlopess 4e028e6bf0 new build/test system 2004-03-18 17:12:45 +00:00
messju 5a37e025ae moved setting of a default resource_base_path from
Smarty::_parse_resource_name() to Smarty::_fetch_resource_info()

this shouldn't affect anything, since all calls to
_parse_resource_name() that are not done from within
_fetch_resource_info() all pass their own resource_base_path
2004-03-18 07:05:29 +00:00
changelog b49b367ca3 ChangeLog update 2004-03-18 01:32:20 +00:00
messju d271bced39 removed '.' from the list of default resource_base_paths in
_parse_resource_name()

this should only affect _parse_resource_name() for templates, not for
php-resources and not for config_files. the latter pass two their own
resource_base_path.
2004-03-17 15:32:10 +00:00
changelog c3467cf66d ChangeLog update 2004-03-17 01:34:38 +00:00
didou 452e239bea adding editor comments 2004-03-16 15:35:01 +00:00
didou 40ed088eff cleaning words spacing, killing tabulations, using roles for programlisting.. 2004-03-16 14:56:14 +00:00
changelog 4c16d2b4d2 ChangeLog update 2004-03-16 01:33:01 +00:00
messju 2b341888a3 simplified Smarty::clear_all_cache(); 2004-03-15 14:50:42 +00:00
changelog ea53abd6b2 ChangeLog update 2004-03-13 01:33:33 +00:00
boots 15129c4ac5 Updated is_cached prototype to indicate proper return type. (thanks to Geoffrey Hoffman) 2004-03-12 22:43:34 +00:00
changelog 068903647e ChangeLog update 2004-03-12 01:34:14 +00:00
messju 725da561e5 fixed little bug that prevented plugins filepaths that are found in
php's include_path (and not in one of the plugins_dirs) from being
cached in the internal plugins-filepath-cache
2004-03-11 18:16:29 +00:00
changelog 60a09056ea ChangeLog update 2004-03-02 01:31:48 +00:00
mohrt bdc4e804ee update include_php docs:wq
:q
2004-03-01 20:40:24 +00:00
mohrt 9bcc04d1eb update componentized template example to something useful 2004-03-01 20:08:54 +00:00
changelog 9ddf034f6f ChangeLog update 2004-02-25 01:32:31 +00:00
messju 077b7e7865 _parse_resource_name() returned true on non-existant absolute
paths. This caused a warning on _fetch_resource_info() when used in
conjunction with template_exists(). It should be fixed now without
negative effects.
2004-02-24 22:23:13 +00:00
mohrt f9220c947d one more typo 2004-02-24 16:39:24 +00:00
mohrt 5076571098 fix typo 2004-02-24 16:34:34 +00:00
changelog 3bf70e677c ChangeLog update 2004-02-24 01:32:33 +00:00
messju 2c2c8b12b9 smarty_resource_*_secure got &$smarty passed errornously as 3rd
parameter and not as 2nd. this is fixed.
2004-02-24 00:10:55 +00:00
messju 8485763d2e fix handling of integer values like width and delay im
smarty_function_popup()
2004-02-23 23:19:08 +00:00
messju d02633999c fixed handling of integer-attributes 2004-02-23 23:17:19 +00:00
messju fff19de349 updated version to 2.6.3-dev 2004-02-23 23:14:40 +00:00
changelog 42160a0978 ChangeLog update 2004-02-23 01:32:44 +00:00
messju c3c3430e71 removed notice on html_select_date with the month_empty-attribute 2004-02-22 23:29:08 +00:00
messju 4610c06d24 removed 2 notices of undefined vars (thanks Cit) 2004-02-22 23:18:30 +00:00
changelog b4b28cd1a5 ChangeLog update 2004-02-18 01:32:16 +00:00
mohrt f8c32146d2 add header 2004-02-17 15:54:22 +00:00
mohrt cf52c81e0a change some info in headers, remove fluff 2004-02-17 15:52:02 +00:00
changelog ee0e4f2eb3 ChangeLog update 2004-02-14 01:32:20 +00:00
messju 0548fee520 correctly handle partially empty dates (like "2004--" or "-12-"). 2004-02-13 23:38:08 +00:00
messju 1ce846e1b3 learned something about <note> and sgml and applied this to the
use.sub.dirs-section :)
2004-02-13 09:34:35 +00:00
messju a93c42048c changed attribute-name "checked" to "selected" in the docs for
html_radios and html_checkboxes. "checked" is deprecated for ages
AFAIK and selected is recommended for consistency with {html_options}
2004-02-13 09:21:37 +00:00
messju 242e794bbc added note about use_sub_dirs and Smarty-2.6.2 .
fixed markup for section about clear_compiled_tpl() .
2004-02-13 09:19:59 +00:00
changelog 0c50e29cec ChangeLog update 2004-02-13 01:32:20 +00:00
messju b474404b97 YES and NO should not be booleanized inside triple-quotes in a
config-file. this behaviour changed by accident in 2.6.1 and is now
reverted to pre-2.6.1 behaviour
2004-02-12 11:28:50 +00:00
changelog 7871b6e7cc ChangeLog update 2004-02-11 01:32:20 +00:00
messju 44e8612db1 fixed slurping of a the next line following a triple-quoted value in a
config-file
2004-02-10 22:58:49 +00:00
changelog fd75a0f29b ChangeLog update 2004-02-08 01:32:23 +00:00
messju ceea2e18d5 avoid @-operator for handling empty lines in Config_File.class.php 2004-02-07 21:15:29 +00:00
messju 7703839dbb removed two notices from Smarty_Compiler::_parse_is_expr()
(thanks shuther!)
2004-02-07 20:55:27 +00:00
messju ef24ac0a3f changed default for use_sub_dirs to false 2004-02-07 20:29:20 +00:00
messju 7e6807b7e5 removed notice of undefined variable. (thanks shuther!) 2004-02-07 20:15:45 +00:00
changelog 029e1a6c4e ChangeLog update 2004-01-30 01:33:21 +00:00
messju 607cf5d0f4 added file and line-number-information to error-messages regarding
assigned objects an an error messages regarding modifiers with
security.
2004-01-29 10:38:12 +00:00
changelog 4fce643842 ChangeLog update 2004-01-28 01:32:20 +00:00
messju 0f223e3e18 removed use of temporary var $_params in compiled code of block-plugins 2004-01-27 23:00:26 +00:00
messju aa2a705361 fixed quoting of values in smarty_function_popup() 2004-01-27 22:55:41 +00:00
changelog c4c90d87d6 ChangeLog update 2004-01-26 01:33:44 +00:00
messju 152533aac4 documented parameters of Smarty::clear_compiled_tpl() 2004-01-25 15:52:14 +00:00
messju 53baf8295a Smarty_Compiler::_syntax_error() uses Smarty::_trigger_fatal_error() now instead of the trigger_error()-function 2004-01-25 15:39:10 +00:00
messju 0e6224fc04 Smarty::_trigger_fatal_error() uses Smarty::trigger_error() now,
instead of the native trigger_error()-function
2004-01-25 15:36:05 +00:00
messju f8011f6acb unrecognized custom-functions trigger an error at compile now, not at
display-time.
2004-01-25 15:29:19 +00:00
changelog 74a4e59f80 ChangeLog update 2004-01-24 01:32:31 +00:00
mohrt 542e361fe2 reword a paragraph 2004-01-23 20:56:41 +00:00
mohrt e8384fe5d7 remove file 2004-01-23 16:28:19 +00:00
mohrt 724c49553a add a couple more tests 2004-01-23 16:05:59 +00:00
changelog a36697993e ChangeLog update 2004-01-23 01:32:14 +00:00
messju 0a66a27fe1 removed emission of unnecessary notices for unavailable config-files
in config_load()
2004-01-22 23:54:51 +00:00
messju 88cf42b0e6 fixed handling of hidden sections in Config_File 2004-01-22 23:47:46 +00:00
changelog 72ee372936 ChangeLog update 2004-01-22 01:32:17 +00:00
messju cf0ee7bdd8 added handling of resources for {config_load} 2004-01-21 17:21:26 +00:00
changelog 64a67e5d58 ChangeLog update 2004-01-20 01:32:14 +00:00
messju 07b151bf3e fixed bug when using arrays with tr_attr and td_attr in {html_table} 2004-01-19 12:47:59 +00:00
mohrt 95ac71b716 add template files 2004-01-17 18:31:16 +00:00
changelog f47ee26f1e ChangeLog update 2004-01-17 01:32:19 +00:00
mohrt e94bd561a9 add more test cases 2004-01-16 22:51:48 +00:00
mohrt b9450d2cf6 add unit testing 2004-01-16 22:14:51 +00:00
mohrt 51e1064d69 update version numbers, add initial unit test directory 2004-01-16 22:12:08 +00:00
mohrt 5383e42a1d update version numbers for 2.6.1 release 2004-01-16 20:24:45 +00:00
messju 9b032e1ea4 renamed $smarty->tpl_rror_reporting to $smarty->error_reporting
"tpl_" is a bit redundant here (it's a TemPLate-engine overall :)
2004-01-16 20:01:35 +00:00
changelog 5217ffa6b0 ChangeLog update 2004-01-16 01:32:12 +00:00
messju 146ecb7a85 forgot to remove duplicate is_secure()-check 2004-01-15 15:04:33 +00:00
messju ea53ef5a58 fix: $smarty->security is now correctly handled
minor optimizations:
   core/core.is_secure.php is only included when needed
   $dpi_default is only determined when needed
2004-01-15 15:00:09 +00:00
changelog 6e0b6a5f2c ChangeLog update 2004-01-15 01:32:19 +00:00
messju 04307bb560 removed suggestions to use extract() from the manual 2004-01-14 16:16:24 +00:00
messju 96dd0fa51d fixed typo 2004-01-14 16:13:51 +00:00
changelog bafdb63d89 ChangeLog update 2004-01-13 01:32:22 +00:00
messju 05a9dc1b2e mention SCRIPT_NAME below {$smarty} reserved variable because it got
lost in the docs for $smarty->global_assign
2004-01-12 20:12:04 +00:00
messju 8b82ad310b added docs for {$smarty.version} special variable 2004-01-12 19:46:55 +00:00
messju cfd9991c26 removed docs for $global_assign 2004-01-12 19:46:12 +00:00
messju c3a3e15c33 added docs for tpl_error_reporting 2004-01-12 19:42:13 +00:00
messju e8b181cf74 added docs for year_empty-, month_empty- and day_emtpy-attributes of
html_select_date. maybe an example is needed to better explain empty
values in YYY-MM-DD.
2004-01-12 19:24:28 +00:00
changelog 48e7a52abb ChangeLog update 2004-01-11 01:32:37 +00:00
messju 92d6489001 fixed handling of {php}-tags 2004-01-10 23:43:07 +00:00
mohrt e238784674 fix html_checkboxes examples 2004-01-10 21:28:15 +00:00
changelog 86ba80a2b7 ChangeLog update 2004-01-09 01:32:39 +00:00
messju 6950893505 added caching of requested paths to smarty_core_assemble_plugin_filepath() 2004-01-08 13:13:04 +00:00
messju 73995af1e9 fix handling of comments inside {php}- and {literal}-blocks 2004-01-08 12:47:12 +00:00
messju d6f1f25741 fixed handling of comments inside {php} and {literal} 2004-01-08 12:46:27 +00:00
changelog cfdb6b0851 ChangeLog update 2004-01-07 01:32:09 +00:00
messju 448114faeb fixed bug handling triple-quotes in config-files 2004-01-06 09:21:00 +00:00
messju b0093e4cba fixed bugs with triple-quotes in config-files
thanks BRDude for finding them testing!
2004-01-06 09:17:02 +00:00
changelog e0d0dbe73c ChangeLog update 2004-01-03 01:32:12 +00:00
messju 35d7d5126d removed unnecessary param in call to _fetch_resource_info() 2004-01-02 11:05:41 +00:00
changelog f8b8e73de4 ChangeLog update 2003-12-31 01:33:12 +00:00
messju 70e7586d57 oops! removed tabs. 2003-12-30 21:42:51 +00:00
changelog a881935a1c ChangeLog update 2003-12-28 01:32:06 +00:00
messju 077bb151ad made $SCRIPT_NAME available again
changes default for request_use_auto_global to prefer autoglobals
2003-12-27 09:41:43 +00:00
messju def552981a removed tabs and trailing spaces 2003-12-27 09:35:08 +00:00
messju e335832f62 readded default_modifiers. who removed that? 2003-12-27 09:25:25 +00:00
changelog f5018687c3 ChangeLog update 2003-12-24 01:32:00 +00:00
mohrt ae3b538314 add portuguese docs 2003-12-23 15:53:39 +00:00
changelog 5b255f9d1d ChangeLog update 2003-12-23 01:31:56 +00:00
mohrt c46d385cfe fix counter example 2003-12-22 19:02:06 +00:00
changelog 6637ff9ed7 ChangeLog update 2003-12-20 01:32:00 +00:00
mohrt fcb07072cd add debug console persistance feature 2003-12-19 19:23:09 +00:00
messju 36ac900ceb removed extract(). enhanced parameter parsing. 2003-12-19 17:20:19 +00:00
messju f6bb3389f6 removed tabs. fixed indentiation. 2003-12-19 17:18:56 +00:00
messju 6711d0cebf removed tabs 2003-12-19 15:22:55 +00:00
messju cc87a960f4 removed extract() from parameter-parsing 2003-12-19 08:49:17 +00:00
changelog f10a08162f ChangeLog update 2003-12-18 01:32:42 +00:00
messju 80290db3fc fix plugin-name in error message 2003-12-17 10:45:57 +00:00
messju fbb083d81f remove extract-call from {html_select_time} 2003-12-17 09:33:30 +00:00
messju 331c2ef286 allow single-digit days and months without smarty_make_timestamp()
this makes dates like "1968-11-6" work correctly since no strtotime()
is involved

add warning when unknown parameter is passed
2003-12-17 09:32:30 +00:00
changelog 47626725f8 ChangeLog update 2003-12-17 01:31:54 +00:00
messju 4fe0af5398 fix headers sent erroneously with cache_modified_check and fetch() 2003-12-16 09:05:04 +00:00
changelog 95e68032cd ChangeLog update 2003-12-13 04:08:34 +00:00
mohrt d7311e2692 move set_path() call below the conditional bracket 2003-12-12 19:45:11 +00:00
mohrt 5b14130cef fix config_load filepath bug 2003-12-12 14:38:42 +00:00
boots 4b767113a2 Updated language.function.if with additional annotation and to fix error that broke docs build process 2003-12-12 09:42:06 +00:00
changelog 17b455a7f6 ChangeLog update 2003-12-12 01:31:54 +00:00
messju 4e93202974 little optimization for "is odd" and "is even" 2003-12-11 19:52:38 +00:00
mohrt aa8f02c429 fix 'is even by' and 'is odd by' logic 2003-12-11 19:39:02 +00:00
messju e58c2c94cf update example-output of {mailto} 2003-12-11 19:24:21 +00:00
messju 0d6c033ee2 removed extract-call -> cleaner parameter-handling 2003-12-11 09:38:18 +00:00
messju ec0a2dabd0 fixed indentiation 2003-12-11 09:25:23 +00:00
messju f2f91fd751 removed two done topics 2003-12-11 09:09:43 +00:00
boots 0fcbb6b1d7 Updated language.function.if to describe qualifiers (thanks andre) 2003-12-11 01:58:04 +00:00
changelog 04f25abc10 ChangeLog update 2003-12-11 01:36:24 +00:00
messju e157a65085 added day_empty, month_empty, year_empty and all_empty attributes
to pass an undefined date use {html_select_date time="--" ...}
2003-12-10 16:43:39 +00:00
messju 3354f45c1f removed extract()-call 2003-12-10 09:05:22 +00:00
messju ba5cc2aaaa fixed indetiation 2003-12-10 08:50:21 +00:00
boots 9431011adb Added table to language.function.if to describe qualifiers 2003-12-10 08:21:57 +00:00
boots fa883958b7 Added table to language.function.if to describe qualifiers 2003-12-10 08:08:25 +00:00
changelog 11e346424d ChangeLog update 2003-12-10 01:32:09 +00:00
messju a7c3e88d8f strict comparason didn't work in all cases. use type-casting now. 2003-12-09 20:02:06 +00:00
messju aa2ee3cd66 fix bug when comparing array-keys to "selected" in html_options and
html_checkboxes

in_array() uses "strict" comparason now.
2003-12-09 19:38:25 +00:00
messju 37575a1982 removed tabs, fixed indentiation 2003-12-09 19:30:29 +00:00
changelog a4c032295e ChangeLog update 2003-12-09 01:35:05 +00:00
messju 1dd2246d8a add better checks for correctly nested tags when compiling 2003-12-08 10:44:21 +00:00
changelog 74d69ccbc2 ChangeLog update 2003-12-05 01:31:54 +00:00
messju 45e02b5033 fix: check $smarty->request_use_auto_globals at the last occurences of
HTTP_*_VARS
2003-12-04 11:37:27 +00:00
changelog 2cd1bcdfe6 ChangeLog update 2003-12-04 01:32:08 +00:00
messju 64d755a37f remove $global_assign property from Smarty and $global_assign-handling
from the constructor. the only visible change is, that $SCRIPT_NAME is
not available in the tempates anymore. $smarty.server.SCRIPT_NAME has
to be used from now.
2003-12-03 09:29:13 +00:00
boots f50919c711 Fixed example for count_characters 2003-12-03 06:31:10 +00:00
changelog 41b507136f ChangeLog update 2003-12-02 01:32:04 +00:00
boots 8073010cc7 Added section "Escaping Smarty Parsing" under Basic Syntax. 2003-12-01 12:34:31 +00:00
messju bb0771505a thought again about my latest commit and backed it out. 2003-12-01 11:29:53 +00:00
messju 2c290ac4cf fix root-dir-handling on windows filepath 2003-12-01 09:09:20 +00:00
changelog b74d38a643 ChangeLog update 2003-11-30 01:31:18 +00:00
boots 549a69ba44 really make the fixes the last patch was supposed to do 2003-11-29 02:15:41 +00:00
boots 74034f776f removed tabs and killed trailing white-space 2003-11-29 01:44:41 +00:00
boots b0563469a0 changed $smarty->_syntax_error to $smarty->trigger_error 2003-11-29 00:49:09 +00:00
changelog a4908607e6 ChangeLog update 2003-11-28 01:32:06 +00:00
messju 7dfad44658 remove warning in debug_print_var on php-resources 2003-11-27 17:39:06 +00:00
messju 6aa1003646 fix version number 2003-11-27 11:46:36 +00:00
changelog 843a32315c ChangeLog update 2003-11-27 01:31:58 +00:00
messju 38d1f29bc3 raise max_level for $smarty.config... to 3 to allow arrays of config-vars 2003-11-26 14:02:05 +00:00
changelog ad237ebb0e ChangeLog update 2003-11-26 01:31:52 +00:00
messju 44899e04ae changed version-tag to indicate incompatibility to older compiled
templates
2003-11-25 09:02:48 +00:00
changelog 537f564120 ChangeLog update 2003-11-25 01:31:56 +00:00
messju a688201f10 move function.assign.php to compiler.assign.php 2003-11-24 15:37:03 +00:00
messju 690e0a9e1c silence occasional warnings of open_basedir- and
safe_mode-restrictions in core.get_include_path.php
2003-11-24 14:56:02 +00:00
changelog d81763654c ChangeLog update 2003-11-24 01:32:20 +00:00
messju 1fdd2149ee avoid touch()-ing of recently unlinked files by touch()-ing the
tempfile before rename instead of touch()-ing the resulting file after
rename.
2003-11-23 08:37:43 +00:00
messju 2a6b5479dd add property $tpl_error_reporting 2003-11-23 08:18:12 +00:00
changelog 1c604216e3 ChangeLog update 2003-11-23 01:31:55 +00:00
messju 412e2c529b remove use of extract() in smarty_function_assign() 2003-11-22 09:38:05 +00:00
changelog 469ec1ece9 ChangeLog update 2003-11-22 01:31:54 +00:00
messju c5b552163c remove property $undefined. "null" is used literally instead 2003-11-22 00:32:38 +00:00
messju 0157c56198 remove two E_NOTICES 2003-11-21 12:39:50 +00:00
changelog 50d83bda90 ChangeLog update 2003-11-21 01:32:09 +00:00
messju 66823d680d change version to 2.6.1-dev 2003-11-20 15:26:45 +00:00
changelog 6c88c0601f ChangeLog update 2003-11-20 01:32:31 +00:00
mohrt 5e7432c88b update NEWS file 2003-11-19 20:30:17 +00:00
mohrt 78ff86ed9f change version numbers to 2.6.0 2003-11-19 20:26:29 +00:00
messju e2a8863192 fix examples of escape-modifier (in docs, docs/de and docs/fr !) 2003-11-19 18:23:01 +00:00
changelog e997a2f769 ChangeLog update 2003-11-19 01:36:21 +00:00
messju f903d313b4 move Smarty::quote_replace() to Smarty_Compiler::_quote_replace() 2003-11-18 23:35:05 +00:00
messju 209cd6efeb removed extract-calls from _include()- and _eval()-wrappers
variables passed with {include_php} have to accessed as members of $params now
2003-11-18 23:18:35 +00:00
changelog 4c5506a57a ChangeLog update 2003-11-18 01:34:47 +00:00
messju 1d92b3ce4f fixed typo 2003-11-17 20:34:31 +00:00
changelog d54b96d201 ChangeLog update 2003-11-14 01:31:59 +00:00
messju 215fba15c0 fix occasional notice 2003-11-13 21:24:31 +00:00
andreas 2be563b152 - added cat modifier, thanks messju :-) 2003-11-13 18:38:30 +00:00
mohrt ab9f58841d commit RC3 tags 2003-11-13 17:35:52 +00:00
messju 2ae14ea686 fix handling of $var.key inside [] 2003-11-13 16:51:47 +00:00
messju 7d391d55a8 fix unnecessary loading of core.load_resource_plugin.php 2003-11-13 16:50:33 +00:00
messju e15cacbc82 fixed example of html_table 2003-11-13 15:26:40 +00:00
changelog c3dd540396 ChangeLog update 2003-11-12 01:32:11 +00:00
messju 9d4a0bcb07 fix handling of assign inside {insert}-tags 2003-11-11 22:46:13 +00:00
changelog 8a3bf9e0c7 ChangeLog update 2003-11-07 01:32:37 +00:00
messju 1af690d45c added $exp_time-parameter 2003-11-06 17:16:32 +00:00
messju fb47f038ac added $exp_time to cache_handler_func-example 2003-11-06 16:54:00 +00:00
messju 2566246240 added $exp_time-parameter of clear_cache() and clear_all_cache() to
cache_handler_func.
2003-11-06 16:53:39 +00:00
changelog ee5d31238e ChangeLog update 2003-11-06 01:32:01 +00:00
messju b9b36a51d6 fix handling if [...] inside triple-quotes in config-files 2003-11-05 09:21:23 +00:00
changelog 701318512a ChangeLog update 2003-11-05 01:32:36 +00:00
messju 2b99bf5878 fixed little bug in _parse_resource_name() (jlgunter, messju) 2003-11-04 05:16:44 +00:00
changelog d3ed620158 ChangeLog update 2003-11-04 01:33:20 +00:00
andreas 66b6633c23 - changed Smarty.php.class occurences to Smarty.class.php 2003-11-03 13:55:26 +00:00
andreas 161eea3f1d - changed Smarty.php.class occurences to Smarty.class.php 2003-11-03 13:32:34 +00:00
changelog a69a67f1e3 ChangeLog update 2003-10-30 01:33:31 +00:00
boots 7458ee31cd Fixes to documentation syntax so that all content can be processed used xsltproc docbook-xsl tools. In particular, fixes unescaped entities, broken tags, unquoted attributes. 2003-10-29 22:46:46 +00:00
changelog 5678bdc66e ChangeLog update 2003-10-28 01:32:17 +00:00
messju ccdc5c8e7e fix handling of simple-math-operators inside modifiers 2003-10-27 15:27:55 +00:00
changelog 3ce1c09581 ChangeLog update 2003-10-26 00:32:32 +00:00
messju eb654a52f4 removed unused property _output_type
removed unused param $tag_attrs of _parse_var_props()
cleaned up alignment of class-properties
2003-10-25 19:43:14 +00:00
changelog 351ba8e111 ChangeLog update 2003-10-24 00:34:11 +00:00
messju 8fac8e8be4 removed notice in php-tag handling in Smarty_Compiler::_compile_file() 2003-10-23 21:04:12 +00:00
messju 029ed43de4 removed two occasional E_NOTICES from
Smarty_Compiler::_compile_include_php_tag()
2003-10-23 12:42:52 +00:00
messju 7f6ff2f41f fix handling of trailing-slashes in open_basedir in
smarty_core_create_dir_structure()
2003-10-23 07:50:55 +00:00
changelog e139f75fd6 ChangeLog update 2003-10-21 00:33:51 +00:00
messju 0801e4e470 elements inside `` are bracketed now inside the compiled-tpl. this
fixes some issues with simple-math inside backticks.
2003-10-20 14:02:03 +00:00
changelog c0e711f203 ChangeLog update 2003-10-17 00:34:16 +00:00
mohrt 0d13672fe7 update overlib docs, no working examples 2003-10-16 16:04:29 +00:00
changelog 2a14531f58 ChangeLog update 2003-10-13 00:33:52 +00:00
messju 9b3ca8956e move check for template_dir in secure_dir-array into core.is_secure.php
this makes template_exists() work correctly with security=true even if
template_dir is not inside the secure_dir-array
2003-10-12 22:19:32 +00:00
changelog de3ef126bf ChangeLog update 2003-10-12 00:32:39 +00:00
messju fbc2b127cb tightened check for YYYYMMDDHHMMSS-format. thanks konstantin for
pointing this out.

removed a few tabs.
2003-10-11 09:33:50 +00:00
messju bd0440b546 fix precedence of simple-math-operators before modifiers.
thanks dominik!
2003-10-11 09:32:24 +00:00
messju f8db1a7ce8 removed tabs from the main and the core/*.php files 2003-10-11 08:55:53 +00:00
changelog fd3a037433 ChangeLog update 2003-10-09 00:33:55 +00:00
mohrt 5302d13179 update version numbers to RC2 2003-10-08 23:43:34 +00:00
changelog 3b892e193e ChangeLog update 2003-09-19 00:33:58 +00:00
messju 2c36caa05a fixed description of cycle's advance-attribute 2003-09-18 09:50:28 +00:00
changelog 8afe18bcde ChangeLog update 2003-09-17 00:32:01 +00:00
messju 77ff6cf28b apply modifiers only once to section-loop and foreach-from attributes 2003-09-16 08:15:58 +00:00
changelog 82ed1ec63e ChangeLog update 2003-09-16 00:32:13 +00:00
messju 6988b4747e backed out _smarty_cached_paths-file-handling 2003-09-15 14:30:57 +00:00
messju 7c38847c69 fixed clear_compiled_tpl with explicit $tpl_file given
fixed return value of smarty_core_rm_auto() + Smarty::_unlink()
2003-09-15 12:55:06 +00:00
messju d9bd4677ff little fix in _get_auto_filename() 2003-09-15 12:26:23 +00:00
changelog 1b2513649b ChangeLog update 2003-09-15 00:34:47 +00:00
messju a566b01a12 removed auto-filenames from path-cache. merged assemble_auto_filename
back into Smarty::_get_auto_filename()
2003-09-14 13:37:15 +00:00
changelog cb2961afd6 ChangeLog update 2003-09-13 00:32:24 +00:00
messju 4a0e96b76c fixed quoting of modifier parameters 2003-09-12 14:39:45 +00:00
messju ad7803b89a remove Smarty::_plugin_implementation_exists() - use php's native
is_callable()
2003-09-12 13:40:53 +00:00
changelog e2c21493b8 ChangeLog update 2003-09-12 00:32:15 +00:00
messju 430b084783 silenced two notices acces HTTP_SERVER_VARS 2003-09-11 07:25:32 +00:00
changelog 1676bd29de ChangeLog update 2003-09-11 00:38:02 +00:00
andreas bd905b998d - minor fixes (2 rep), slight wording changes
- jade transform problem fixed
2003-09-10 11:29:40 +00:00
changelog ba71550edd ChangeLog update 2003-09-09 00:31:51 +00:00
andreas dcb5caf91e all updated for 2.6.0 release, translated everything from 2_5_0 branch to 20030908 2003-09-08 16:35:05 +00:00
changelog 2f42bc6159 ChangeLog update 2003-09-05 00:32:16 +00:00
messju 16ab251d48 proper checking for files in _fetch_resource_info() 2003-09-04 10:30:13 +00:00
changelog 61c95d76e8 ChangeLog update 2003-09-03 00:31:56 +00:00
messju 5259481be5 ignore {strip}/{/strip) inside {strip}-blocks 2003-09-02 10:29:50 +00:00
messju d03febb244 fixed 2 notices in smarty_function_mailto() 2003-09-02 10:29:10 +00:00
changelog 34e4771fae ChangeLog update 2003-09-02 05:33:57 +00:00
messju 45b23b1581 re-include cache_paths on multiple calls to fetch() to avoid inconsistencies
at multiple calls to fetch() in one script
2003-09-01 18:42:12 +00:00
messju 579e0e61a6 fixed handling of \r in {strip}
renamed $_trailing_lf to $_additional_newline
2003-09-01 18:17:58 +00:00
messju a246602272 the weekly fix for {strip} :) 2003-09-01 15:54:05 +00:00
messju 9059fecbd8 fixed example for simple math. 2003-09-01 11:11:57 +00:00
changelog 4726b039a9 ChangeLog update 2003-08-30 00:31:47 +00:00
messju 3c52a9aa7e fixed PHPDocumentor-comments (thanks Konstantin) 2003-08-29 08:51:25 +00:00
messju f210e32d1e made rmdir a bit more optimistic. especially it now removes
directories correctly that where created accidently by "safe_mode=On
&& $use_sub_dirs=true"
2003-08-29 08:49:51 +00:00
changelog c29a2a9474 ChangeLog update 2003-08-28 00:32:06 +00:00
messju ea3896ce22 fixed removal of leading/trailing newlines in {strip}-blocks 2003-08-27 08:54:25 +00:00
changelog bbd4e9a811 ChangeLog update 2003-08-26 00:32:08 +00:00
messju d199b7ea83 added note emphasizing the introduction of "libs/" with 2.5.0 2003-08-25 15:50:09 +00:00
messju 4b4157de20 fixed proper escaping of " and ' with escape:javascript 2003-08-25 13:37:27 +00:00
changelog dd8b56734e ChangeLog update 2003-08-23 00:31:19 +00:00
messju 50d490fca5 fixed bug in traversal of $smarty->plugins_dir-array in
smarty_core_assemble_plugin_filepath(). the first matching plugin in
the path should be used, not the last one.
2003-08-22 16:15:47 +00:00
messju 786d110c89 discard $_cache_info when the cache should be regenerated 2003-08-22 14:02:15 +00:00
changelog 124d86de0d ChangeLog update 2003-08-21 00:31:58 +00:00
messju 60e984f942 reverted {strip} from a block-plugin back into the compiler 2003-08-20 14:48:36 +00:00
messju 7524542a24 fixed examples for register_function() and register_block() 2003-08-20 14:46:07 +00:00
messju b2b2338175 made template_exists() quiet when the template does not exist (thanks
to konstatin for pointing this out)
2003-08-20 11:23:17 +00:00
changelog 651cfd2b7d ChangeLog update 2003-08-19 00:31:06 +00:00
mohrt a94d14ac58 fix example title 2003-08-18 15:11:59 +00:00
mohrt aeb830dcb5 change installation wording confusion 2003-08-18 15:08:34 +00:00
messju 09aa653a75 fixed unnecessary load of source in template_exists() and the
compile-check of smarty_core_read_cache_file()
2003-08-18 10:17:28 +00:00
messju 6f473f2820 allow section-, array- and object-dereference in $smarty-references 2003-08-18 09:28:02 +00:00
changelog 6dcb85c503 ChangeLog update 2003-08-16 00:31:11 +00:00
messju ad3d146c35 added parameter-descriptions for count_characters (thanks Konstantin
A. Pelepelin)

fixed docs for {html_checkboxes}
2003-08-15 16:06:49 +00:00
changelog d2ef1c7fe6 ChangeLog update 2003-08-15 00:31:03 +00:00
messju 79f491971a fixed timestamp-check of config-files in smarty_core_read_cache_file() 2003-08-14 16:44:03 +00:00
messju db4ee12009 fixed typecasting for arrays in _parse_resource_name() 2003-08-14 11:11:46 +00:00
messju ef13d8b606 fixes in config_load:
- handling of section-attribute
- reusing the same config-file multiple times
- serialization of config-data for php<4.2.0 (no var_export)

many thanks to atu for pointing this out and for testing
2003-08-14 10:59:30 +00:00
changelog 1363902a1b ChangeLog update 2003-08-14 00:31:22 +00:00
messju 2319787c5f fixed problem with vars as attributes in {include_php} 2003-08-13 16:37:12 +00:00
mohrt 4b034eaa81 commit README file for documentation compiling 2003-08-13 14:50:18 +00:00
messju ab839a5b13 removed '\r' from debug_print_vars' output
properly escape vars in javascript-version of debug.tpl
2003-08-13 14:15:30 +00:00
changelog 3ffab5a3ab ChangeLog update 2003-08-12 00:30:48 +00:00
mohrt 49d5b05b89 get ready for 2.6.0-RC1 release 2003-08-11 15:55:39 +00:00
changelog bc37237c9f ChangeLog update 2003-08-11 00:30:29 +00:00
messju 180ac79934 fixed status-header for cache_modified_check under cgi-sapi 2003-08-10 21:27:51 +00:00
changelog c80e2d9e4a ChangeLog update 2003-08-10 00:30:50 +00:00
messju d226b07741 synced secure_dir-checking with trusted_dir-checking 2003-08-09 08:47:10 +00:00
messju 29f5d24082 tightenend path checking in smarty_core_is_secure() 2003-08-09 08:08:39 +00:00
changelog 9c5ee8d1bf ChangeLog update 2003-08-09 00:30:43 +00:00
messju 10b23e37a2 fix: proper nesting of $smarty->_cache_including flag in cascaded
cached/not-cached/fetched/inserted/foo-templates
2003-08-08 20:41:37 +00:00
messju 04d08faa2a better escaping for $_debug_tpls[templates].filenames 2003-08-08 20:31:05 +00:00
messju 039c8ca720 removed redundant $smarty from Smarty::_smarty_include() 2003-08-08 20:25:27 +00:00
messju cdd68b02fa proper escaping of filenames in debug-console (thanks to prossel). 2003-08-08 18:48:22 +00:00
changelog 432811dc37 ChangeLog update 2003-08-08 00:30:51 +00:00
messju 139a7226c7 added docs for block-methods of registered objects 2003-08-07 22:15:12 +00:00
messju 3338c34bd5 fixed typo in example for registered objects 2003-08-07 22:02:08 +00:00
messju 2cd76c4619 fixed exampls of html_image and html_checkboxes 2003-08-07 21:51:37 +00:00
messju 37d3caf18c fixed {debug} and removed tabs in function.debug.php 2003-08-07 21:18:41 +00:00
messju 75e3dde5f0 fixed example for register_object 2003-08-07 20:05:26 +00:00
messju a5586c3d0a updated docs for capture, html_table, html_image and register_object 2003-08-07 20:04:26 +00:00
mohrt 3f10cac6ab add math and default_resource_type to docs 2003-08-07 16:30:30 +00:00
mohrt 49b2a7dcd4 add core to example, add tech note 2003-08-07 15:37:42 +00:00
messju fa38b53b72 upd copyright in the docs 2003-08-07 15:29:42 +00:00
mohrt 5c52a7f32c added core directory to install instructions 2003-08-07 15:27:42 +00:00
messju 7e68939702 added docs for php-functions as modifiers 2003-08-07 13:59:51 +00:00
messju a0b874850a better caching of attributes for $cacheable=false-plugins 2003-08-07 11:35:46 +00:00
messju 576205c52b added section "caching.cacheable" to the docs, explaining the usage of
the $cacheable-flag of the register_(block|compiler|function)-functions
2003-08-07 10:50:46 +00:00
messju 35c9b00306 fixed output of custom-functions with cached attributes 2003-08-07 10:21:17 +00:00
messju 7028e8da55 docs update on callbacks to the register_*-functions 2003-08-07 09:23:21 +00:00
changelog 5224b83caa ChangeLog update 2003-08-07 00:30:53 +00:00
messju f15be25a42 added optional parameter $cache_attrs to register_function() and
register_block(). $cache_attrs is an array containing attribute- names
that should be cached on calls to functions that have $cacheable set
to false.
2003-08-06 11:35:59 +00:00
messju 4aa9036e73 fixed bug in _run_mod_handler 2003-08-06 11:33:09 +00:00
messju 7232d718dd fixed bug with autoload-handling of modifiers. thanks andre. 2003-08-06 08:16:29 +00:00
changelog c770ad9c37 ChangeLog update 2003-08-06 00:30:53 +00:00
messju c0c3bcc054 updated copyright notice 2003-08-05 22:48:05 +00:00
messju c08ab9bb8e fixed bug that occurred when using the same not-cacheable plugin in multiple includes 2003-08-05 18:27:14 +00:00
messju ed1fd2f0f1 docs-update for plugins.writing 2003-08-05 16:49:31 +00:00
changelog a27d6d5a1c ChangeLog update 2003-08-05 00:30:41 +00:00
messju c01ca6c3aa updated docs for register_block_function(), block-functions, $request_use_auto_globals and html_checkboxes 2003-08-04 11:29:09 +00:00
changelog 9f661b3483 ChangeLog update 2003-08-01 00:30:46 +00:00
messju 19f709da5a enabled registration of class-methods as callbacks for the
register_*-functions

use: array('classname', 'method_name')) as callback
2003-07-31 13:51:28 +00:00
changelog a76d8f6a1a ChangeLog update 2003-07-30 00:30:48 +00:00
messju c183e06238 modifiers are resolved at compile-time now. _run_mod_handler() is
still used for modifiers with map_array=true (== no preceeding '@')
2003-07-29 10:29:36 +00:00
messju 6c9fa0cbd2 moved _smarty_include() back into Smarty.class.php 2003-07-29 08:26:22 +00:00
messju f9490bc715 prevent unnecessary calls to _read_file() in _is_compiled()
converted method-call to internal function-call in smarty_core_load_plugins()
2003-07-29 07:15:44 +00:00
changelog d44c3bc5c1 ChangeLog update 2003-07-29 00:30:45 +00:00
messju ea026e2650 quote smarty-header properly to prevent resource-names from escaping from the comment 2003-07-28 20:36:55 +00:00
changelog 01953e7b23 ChangeLog update 2003-07-26 00:30:39 +00:00
messju 4eec83aec8 weakend race-condition and removed bogus error-message caused by that
in smarty_core_create_dir_structure().
2003-07-25 12:40:12 +00:00
changelog 20ee4e07e7 ChangeLog update 2003-07-24 00:30:34 +00:00
messju f66b646479 moved _fetch_resource_info and _parse_resource_name back into Smarty.class.php
renamed smarty_include and smarty_eval wrappers to _include and _eval
2003-07-23 16:14:47 +00:00
changelog c97878d7fe ChangeLog update 2003-07-18 00:30:46 +00:00
messju 48d8b66ae1 improved checking of compiled_include against cached-template with non-cached-chunks 2003-07-17 19:25:22 +00:00
messju 84322ae6b3 fixed too short open-tag 2003-07-17 19:22:47 +00:00
messju fe63515d03 fixed assign parameter for eval (must have gotton lost on its way to 2.5.0)
cleaned up indentiation
2003-07-17 14:23:18 +00:00
changelog 3eed52e2cb ChangeLog update 2003-07-04 00:30:34 +00:00
messju f6ea765527 resurrected $foo->$bar syntax 2003-07-03 15:45:29 +00:00
messju 9b5ae9c950 i'm so stupid. kick me. 2003-07-03 15:43:00 +00:00
messju 309532e8e2 fixed initialisation of $this->_plugins in compile_block_tag() 2003-07-03 14:12:01 +00:00
mohrt f55ca1d583 add preg_quote delimiter 2003-07-03 13:17:40 +00:00
messju 724f940782 applied fix for {$var1->p1|modifier:$var2->p2}-syntax - thanks Dominik 2003-07-03 09:31:21 +00:00
changelog db2efa0bc1 ChangeLog update 2003-07-03 00:30:28 +00:00
messju cfe7af4d2b fixed duplicate generation of arg-list in _compile_block_tag() 2003-07-02 10:56:27 +00:00
messju a5d18a8f3f fixed off-by-one-error in nocache-tag-handling 2003-07-02 09:01:26 +00:00
changelog 295e8d8402 ChangeLog update 2003-07-01 00:30:14 +00:00
messju 52e2093abe backed out errornously committed support for $foo->$bar 2003-06-30 22:13:00 +00:00
messju 38ed839cce fixed indentiation, silenced occasional warning 2003-06-30 15:48:26 +00:00
messju ed6fee3542 match first character of file-attribute against "/" instead of
DIRECTORY_SEPARATOR since it is a url-path and not a file-path.
2003-06-30 15:44:25 +00:00
messju f866f04d66 libs/plugins/function.html_image.php 2003-06-30 15:41:25 +00:00
messju 0b3b79e9c6 re-fixed cacheable_state-handling 2003-06-30 15:08:59 +00:00
changelog 42d37d877d ChangeLog update 2003-06-30 00:30:30 +00:00
messju db4af8295e extincting $this out of smarty_core_*-functions 2003-06-30 00:08:28 +00:00
messju 473b7d8ace fixed handling of nocache-state 2003-06-30 00:07:27 +00:00
messju 135bc2fad8 removed $this from smarty_include and smarty_include_php
added cleaner handling of $this to {eval}
2003-06-29 22:57:33 +00:00
messju 0d2409b7aa fixed inlude_once-call 2003-06-29 12:25:03 +00:00
messju eabd6dfebb fixed examples of html_radios and html_checkboxes in german and french docs 2003-06-29 09:19:21 +00:00
changelog 67488ee517 ChangeLog update 2003-06-26 00:30:13 +00:00
mohrt 674722e332 fix typo, fix write_cache_paths logic 2003-06-25 22:29:03 +00:00
mohrt 5ae5a6f576 fix SMARTY_COMPILE_DIR_SEP problem, make local var 2003-06-25 21:50:34 +00:00
changelog 0f3034af42 ChangeLog update 2003-06-25 00:30:25 +00:00
mohrt 769008b763 fixed cache_paths bug, simplified filename assembly logic 2003-06-24 15:45:02 +00:00
messju 2f711dc162 added parsing of forgotton param "basedir" 2003-06-24 15:28:22 +00:00
messju 4e81cc42d8 fixed $smarty.get-reference 2003-06-24 09:39:37 +00:00
messju d52cb387c7 removed warning 2003-06-24 09:27:59 +00:00
messju 0363dd83a3 fixed value of _cacheable_state on compiler-startup 2003-06-24 09:27:27 +00:00
changelog 1882e3b26e ChangeLog update 2003-06-24 00:30:19 +00:00
mohrt 5980723e09 make cache_path per resource, fix a couple directory path issues 2003-06-23 21:31:32 +00:00
messju 650cbd9bbe removed warning when compiling empty template 2003-06-23 17:01:45 +00:00
messju 2eb044094c fixed bug in write_compiled_include 2003-06-23 16:16:58 +00:00
messju b7c6a9394b fixed warning 2003-06-23 11:21:22 +00:00
changelog 3c8cd86876 ChangeLog update 2003-06-23 00:31:56 +00:00
messju e17793eb4d fixed propagation of $this into evald code in smarty_function_eval() 2003-06-22 23:05:36 +00:00
messju 71eda49023 fix in compiled-include-handling 2003-06-22 22:10:10 +00:00
messju 81bf74f327 started moving from $this to $smarty in core.*.php 2003-06-22 03:13:25 +00:00
changelog b0562c1dce ChangeLog update 2003-06-22 00:31:13 +00:00
mohrt 1bd3c2f992 fix more dir paths 2003-06-21 17:39:15 +00:00
mohrt 9526d1ed42 fix filepaths to core files to use DIRECTORY_SEPARATOR 2003-06-21 17:35:15 +00:00
messju e61e05e05b fixed {plugin|modifier} syntax 2003-06-21 12:20:17 +00:00
messju 9fb3dbdf2c fixed compiled include handling 2003-06-21 09:24:44 +00:00
changelog d84c3b7753 ChangeLog update 2003-06-21 00:31:26 +00:00
mohrt 33fabc665f added filepath caching 2003-06-21 00:21:46 +00:00
mohrt 55dd49fa03 update more varnames 2003-06-20 20:13:42 +00:00
mohrt a889155fdc refactored var naming to better reflect "resource" instead of "file" where appropriate 2003-06-20 20:01:10 +00:00
changelog ae41b61e7e ChangeLog update 2003-06-20 00:31:31 +00:00
messju 7a23669bb4 updated version-number to 2.5.0-cvs 2003-06-19 18:46:24 +00:00
messju 65dfa12d2b omit is-cache_dir-writable-check if a cache_handler_function is in use 2003-06-19 16:32:28 +00:00
messju 73fb79675e fixed comments in smarty_include_php 2003-06-19 16:25:19 +00:00
mohrt f869abbf9f split up _compile_template to _compile_file and _compile_source, fix eval function
VS: ----------------------------------------------------------------------
2003-06-19 14:04:49 +00:00
mohrt 96e1934b03 fix logic for _is_compiled() 2003-06-19 13:18:15 +00:00
messju 2f1e635f21 added optional assign-attribute to {capture}-tag 2003-06-19 10:42:59 +00:00
messju 5a803ca612 added $cacheable-parameter to register_compiler_function() 2003-06-19 10:35:23 +00:00
changelog 598bf9feda ChangeLog update 2003-06-19 00:31:07 +00:00
messju 4596b0d794 added $cacheable-parameter to register_function() and register_block() 2003-06-18 23:01:42 +00:00
messju 022621aa40 append '.php' to all compiled templates regardless of the settings of
$use_sub_dirs
2003-06-18 20:31:27 +00:00
messju a3935d7fcb fixed $file_path-parameters passed to smarty_core_fetch_file_info() 2003-06-18 19:45:12 +00:00
changelog 50b44d5858 ChangeLog update 2003-06-18 00:31:13 +00:00
mohrt 164367d526 fix name 2003-06-17 22:02:10 +00:00
mohrt e765247431 change varnames to follow coding methods 2003-06-17 22:01:28 +00:00
mohrt 0179b76ca7 add math patch to core 2003-06-17 21:54:55 +00:00
messju 992ce6c94b switched _process_template() to _is_compiled()-logic 2003-06-17 16:47:35 +00:00
mohrt 9f94fcfb8e fix _is_compiled logic 2003-06-17 16:33:16 +00:00
mohrt 09a13f6cd8 update news file 2003-06-17 15:33:29 +00:00
mohrt 2ffb0e2921 fix _run_mod_handler routine 2003-06-17 15:23:25 +00:00
mohrt e837781093 fix path problems, rename some varibles from "template" to "file" 2003-06-17 14:11:57 +00:00
changelog fe16bee3d5 ChangeLog update 2003-06-17 00:31:54 +00:00
mohrt 0738a8ee8f rename file, commit 2003-06-16 21:43:07 +00:00
mohrt f42a23f504 fix config_load, compile fetched arrays to compile_dir, switch display
back to runtime. clean up var names and function names,  split up compile
testing and compiling to separate funcs, rename some template_* functions to
file_* functions and update logic so they can be used for file resources
other than templates.
2003-06-16 19:45:11 +00:00
messju d62680f94e fixed little bug in _compile_custom_tag() 2003-06-16 17:30:48 +00:00
mohrt 6445150ba7 move core files into their own directory under SMARTY_DIR,
remove abstraction function _execute_core_function
2003-06-16 15:18:38 +00:00
mohrt cdfe88be6d fix newline handling for template for all template tags 2003-06-16 14:38:57 +00:00
changelog f4cc1ae921 ChangeLog update 2003-06-12 00:31:22 +00:00
mohrt 2d522b5d86 add compiler function to cvs repository 2003-06-11 22:47:54 +00:00
messju 15c968fb27 added config-option "request_use_auto_globals" to make auto-globals be
used as request vars instead of HTTP_*_VARS
2003-06-11 22:17:52 +00:00
mohrt 621629cd44 make config vars compile statically 2003-06-11 21:52:09 +00:00
messju 03922f14bb backed out newlines patch 2003-06-11 15:29:14 +00:00
messju 42fbae3186 removed newlines in compiled templates after closing tags 2003-06-11 14:38:24 +00:00
changelog b07a76da23 ChangeLog update 2003-06-11 00:31:21 +00:00
messju 2f11377494 fixed german note on html_image and disk-access 2003-06-10 16:58:42 +00:00
mohrt f73864110e fix bug with resource_type resolving 2003-06-10 14:01:22 +00:00
changelog a1c4375b38 ChangeLog update 2003-06-10 00:31:12 +00:00
mohrt ddca127513 replace example with more practical one 2003-06-09 22:06:20 +00:00
changelog 61ae270174 ChangeLog update 2003-06-09 00:31:04 +00:00
messju 5b4b13a319 added block-methods for registered objects 2003-06-08 01:07:39 +00:00
changelog fa948918c7 ChangeLog update 2003-06-08 00:31:13 +00:00
messju 9a8ab178b7 fixed bug in documentation for $smarty->default_modifiers 2003-06-07 15:38:19 +00:00
changelog 43ccceb67d ChangeLog update 2003-06-07 00:31:18 +00:00
mohrt 245e5e5650 fix problem with new default_resource_type changes 2003-06-06 20:30:53 +00:00
mohrt 891ddf1cfb update NEWS file info 2003-06-06 15:54:28 +00:00
mohrt a569bd39dc add default_resource_type, ignore 1 char resource names 2003-06-06 15:49:29 +00:00
mohrt e51af36e66 fix bug where config file starts with hidden section 2003-06-06 13:52:21 +00:00
changelog 311a83f14a ChangeLog update 2003-06-05 00:30:51 +00:00
mohrt 06b4bddd47 *** empty log message *** 2003-06-04 13:50:50 +00:00
changelog 51246eb424 ChangeLog update 2003-06-04 00:30:47 +00:00
mohrt 260085657c fix example in code comments 2003-06-03 13:38:08 +00:00
messju ced3cf376e fixed behaviour of start=... for {counter} 2003-06-03 13:22:41 +00:00
changelog 8ea24a3a20 ChangeLog update 2003-06-03 00:31:08 +00:00
messju 2e9424d567 fixed assign for {counter} 2003-06-02 15:13:18 +00:00
changelog 3cf833352f ChangeLog update 2003-05-31 00:30:57 +00:00
mohrt d1c6ce0d60 add discrete error checking pertaining to $cache_dir
and $compile_dir, their existance and writability
2003-05-30 19:27:23 +00:00
changelog f4a44e3315 Update 2003-05-30 18:42:57 +00:00
changelog c1e0a86bdf ChangeLog update 2003-05-29 00:30:52 +00:00
messju f1a3b53106 added params vdir, hdir and inner to html_table to allow looping over
the data in various directions
2003-05-28 22:30:58 +00:00
mohrt 833513ba44 fix problem with security and debug.tpl file 2003-05-28 19:40:30 +00:00
changelog fd900ef46b ChangeLog update 2003-05-24 00:30:53 +00:00
mohrt a0e83daa1b upd NEWS file 2003-05-23 19:27:39 +00:00
mohrt 6edf3b63d2 allow spaces in literal tags 2003-05-23 19:26:57 +00:00
changelog 89d5f74eab ChangeLog update 2003-05-23 00:30:57 +00:00
mohrt c99671e968 fix special chars 2003-05-22 16:36:06 +00:00
mohrt 6d2e916a7b speed up compiled templates, hardcode plugin filepaths instead of
recalculate at runtime
2003-05-19 22:38:28 +00:00
messju b60879d89b fixed example of {html_image} 2003-05-19 17:45:48 +00:00
messju 033ae0330d fixed typo 2003-05-19 15:12:11 +00:00
messju 79d955503f fixed multiple redundant occurrences for 'config' and 'template' in
$smarty->_cache_info
2003-05-12 07:53:57 +00:00
messju 8876777597 refurbished create_dir_structure to use '/' internally 2003-05-10 15:35:44 +00:00
messju d57a0296d6 fixed windows absolute-paths in smarty_core_create_dir_structure() 2003-05-10 12:46:17 +00:00
messju 356ecf572e fixed error-message 2003-05-10 10:29:05 +00:00
messju 9390ce38d5 fixed warning due to missing param to _execute_core_function() 2003-05-09 19:46:37 +00:00
messju 84d5bfef20 fixed quoting in _compile_include_php 2003-05-09 14:18:28 +00:00
messju 688530acea fixed quoting of "file"-parameter in _compile_include_tag() 2003-05-09 07:36:27 +00:00
mohrt 7ca1d19de1 fix typo 2003-05-08 21:01:45 +00:00
mohrt 5b67277699 abstract more private functions to plugin directory 2003-05-08 20:21:16 +00:00
mohrt 8d99b837ec only add DIRECTORY_SEPARATOR if it isn't already present 2003-05-08 14:29:44 +00:00
mohrt a46afb8f82 fix directory separator code, use DIRECTORY_SEPARATOR 2003-05-08 14:21:13 +00:00
messju afc42e2a3f fixed example of html_checkboxes 2003-05-08 14:07:21 +00:00
messju 60a1b8cdc5 fixed bug in _create_dir_structure() when used with
open_basedir-restriction and relative paths
2003-05-08 13:18:17 +00:00
messju 0e78fa20d6 fixed example for html_radios 2003-05-08 12:17:41 +00:00
mohrt 9e42d23f88 abstracted display_debug_console and assign_smarty_interface to plugin dir as a test 2003-05-07 18:54:41 +00:00
mohrt 15cd354bf8 correct misc varnames, abstract debug console display to plugin function 2003-05-07 16:37:07 +00:00
mohrt 900f27bd6d fix typo 2003-05-07 13:24:43 +00:00
mohrt 2af5e72a7c add % to math 2003-05-05 18:36:11 +00:00
mohrt 2d245d5d8f clean up comments, formatting 2003-05-05 14:49:38 +00:00
mohrt 81bb2aec77 keep DIR_SEP for 3rd party compatability 2003-05-05 14:41:22 +00:00
mohrt db2ff5a2ef remove DIR_SEP, use DIRECTORY_SEPARATOR exclusively 2003-05-05 14:37:57 +00:00
mohrt deec21800c remove ++ and -- math operators on template vars 2003-05-05 14:19:57 +00:00
messju eb3b9beec1 removed unused parameter $quote from Smarty_Compiler::_parse_attrs() 2003-05-04 22:08:44 +00:00
messju 7f307b8a94 fixed DIR_SEP in html_image-plugin 2003-05-04 22:07:10 +00:00
mohrt 3a1b87f3e4 rename DIR_SEP to SMARTY_DIR_SEP to avoid varname collisions 2003-05-04 16:57:15 +00:00
messju 2bc360d3c3 changed "link" to "href" in html_image. "link" is still working but deprecated
html_image always renders an alt-tag now (default alt="")
cleaned up indentiation of function.html_image.php
2003-05-04 11:32:54 +00:00
mohrt f40c0f0b53 fix typo 2003-05-03 16:04:08 +00:00
messju f5c4fd4534 fixed assign attribute for multiple counters 2003-05-02 22:33:15 +00:00
mohrt 406a148673 allow math on negative number 2003-05-02 19:05:21 +00:00
mohrt b29b7f9025 added simple math operators to variables 2003-05-02 16:39:18 +00:00
messju ebe4d61475 fixed typos 2003-05-02 07:58:45 +00:00
mohrt cf21e1270e add frech docs to cvs repository 2003-04-30 18:48:44 +00:00
messju 4389d50168 reverted patch for case-insensitive tag-names 2003-04-29 17:00:30 +00:00
messju fc8c00559e reverted back to humerous redundancy in the docs :). although we all
know we are here to generate template-based output, and not to have
fun ;-)
2003-04-28 15:57:56 +00:00
messju 0ea2e6a37d fixed default user and group for max os x installation 2003-04-28 08:03:53 +00:00
messju 5f959fc7ec made $function[2] and $function[3] options for register_resource 2003-04-28 01:33:17 +00:00
messju 217b120db3 fixed issue with object-callback when fetching a php-resource 2003-04-28 00:55:01 +00:00
messju 4dac038066 enabled array(&$obj. 'source', 'timestamp', 'secure', 'trusted') as
callback for register_resource()

enabled array(&$obj, 'method') as callback for
$default_template_handler_func
2003-04-28 00:22:41 +00:00
messju 74286b0c51 fixed some typos, thank to mehdi 2003-04-27 23:55:58 +00:00
messju c4479805af prevent assign from overruling print-attribute in function.counter.php 2003-04-27 18:29:21 +00:00
messju 56792e7ccd fixed problem with counter and assign 2003-04-27 18:16:24 +00:00
messju 3919c2a8af fixed notice in _load_plugins() 2003-04-27 18:10:02 +00:00
messju 86aff4030b made plugin-names case-insensitive. this affects
compiler/block/custom-functions and modifers.
2003-04-27 18:04:33 +00:00
mohrt f3dfdc5ec1 remove unnecessary close/open tags from compiled templates 2003-04-26 15:56:18 +00:00
messju a2550ae543 added documentation for foreach.property.* 2003-04-26 14:00:47 +00:00
messju 49bbb4c8ae fixed example table_attr and tr_attr in html_table-example 2003-04-24 07:43:11 +00:00
cellog 0b10d02d73 fixed small bug in doc comments 2003-04-21 19:04:47 +00:00
messju 448da66e39 fixed errornous creation of '//' in image_path in html_image 2003-04-21 17:42:50 +00:00
mohrt 4a6b5269a3 fix htmlspecialchars() conflict 2003-04-21 16:53:03 +00:00
mohrt 1f0f8d062c fix escapement of special chars in key values of debug console 2003-04-21 16:17:26 +00:00
mohrt 97e6b40b81 fixed debug timing logic for config_load 2003-04-21 14:22:46 +00:00
mohrt fa5f4bdf72 fix example text 2003-04-21 14:02:03 +00:00
cellog fac8fb59fc *** empty log message *** 2003-04-20 21:18:26 +00:00
cellog 02f56203ad updated all doc comments to phpDocumentor format 2003-04-20 21:12:13 +00:00
mohrt 9b42197d3e fix typo 2003-04-20 21:07:54 +00:00
mohrt e55d4e9df9 add strip block function file to repository 2003-04-20 18:41:44 +00:00
mohrt 815ac01d84 moved strip from smarty core to plugin, made textformat block function return output instead of echo it 2003-04-20 18:33:31 +00:00
mohrt fffa454585 add config_load plugin file to repository 2003-04-20 18:08:34 +00:00
mohrt 386515966b moved config_load from smarty core to plugin 2003-04-20 18:08:04 +00:00
messju efd4ed83b5 added &$repeat-paramter to block-functions 2003-04-20 13:04:42 +00:00
cellog 51b8d2b854 *** empty log message *** 2003-04-20 06:01:16 +00:00
messju 7f9466bd17 enabled hex-constants in function.math.php 2003-04-19 10:32:05 +00:00
messju 3f0821ed62 enabled hex-constants (0x...) as function-attributes, inside
if-statements and as modifier-parameters
2003-04-19 10:12:18 +00:00
mohrt aa7d2b3418 fix more path typos 2003-04-18 16:18:52 +00:00
mohrt 4c62ef5a47 fix typo in file path example 2003-04-18 16:17:00 +00:00
messju 2ba21fd1e1 fixed bug with passing $smarty as reference in Smarty.compiler.class
quoted "<?php ... ?>" in comment to dis-annoy syntax-highlighting of a certain editor
2003-04-18 10:03:09 +00:00
mohrt 76a3ebd1a8 backed out comment patch 2003-04-17 18:30:41 +00:00
mohrt 9736393913 fix bug in new comment logic 2003-04-17 15:43:31 +00:00
mohrt e19bfe73a0 corrected output with Smarty comments 2003-04-17 15:20:19 +00:00
mohrt 25c6f33b28 fix bug with {strip} and PHP tag newlines 2003-04-17 14:51:45 +00:00
mohrt 5eff9c73e5 commit german 2.5.0 docs 2003-04-17 14:50:49 +00:00
mohrt de2316c91c add README file 2003-04-15 13:39:09 +00:00
mohrt d0f6503183 remove fix_vars.php file from distribution, add smarty icon gif 2003-04-15 13:34:55 +00:00
messju e6db82c9cc added object-callbacks for all types of plugins and filters
(except for resources)
2003-04-15 10:41:13 +00:00
mohrt 423c1a2eae add appropriate warnings when passing array as extra parameter 2003-04-14 16:57:40 +00:00
messju 7221c8afee fixed urls in headers ( http://smarty.php.net/ instead of
http://www.phpinsider.com )
2003-04-14 08:51:25 +00:00
messju 107a1ecabd added <labels>-support to function.html_checkboxes.php and function.html_radios.php 2003-04-14 07:47:49 +00:00
messju 238655b2fa fixed bug with nested calls to fetch() when caching enabled 2003-04-14 07:31:42 +00:00
messju 61b1b4134f add (FA)Q: I get "SAFE MODE Restriction in effect. ..."-errors when running smarty. 2003-04-11 22:55:59 +00:00
mohrt 26bc623612 update date 2003-04-11 15:12:11 +00:00
mohrt 3cfcb5d223 update version numbers for 2.5.0 release 2003-04-11 13:40:40 +00:00
mohrt e09d3070a1 fixed bug with default modifier when passing integer 0 2003-04-10 20:55:36 +00:00
changelog b3eac3c997 ChangeLog update 2003-04-07 00:30:59 +00:00
messju b9957a6845 allowed "_" in the name of variable-parameters to {math}-function 2003-04-06 12:24:46 +00:00
changelog 60df40a589 ChangeLog update 2003-04-05 01:30:56 +00:00
mohrt d169624a9b change backtic syntax from $foo to $foo 2003-04-04 23:19:02 +00:00
mohrt da67d8edce recognize $foo[][] syntax in embedded quotes without backticks 2003-04-04 20:15:48 +00:00
changelog 3dc4558b4a ChangeLog update 2003-04-04 01:31:02 +00:00
messju b4a27fafa4 name=123 is passed as an integer (not a string) to plugins now 2003-04-03 17:00:17 +00:00
changelog a769959582 ChangeLog update 2003-04-02 01:30:51 +00:00
messju 9693d74260 added CVS $Id$ 2003-04-01 15:23:16 +00:00
changelog 43abd8593d ChangeLog update 2003-04-01 01:30:49 +00:00
messju bf1868bb35 added missing compile_id inside Smarty_Compiler 2003-03-31 22:17:53 +00:00
messju 45ff82cf10 fixed flaw when generating an error for missing postfilter 2003-03-31 21:57:41 +00:00
mohrt 5985ce2862 fix typos 2003-03-31 00:29:10 +00:00
changelog bd7f263118 ChangeLog update 2003-03-28 01:30:49 +00:00
messju e90a98451f $length is now propagated to sub-values in debug_print_var 2003-03-27 22:10:00 +00:00
changelog 65985aa4a5 ChangeLog update 2003-03-27 01:31:03 +00:00
mohrt 6ae90b90a8 update header 2003-03-26 19:06:51 +00:00
mohrt b90466bca8 commit changes to release notes 2003-03-26 18:54:44 +00:00
mohrt 5529396ade committing RC2 2003-03-26 18:06:09 +00:00
changelog 260bc2670a ChangeLog update 2003-03-25 02:26:08 +00:00
messju 014debad30 made clear_cache() ignore compile_id when clearing cache_groups 2003-03-24 16:32:14 +00:00
messju d1fe24ec2d made onmouseout XHTML-compatible in function.popup.php 2003-03-24 09:37:21 +00:00
changelog d5e22c81bf ChangeLog update 2003-03-22 01:31:43 +00:00
messju cf1a202a5d applied new var-names to fetch() 2003-03-21 15:50:03 +00:00
messju 1ca406366f renamed $localvars to $_localvars in cache-file-handling-functions,
added _get_auto_id()-function
2003-03-21 15:39:29 +00:00
mohrt d5db1cf798 update functions for XHTML compatability 2003-03-21 14:36:24 +00:00
messju ad26b57f18 fixed wrong $auto_id in _read_cache_file() 2003-03-21 09:36:16 +00:00
messju b1787d0b23 swapped compile_id and cache_id in read_cache_file and write_cache_file 2003-03-21 09:07:57 +00:00
messju 4a2b486086 reverted patch for ignoring compile-id back to -r1.364, due to problems 2003-03-21 08:55:56 +00:00
messju 9d0972691d html_radios and html_checkboxes accept "selected" instead of "checked" optionally now 2003-03-21 08:20:12 +00:00
messju bcc3571f05 swapped compile_id and cache_id for cache-file-handling again 2003-03-21 08:17:45 +00:00
changelog f15188c6dc ChangeLog update 2003-03-21 01:39:04 +00:00
mohrt ec60516e34 fix notice when no parameter is passed to default 2003-03-20 14:31:18 +00:00
messju 267a9c41d7 removed notice of undefined var in _rm_auto() 2003-03-20 09:20:24 +00:00
changelog bbd066aad9 ChangeLog update 2003-03-20 01:33:42 +00:00
mohrt c42fb4b2ab fix a few error messages, follow consistancy format plugin_name: errormsg 2003-03-19 22:58:23 +00:00
mohrt d0ab44762b update error messages 2003-03-19 22:56:30 +00:00
mohrt 35973b2231 add a warning when an array is passed as the 'checked' value of html_radios 2003-03-19 22:52:22 +00:00
messju 8c73efec74 fixed errormessage in _compile_smarty_ref() 2003-03-19 12:51:34 +00:00
messju cde01c0aa2 updated docs for html_image 2003-03-19 11:46:07 +00:00
changelog 8cef3224e8 ChangeLog update 2003-03-19 01:33:18 +00:00
messju 41b3d4b7a8 cleaned up calls to readdir() 2003-03-18 22:47:16 +00:00
messju 42a49792aa fixed label for optgroup in html_options 2003-03-18 21:04:13 +00:00
mohrt 67470219d2 fix (newly introduced) bug with passing multiple modifiers to a parameter 2003-03-18 14:47:41 +00:00
messju a94f3cb112 updated docs for html_checkboxes, html_options and html_radios 2003-03-18 09:20:15 +00:00
messju 2c61a0b12b fixed wrong default-"name" in function.html_options.php 2003-03-18 09:17:51 +00:00
messju 8ae8586ad3 renamed "checkbox" and "radios" to "options" in {html_checkboxes} and {html_radios} 2003-03-18 08:59:00 +00:00
changelog e60fa99523 ChangeLog update 2003-03-18 01:36:04 +00:00
messju dd564f3885 tried to optimize re-replacement in outputfilter.trimwhitespace.php a little 2003-03-18 00:44:37 +00:00
messju e1bec79465 fixed greedy str_replace in outputfilter.trimwhitespace.php 2003-03-18 00:26:46 +00:00
messju 128bf2e4de html_options, html_checkboxes and html_radios now pass-thru all unknown paramters 2003-03-18 00:01:41 +00:00
messju ddcd30be99 html_options passthru all unknown paramters now 2003-03-17 16:36:02 +00:00
mohrt 61a223dae8 Fix link bug in html_image function, also make output XHTML compatible 2003-03-17 15:39:28 +00:00
mohrt 2df1ca2d00 fix issue of embedded var and escaped double quotes 2003-03-17 14:56:39 +00:00
changelog 7c446d950b ChangeLog update 2003-03-16 01:33:08 +00:00
mohrt 76048d1ceb back out "@" logic, apply only to default modifier special case 2003-03-15 20:47:29 +00:00
mohrt ab48cfa939 fix @ logic, only use upon an echo 2003-03-15 20:03:46 +00:00
mohrt e4f2f8cf35 append "@" to template var echoes to supress possible notices 2003-03-15 19:34:46 +00:00
mohrt 6f3de10273 append "@" to _run_mod_handler to supress warnings 2003-03-15 18:27:30 +00:00
changelog 73b0a0604a ChangeLog update 2003-03-15 01:32:36 +00:00
mohrt 05c8d5978f fix problem with escaped double quotes 2003-03-14 16:28:47 +00:00
mohrt 8bfba9d22a fixed html_options to not return an array 2003-03-14 15:52:34 +00:00
changelog b8f4a39816 ChangeLog update 2003-03-13 01:33:34 +00:00
messju b01ce468d2 fixed length in modifier.truncate.php 2003-03-12 21:56:32 +00:00
messju 8cb7113db9 fixed handling of '$'-signs in trimwhitespace outputfilter (messju) 2003-03-12 16:26:55 +00:00
changelog 63237d2343 ChangeLog update 2003-03-12 01:33:53 +00:00
mohrt dd7d5ae956 update technical explanation of assign_by_ref and append_by_ref 2003-03-12 00:14:32 +00:00
mohrt 8cf163198a fix config file recompiling code 2003-03-11 15:31:22 +00:00
changelog 1c6c58cabb ChangeLog update 2003-03-08 01:31:49 +00:00
mohrt 995114a4c2 change E_USER_ERROR to E_USER_NOTICE 2003-03-07 19:29:01 +00:00
mohrt 0e54ba8208 suppress warning in html_image 2003-03-07 18:36:37 +00:00
mohrt 0631ea18b4 update changes to html_image 2003-03-07 17:06:39 +00:00
changelog 53cbec5139 ChangeLog update 2003-03-07 01:32:46 +00:00
mohrt 9a957de25a add german docs to dist 2003-03-06 23:37:24 +00:00
mohrt 88aabaa6dd update news file 2003-03-06 21:40:14 +00:00
mohrt 274a9ca3e9 fix width/height parameter index 2003-03-06 21:39:16 +00:00
mohrt 3fd8661f08 get rid of unsetting name and script attributes to insert tags 2003-03-06 15:42:48 +00:00
changelog 8beb8a39f6 ChangeLog update 2003-03-06 01:33:38 +00:00
mohrt 1cf187abdd update NEWS file 2003-03-05 23:57:17 +00:00
mohrt ec135386b1 fix argument order, erroneously swapped a while back 2003-03-05 23:53:34 +00:00
mohrt 0d0cdbf353 commit final changes for 2.5.0-RC1 2003-03-05 17:36:41 +00:00
changelog b65426df55 ChangeLog update 2003-03-05 01:34:13 +00:00
mohrt 393c9eb907 remove $show_info_header and $show_info_include property vars from docs 2003-03-04 17:47:50 +00:00
changelog c7f73c2041 ChangeLog update 2003-03-04 01:33:28 +00:00
mohrt 3f4f215ce2 fixed PHP notice 2003-03-03 20:43:29 +00:00
changelog 34b460e0d5 ChangeLog update 2003-03-01 01:41:29 +00:00
mohrt 63b1a2b04d simplify smarty.const.foo and smarty.const.$foo logic 2003-02-28 16:36:19 +00:00
mohrt 0a03b8c306 only allow $foo syntax in embedded quotes, unless escaped with backticks then allow any dollar var 2003-02-28 15:54:43 +00:00
mohrt 620674493a fix "once" var compiling to work with new attr compiling methods for include_php 2003-02-28 15:45:42 +00:00
mohrt d785df41b3 fix $smarty.const.foo compiling, clean up double quoted strings,
allow full dollar var syntax in quotes again
2003-02-28 15:08:15 +00:00
changelog 984a3e8397 ChangeLog update 2003-02-28 01:31:47 +00:00
mohrt e03824dd55 update docs, fix smarty var compiling, allow any $smarty.*.$foo syntax,
add $`foobar` for embedded variables
2003-02-27 17:32:08 +00:00
mohrt 45c536ad7c update functionality 2003-02-27 14:44:34 +00:00
changelog 2901ad25bc ChangeLog update 2003-02-27 01:44:27 +00:00
mohrt 5006d4d510 add nl2br modifier 2003-02-26 22:16:14 +00:00
mohrt edcf2aee05 add link parameter 2003-02-26 17:27:56 +00:00
changelog 5ce1c3b722 ChangeLog update 2003-02-25 01:33:45 +00:00
mohrt a466c91897 fix rename problem in windows, unlink first 2003-02-24 23:28:20 +00:00
mohrt ae704af588 update functions with separate escape_special_chars routine 2003-02-24 21:45:19 +00:00
mohrt f83592dc82 commit checkboxes, update radios 2003-02-24 21:10:01 +00:00
mohrt 566c5b71d5 fix bug with get_registered_object 2003-02-24 17:47:05 +00:00
mohrt ebb54d1e73 added cat modifier to distribution 2003-02-24 16:31:47 +00:00
mohrt 2ebecbe2e6 added << >> <> support to IF statements 2003-02-24 16:24:29 +00:00
mohrt 4d957d42ec apply patch to initial html_radios function 2003-02-24 16:16:58 +00:00
mohrt 49df67b539 fix _assign_smarty_interface to not overwrite keys other than 'request' 2003-02-24 16:10:35 +00:00
mohrt 878d8ab5c5 added html_radios to distribution 2003-02-24 15:36:34 +00:00
mohrt ea0e560e90 fixed arg order of string_format 2003-02-24 15:28:15 +00:00
mohrt f5f21995ef use tmp file for file writes, avoid race condition 2003-02-24 15:14:53 +00:00
mohrt 3e755114a3 add $smarty.config.foo var, handle embedded smarty var correctly 2003-02-24 14:51:47 +00:00
mohrt 52f15b67b2 silence warnings in fetch plugin 2003-02-24 14:23:39 +00:00
changelog 4a12662369 ChangeLog update 2003-02-22 01:32:09 +00:00
mohrt 86ea1e6b12 update wording 2003-02-21 20:36:29 +00:00
mohrt e2a7dd387f update install instructions 2003-02-21 20:35:32 +00:00
mohrt cd618a156c remove some files already in docs or elsewhere 2003-02-21 20:29:38 +00:00
mohrt b67bdff882 add templates_c to repository 2003-02-21 20:23:40 +00:00
mohrt 27ed7fa794 move demo files to demo directory 2003-02-21 20:21:58 +00:00
mohrt 65fd1f26cf remove plugins dir 2003-02-21 20:20:26 +00:00
mohrt a1020815a2 moved lib files under libs directory 2003-02-21 20:17:21 +00:00
changelog d48618640e ChangeLog update 2003-02-21 01:32:35 +00:00
mohrt 9bcd117ecd add get_config_vars() method, update get_template_vars() functionality 2003-02-20 21:59:09 +00:00
mohrt 5307693b78 fix minor logic in _fetch_template_info() 2003-02-20 18:58:44 +00:00
mohrt f66f204ef8 support merging appended vars 2003-02-20 16:39:36 +00:00
mohrt 15f982004c fix cache groups behavior with compile_id set 2003-02-20 15:30:46 +00:00
changelog 25fece8a82 ChangeLog update 2003-02-20 01:33:16 +00:00
mohrt 2b10dfd70d back out third parameter, extend functionality of append 2003-02-19 23:05:46 +00:00
mohrt 7f0ceb703a update imbedded vars, allow special $smarty vars 2003-02-19 17:26:48 +00:00
mohrt d9b2c672e5 add plugin html_table 2003-02-19 16:48:00 +00:00
mohrt 212a27346e support appending key=>val pairs 2003-02-19 16:40:13 +00:00
mohrt 2cd256d4fc change embedded variable logic to only recognize $foo and $foo[0][bar] syntax 2003-02-19 16:25:47 +00:00
mohrt d190c1c8fd allow null as function attribute value 2003-02-19 15:58:03 +00:00
changelog 01531187a4 ChangeLog update 2003-02-19 01:32:18 +00:00
mohrt 7bd3972319 support foo->bar[index] syntax 2003-02-18 19:58:32 +00:00
mohrt 2d6d972bf5 allow $foo->bar[0] syntax 2003-02-18 18:08:05 +00:00
changelog dfdac1166e ChangeLog update 2003-02-18 01:34:16 +00:00
mohrt 57fc8d0372 fix syntax error from previous commit 2003-02-17 21:13:32 +00:00
mohrt 54a0c0e676 add error msgs to get_registered_object 2003-02-17 18:03:00 +00:00
mohrt 9ba5450976 add function for getting reference to registered object 2003-02-17 17:56:35 +00:00
mohrt b2573b2ca1 back out patches for object and objref calls on $smarty var 2003-02-17 17:39:12 +00:00
mohrt 3fd7c585c3 treat unrecognized param attribute syntax as a string 2003-02-17 17:11:42 +00:00
mohrt 021c83db3f support $smarty.const.$foo syntax 2003-02-17 15:04:43 +00:00
mohrt c99f9fdbb2 fix E_NOTICE messages 2003-02-17 14:58:36 +00:00
mohrt b04bbd47c6 add @ and === to if tokens, few param cleanups 2003-02-17 14:47:21 +00:00
changelog f28f4da51e ChangeLog update 2003-02-17 01:31:53 +00:00
cellog abc335673f many more phpdoc comment upgrades 2003-02-16 05:09:19 +00:00
changelog 43757d1c53 ChangeLog update 2003-02-15 01:36:02 +00:00
mohrt dd0c98bb3e enable config_load error messages 2003-02-14 20:27:46 +00:00
mohrt d23fe50562 fix html_options to not escape already escaped entities 2003-02-14 15:27:16 +00:00
mohrt 241708cd63 send Last-Modified header on cache creation, misc tab/spacing cleanup 2003-02-14 14:51:47 +00:00
changelog 6f1da78f94 ChangeLog update 2003-02-14 01:33:34 +00:00
mohrt 77a0e291cc allow dash in plain text 2003-02-13 17:58:19 +00:00
mohrt 6cb413bbfc check strict syntax of function attributes 2003-02-13 15:28:14 +00:00
changelog 7aba4537a9 ChangeLog update 2003-02-13 01:33:25 +00:00
mohrt bd9aabdc64 dropped support for modifiers on object parameters,
added support for objects as modifier parameters
2003-02-12 22:34:05 +00:00
mohrt 77fa84916e fix bug with decimal numbers in if statements, misc doc updates 2003-02-12 22:13:18 +00:00
changelog 7ea528362e ChangeLog update 2003-02-12 01:32:04 +00:00
mohrt c239d16935 update version numbers 2003-02-11 18:35:43 +00:00
changelog e352b8b630 ChangeLog update 2003-02-11 01:31:46 +00:00
mohrt 2bce12e9e0 add support for $foo->$bar syntax 2003-02-10 20:59:08 +00:00
mohrt 2a5d061dcd update NEWS file 2003-02-10 17:48:38 +00:00
mohrt 8e99c61ce5 support full var syntax in quoted text, fix problem with const var access, clean up some more regex code, fix object problem with no properties 2003-02-10 17:46:58 +00:00
changelog fe36a30c4d ChangeLog update 2003-02-07 01:31:51 +00:00
mohrt f66b37f792 committed 2.4.1 changes 2003-02-06 17:34:28 +00:00
mohrt 8f40f35c56 ignore case in IF statements 2003-02-06 14:37:49 +00:00
changelog 9a13bd125f ChangeLog update 2003-02-06 01:33:11 +00:00
mohrt 8705ecd41a treat undefined constants as null 2003-02-05 23:22:39 +00:00
mohrt 0ce1799133 fix problem with inserts and nested fetches 2003-02-05 22:19:16 +00:00
mohrt 396d18f5b5 fix "if" regex for math tokens 2003-02-05 20:36:26 +00:00
mohrt c0eabe7fbd added support for extracting params to include_php 2003-02-05 14:56:27 +00:00
changelog a253e9fba2 ChangeLog update 2003-02-05 01:33:46 +00:00
mohrt 3baff95f60 reformat text 2003-02-04 15:44:28 +00:00
changelog dbccda094d ChangeLog update 2003-02-04 01:32:22 +00:00
mohrt 706b51988c update news file 2003-02-03 20:37:33 +00:00
cellog 440f7614a2 begin fixing phpdoc comments in Smarty.class.php 2003-02-03 17:22:21 +00:00
cellog 43d077bc60 fixed phpdoc comments 2003-02-03 16:32:45 +00:00
mohrt f4961b6950 allow $foo->bar[$x].foo syntax 2003-02-03 15:46:11 +00:00
mohrt b8b04c056e fix accidental commit 2003-02-03 15:39:47 +00:00
mohrt 8e8c2afc86 allow $foo->bar[$j].blah type of syntax 2003-02-03 15:36:32 +00:00
changelog ccab56a201 ChangeLog update 2003-02-03 02:21:48 +00:00
mohrt 3353d3654d fix version number 2003-02-02 18:10:39 +00:00
mohrt 66c1110fea update Smarty version numbers 2003-02-02 08:07:57 +00:00
changelog d6e0917b9b ChangeLog update 2003-01-31 01:33:32 +00:00
mohrt 8266f8660e fix order of php tag comparisons 2003-01-30 16:48:55 +00:00
mohrt 71b0cc207b fix known php tag handling problems 2003-01-30 16:09:53 +00:00
changelog 922c464f10 ChangeLog update 2003-01-30 01:32:44 +00:00
mohrt 827e428bd4 change comments to phpdoc style 2003-01-29 22:51:20 +00:00
changelog 1b20ffa46a ChangeLog update 2003-01-29 01:32:03 +00:00
mohrt e8fb7091d2 make separate var for compiler file 2003-01-28 15:05:13 +00:00
mohrt 89ef1e5b08 fix error call 2003-01-28 14:33:50 +00:00
changelog 8161894d2c ChangeLog update 2003-01-26 01:32:58 +00:00
mohrt 76e48171d4 add support for restriction to registered methods 2003-01-25 20:31:45 +00:00
mohrt 1e11860447 update with textarea support 2003-01-25 17:31:55 +00:00
changelog 6951e710a2 ChangeLog update 2003-01-25 01:31:37 +00:00
mohrt 6e0c6ce6f3 fix compiling problem with {foreach} tags 2003-01-24 16:08:31 +00:00
mohrt d6766ec11e put objects in own array, add object param format support, change
object syntax from foo.bar to foo->bar
2003-01-24 15:02:15 +00:00
changelog 95d6a268aa ChangeLog update 2003-01-24 01:33:16 +00:00
mohrt 494993de38 add support for object registration 2003-01-23 23:33:29 +00:00
changelog 0eb02a6187 ChangeLog update 2003-01-23 01:33:59 +00:00
mohrt a9bf8c901c add file & line number of calling error to error message 2003-01-22 17:26:43 +00:00
changelog dde7f689f9 ChangeLog update 2003-01-22 01:33:22 +00:00
mohrt fccbd9156a put php style object syntax back in 2003-01-21 20:39:09 +00:00
changelog 455fc9382d ChangeLog update 2003-01-21 01:34:29 +00:00
mohrt a85d820bec move security settings to fetch function for template_dir 2003-01-20 19:03:03 +00:00
mohrt d9a6f036f1 fix debug template and security, add template_dir to secure_dir at runtime 2003-01-20 18:05:43 +00:00
changelog 1b0f70c775 ChangeLog update 2003-01-18 01:34:26 +00:00
mohrt 3177db30d6 added new object support without new template syntax 2003-01-17 23:54:29 +00:00
changelog 6eafc9f600 ChangeLog update 2003-01-16 01:33:45 +00:00
mohrt 450e15dd8e fix if statement syntax for negative integers, fix issue with directories
named '0'
2003-01-15 15:23:13 +00:00
changelog 11a81370c7 ChangeLog update 2003-01-09 01:33:43 +00:00
mohrt b579c0f51d update plugins to return values instead of echo, fix config file cache
to include global config variables in cache file
2003-01-08 17:34:45 +00:00
mohrt 2cad634805 fix bug with >= tests in if statements, comment out full object support 2003-01-08 15:47:48 +00:00
changelog eb47fe9db3 ChangeLog update 2003-01-07 01:36:32 +00:00
mohrt a7106ed311 add javascript escape parameter to escape modifier 2003-01-06 23:15:27 +00:00
changelog 09f703480f ChangeLog update 2003-01-03 01:38:19 +00:00
mohrt 1abf4ff8fb move the title into head where it should be 2003-01-02 15:04:38 +00:00
changelog 80ca348679 ChangeLog update 2002-12-25 01:35:29 +00:00
mohrt 04ad10d54a added correct line numbers to smarty syntax error messages 2002-12-24 17:07:43 +00:00
mohrt 728b293091 update append documentation, make more clear on its function 2002-12-24 16:09:12 +00:00
mohrt 70f61e47da fix modifier matching regexp 2002-12-24 14:56:43 +00:00
changelog 7a604a79ab ChangeLog update 2002-12-24 01:32:12 +00:00
mohrt de93c33525 support nested function calls in IF statements 2002-12-23 22:52:42 +00:00
changelog 0a216a69d6 ChangeLog update 2002-12-21 01:35:48 +00:00
mohrt 70a51d1674 few more fixes, spaces around function parameters 2002-12-20 17:25:01 +00:00
changelog 397ead161f Update. 2002-12-20 15:05:53 +00:00
changelog b5cd9743c8 ChangeLog update 2002-12-20 01:36:08 +00:00
mohrt 2d6fc40683 fix misc syntax issues with {if} tags 2002-12-20 01:12:43 +00:00
mohrt bc3eb218db commit updates, passes all smoke tests 2002-12-19 23:55:17 +00:00
mohrt 51ca3a0dc9 update NEWS file 2002-12-19 17:16:03 +00:00
mohrt 446c15fafa fixed literal string not in quotes as parameters 2002-12-19 17:15:29 +00:00
mohrt d587059b28 fix misc syntax issues, add ability to pass modifiers to functions 2002-12-19 17:02:11 +00:00
changelog d768237b44 ChangeLog update 2002-12-19 01:33:53 +00:00
mohrt 8a41902c67 update NEWS 2002-12-18 17:07:17 +00:00
mohrt 339210ff3a update compiler code, clean up regex, add new syntax features 2002-12-18 16:51:48 +00:00
mohrt d6ba422ce9 update NEWS file 2002-12-16 19:54:49 +00:00
mohrt df267cb92a commit updates for objects 2002-12-16 17:50:29 +00:00
mohrt 9d5c7f4f55 fix bug with compiling config files with caching on 2002-12-14 16:50:40 +00:00
mohrt 2307e780bf fix problem with matching single quoted strings 2002-12-13 16:52:14 +00:00
mohrt dccaba62ca update embedded variable logic, get rid of ."" at end of output 2002-12-13 15:58:45 +00:00
mohrt 1f12a0f3e0 add day_value_format to html_select_date 2002-12-13 15:40:53 +00:00
mohrt 27f8e2c40b fix bug, double escaped values in display 2002-12-12 17:39:33 +00:00
mohrt c8cb8b6926 move debug test back into fetch() 2002-12-12 17:25:23 +00:00
mohrt 0cfedac9d5 assigned vars are no longer in global name space, few debug cleanups 2002-12-12 16:28:29 +00:00
mohrt d94cacb721 fix error in newline code 2002-12-11 14:59:25 +00:00
mohrt a91b21aba3 fix popup to allow newlines in text data 2002-12-11 14:51:10 +00:00
mohrt caa0b572cb fix plugin error logic 2002-12-10 23:11:14 +00:00
mohrt fc41c0c137 edit examples, make more verbose 2002-12-10 17:43:11 +00:00
mohrt 556a9fc9df escape html entities in the option values and output 2002-12-10 15:20:09 +00:00
mohrt 9b25d35767 fixed bug with label of html_options 2002-12-10 14:52:07 +00:00
mohrt a6906851fd add support for var_export() 2002-12-09 23:51:28 +00:00
mohrt 61987444e8 clean up code, respect force_compile and compile_check flags 2002-12-09 23:37:35 +00:00
mohrt c3cc85f094 add caching feature to config loading, document update, add mailto plugin 2002-12-09 19:43:51 +00:00
mohrt 89f957ae5a fix query part of URL 2002-12-08 23:02:59 +00:00
mohrt 021676b5ba fix typos 2002-12-05 15:27:06 +00:00
mohrt a18eaf7194 patch for warning message 2002-11-22 14:33:03 +00:00
mohrt d4f95ceee5 get rid of testing for a set value with assign function, just set to whatever is passed into the template 2002-11-21 15:12:12 +00:00
mohrt 2f5e0df71f fix typo 2002-11-21 14:17:41 +00:00
mohrt 78bae2acef commit changes, ready for 2.3.1 release 2002-11-19 15:45:02 +00:00
changelog 3be2b4402d ChangeLog update 2002-11-02 01:36:32 +00:00
mohrt 1bda2fb5ac added label attribute to all option outputs, cover w3c spec. 2002-11-01 15:32:42 +00:00
mohrt 1ec62d9df7 update NEWS file 2002-11-01 15:29:38 +00:00
mohrt e7a3600650 update docs for optgroup output 2002-11-01 15:28:41 +00:00
mohrt e574890ea8 make html_options work with optgroup, make func modular and recursive. 2002-11-01 15:18:27 +00:00
changelog f859b613f7 ChangeLog update 2002-10-30 01:35:33 +00:00
mohrt fdbd20d151 set mtime on compile files so they match source files 2002-10-29 15:50:05 +00:00
changelog 24383467f4 ChangeLog update 2002-10-19 00:33:59 +00:00
mohrt da8be2a616 added proper support for open_basedir setting 2002-10-18 16:54:41 +00:00
mohrt cb76683a4b clear up docs on index, iteration and rownum 2002-10-18 16:33:27 +00:00
changelog 88bea31684 ChangeLog update 2002-10-17 00:34:10 +00:00
mohrt 7a936c7ca1 fix warning message in default modifier 2002-10-16 16:26:12 +00:00
changelog 6027b98444 ChangeLog update 2002-09-26 00:36:39 +00:00
mohrt 10c55e12cb added strip variable modifier 2002-09-25 15:54:46 +00:00
changelog 78e8967871 ChangeLog update 2002-09-25 00:37:37 +00:00
andrei 39d2a1cb48 *** empty log message *** 2002-09-24 19:31:58 +00:00
andrei f2b49f59cd Fix to be able to use $smarty.x variables as arrays. 2002-09-24 19:31:31 +00:00
changelog 1188d563de ChangeLog update 2002-09-24 00:35:12 +00:00
mohrt 44da93da28 add support for mac/dos formatted config files (fix newlines) 2002-09-23 20:14:46 +00:00
mohrt f3f83938ec add optional tags to clear_cache parameters 2002-09-23 17:05:21 +00:00
mohrt 8a7d191074 fix error with include_php description, add $this to description 2002-09-23 16:59:25 +00:00
changelog 7aace6e3d1 ChangeLog update 2002-09-21 00:34:43 +00:00
mohrt d09cfaaf1b fixed errors with example setup docs 2002-09-20 21:19:32 +00:00
changelog 849e32e6fd ChangeLog update 2002-09-17 00:34:48 +00:00
mohrt 6076225c71 add textformat block function 2002-09-16 15:19:41 +00:00
changelog 282fa49e02 ChangeLog update 2002-09-11 00:34:26 +00:00
mohrt 2bc5e63c96 add assign attribute to cycle function documentation 2002-09-10 19:04:07 +00:00
mohrt 141c664eca fix typos 2002-09-10 18:48:00 +00:00
changelog 27d9e7d7e2 ChangeLog update 2002-09-10 00:34:13 +00:00
mohrt 619e4e6a3d fix header in debug template, fix typo in header.tpl example 2002-09-09 13:20:09 +00:00
changelog 9f9ae8a6f0 ChangeLog update 2002-08-16 00:18:47 +00:00
mohrt c63568e5ac fix typos 2002-08-15 15:21:59 +00:00
changelog 0ea52c692d ChangeLog update 2002-08-09 00:19:06 +00:00
mohrt 2256b443c9 supress warnings from unlink() and is_dir(), let error handler deal with it 2002-08-08 16:32:08 +00:00
changelog b44abd6ec4 ChangeLog update 2002-08-08 00:18:48 +00:00
mohrt c8e22351c8 update files with new version numbers 2002-08-07 14:57:34 +00:00
changelog ee9baf1bf3 ChangeLog update 2002-08-03 00:18:30 +00:00
mohrt 63abe3209a update NEWS file with credits 2002-08-02 18:23:25 +00:00
mohrt cb83417158 added assign_by_ref() and append_by_ref() functions 2002-08-02 18:17:40 +00:00
changelog b0d260891f ChangeLog update 2002-08-02 00:25:04 +00:00
mohrt 74cbd31c58 changed default warning type for plugin errors from E_USER_WARNING to E_USER_ERROR 2002-08-01 21:04:38 +00:00
changelog 2094ee762e ChangeLog update 2002-07-30 00:20:41 +00:00
mohrt df2a5888a8 added paramters to html_select_time plugin 2002-07-29 14:21:54 +00:00
changelog 9e1dd75228 ChangeLog update 2002-07-26 00:18:59 +00:00
andrei 33c880f308 *** empty log message *** 2002-07-25 16:30:45 +00:00
changelog e38a1a6393 ChangeLog update 2002-07-25 00:19:30 +00:00
mohrt b380292251 update QUICKSTART guide 2002-07-24 13:39:08 +00:00
mohrt 363d635f0c update debug console to show objects, fix warning in debug.tpl 2002-07-24 13:21:51 +00:00
changelog 0466121f7d ChangeLog update 2002-07-24 00:19:56 +00:00
mohrt 9f3ff7c34f fix load_filter examples 2002-07-23 13:52:23 +00:00
mohrt 277b692b11 fix error when there are no sections in config file 2002-07-23 13:39:59 +00:00
changelog 57a392d6dc ChangeLog update 2002-07-20 00:19:07 +00:00
mohrt 6ed82c9825 fix error in install guide 2002-07-19 14:01:34 +00:00
changelog 87556b1c0e ChangeLog update 2002-07-19 00:19:18 +00:00
mohrt 413d00f9fb correct the expression match for smarty:nodefaults 2002-07-18 13:29:16 +00:00
changelog 1f4b4f8a28 ChangeLog update 2002-07-18 00:20:46 +00:00
mohrt f07ea419e7 fix default modifier to work with config vars 2002-07-17 21:56:41 +00:00
mohrt 36e160bb39 got args to strstr backwards... 2002-07-17 21:34:54 +00:00
mohrt cecabd6cd2 change default modifiers to array instead of string 2002-07-17 21:33:12 +00:00
mohrt 8fc32e427f add default modifier logic, minor doc updates 2002-07-17 21:16:43 +00:00
mohrt a3cb1ccb16 make popup_init xhtml compliant, minor variable name changes for consistancy 2002-07-17 13:42:29 +00:00
changelog 1c6ea433eb ChangeLog update 2002-07-17 00:20:22 +00:00
mohrt 55192b7778 update NEWS file 2002-07-16 15:06:30 +00:00
mohrt 13772a2c44 fix problem with filenames on windows, add ability to supply expire time in seconds when clearing cache or compiled files 2002-07-16 15:04:02 +00:00
changelog 3a413e56e4 ChangeLog update 2002-07-16 00:19:02 +00:00
mohrt dba492a9ae fixed problem with insert tags when loading function from script attribute
and caching enabled (Monte)
2002-07-15 15:20:14 +00:00
changelog 4715bcf83c ChangeLog update 2002-07-15 00:22:39 +00:00
mohrt 2acfcfb287 fix bug with debug_tpl file path for Windows 2002-07-14 16:34:03 +00:00
changelog 21fc14c536 ChangeLog update 2002-07-13 00:17:05 +00:00
mohrt cdba9dca8a fix append function with array/string issue 2002-07-12 15:20:15 +00:00
changelog 3b20744209 ChangeLog update 2002-07-12 00:18:22 +00:00
mohrt 94d4904fa0 update release notes 2002-07-11 15:23:42 +00:00
mohrt cecccfcae6 update files to 2.2.0 tags, get ready for release 2002-07-11 15:18:39 +00:00
changelog 0314892cd9 ChangeLog update 2002-07-10 00:19:50 +00:00
mohrt ab5236b55c make debug.tpl work with any delimiter 2002-07-09 13:34:19 +00:00
mohrt 1be32cd188 change tests in append and assign to != '' instead of empty(), which is more accurate 2002-07-09 01:18:00 +00:00
changelog 405be3c1cd ChangeLog update 2002-07-09 00:17:45 +00:00
mohrt 67dc2f4bab minor doc update 2002-07-08 14:59:02 +00:00
mohrt 997990a744 cast var as an array, simplify and get rid of PHP warning messages 2002-07-08 14:58:51 +00:00
changelog a512243eb6 ChangeLog update 2002-07-04 00:18:37 +00:00
mohrt c571615a08 one more N 2002-07-03 20:41:02 +00:00
mohrt cb9e3a5992 prepend "N" to filenames to avoid possible OS issues with dir names starting with "-" 2002-07-03 20:37:57 +00:00
mohrt 1d5f41c64b only set $debug_tpl in constructor if empty 2002-07-03 20:32:44 +00:00
mohrt 32ec082214 make use_sub_dirs go back to crc32 for subdir separation 2002-07-03 20:08:33 +00:00
changelog 50652cd18f ChangeLog update 2002-06-30 00:24:23 +00:00
mohrt 174f0139f1 do nothing if $val is empty 2002-06-29 16:07:02 +00:00
mohrt eacfdadf4b add zindex to popup init, fix error message for eval. 2002-06-29 16:04:41 +00:00
changelog 64605530fb ChangeLog update 2002-06-28 00:25:10 +00:00
mohrt 0937caee0a only loop through relative paths for PHP include_path, remove $_relative variable 2002-06-27 14:30:43 +00:00
mohrt b854516e35 added {$smarty.version} variable 2002-06-27 14:25:25 +00:00
changelog 4139648712 ChangeLog update 2002-06-27 00:24:00 +00:00
mohrt adb457fdcc update plugin loading logic, look in SMARTY_DIR, then cwd. If all fail, then retry all with include_path 2002-06-26 21:17:27 +00:00
mohrt 9eb4b64890 update get_include_path, get _path_array only once 2002-06-26 16:08:29 +00:00
mohrt 2841de44a2 fix get_include_path function for windows 2002-06-26 16:00:55 +00:00
mohrt abf7416f34 update plugin search logic 2002-06-26 15:08:35 +00:00
mohrt ae93e0b65d only search include_path if relative path 2002-06-26 14:59:03 +00:00
mohrt 3dbab9bedc allow plugins_dir to be an array of directories 2002-06-26 14:51:12 +00:00
changelog 347b62ce4f ChangeLog update 2002-06-26 00:22:49 +00:00
mohrt e4b3570d82 update installation docs 2002-06-25 23:02:58 +00:00
mohrt d2d1abd3ff move debug.tpl to SMARTY_DIR, add to constructor 2002-06-25 13:26:48 +00:00
changelog e606642a01 ChangeLog update 2002-06-25 00:27:56 +00:00
mohrt 3469b357f9 fixed warning message in function.assign_debug_info 2002-06-24 20:22:15 +00:00
mohrt 151b1890e2 update include_path fixes 2002-06-24 19:46:48 +00:00
mohrt 0ebbebb590 fixed $template_dir, $compile_dir, $cache_dir, $config_dir to respect include_path 2002-06-24 19:07:10 +00:00
changelog a6ff8d8167 ChangeLog update 2002-06-24 00:26:56 +00:00
mohrt 3a36e0282c update timestamp plugin to work when passed a timestamp 2002-06-23 22:37:21 +00:00
changelog a33e8c3172 ChangeLog update 2002-06-20 00:29:07 +00:00
mohrt fe3caf7be0 update NEWS file 2002-06-19 14:44:48 +00:00
mohrt bd96ebf984 update date_format, allow optional 2nd paramater as default date if passed date is empty. update docs. 2002-06-19 14:43:58 +00:00
mohrt 2e1cd4a5d0 fix date_format modifier, return nothing if given empty string 2002-06-19 14:25:01 +00:00
changelog fdd23e161b ChangeLog update 2002-06-19 00:28:40 +00:00
mohrt e0505bdaad gave $reset a default value in cycle function 2002-06-18 18:20:01 +00:00
mohrt 2fcb7baf53 corrected warnings in html_select_time function, made make timestamp always return a timestamp 2002-06-18 14:15:58 +00:00
changelog 12598ef1dc ChangeLog update 2002-06-18 00:26:22 +00:00
mohrt 80fb17c117 swapped around cache_id and compile_id order 2002-06-17 14:39:01 +00:00
changelog a88f6159ea ChangeLog update 2002-06-15 00:25:47 +00:00
mohrt d790f915f4 change directory delimiter to "^" for cache and compile files 2002-06-14 20:58:20 +00:00
changelog 5a04baca9f ChangeLog update 2002-06-14 00:29:44 +00:00
andrei b38fe0d520 done. 2002-06-13 20:15:14 +00:00
andrei f9f0401ec8 Optimize the calculation of section 'total' property. 2002-06-13 20:14:46 +00:00
changelog 73d9724bf5 ChangeLog update 2002-06-12 00:43:33 +00:00
mohrt aa4f0f82ae added support for subdir exclusion, deletion by full or partial cache_id and compile_id, change file format to urlencoded values instead of crc32 2002-06-11 20:06:34 +00:00
changelog 9934249ca5 ChangeLog update 2002-06-08 00:25:00 +00:00
mohrt c376520d50 fix bug with last_modified_check code 2002-06-07 14:02:37 +00:00
mohrt 85b1375221 updated $GLOBALS refererence for HTTP_IF_MODIFIED_SINCE 2002-06-07 13:57:31 +00:00
changelog 450b8c9d3e ChangeLog update 2002-06-07 00:34:13 +00:00
mohrt 72915ba6d8 remove overlib.js file from distribution, update plugin and docs 2002-06-06 14:21:45 +00:00
changelog b2ec3a5030 ChangeLog update 2002-06-06 00:23:24 +00:00
mohrt e80077841c fix 304 Not Modified, don't send content 2002-06-05 13:17:18 +00:00
changelog 6a132b412a ChangeLog update 2002-06-04 00:24:56 +00:00
mohrt b69dbeb6af update version number 2002-06-03 16:53:53 +00:00
mohrt d05fb1fc4c fixed cycle function to respect delimiter setting after initial setting 2002-06-03 16:53:26 +00:00
mohrt 07ec5ba096 update $GLOBALS references to work properly with track_globals settings 2002-06-03 16:42:00 +00:00
mohrt c23569b7ca fixed bug with call $assign 2002-06-03 16:13:37 +00:00
mohrt 51a14712f8 optimized for loops with count() function calls 2002-06-03 16:05:33 +00:00
changelog f1d75e32c8 ChangeLog update 2002-06-02 00:27:42 +00:00
andrei 7d6f8be80c *** empty log message *** 2002-06-01 02:21:45 +00:00
changelog a54fcd4295 ChangeLog update 2002-05-22 00:28:12 +00:00
mohrt da98485700 update NEWS file 2002-05-21 19:43:17 +00:00
mohrt 8cd857c3e4 update html_select_date with month_value_format attribute for controlling the format of the month values. 2002-05-21 19:41:34 +00:00
changelog 7fd7e1de88 ChangeLog update 2002-05-18 00:25:45 +00:00
andrei 0f1fdfc222 Made it possible to use simple variables inside [] for indexing. 2002-05-17 15:11:49 +00:00
changelog 5439cfa4ed ChangeLog update 2002-05-17 00:25:53 +00:00
mohrt 59ef7d167a add "once" attribute to php_include, update docs 2002-05-16 16:15:50 +00:00
changelog a555c68f29 ChangeLog update 2002-05-10 00:28:22 +00:00
andrei 422c624511 *** empty log message *** 2002-05-09 14:40:55 +00:00
changelog f5c78a97d0 ChangeLog update 2002-05-08 00:32:45 +00:00
mohrt 0559fce601 remove \n from cycle function 2002-05-07 21:58:39 +00:00
mohrt 5b70385282 update cycle function to handle array as input, update files to 2.1.1 2002-05-07 14:16:34 +00:00
changelog 7ee4e41e17 ChangeLog update 2002-05-07 00:23:07 +00:00
mohrt 933fe652e6 update fetch function with more error checking 2002-05-06 14:50:37 +00:00
changelog 8ea6a1b835 ChangeLog update 2002-05-04 00:38:19 +00:00
mohrt 541e03660e update counter to use name instead of id (id still works though) 2002-05-03 18:22:41 +00:00
mohrt 2cb3d473f6 rename id to name for cycle function 2002-05-03 18:14:24 +00:00
mohrt a54b3af229 update cycle function to allow blank values parameter after initialized 2002-05-03 14:39:49 +00:00
mohrt a2ce60c0a2 fix syntax error 2002-05-03 13:33:10 +00:00
changelog bceacbe91d ChangeLog update 2002-05-03 00:24:49 +00:00
mohrt f172b31c49 ugh, another typo 2002-05-02 22:10:50 +00:00
mohrt 4c6bd62135 update comments 2002-05-02 22:09:36 +00:00
mohrt e532d32408 added function cycle 2002-05-02 22:05:58 +00:00
mohrt 9b20e26885 fix register_outputfilter function 2002-05-02 14:34:35 +00:00
changelog dbaa2e6439 ChangeLog update 2002-05-02 00:25:53 +00:00
mohrt 97dff11384 fixed bug with resource testing and include_path 2002-05-01 15:40:45 +00:00
changelog 9a701e8243 ChangeLog update 2002-05-01 00:52:18 +00:00
mohrt c8717e62a5 update files for 2.1.0 release 2002-04-30 14:41:36 +00:00
andrei 180f8f3d8d Fix. 2002-04-30 13:57:14 +00:00
changelog 8e3e2e0027 ChangeLog update 2002-04-30 00:43:20 +00:00
andrei dafcbf419b A whole bunch of docs. 2002-04-29 21:13:40 +00:00
changelog d941e6c0f6 ChangeLog update 2002-04-27 00:39:55 +00:00
mohrt 4f36d58bc4 update FAQ, QUICKSTART, small doc syntax fix 2002-04-26 14:08:17 +00:00
changelog 7e14a31152 ChangeLog update 2002-04-25 00:51:41 +00:00
mohrt 20cb65fdb8 changed doc structure a bit 2002-04-24 14:46:02 +00:00
changelog a7cee3b2a3 ChangeLog update 2002-04-17 00:27:35 +00:00
andrei bfbefa484f Add register/unregister API for output filters. 2002-04-16 20:06:31 +00:00
andrei ad0ef5a6e0 Changed the way filters are loaded, which now has to be done explicitly,
either through load_filter() API or by filling in $autoload_filters variable.
Also renamed internal variable to avoid namespace pollution.
2002-04-16 20:04:06 +00:00
changelog 22fe87c395 ChangeLog update 2002-04-16 01:44:18 +00:00
andrei 0a0c6896d4 Fixed _get_php_resource() to take include_path into account. 2002-04-15 19:32:54 +00:00
mohrt bd4ad753d7 update docs, get modifiers and functions into index for easy access 2002-04-15 19:01:48 +00:00
mohrt 7912d0b3d0 update caching documentation 2002-04-15 17:28:50 +00:00
andrei f31dd5fa86 *** empty log message *** 2002-04-15 16:40:13 +00:00
andrei 13a81d8bdb Only turn down error notices if $debugging is false. 2002-04-15 16:39:16 +00:00
mohrt b3c7c91829 update NEWS file 2002-04-15 14:57:27 +00:00
mohrt aa2e6890cb fixed logic so this works right when field_separator = "/" 2002-04-15 14:56:38 +00:00
mohrt d788c4d845 fix regular expression for matching date 2002-04-15 13:30:00 +00:00
changelog a37433272b ChangeLog update 2002-04-14 00:23:01 +00:00
mohrt 4f2e5e55c7 updated html_select_date docs to reflect changes 2002-04-13 16:18:25 +00:00
mohrt 281af29060 added YYYY-MM-DD support to html_select_date 2002-04-13 16:15:14 +00:00
changelog 972ca00ec3 ChangeLog update 2002-04-13 00:27:52 +00:00
andrei aa79261893 New entry. 2002-04-12 21:32:50 +00:00
mohrt e693afbeca back out changes to strip_tags 2002-04-12 14:48:48 +00:00
mohrt 982698643f update docs regarding cache_lifetime 2002-04-12 14:46:29 +00:00
mohrt fc9846c319 update cache_lifetime logic: -1 = never expire, 0 = always expire 2002-04-12 14:41:04 +00:00
changelog 59e06a38e7 ChangeLog update 2002-04-12 00:26:29 +00:00
andrei dfd5ad93e9 Fixed directory separtor issue. Requiring PHP 4.0.6 now. 2002-04-11 20:27:04 +00:00
andrei f20a6be33d Added ability to use simple variables for array indices or object properties. 2002-04-11 16:22:50 +00:00
andrei e28d4f9f3e Another one. 2002-04-11 13:24:27 +00:00
andrei 77abec4344 Adding one from Mark P. 2002-04-11 13:16:56 +00:00
changelog 65adf1bcaf ChangeLog update 2002-04-06 01:20:13 +00:00
andrei ba8a7a6115 Make it possible to unregister pre/postfilter plugins. 2002-04-05 17:16:52 +00:00
mohrt 360fbad56a Remove addons file from INSTALL instructions 2002-04-05 14:19:49 +00:00
changelog 78b12556cd ChangeLog update 2002-04-05 01:21:30 +00:00
mohrt 9c93dc8273 update doc error 2002-04-04 20:37:39 +00:00
mohrt 5dd4649cba added htmlall attribute to escape modifier 2002-04-04 20:34:44 +00:00
changelog 873f47f7a8 ChangeLog update 2002-04-04 01:19:20 +00:00
andrei 56f0f6d10c Fixed undefined offset warning in {if} tag. 2002-04-03 23:04:36 +00:00
andrei 21c65f93e6 Added template_exists() API. 2002-04-03 19:31:11 +00:00
andrei dd56027476 - Added $smarty.template variable.
- Fixed {include_php} tag when dynamic values were used for 'file' attribute.
2002-04-03 16:31:59 +00:00
andrei e1f8273788 Separator setting fix. 2002-04-03 14:45:03 +00:00
changelog 94f29eeb7e ChangeLog update 2002-03-29 01:21:07 +00:00
mohrt 5245be27e5 add digest address 2002-03-28 20:03:00 +00:00
mohrt 3b63e33f82 update mailing list addresses 2002-03-28 19:53:27 +00:00
changelog 15a2f7b3ec Adding automatically generated ChangeLog file. 2002-03-28 19:28:14 +00:00
andrei f6ae478137 *** empty log message *** 2002-03-28 14:53:17 +00:00
andrei d2d51f009f Fix for when plugins directory is not the default one. 2002-03-28 14:52:52 +00:00
mohrt 0b1f019069 update FAQ page 2002-03-27 16:42:05 +00:00
andrey 9aaa64f388 Block functions changes. 2002-03-26 21:01:52 +00:00
andrey 20ace8a768 *** empty log message *** 2002-03-26 17:51:29 +00:00
andrey fe5492c0e9 Initial implementation of block functions. 2002-03-25 22:32:05 +00:00
mohrt 8ae25a22f0 fix documentation error in capture 2002-03-22 23:07:00 +00:00
andrey 77e3bb5d26 *** empty log message *** 2002-03-22 19:21:39 +00:00
andrey bea65beb16 Turn off notices. 2002-03-22 19:20:22 +00:00
andrey ede81304c9 Make _current_file available to prefilters. 2002-03-21 16:24:43 +00:00
andrey 49c34c5796 Made is possible to assign variables in pre/postfilters. 2002-03-21 15:49:12 +00:00
andrey bdbd8168f3 Fixed +/- functionality. 2002-03-20 19:33:04 +00:00
andrey 659fca71b4 *** empty log message *** 2002-03-20 19:26:03 +00:00
mohrt f27ea33d66 update version numbers 2002-03-20 17:15:21 +00:00
mohrt c86b06078e move .make_timestamp.php to shared.make_timestamp.php 2002-03-20 17:07:28 +00:00
mohrt de9503ac16 update file generation, replace crc32() '-' with 'N' 2002-03-20 16:44:17 +00:00
andrey 4b0e85ea94 *** empty log message *** 2002-03-20 16:15:01 +00:00
andrey b5e184d2f2 *** empty log message *** 2002-03-19 22:21:49 +00:00
andrey 138421b6b5 Fix plugin behavior for inserts with script attribute. 2002-03-19 22:21:22 +00:00
andrey 6ea8450ccf *** empty log message *** 2002-03-19 14:57:12 +00:00
andrey e405d814a0 Fix bug with $smarty.cookies. 2002-03-19 14:56:35 +00:00
mohrt 708b330a7d update Changelog 2002-03-15 07:09:34 +00:00
mohrt ba8e369f61 add wordwrap and indent to repository 2002-03-15 07:08:17 +00:00
mohrt d2416b1571 remove show_info_include and show_info_header functions 2002-03-14 20:59:41 +00:00
mohrt b32fc83b26 update fetch function 2002-03-13 23:30:56 +00:00
mohrt 0384c2cfdb update fetch function with new parameters 2002-03-13 23:14:26 +00:00
mohrt 9b467a9ef5 update doc tables 2002-03-12 21:50:06 +00:00
mohrt 9d91e7e682 update docs columns 2002-03-12 21:44:47 +00:00
mohrt 76da17c84c update docs 2002-03-12 21:39:57 +00:00
mohrt fb521a5c4a update docs 2002-03-12 21:38:54 +00:00
mohrt 87b2dcc8d6 update syntax error in docs, add to testimonials 2002-03-12 21:16:44 +00:00
mohrt 16926851f1 update FAQ, README with digest mode info 2002-03-04 20:10:45 +00:00
mohrt 5a00daf094 update quickstart 2002-03-02 17:34:42 +00:00
mohrt 6b38793c22 change behavior so cache_lifetime = 0 never expires (instead of always regenerate) 2002-03-02 07:26:02 +00:00
mohrt fd1f1dc210 update doc example 2002-03-01 22:26:02 +00:00
mohrt 0966f1e47f update doc example 2002-03-01 22:23:44 +00:00
andrey a910248872 *** empty log message *** 2002-03-01 21:38:00 +00:00
andrey e968018c92 *** empty log message *** 2002-03-01 21:21:55 +00:00
mohrt 67630731a6 update document id tags 2002-03-01 20:50:49 +00:00
mohrt 9117603904 remove docs.sgml 2002-03-01 20:28:19 +00:00
mohrt 436be443eb update resources 2002-03-01 20:26:06 +00:00
andrey b32c582f45 *** empty log message *** 2002-02-28 22:41:41 +00:00
andrey 8a24a176d2 *** empty log message *** 2002-02-27 22:35:34 +00:00
mohrt e3556e0c0b added eval function to plugin dir 2002-02-27 22:30:05 +00:00
mohrt a15d547a85 fix syntax error 2002-02-27 19:48:15 +00:00
mohrt 1a40f6e54b convert technical notes to docbook format 2002-02-27 19:47:13 +00:00
mohrt 04e2df799d added "eval" plugin docs 2002-02-27 19:14:09 +00:00
andrey d2e04b7161 *** empty log message *** 2002-02-26 22:59:20 +00:00
andrey 25c5ca053a *** empty log message *** 2002-02-26 22:54:55 +00:00
andrey f4e6fcf516 *** empty log message *** 2002-02-26 22:48:27 +00:00
andrey 3edc4034ed *** empty log message *** 2002-02-26 22:44:09 +00:00
andrey 279acbf01b *** empty log message *** 2002-02-26 22:31:18 +00:00
andrey 629a7a5069 *** empty log message *** 2002-02-26 21:14:01 +00:00
andrey 6de35bae1f Split up docs. 2002-02-26 21:13:54 +00:00
andrey ca2042cb95 *** empty log message *** 2002-02-25 23:04:06 +00:00
mohrt 196c6de13c update docs 2002-02-22 22:58:50 +00:00
mohrt 9eab143cdf update docs 2002-02-22 20:56:32 +00:00
mohrt 650bb8cf1b update docs 2002-02-22 20:34:27 +00:00
mohrt 5fb232fda2 update docs 2002-02-22 18:15:29 +00:00
andrey bcd97149d9 *** empty log message *** 2002-02-22 17:32:17 +00:00
andrey 27ba49c573 *** empty log message *** 2002-02-22 15:12:00 +00:00
mohrt 4a77dab318 update misc changes 2002-02-21 17:14:10 +00:00
andrey 18a148586c *** empty log message *** 2002-02-21 17:06:05 +00:00
andrey c5f8750c51 *** empty log message *** 2002-02-21 16:57:16 +00:00
mohrt 9319e7d0c2 misc updates 2002-02-20 22:55:57 +00:00
andrey 576f63a970 *** empty log message *** 2002-02-20 22:47:02 +00:00
andrey efc7114f53 *** empty log message *** 2002-02-20 22:29:28 +00:00
andrey ffe52be500 Fixup some naming. 2002-02-20 22:24:32 +00:00
mohrt 2c3bd85dee update docs 2002-02-20 21:22:29 +00:00
andrey eb2e03ae9b *** empty log message *** 2002-02-20 21:11:48 +00:00
mohrt edcc3b7d8e removed global vars from fetch function, added attrs to escape modifier 2002-02-20 20:56:53 +00:00
mohrt 910f005321 add plugin chapter outline 2002-02-20 15:13:10 +00:00
mohrt 65a6165f3d update docs 2002-02-19 22:40:49 +00:00
andrey c6b1c7f6bd Updated resources docs. 2002-02-19 22:11:50 +00:00
andrey 0adc38dcff *** empty log message *** 2002-02-19 20:53:59 +00:00
andrey ccdaf93814 Updated description of {$smarty} variable. 2002-02-19 20:53:29 +00:00
andrey 5711d1597a Remove PEAR notes. 2002-02-19 20:19:52 +00:00
andrey 89f1c7a64f Removed dependency on PEAR. 2002-02-18 17:42:11 +00:00
mohrt 7790cc88a7 add src attribute to popup_init 2002-02-18 15:22:28 +00:00
andrey 60617aa799 Performance enhancements. 2002-02-15 20:50:44 +00:00
andrey 120b1df0ed Fix html_options output to be XHTML compatible. 2002-02-06 15:13:24 +00:00
andrey 9b23c3f6d5 Fix up plugin inclusion. 2002-02-05 19:05:39 +00:00
andrey 4951193444 Fix plugin directory access. 2002-02-05 16:46:05 +00:00
andrey 6efb1378bd *** empty log message *** 2002-02-04 17:20:36 +00:00
andrey d0a234df79 *** empty log message *** 2002-01-31 21:27:08 +00:00
andrey e6fc0e5291 Implemented plugin architecture. 2002-01-31 20:49:40 +00:00
andrey 70b076bf0b *** empty log message *** 2002-01-31 20:26:00 +00:00
mohrt 30f0ff317e added modifiers wordwrap and indent 2002-01-30 23:17:32 +00:00
mohrt 8d27a9f9cb add support for is-modified-since headers, adjust a doc example 2002-01-28 23:29:06 +00:00
mohrt 1d3bfa0070 cleanup formatting 2002-01-24 20:27:54 +00:00
mohrt 548274b70d update ChangeLog, remove insert_tag_check parameter 2002-01-24 20:13:24 +00:00
andrey a01b54c368 *** empty log message *** 2002-01-24 20:02:58 +00:00
mohrt 82bcb769e2 fix syntax error 2002-01-24 19:54:46 +00:00
mohrt c151a1e534 removed unneccesary test from fetch() 2002-01-24 15:34:43 +00:00
mohrt a67ad06eb6 update overlib fixes 2002-01-23 17:41:46 +00:00
mohrt cd81114a1d update changelog 2002-01-23 14:26:53 +00:00
mohrt 3ff8adbb26 updated overlib fixes 2002-01-23 14:26:34 +00:00
andrey e51103ebd9 Fixed compile_id problem. 2001-12-31 19:53:06 +00:00
mohrt 0ac9492a7b fixed problem with using assigned var with include_php filepath 2001-12-28 16:53:33 +00:00
mohrt 1d37ff42c2 update RESOURCES 2001-12-21 14:18:53 +00:00
mohrt e01725dbc1 update FAQ 2001-12-20 23:23:32 +00:00
mohrt a536c8b40b update version numbers 2001-12-18 16:51:06 +00:00
andrey af6217c22d Fixed clear_cache(). 2001-12-18 15:18:51 +00:00
mohrt 46b0a6caea fixed bug in smarty_make_timestamp introduced in PHP 4.1.0 2001-12-14 15:38:03 +00:00
mohrt cf0ee547f1 update default function args, fix cached insert debug timing 2001-12-13 21:09:33 +00:00
mohrt ba92f456b1 fix syntax error in documentation 2001-12-12 19:18:25 +00:00
mohrt 1c6f67aac7 update default template handling functionality 2001-12-12 17:19:40 +00:00
mohrt 8ba71c6f86 update file fetching logic 2001-12-11 23:06:38 +00:00
andrey c81d1eb839 Added 'script' attribute to {insert..}. 2001-12-11 21:34:22 +00:00
mohrt 5aa62bf613 added default template function handler 2001-12-10 18:10:46 +00:00
mohrt 9451ecd41e update version numbers in files to 1.5.1 2001-12-10 15:18:06 +00:00
andrey 0e927f0045 Removed error message from the _read_file() method. 2001-12-10 15:10:00 +00:00
andrey 80c1085e59 Fix check for compile and cache IDs. 2001-12-10 14:22:47 +00:00
mohrt 76f9483b62 fix spelling error in QUICKSTART 2001-12-06 23:09:04 +00:00
mohrt 6c946a160b fixed spelling errors in documenation 2001-12-06 22:52:15 +00:00
mohrt 83e4d6bba7 commit 1.5.0 release 2001-12-06 22:34:43 +00:00
mohrt 7e7d00e1c6 added RESOURCES file 2001-12-06 19:30:46 +00:00
andrey 8e6f587c4e Refactor. 2001-12-05 20:08:12 +00:00
mohrt 139bba650e added assign to include and php_include 2001-12-05 16:36:58 +00:00
mohrt b0bb62ff9a *** empty log message *** 2001-12-05 16:21:40 +00:00
andrey fbb44389d3 Formatting. 2001-12-04 22:37:41 +00:00
mohrt 7014505d59 update ChangeLog 2001-12-04 22:31:47 +00:00
andrey 5f22e1f756 Formatting. 2001-12-04 20:56:47 +00:00
mohrt 63c1d1be8c removed SMARTY_DIR setting in constructor 2001-12-04 19:35:38 +00:00
mohrt 21f5ae50b7 fix Smarty.class.php indention error 2001-12-04 16:44:15 +00:00
mohrt 950f460a25 update trusted logic 2001-12-04 16:25:32 +00:00
mohrt b9916deb68 fix up is_secure, is_trusted, make _parse_tpl_path function 2001-12-03 23:28:12 +00:00
mohrt 793015a8ed fix problem with testing SMARTY_DIR as empty 2001-12-03 22:28:24 +00:00
mohrt d99a9b7625 update documentation, change log 2001-12-03 22:27:04 +00:00
mohrt e26ffeb789 update constructor to check for SMARTY_DIR before assigning 2001-12-03 20:57:05 +00:00
andrey 03107ad100 *** empty log message *** 2001-12-03 20:53:56 +00:00
mohrt e7fd903125 update a few files 2001-12-03 20:43:43 +00:00
mohrt 9847551176 added trusted_dir functionality, cleaned up secure_dir logic 2001-12-03 20:29:51 +00:00
andrey a93f90fbc9 *** empty log message *** 2001-12-03 20:20:46 +00:00
andrey 1dea0b9931 - Introduced $compile_id class variable.
- Fixed a situation where if $cache_id and $compile_id were both null
  they were passed to auto functions as empty string instead of null.
2001-12-03 20:20:06 +00:00
mohrt cab5582983 change variable names in fetch() fuction to smarty_* to avoid namespace conflicts 2001-11-30 23:09:48 +00:00
mohrt 91eb23a9f0 fixed bug in _rm_auto with catenated null values 2001-11-30 15:23:10 +00:00
andrey c5bfaf1899 Added $smarty.section.* syntax. 2001-11-29 21:19:39 +00:00
andrey 94c40ef787 Made 'name' attribute optional for {foreach}. 2001-11-29 17:05:39 +00:00
mohrt 3992dfacbd remove assign "now" in index.tpl 2001-11-29 15:25:24 +00:00
andrey a898e86975 Fix formatting. 2001-11-29 15:17:57 +00:00
mohrt ea13304b71 removed return statements from _read_cache_file (how did they get in there?) 2001-11-28 17:16:04 +00:00
mohrt 580c44ff06 fixed bugs and added assign attribute to several functions 2001-11-27 22:47:50 +00:00
andrey f88a78231c Some rewording. 2001-11-27 20:39:13 +00:00
andrey 00cd0acd95 Fix $smarty.capture access. 2001-11-27 20:04:47 +00:00
andrey e9b240e28a *** empty log message *** 2001-11-27 17:29:13 +00:00
andrey 142072888e Made {config_load ..} merge globals from each config file only once per scope. 2001-11-27 17:17:53 +00:00
andrey 56dac2fa05 - Added {foreach ...}.
- Made certain $smarty.* references handled at compilation time.
2001-11-27 15:27:22 +00:00
mohrt 65e56100db commit cache handler functionality 2001-11-26 22:44:23 +00:00
andrey d8a95b1009 Various fixes and additions. 2001-11-20 22:36:56 +00:00
andrey 7cebdd11ac *** empty log message *** 2001-11-20 21:20:34 +00:00
mohrt dfdfbf441c changed _read_file parameter from $end to $lines 2001-11-05 21:24:49 +00:00
mohrt 3dec11ad08 fixed is_cache, make cache reading more efficient 2001-11-05 21:12:52 +00:00
mohrt 66ab1b0796 update FAQ with mailing list Reply-To header FAQ 2001-11-02 21:35:04 +00:00
mohrt 6621495b0a supress fopen errors, return false if cache file won't load 2001-11-02 15:07:41 +00:00
mohrt 41448a1555 update QUICKSTART guide with index key example 2001-11-01 21:52:46 +00:00
mohrt fdfd1843d0 commit all updates for 1.4.6 2001-11-01 19:51:07 +00:00
andrey 43ea42c89d *** empty log message *** 2001-11-01 19:36:50 +00:00
mohrt 42862ca490 fix assign function problem with empty value passed 2001-10-30 21:01:57 +00:00
mohrt f621da8875 fixed bug in assign function when passing an empty value 2001-10-30 20:52:50 +00:00
mohrt d4022c9d33 fix minor typo in debug code 2001-10-26 19:41:05 +00:00
andrey ed15c856ce Typo. 2001-10-26 19:37:14 +00:00
mohrt 7e79a440de update debug console output, handle html encoding correctly 2001-10-26 19:27:18 +00:00
andrey 8b225eb072 Debug formatting. 2001-10-26 19:16:06 +00:00
andrey 85e1f567d4 Disable rmdir warning. 2001-10-26 19:06:01 +00:00
mohrt 7ead159849 update debugging to expand array variables 2001-10-26 19:05:11 +00:00
mohrt 497b97d05a update docs for fetching only timestamp with custom template source functions 2001-10-26 15:42:15 +00:00
mohrt 4190a446aa fix debug console error 2001-10-26 15:30:01 +00:00
andrey 39061406ee Typos. 2001-10-26 14:21:29 +00:00
andrey 92a8a31260 Cleanup whitespace. 2001-10-26 14:17:29 +00:00
andrey 7bb141a0ce Clean up whitespace. 2001-10-26 14:15:30 +00:00
andrey e5f8cb1e5a Cleaning up code, formatting mostly. 2001-10-26 14:12:23 +00:00
andrey 0554b2b0af *** empty log message *** 2001-10-26 13:05:53 +00:00
mohrt b9d62a813a update documentation to current version 2001-10-25 22:15:31 +00:00
mohrt b483c5a19c updated fetch to give proper warning when fetching unreadable or nonexistant files 2001-10-25 19:57:52 +00:00
mohrt 32b9ebfa68 fixed problem with newline at the end of compiled templates 2001-10-25 19:04:05 +00:00
mohrt edbc22d1bc recompile cache if config file gets modified too. 2001-10-25 17:08:37 +00:00
mohrt a89d935712 added feature to regenerate cache if compile_check is enabled and an
involved template is modified
2001-10-25 16:32:00 +00:00
mohrt 8faf0b902a fix indent for insert tags in debug console 2001-10-23 19:50:04 +00:00
mohrt 4874eb7256 update debug.tpl file format 2001-10-23 19:22:10 +00:00
mohrt e252e9d1f2 update execution time debugging, move into include list 2001-10-23 19:04:40 +00:00
mohrt 08012a6e41 fixed up execution time output in debug console 2001-10-10 23:58:36 +00:00
andrey fb7161d4ee Added support for hidden config vars. 2001-10-09 16:29:10 +00:00
mohrt 76c862f4c0 added execution times to debug console 2001-10-04 20:58:32 +00:00
andrey 72a82abc98 Add space. 2001-10-02 13:57:58 +00:00
andrey 87b477bf4a Fix reference to compile_id. 2001-10-01 16:53:39 +00:00
andrey fa1dc015ee Added postfilter functions. 2001-09-28 21:39:57 +00:00
andrey 9a70b58415 Rename to clear_compiled_tpl(). 2001-09-26 20:40:56 +00:00
andrey f77824eef5 Fixed line number reporting when removing comments. 2001-09-25 21:34:08 +00:00
mohrt b52e7d9c68 made html_options output xhtml compatible 2001-09-20 17:00:43 +00:00
mohrt 5768f134e8 updated version numbers 2001-09-19 14:52:08 +00:00
mohrt 7e334938d5 fix doc error with insert function 2001-09-16 20:19:14 +00:00
andrey 78fc18e87a *** empty log message *** 2001-09-06 16:08:38 +00:00
mohrt 668b7ccb5f update ChangeLog 2001-08-31 14:26:40 +00:00
mohrt 14cee2d567 update overlib to 3.50, adjust addon code so that the overlib.js file isn't modified 2001-08-31 14:25:56 +00:00
andrey fde4fb602f - compile_id changes 2001-08-31 03:33:41 +00:00
andrey 2c2e4b1c0b - compile_id support
- new options for html_select_date
2001-08-31 03:32:51 +00:00
andrey ebe6f6dd50 *** empty log message *** 2001-08-23 16:39:29 +00:00
andrey 3be576f83f *** empty log message *** 2001-08-23 13:09:50 +00:00
andrey d5cb0cce11 Modified to pass Smarty object as second parameter to insert functions.
Also moved _smarty_mod_handler() and _smarty_insert_handler() into the class.
2001-08-10 20:58:15 +00:00
andrey 0c64d1694d Passing Smarty as second parameter to prefilter functions. 2001-08-10 20:34:17 +00:00
andrey ca2529c128 *** empty log message *** 2001-08-09 20:00:34 +00:00
mohrt 7808495f59 add smarty.now variable to template 2001-08-09 19:56:10 +00:00
mohrt c3d556c3ed change config_load section back to setup 2001-08-06 22:46:41 +00:00
andrey 0a007ed628 Optimize a bit. 2001-08-06 18:37:21 +00:00
mohrt 2e450c7c76 update capture documentation 2001-08-04 16:46:37 +00:00
mohrt 8a74d27767 fix bug with URL controlled debugging, works now (Monte) 2001-08-03 19:59:29 +00:00
andrey 4e03665cc1 *** empty log message *** 2001-08-01 16:28:28 +00:00
andrey 78c7cf29b5 - Fixed some E_NOTICE stuff in compiler.
- Generalized assign_smarty_interface() a bit.
2001-08-01 16:22:55 +00:00
andrey a6717ba3a4 See ChangeLog for details. 2001-07-24 18:39:03 +00:00
andrey d1cad64fad Booleanize case-insensitively. 2001-07-20 16:48:36 +00:00
mohrt fbe61798e3 update ChangeLog 2001-07-17 23:32:33 +00:00
mohrt 833509933e put SMARTY_DIR on Config_File require 2001-07-17 18:24:57 +00:00
mohrt 1636977970 updated security to not include insecure docs, only warning 2001-07-11 20:50:43 +00:00
andrey 565e80a66c Adding 'sizeof' as an allowed {if} function. 2001-07-10 15:15:42 +00:00
andrey a6e3ad55c9 *** empty log message *** 2001-07-06 16:42:07 +00:00
mohrt f1ab7a2bc2 update version number to 1.4.4 2001-07-06 16:14:45 +00:00
mohrt ec1f026a26 update documenatation, template examples 2001-07-06 15:46:51 +00:00
andrey 15139eefce Implemented access to request vars via $smarty var. 2001-07-03 21:24:27 +00:00
andrey eb35a91397 Fixed a bug with parsing function arguments in {if} tags. 2001-07-03 16:34:34 +00:00
mohrt 63b2275ebc update ChangeLog 2001-06-30 16:01:23 +00:00
mohrt 363c94575a moved overlib to separate file, added SMARTY_DIR, documented. added much documentation 2001-06-29 22:52:45 +00:00
andrey d35a5665d2 *** empty log message *** 2001-06-29 21:25:40 +00:00
mohrt 472db0b829 update release notes 2001-06-29 19:35:06 +00:00
andrey bed3803045 *** empty log message *** 2001-06-27 19:27:29 +00:00
andrey 60376a43ee Implemented 'step' section attribute. 2001-06-27 19:21:53 +00:00
andrey 9da97c1043 Negative values of 'max' will mean no max. 2001-06-27 16:44:26 +00:00
andrey 8ba8e7acd2 *** empty log message *** 2001-06-27 16:32:27 +00:00
andrey b0bd98fadd Added 'max' and 'start' section attributes.
Added 'total' and 'iteration' section properties.
2001-06-26 21:12:54 +00:00
andrey 439d7563f4 Update version numbers. 2001-06-25 13:05:43 +00:00
andrey 03d0326287 *** empty log message *** 2001-06-23 14:56:58 +00:00
andrey d4765fcab1 Fixed booleanization bug. 2001-06-21 21:48:03 +00:00
mohrt e9b6d41a82 update documents to reflect changes to cached content & debugging 2001-06-20 19:07:13 +00:00
andrey 5cc313b04f Remove debug output for cached and fetched cases. 2001-06-20 18:38:00 +00:00
mohrt 52500237ef update include_info to false 2001-06-20 16:46:21 +00:00
mohrt a237ac752b moved debug logic into Smarty completely, created flags for it 2001-06-20 16:39:52 +00:00
andrey d4d426ded1 *** empty log message *** 2001-06-19 21:29:02 +00:00
andrey b523c43a7b Remove unneeded debug functions. 2001-06-19 20:15:24 +00:00
mohrt 6af4598a2a commit updates, add debug template 2001-06-19 20:04:43 +00:00
andrey 73b049acb7 Moved config loading code inside main class, the compiled template now
simply calls that method.
2001-06-19 15:30:29 +00:00
andrey 911da5cf03 * moved config array into class itself
* added 'scope' attribute for config_load
2001-06-15 18:55:28 +00:00
andrey 6d66c568bd Finishing up secure mode. 2001-06-15 14:52:48 +00:00
mohrt b818436ac3 update ChangeLog 2001-06-15 14:20:12 +00:00
mohrt b7e210cfa8 cleaned up logic of if statement security 2001-06-15 14:18:54 +00:00
mohrt 18220173ef update if logic to cover more situations 2001-06-15 14:10:12 +00:00
mohrt 282d2e5e42 update if statement security feature 2001-06-15 13:52:52 +00:00
andrey a3ac875225 *** empty log message *** 2001-06-14 15:48:32 +00:00
andrey ef75416b25 Fixed a bug with quoted strings inside if statements. 2001-06-14 14:26:59 +00:00
mohrt 7ea781c510 added secure_dir array for multiple secure directories 2001-06-13 20:26:03 +00:00
mohrt 098630af9d update fetch funtion to respect security setting 2001-06-13 19:57:03 +00:00
mohrt 47119594b5 update documentation, changelog 2001-06-13 19:12:52 +00:00
mohrt 86abe89de2 moved _extract setting to assign functions 2001-06-13 15:19:10 +00:00
mohrt d0c32ad4e7 added assign/unassign custom functions, ability to re-extract tpl_vars 2001-06-13 15:12:14 +00:00
mohrt 80e1055814 commit security features 2001-06-13 14:03:04 +00:00
andrey d78f7e97f2 Version variable typo. 2001-06-11 14:33:47 +00:00
andrey a21e5f513a Create config object in fetch() or just set the config path if it already
exists.
2001-06-05 16:22:11 +00:00
andrey cafc422417 *** empty log message *** 2001-06-04 16:52:44 +00:00
andrey fd5b113436 Fixed a problem with $<number> inside strip tags. 2001-06-04 14:37:32 +00:00
andrey 28348f4e2c *** empty log message *** 2001-05-31 14:44:28 +00:00
andrey 621a4e780a *** empty log message *** 2001-05-31 14:33:02 +00:00
andrey cd9b09a811 Allow empty config_path. 2001-05-31 14:29:49 +00:00
mohrt a0f60bb4c9 update version numbers 2001-05-29 18:59:10 +00:00
mohrt 2c9dbcc99f moved version variable to internal variable 2001-05-29 18:50:45 +00:00
andrey 451b468199 Moved $_smarty_sections and $_smarty_conf_obj into Smarty class. 2001-05-22 15:31:28 +00:00
mohrt af6231e6a5 update ChangeLog 2001-05-18 22:47:19 +00:00
mohrt ade253d62d update FAQ, QUICKSTART for windows include_path setup 2001-05-18 21:00:57 +00:00
mohrt 10e8915563 added configs directory to cvs 2001-05-18 20:52:46 +00:00
andrey 366e4e2ac0 Use compiler_class for including the file. 2001-05-18 13:32:13 +00:00
mohrt cee9b141a3 fix typo 2001-05-18 13:16:15 +00:00
mohrt 622f36ac34 update files to version 1.4.1 2001-05-16 19:53:43 +00:00
mohrt 8c1c3f2ec3 update ChangeLog 2001-05-16 19:48:42 +00:00
andrey b1980cf914 *** empty log message *** 2001-05-15 14:26:12 +00:00
andrey ba5d771ed5 forget that! 2001-05-15 14:24:19 +00:00
andrey 047b30c377 Fixed a few E_NOTICE warnings. 2001-05-15 14:24:06 +00:00
mohrt f051537982 update dates versions 2001-05-09 14:06:59 +00:00
andrey 5275c75fc0 *** empty log message *** 2001-05-09 13:43:16 +00:00
andrey bb2a2bd7de Use absolute paths when requiring/including Smart components. 2001-05-09 13:42:40 +00:00
andrey 4047e49ad5 *** empty log message *** 2001-05-09 13:38:17 +00:00
andrey 9f9b510d67 *** empty log message *** 2001-05-09 13:29:04 +00:00
andrey 2a7cb5ad14 Use write mode instead of append. 2001-05-09 13:27:55 +00:00
andrey 0ab86dc7c9 Fix indexing by section properties. 2001-05-02 19:21:10 +00:00
mohrt 5c4d6bb7c1 update changelog 2001-05-02 15:55:58 +00:00
mohrt b1ddf67884 remove period from syntax error 2001-05-02 14:31:35 +00:00
andrey 25ee097699 Double-quote the attribute values by default. 2001-05-02 14:31:17 +00:00
mohrt 78a10d8aaf added simple {capture} logic 2001-04-30 16:40:05 +00:00
andrey 918697d472 *** empty log message *** 2001-04-30 16:11:52 +00:00
andrey 46a8474a82 Fix passing config vars to included files. 2001-04-30 16:07:55 +00:00
andrey 10542f8665 Fix inclusion again. 2001-04-30 14:13:47 +00:00
mohrt baea48b9cd update paths for windows (c:) 2001-04-30 14:08:00 +00:00
andrey 4f90eee5e2 Fix passing variables to included files. 2001-04-28 16:52:27 +00:00
andrey 2226ce8751 *** empty log message *** 2001-04-28 16:42:40 +00:00
andrey 88a16c85b1 Fix includes. 2001-04-27 19:39:31 +00:00
andrey 7cc64a3acb Formatting mostly. 2001-04-26 22:07:06 +00:00
andrey 09db081d42 *** empty log message *** 2001-04-26 21:22:43 +00:00
andrey 44791687a5 *** empty log message *** 2001-04-26 19:52:27 +00:00
mohrt ea5d42daf4 update docs with new changes 2001-04-26 17:27:40 +00:00
andrey a05dae2071 *** empty log message *** 2001-04-26 16:08:12 +00:00
andrey 1f127b0a54 Added ability to reference object properties. 2001-04-26 16:06:21 +00:00
andrey 6432cc941f *** empty log message *** 2001-04-25 15:49:51 +00:00
andrey f73ca11dda Docs on new parameter to custom functions. 2001-04-25 15:38:15 +00:00
andrey 6e7efbfafd *** empty log message *** 2001-04-25 15:35:13 +00:00
andrey aab9e4894c Changing the way tpl vars are referenced and passing smarty object
to custom functions.
2001-04-25 15:32:52 +00:00
andrey 6dd3bc9cad Fixing docs a bit. 2001-04-25 14:52:52 +00:00
andrey e144ade561 Docs for $compiler_class and compiler functions. 2001-04-24 21:58:09 +00:00
andrey 8a0f933ac5 *** empty log message *** 2001-04-24 18:16:21 +00:00
andrey 5ce1716f6b Remove debugging. 2001-04-24 18:03:23 +00:00
mohrt 0ba52c65f0 update compiler function docs 2001-04-24 16:58:08 +00:00
andrey d0a91394b1 Added compiler function support. 2001-04-24 16:43:05 +00:00
mohrt 75f7c18b68 update notes, change show_info_header to false by default 2001-04-24 15:29:33 +00:00
mohrt 1b16c09ce8 update documenation, bug fixes 2001-04-24 15:16:14 +00:00
andrey d234729ab6 Hopefully fix for sure. 2001-04-24 14:21:13 +00:00
mohrt 509532d751 uncomment copy/unlink 2001-04-23 22:36:25 +00:00
andrey e24243b2c6 Do it more thoroughly. 2001-04-23 22:16:38 +00:00
andrey 92912502cf check for } 2001-04-23 13:51:42 +00:00
andrey 4a3425b31b Fix variable parsing. 2001-04-22 21:41:43 +00:00
mohrt ab57b7de40 fix problem with 4.0.5-dev and preg_replace_callback 2001-04-20 19:12:15 +00:00
mohrt 7547492299 update notes/documentation 2001-04-19 21:08:17 +00:00
mohrt 31592b9ed5 update files for 1.4.0 release 2001-04-19 16:18:17 +00:00
andrey 92718c4769 Added fix_vars.php script. 2001-04-16 17:51:52 +00:00
mohrt ab1083d159 update RELEASE_NOTES & scripts with new section var syntax 2001-04-16 17:39:59 +00:00
andrey f8e538e58f * Implement new variable format parser.
* Optimizing config load a bit.
2001-04-13 21:55:30 +00:00
mohrt cd0e8ccfca added $check_cached_insert_tags to speed up cached pages if
{insert ...} is not used (Monte)
2001-04-13 20:08:32 +00:00
andrey 1ddce1c67e *** empty log message *** 2001-04-12 21:00:47 +00:00
andrey 1794688256 *** empty log message *** 2001-04-12 20:53:21 +00:00
andrey 79db2aecfa Remove redundant functions. 2001-04-12 20:26:47 +00:00
andrey 997469c2be Formatting. 2001-04-12 20:14:30 +00:00
mohrt f5c945f7cc update file: parsing 2001-04-12 19:56:38 +00:00
mohrt 53b6910340 update documentation 2001-04-12 16:16:24 +00:00
andrey 420d376460 *** empty log message *** 2001-04-12 13:44:19 +00:00
mohrt ef9e900fa1 added RELEASE_NOTES file to cvs 2001-04-11 20:54:35 +00:00
mohrt a033cd24d6 update ChangeLog, update documentation 2001-04-11 20:12:12 +00:00
mohrt e38fd8fce8 update Smarty to compile at run-time. added ability to get files from
absolute paths, added work around for LOCK_EX and windows, changed a few
file permissions to be more secure.
2001-04-11 18:35:17 +00:00
mohrt ac6a022811 allow arbitrary date strings instead of just timestamps 2001-03-29 15:27:49 +00:00
mohrt 68fd0955ee update version in class, update docs for count_ and new vars 2001-03-28 22:45:24 +00:00
mohrt 34c6c38e34 update docs, example template 2001-03-28 15:30:56 +00:00
andrey 7aa6916acc Some variable renaming. 2001-03-28 14:36:09 +00:00
andrey cf24bf8717 Fixed nested include infinite repeat bug. 2001-03-23 20:02:13 +00:00
mohrt cff1ecc414 fix version number 2001-03-23 19:29:09 +00:00
mohrt 552e67835e added optional HTML header to output 2001-03-23 17:52:50 +00:00
andrey 6cf4fe9a33 Fixed inclusion of dynamic files. 2001-03-22 18:21:23 +00:00
andrey 2e28c7de45 Fixing the config_load scoping. 2001-03-16 23:02:43 +00:00
andrey d32898fb08 making config variables global for now. 2001-03-16 15:59:31 +00:00
andrey 90b653ea60 *** empty log message *** 2001-03-15 22:18:18 +00:00
andrey 2ca77e08d8 * Includes are now always done via generated function call to protect
namespace.
* config_load now always uses global config object to improve
  performance.
2001-03-15 21:28:24 +00:00
mohrt 6de2acf24d update math documentation with format attribute 2001-03-13 05:15:40 +00:00
mohrt 9a3dcbe1cd update math function with format attribute 2001-03-11 21:20:14 +00:00
andrey 354dba0f17 *** empty log message *** 2001-03-10 20:43:22 +00:00
andrey dfdfeb9a2f Added html_select_time custom function. 2001-03-10 20:39:16 +00:00
mohrt 0892a299ae rename 1.3.1b to 1.3.1pl1 2001-03-08 20:34:30 +00:00
mohrt 18d68148ad update version numbers, changelog 2001-03-08 20:28:39 +00:00
mohrt 301079286d moved _syntax_error to Smarty_Compiler.class.php 2001-03-08 20:24:38 +00:00
mohrt 4e9938793d missing _syntax_error function recovered. fixed minor syntax in docs 2001-03-08 20:19:34 +00:00
mohrt 48653c260d update everything to 1.3.1 2001-03-07 04:52:27 +00:00
mohrt 856f77e646 fixed bug with cached insert tags 2001-03-03 15:41:52 +00:00
mohrt 53385bf7af fix cache fuctions with separated compiled class 2001-03-02 23:13:01 +00:00
mohrt d1ca3a4454 update changelog 2001-03-02 22:54:21 +00:00
andrey 86808e9cee Added 'first' and 'last' section properties. 2001-03-02 21:57:46 +00:00
mohrt f760d2aa1c remove compiling separation TODO 2001-03-02 21:51:34 +00:00
mohrt 115d36269d update function headers 2001-03-02 21:48:33 +00:00
mohrt 3e473cce99 split out compiling code for faster execution 2001-03-02 21:38:42 +00:00
mohrt 31a10c5d9a fixed a few warning messages 2001-03-02 18:07:51 +00:00
mohrt 08d9cb8971 added fetch, unregister mod/fun, updated docs 2001-03-02 17:02:44 +00:00
mohrt ffaa3e20c4 added "int" to available list 2001-03-01 23:13:27 +00:00
mohrt 2c51394b81 update FAQ, add math functions & update documetation 2001-03-01 23:00:06 +00:00
mohrt 499f995085 fixed literal tags and other optional delimiters 2001-03-01 15:32:56 +00:00
andrey ea1f3ded5a Added index_prev, index_next section properties and ability to
index by them.
2001-02-26 16:50:04 +00:00
andrey b557a5c100 Reverting the plugins patch - needs more thought. 2001-02-26 16:33:30 +00:00
andrey 1305ada83a Fixing plugin loading. 2001-02-26 16:21:47 +00:00
andrey 983c136047 Added plugin functionality. 2001-02-23 20:33:03 +00:00
mohrt 3bee10770c fixed issue with php tags executed in literal blocks 2001-02-22 21:25:19 +00:00
mohrt e83c234e94 update changelog for LGPL change 2001-02-21 20:31:17 +00:00
mohrt 596b0c2480 updated version numbers to 1.3.0 2001-02-21 20:27:08 +00:00
mohrt d1040b1230 update changelog, rearrange index.tpl file 2001-02-21 20:24:39 +00:00
andrey 3c7714f165 *** empty log message *** 2001-02-21 20:23:38 +00:00
mohrt 2a55bad6a9 update parameters for is_cached and fetch 2001-02-21 19:54:15 +00:00
andrey 6fb652e50b *** empty log message *** 2001-02-21 19:39:43 +00:00
andrey 2f8576b239 *** empty log message *** 2001-02-21 19:33:55 +00:00
mohrt cf8ae3811e update docs, remove header function from addons 2001-02-21 18:04:26 +00:00
mohrt 6f266d84a9 update changelog 2001-02-20 21:58:09 +00:00
mohrt 14ee025b2c update todo 2001-02-20 21:26:41 +00:00
mohrt 67fc00aeb8 update todo list 2001-02-20 21:24:23 +00:00
mohrt 79a1650d6a update todo list 2001-02-20 21:23:19 +00:00
mohrt 3b4e811664 update php tag handling logic 2001-02-20 21:20:08 +00:00
mohrt 94e1ecd90e fixed <?php tag at beginning of files, updated docs 2001-02-19 19:10:58 +00:00
andrey 0f01cd9860 *** empty log message *** 2001-02-19 15:24:10 +00:00
andrey f842886612 *** empty log message *** 2001-02-13 14:28:33 +00:00
andrey e9ce45b3c2 *** empty log message *** 2001-02-12 16:01:55 +00:00
mohrt 0b5da4185e remove unneeded preg_match 2001-02-10 23:58:51 +00:00
mohrt 43739c19a2 remove comment 2001-02-10 23:53:43 +00:00
mohrt 983c48ec64 updated php escape to handle <script language="php"> 2001-02-10 23:14:29 +00:00
mohrt 7b3bdfd837 fix php tag escapement logic 2001-02-10 22:46:40 +00:00
mohrt 7ba32aee46 commit changelog 2001-02-10 21:11:59 +00:00
mohrt 5a4a37003c update header docs 2001-02-10 21:11:40 +00:00
mohrt fd5458694c added header custom function 2001-02-10 21:05:46 +00:00
mohrt ec925da432 update documentation, add examples to test script. 2001-02-09 19:54:47 +00:00
andrey 9e716a8f0e *** empty log message *** 2001-02-08 16:35:03 +00:00
mohrt 1c556fa241 added COPYING.lib 2001-02-08 14:49:17 +00:00
mohrt 4d79a88a51 changed license to LGPL for commercial use 2001-02-08 14:48:51 +00:00
mohrt f3f85f4463 fix clear_assign syntax error 2001-02-08 14:18:25 +00:00
mohrt bcdaa17322 added ability to pass array to clear_assign 2001-02-07 23:57:39 +00:00
mohrt d539f10a18 update documentation, remove tests from index file and template 2001-02-07 23:09:32 +00:00
andrey 08c386c2e6 Adding file locking. 2001-02-07 23:08:00 +00:00
andrey ec0b835e7f More cache work. 2001-02-07 20:55:39 +00:00
mohrt dc231201f5 change register_ function names, update documents with tables 2001-02-06 22:17:51 +00:00
andrey 8b86a0743e Reworking and optimizing the cache system. 2001-02-06 21:17:37 +00:00
andrey 114740b3bb Restoring ?> in patterns. 2001-02-06 14:53:41 +00:00
mohrt 1c54b01dce update cache directory creation logic 2001-02-05 21:10:20 +00:00
andrey 1454db3946 Removing once-only subpattern for now.. 2001-02-05 16:12:57 +00:00
andrey 22d4861276 Fix modifier arg parsing. 2001-02-05 15:22:12 +00:00
andrey 2a90f7392a See changelog. 2001-02-02 16:55:55 +00:00
andrey fa325b0a0d *** empty log message *** 2001-02-01 22:24:28 +00:00
andrey fb5f555e10 Use 'echo' instead of 'print'. 2001-02-01 22:06:46 +00:00
andrey 2a48b81669 *** empty log message *** 2001-02-01 22:05:37 +00:00
mohrt 6162c7bdc5 rearranged variables at top of script 2001-02-01 21:43:04 +00:00
andrey 9a142e3f1f Retabbing. 2001-02-01 21:39:29 +00:00
andrey f53af6715b *** empty log message *** 2001-02-01 21:11:14 +00:00
mohrt 476f45413a update caching logic 2001-02-01 21:09:17 +00:00
mohrt 069e6bea89 fixed clear_all_cache bugs 2001-02-01 20:21:02 +00:00
mohrt f16a83bf55 fix .cache check 2001-02-01 20:08:26 +00:00
mohrt 7976e25b7a update .che to .cache 2001-02-01 20:08:04 +00:00
mohrt 72ca37bd83 updated docs for caching, added clear_all_cache() directive 2001-02-01 17:40:59 +00:00
mohrt b22f151e4b upated docs for date_format and html_options 2001-01-31 23:06:18 +00:00
andrey e6ac95ec01 *** empty log message *** 2001-01-31 22:59:27 +00:00
andrey a45f5810ea *** empty log message *** 2001-01-31 22:56:48 +00:00
andrey f9878b7316 Added ability to pass 'options' attribute to html_options. 2001-01-31 22:55:52 +00:00
andrey e66a4ac648 Reworking, simplifying, and speeding up cache implementation.
Fixing the infelicity where you couldn't have '|' and ':' inside
quoted modifier arguments.
2001-01-31 22:42:05 +00:00
mohrt 95879edfa5 removed DEBUG lines 2001-01-31 17:28:10 +00:00
mohrt dee55bfcf6 changed default expire to 3600 2001-01-30 22:08:02 +00:00
mohrt 79f83a6053 updated version numbers 2001-01-30 21:57:01 +00:00
mohrt 0e589508f7 added caching, force compile, force cache, misc performance updates 2001-01-30 21:54:59 +00:00
andrey b915dd35b1 *** empty log message *** 2001-01-30 20:41:09 +00:00
andrey ee2294b27e Remove debug message. 2001-01-30 18:06:14 +00:00
andrey 31d1503ade Fixing the compile directory mayhem... 2001-01-30 18:05:26 +00:00
andrey 970835672a Fix problem with {strip} around {section} and {include} 2001-01-30 17:45:53 +00:00
andrey d7fa3e0802 *** empty log message *** 2001-01-30 17:41:48 +00:00
mohrt fdef1c65b1 fixed PHP_VERSION check, misc doc updates 2001-01-29 23:08:50 +00:00
mohrt a1c4060238 updated for 1.2.1 compile_dir changes, misc doc updates 2001-01-29 16:36:07 +00:00
mohrt 1cbd864897 update BUGS and README files 2001-01-26 19:40:53 +00:00
mohrt 5044c68bdd updated FAQ 2001-01-26 19:35:15 +00:00
mohrt 54bf2945c8 update again 2001-01-26 17:47:59 +00:00
andrey ee62601fd7 *** empty log message *** 2001-01-26 17:40:58 +00:00
andrey e6274a3797 *** empty log message *** 2001-01-26 16:31:54 +00:00
andrey f82729afa4 *** empty log message *** 2001-01-26 16:11:21 +00:00
andrey e9b0c5adc9 *** empty log message *** 2001-01-26 15:16:47 +00:00
andrey b7c9af20b2 Added ability to index by key. 2001-01-26 15:15:55 +00:00
mohrt b21a511d1b update changelog 2001-01-25 23:21:01 +00:00
mohrt 9699217667 updated versions to 1.1.0 2001-01-25 23:19:40 +00:00
mohrt 3022bda87f update copyright notice 2001-01-25 23:07:36 +00:00
mohrt db1d41ae59 added misc info 2001-01-25 16:22:44 +00:00
mohrt a8a997d084 initial commit 2001-01-24 17:16:32 +00:00
mohrt dc4f2b67ba fix typo 2001-01-23 14:30:21 +00:00
mohrt 236f328592 updated docs, renamed file 2001-01-22 23:18:04 +00:00
mohrt e88fcc2f1c updated FAQ 2001-01-22 19:22:24 +00:00
mohrt 73fe7087a2 updated FAQ 2001-01-22 19:17:11 +00:00
mohrt 6f4d57ff97 updated Changelog and Readme 2001-01-22 15:49:31 +00:00
mohrt f1fde8fb2d updated doc.sgm error 2001-01-22 15:40:36 +00:00
mohrt 592581d040 misc doc changes, added AUTHORS, COPYING 2001-01-22 15:39:00 +00:00
andrey c0f89b7829 *** empty log message *** 2001-01-22 15:29:36 +00:00
andrey 5460994906 Fixed bug that wouldn't let you do specify non-array values for 'loop'
attribute.
2001-01-22 15:15:49 +00:00
mohrt e9bc073666 updated QUICKSTART 2001-01-22 15:07:26 +00:00
mohrt 9236bb0c36 added BUGS and INSTALL, updated docs, FAQ, README 2001-01-22 15:00:09 +00:00
mohrt 2c66d422d4 updates to FAQ and docs 2001-01-21 22:17:28 +00:00
mohrt a398ab4800 initial commit of FAQ 2001-01-19 16:10:06 +00:00
mohrt 3ae728db09 updated README, doc.sgm with preg_replace() parameter issue. also removed "./" from index.php file 2001-01-19 16:01:46 +00:00
mohrt 282f654e4f initial commit of changelog 2001-01-19 14:44:49 +00:00
mohrt caa033fb05 update quickstart text 2001-01-19 14:37:13 +00:00
andrey f8aa8a7b58 Fix the compiled template check. 2001-01-19 14:36:52 +00:00
andrey 53f0f57aab *** empty log message *** 2001-01-18 22:58:01 +00:00
andrey a892e947ff *** empty log message *** 2001-01-18 22:51:13 +00:00
andrey bb30deefa8 *** empty log message *** 2001-01-18 22:41:23 +00:00
mohrt 3ebce1106c update changes 2001-01-18 22:38:49 +00:00
andrey 2c51bad932 *** empty log message *** 2001-01-18 22:37:37 +00:00
mohrt 7b0383dbec add QUICKSTART, update docs for default modifier 2001-01-18 22:13:12 +00:00
mohrt 9ab75d02fb added default modifier 2001-01-18 21:09:49 +00:00
mohrt 52e80776c6 added dislaimers 2001-01-18 20:41:43 +00:00
andrey b5461c2c2a *** empty log message *** 2001-01-18 17:41:30 +00:00
andrey f2482645e0 Implement 'div by'. 2001-01-16 15:50:30 +00:00
mohrt 41a2bcebf6 update docs 2001-01-12 22:14:51 +00:00
mohrt 1a46f2832c doc changes 2001-01-12 21:18:41 +00:00
mohrt a791322336 update docs 2001-01-12 21:02:55 +00:00
andrey 89df5c8e38 *** empty log message *** 2001-01-12 20:48:43 +00:00
andrey bad3cdae5a *** empty log message *** 2001-01-12 20:39:27 +00:00
andrey e2c0232cf9 *** empty log message *** 2001-01-12 19:24:31 +00:00
andrey c3036c2287 Fix template traversal. 2001-01-12 16:05:26 +00:00
andrey 42f31952df *** empty log message *** 2001-01-11 19:57:07 +00:00
andrey 81f50710ed *** empty log message *** 2001-01-09 17:50:51 +00:00
mohrt 6b68978d3c update manual 2001-01-09 17:11:32 +00:00
mohrt d17b1a7352 commit changes 2001-01-05 14:40:26 +00:00
mohrt fd28383f90 update changes 2001-01-04 21:39:51 +00:00
mohrt 8bc22ec278 add documentation 2001-01-04 20:33:27 +00:00
mohrt 41cb6435e1 prepend insert_ to insert tag functions 2001-01-02 21:52:38 +00:00
mohrt 6b3e0d34ad remove caching logic 2001-01-02 20:04:46 +00:00
mohrt 9f1b6c014c update changes 2001-01-02 14:51:02 +00:00
andrey 38c00e43b2 *** empty log message *** 2000-12-27 19:58:05 +00:00
andrey ec358c7a62 Fix access to template variables. 2000-12-21 20:35:08 +00:00
andrey 7c0b61d7a7 Added support for passing variables to included files. 2000-12-21 17:19:41 +00:00
andrey 602f9a0f44 Added support for inserting results of function processing a template. 2000-12-20 15:36:13 +00:00
mohrt d7bb52ee16 added string_format function 2000-12-18 21:40:21 +00:00
mohrt 8f5b28fb4c update format to string_format 2000-12-18 21:38:07 +00:00
mohrt dec5a458d3 added format addon function 2000-12-18 15:34:29 +00:00
andrey 5260570429 Fix sectionelse. 2000-12-13 15:08:25 +00:00
andrey 1a681d3bd6 *** empty log message *** 2000-12-07 22:47:01 +00:00
andrey 35c65ba27f *** empty log message *** 2000-12-04 22:39:48 +00:00
andrey 70a2557b29 *** empty log message *** 2000-12-04 22:30:15 +00:00
andrey 8870f9cae5 *** empty log message *** 2000-12-04 21:51:45 +00:00
andrey 977334922f *** empty log message *** 2000-12-04 21:48:51 +00:00
andrey dbfba87dae *** empty log message *** 2000-11-27 17:39:40 +00:00
andrey 08d75708ce *** empty log message *** 2000-11-22 16:23:19 +00:00
andrey de9d9169ea *** empty log message *** 2000-11-21 21:54:26 +00:00
andrey 4407e49e08 *** empty log message *** 2000-11-21 20:29:55 +00:00
andrey fbe382991d *** empty log message *** 2000-11-21 15:21:16 +00:00
andrey 4d74f83cd3 *** empty log message *** 2000-11-20 23:08:17 +00:00
andrey f00e3f52e1 *** empty log message *** 2000-11-20 22:31:38 +00:00
andrey 536b66a58c *** empty log message *** 2000-11-20 20:06:06 +00:00
andrey d87d1c0176 Made sections work mostly. 2000-11-20 03:20:55 +00:00
andrey 9b7b565df0 *** empty log message *** 2000-11-19 18:57:06 +00:00
andrey 67bef7a475 *** empty log message *** 2000-11-17 23:14:51 +00:00
andrey 1e625219fa *** empty log message *** 2000-11-17 21:47:41 +00:00
mohrt 57644e97bb added template files to cvs dir 2000-11-15 17:11:52 +00:00
mohrt 64697f0c55 commit changes 2000-11-15 17:08:52 +00:00
mohrt 506e38f76b update include path bug 2000-08-08 21:10:12 +00:00
mohrt 497badbe64 add README file 2000-08-08 17:07:01 +00:00
mohrt 4bb58e6ee9 Initial revision 2000-08-08 17:05:38 +00:00
(no author) aced17b2eb New repository initialized by cvs2svn. 2000-08-08 17:05:38 +00:00
1836 changed files with 79274 additions and 1525091 deletions
+19
View File
@@ -0,0 +1,19 @@
# Auto detect text files and perform LF normalization
* text=auto
*.php text eol=lf
*.y text eol=lf
*.lex text eol=lf
# exclude from git export
/tests export-ignore
/utilities export-ignore
/docker-compose.yml export-ignore
/.github export-ignore
/run_tests_for_all_php_versions.sh export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/make-release.sh export-ignore
/phpunit.sh export-ignore
/phpunit.xml export-ignore
/TODO.md export-ignore
+79
View File
@@ -0,0 +1,79 @@
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
on:
pull_request:
push:
branches:
- 'master'
name: CI
jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
env:
PHP_EXTENSIONS: dom, json, libxml, mbstring, pdo_sqlite, soap, xml, xmlwriter
PHP_INI_VALUES: assert.exception=1, zend.assertions=1
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
php-version:
- "7.1"
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
- "8.2"
compiler:
- default
include:
- os: ubuntu-latest
php-version: "8.0"
compiler: jit
- os: ubuntu-latest
php-version: "8.1"
compiler: jit
- os: ubuntu-latest
php-version: "8.2"
compiler: jit
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Override PHP ini values for JIT compiler
if: matrix.compiler == 'jit'
run: echo "PHP_INI_VALUES::assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit=1255, opcache.jit_buffer_size=32M" >> $GITHUB_ENV
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
extensions: ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ env.PHP_INI_VALUES }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-${{ matrix.php-version }}-
- name: Run tests with phpunit
run: ./run-tests.sh
+13
View File
@@ -0,0 +1,13 @@
.idea/
# Smarty
lexer/*.php
lexer/*.php.bak
lexer/*.out
# Dev
phpunit*
.phpunit.result.cache
vendor/*
composer.lock
-2606
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-18
View File
@@ -1,18 +0,0 @@
/*!
* Lunr languages, `Danish` language
* https://github.com/MihaiValentin/lunr-languages
*
* Copyright 2014, Mihai Valentin
* http://www.mozilla.org/MPL/
*/
/*!
* based on
* Snowball JavaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.da=function(){this.pipeline.reset(),this.pipeline.add(e.da.trimmer,e.da.stopWordFilter,e.da.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.da.stemmer))},e.da.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.da.trimmer=e.trimmerSupport.generateTrimmer(e.da.wordCharacters),e.Pipeline.registerFunction(e.da.trimmer,"trimmer-da"),e.da.stemmer=function(){var r=e.stemmerSupport.Among,i=e.stemmerSupport.SnowballProgram,n=new function(){function e(){var e,r=f.cursor+3;if(d=f.limit,0<=r&&r<=f.limit){for(a=r;;){if(e=f.cursor,f.in_grouping(w,97,248)){f.cursor=e;break}if(f.cursor=e,e>=f.limit)return;f.cursor++}for(;!f.out_grouping(w,97,248);){if(f.cursor>=f.limit)return;f.cursor++}d=f.cursor,d<a&&(d=a)}}function n(){var e,r;if(f.cursor>=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(c,32),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del();break;case 2:f.in_grouping_b(p,97,229)&&f.slice_del()}}function t(){var e,r=f.limit-f.cursor;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.find_among_b(l,4)?(f.bra=f.cursor,f.limit_backward=e,f.cursor=f.limit-r,f.cursor>f.limit_backward&&(f.cursor--,f.bra=f.cursor,f.slice_del())):f.limit_backward=e)}function s(){var e,r,i,n=f.limit-f.cursor;if(f.ket=f.cursor,f.eq_s_b(2,"st")&&(f.bra=f.cursor,f.eq_s_b(2,"ig")&&f.slice_del()),f.cursor=f.limit-n,f.cursor>=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(m,5),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del(),i=f.limit-f.cursor,t(),f.cursor=f.limit-i;break;case 2:f.slice_from("løs")}}function o(){var e;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.out_grouping_b(w,97,248)?(f.bra=f.cursor,u=f.slice_to(u),f.limit_backward=e,f.eq_v_b(u)&&f.slice_del()):f.limit_backward=e)}var a,d,u,c=[new r("hed",-1,1),new r("ethed",0,1),new r("ered",-1,1),new r("e",-1,1),new r("erede",3,1),new r("ende",3,1),new r("erende",5,1),new r("ene",3,1),new r("erne",3,1),new r("ere",3,1),new r("en",-1,1),new r("heden",10,1),new r("eren",10,1),new r("er",-1,1),new r("heder",13,1),new r("erer",13,1),new r("s",-1,2),new r("heds",16,1),new r("es",16,1),new r("endes",18,1),new r("erendes",19,1),new r("enes",18,1),new r("ernes",18,1),new r("eres",18,1),new r("ens",16,1),new r("hedens",24,1),new r("erens",24,1),new r("ers",16,1),new r("ets",16,1),new r("erets",28,1),new r("et",-1,1),new r("eret",30,1)],l=[new r("gd",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("elig",1,1),new r("els",-1,1),new r("løst",-1,2)],w=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],p=[239,254,42,3,0,0,0,0,0,0,0,0,0,0,0,0,16],f=new i;this.setCurrent=function(e){f.setCurrent(e)},this.getCurrent=function(){return f.getCurrent()},this.stem=function(){var r=f.cursor;return e(),f.limit_backward=r,f.cursor=f.limit,n(),f.cursor=f.limit,t(),f.cursor=f.limit,s(),f.cursor=f.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.da.stemmer,"stemmer-da"),e.da.stopWordFilter=e.generateStopWordFilter("ad af alle alt anden at blev blive bliver da de dem den denne der deres det dette dig din disse dog du efter eller en end er et for fra ham han hans har havde have hende hendes her hos hun hvad hvis hvor i ikke ind jeg jer jo kunne man mange med meget men mig min mine mit mod ned noget nogle nu når og også om op os over på selv sig sin sine sit skal skulle som sådan thi til ud under var vi vil ville vor være været".split(" ")),e.Pipeline.registerFunction(e.da.stopWordFilter,"stopWordFilter-da")}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.hi=function(){this.pipeline.reset(),this.pipeline.add(e.hi.trimmer,e.hi.stopWordFilter,e.hi.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.hi.stemmer))},e.hi.wordCharacters="ऀ-ःऄ-एऐ-टठ-यर-िी-ॏॐ-य़ॠ-९॰-ॿa-zA-Z-zA-0-9-",e.hi.trimmer=e.trimmerSupport.generateTrimmer(e.hi.wordCharacters),e.Pipeline.registerFunction(e.hi.trimmer,"trimmer-hi"),e.hi.stopWordFilter=e.generateStopWordFilter("अत अपना अपनी अपने अभी अंदर आदि आप इत्यादि इन इनका इन्हीं इन्हें इन्हों इस इसका इसकी इसके इसमें इसी इसे उन उनका उनकी उनके उनको उन्हीं उन्हें उन्हों उस उसके उसी उसे एक एवं एस ऐसे और कई कर करता करते करना करने करें कहते कहा का काफ़ी कि कितना किन्हें किन्हों किया किर किस किसी किसे की कुछ कुल के को कोई कौन कौनसा गया घर जब जहाँ जा जितना जिन जिन्हें जिन्हों जिस जिसे जीधर जैसा जैसे जो तक तब तरह तिन तिन्हें तिन्हों तिस तिसे तो था थी थे दबारा दिया दुसरा दूसरे दो द्वारा न नके नहीं ना निहायत नीचे ने पर पहले पूरा पे फिर बनी बही बहुत बाद बाला बिलकुल भी भीतर मगर मानो मे में यदि यह यहाँ यही या यिह ये रखें रहा रहे ऱ्वासा लिए लिये लेकिन व वग़ैरह वर्ग वह वहाँ वहीं वाले वुह वे वो सकता सकते सबसे सभी साथ साबुत साभ सारा से सो संग ही हुआ हुई हुए है हैं हो होता होती होते होना होने".split(" ")),e.hi.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var r=e.wordcut;r.init(),e.hi.tokenizer=function(i){if(!arguments.length||null==i||void 0==i)return[];if(Array.isArray(i))return i.map(function(r){return isLunr2?new e.Token(r.toLowerCase()):r.toLowerCase()});var t=i.toString().toLowerCase().replace(/^\s+/,"");return r.cut(t).split("|")},e.Pipeline.registerFunction(e.hi.stemmer,"stemmer-hi"),e.Pipeline.registerFunction(e.hi.stopWordFilter,"stopWordFilter-hi")}});
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.hy=function(){this.pipeline.reset(),this.pipeline.add(e.hy.trimmer,e.hy.stopWordFilter)},e.hy.wordCharacters="[A-Za-z԰-֏ff-ﭏ]",e.hy.trimmer=e.trimmerSupport.generateTrimmer(e.hy.wordCharacters),e.Pipeline.registerFunction(e.hy.trimmer,"trimmer-hy"),e.hy.stopWordFilter=e.generateStopWordFilter("դու և եք էիր էիք հետո նաև նրանք որը վրա է որ պիտի են այս մեջ ն իր ու ի այդ որոնք այն կամ էր մի ես համար այլ իսկ էին ենք հետ ին թ էինք մենք նրա նա դուք եմ էի ըստ որպես ում".split(" ")),e.Pipeline.registerFunction(e.hy.stopWordFilter,"stopWordFilter-hy"),e.hy.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}(),e.Pipeline.registerFunction(e.hy.stemmer,"stemmer-hy")}});
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r="2"==e.version[0];e.ja=function(){this.pipeline.reset(),this.pipeline.add(e.ja.trimmer,e.ja.stopWordFilter,e.ja.stemmer),r?this.tokenizer=e.ja.tokenizer:(e.tokenizer&&(e.tokenizer=e.ja.tokenizer),this.tokenizerFn&&(this.tokenizerFn=e.ja.tokenizer))};var t=new e.TinySegmenter;e.ja.tokenizer=function(i){var n,o,s,p,a,u,m,l,c,f;if(!arguments.length||null==i||void 0==i)return[];if(Array.isArray(i))return i.map(function(t){return r?new e.Token(t.toLowerCase()):t.toLowerCase()});for(o=i.toString().toLowerCase().replace(/^\s+/,""),n=o.length-1;n>=0;n--)if(/\S/.test(o.charAt(n))){o=o.substring(0,n+1);break}for(a=[],s=o.length,c=0,l=0;c<=s;c++)if(u=o.charAt(c),m=c-l,u.match(/\s/)||c==s){if(m>0)for(p=t.segment(o.slice(l,c)).filter(function(e){return!!e}),f=l,n=0;n<p.length;n++)r?a.push(new e.Token(p[n],{position:[f,p[n].length],index:a.length})):a.push(p[n]),f+=p[n].length;l=c+1}return a},e.ja.stemmer=function(){return function(e){return e}}(),e.Pipeline.registerFunction(e.ja.stemmer,"stemmer-ja"),e.ja.wordCharacters="一二三四五六七八九十百千万億兆一-龠々〆ヵヶぁ-んァ-ヴーア-ン゙a-zA-Z-zA-0-9-",e.ja.trimmer=e.trimmerSupport.generateTrimmer(e.ja.wordCharacters),e.Pipeline.registerFunction(e.ja.trimmer,"trimmer-ja"),e.ja.stopWordFilter=e.generateStopWordFilter("これ それ あれ この その あの ここ そこ あそこ こちら どこ だれ なに なん 何 私 貴方 貴方方 我々 私達 あの人 あのかた 彼女 彼 です あります おります います は が の に を で え から まで より も どの と し それで しかし".split(" ")),e.Pipeline.registerFunction(e.ja.stopWordFilter,"stopWordFilter-ja"),e.jp=e.ja,e.Pipeline.registerFunction(e.jp.stemmer,"stemmer-jp"),e.Pipeline.registerFunction(e.jp.trimmer,"trimmer-jp"),e.Pipeline.registerFunction(e.jp.stopWordFilter,"stopWordFilter-jp")}});
-1
View File
@@ -1 +0,0 @@
module.exports=require("./lunr.ja");
-1
View File
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.kn=function(){this.pipeline.reset(),this.pipeline.add(e.kn.trimmer,e.kn.stopWordFilter,e.kn.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.kn.stemmer))},e.kn.wordCharacters="ಀ-಄ಅ-ಔಕ-ಹಾ-ೌ಼-ಽೕ-ೖೝ-ೞೠ-ೡೢ-ೣ೤೥೦-೯ೱ-ೳ",e.kn.trimmer=e.trimmerSupport.generateTrimmer(e.kn.wordCharacters),e.Pipeline.registerFunction(e.kn.trimmer,"trimmer-kn"),e.kn.stopWordFilter=e.generateStopWordFilter("ಮತ್ತು ಈ ಒಂದು ರಲ್ಲಿ ಹಾಗೂ ಎಂದು ಅಥವಾ ಇದು ರ ಅವರು ಎಂಬ ಮೇಲೆ ಅವರ ತನ್ನ ಆದರೆ ತಮ್ಮ ನಂತರ ಮೂಲಕ ಹೆಚ್ಚು ನ ಆ ಕೆಲವು ಅನೇಕ ಎರಡು ಹಾಗು ಪ್ರಮುಖ ಇದನ್ನು ಇದರ ಸುಮಾರು ಅದರ ಅದು ಮೊದಲ ಬಗ್ಗೆ ನಲ್ಲಿ ರಂದು ಇತರ ಅತ್ಯಂತ ಹೆಚ್ಚಿನ ಸಹ ಸಾಮಾನ್ಯವಾಗಿ ನೇ ಹಲವಾರು ಹೊಸ ದಿ ಕಡಿಮೆ ಯಾವುದೇ ಹೊಂದಿದೆ ದೊಡ್ಡ ಅನ್ನು ಇವರು ಪ್ರಕಾರ ಇದೆ ಮಾತ್ರ ಕೂಡ ಇಲ್ಲಿ ಎಲ್ಲಾ ವಿವಿಧ ಅದನ್ನು ಹಲವು ರಿಂದ ಕೇವಲ ದ ದಕ್ಷಿಣ ಗೆ ಅವನ ಅತಿ ನೆಯ ಬಹಳ ಕೆಲಸ ಎಲ್ಲ ಪ್ರತಿ ಇತ್ಯಾದಿ ಇವು ಬೇರೆ ಹೀಗೆ ನಡುವೆ ಇದಕ್ಕೆ ಎಸ್ ಇವರ ಮೊದಲು ಶ್ರೀ ಮಾಡುವ ಇದರಲ್ಲಿ ರೀತಿಯ ಮಾಡಿದ ಕಾಲ ಅಲ್ಲಿ ಮಾಡಲು ಅದೇ ಈಗ ಅವು ಗಳು ಎ ಎಂಬುದು ಅವನು ಅಂದರೆ ಅವರಿಗೆ ಇರುವ ವಿಶೇಷ ಮುಂದೆ ಅವುಗಳ ಮುಂತಾದ ಮೂಲ ಬಿ ಮೀ ಒಂದೇ ಇನ್ನೂ ಹೆಚ್ಚಾಗಿ ಮಾಡಿ ಅವರನ್ನು ಇದೇ ಯ ರೀತಿಯಲ್ಲಿ ಜೊತೆ ಅದರಲ್ಲಿ ಮಾಡಿದರು ನಡೆದ ಆಗ ಮತ್ತೆ ಪೂರ್ವ ಆತ ಬಂದ ಯಾವ ಒಟ್ಟು ಇತರೆ ಹಿಂದೆ ಪ್ರಮಾಣದ ಗಳನ್ನು ಕುರಿತು ಯು ಆದ್ದರಿಂದ ಅಲ್ಲದೆ ನಗರದ ಮೇಲಿನ ಏಕೆಂದರೆ ರಷ್ಟು ಎಂಬುದನ್ನು ಬಾರಿ ಎಂದರೆ ಹಿಂದಿನ ಆದರೂ ಆದ ಸಂಬಂಧಿಸಿದ ಮತ್ತೊಂದು ಸಿ ಆತನ ".split(" ")),e.kn.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var r=e.wordcut;r.init(),e.kn.tokenizer=function(t){if(!arguments.length||null==t||void 0==t)return[];if(Array.isArray(t))return t.map(function(r){return isLunr2?new e.Token(r.toLowerCase()):r.toLowerCase()});var n=t.toString().toLowerCase().replace(/^\s+/,"");return r.cut(n).split("|")},e.Pipeline.registerFunction(e.kn.stemmer,"stemmer-kn"),e.Pipeline.registerFunction(e.kn.stopWordFilter,"stopWordFilter-kn")}});
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(e.lunr)}(this,function(){return function(e){e.multiLanguage=function(){for(var t=Array.prototype.slice.call(arguments),i=t.join("-"),r="",n=[],s=[],p=0;p<t.length;++p)"en"==t[p]?(r+="\\w",n.unshift(e.stopWordFilter),n.push(e.stemmer),s.push(e.stemmer)):(r+=e[t[p]].wordCharacters,e[t[p]].stopWordFilter&&n.unshift(e[t[p]].stopWordFilter),e[t[p]].stemmer&&(n.push(e[t[p]].stemmer),s.push(e[t[p]].stemmer)));var o=e.trimmerSupport.generateTrimmer(r);return e.Pipeline.registerFunction(o,"lunr-multi-trimmer-"+i),n.unshift(o),function(){this.pipeline.reset(),this.pipeline.add.apply(this.pipeline,n),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add.apply(this.searchPipeline,s))}}}});
File diff suppressed because one or more lines are too long
-18
View File
@@ -1,18 +0,0 @@
/*!
* Lunr languages, `Norwegian` language
* https://github.com/MihaiValentin/lunr-languages
*
* Copyright 2014, Mihai Valentin
* http://www.mozilla.org/MPL/
*/
/*!
* based on
* Snowball JavaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.no=function(){this.pipeline.reset(),this.pipeline.add(e.no.trimmer,e.no.stopWordFilter,e.no.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.no.stemmer))},e.no.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.no.trimmer=e.trimmerSupport.generateTrimmer(e.no.wordCharacters),e.Pipeline.registerFunction(e.no.trimmer,"trimmer-no"),e.no.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,i=new function(){function e(){var e,r=w.cursor+3;if(a=w.limit,0<=r||r<=w.limit){for(s=r;;){if(e=w.cursor,w.in_grouping(d,97,248)){w.cursor=e;break}if(e>=w.limit)return;w.cursor=e+1}for(;!w.out_grouping(d,97,248);){if(w.cursor>=w.limit)return;w.cursor++}a=w.cursor,a<s&&(a=s)}}function i(){var e,r,n;if(w.cursor>=a&&(r=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,e=w.find_among_b(m,29),w.limit_backward=r,e))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:n=w.limit-w.cursor,w.in_grouping_b(c,98,122)?w.slice_del():(w.cursor=w.limit-n,w.eq_s_b(1,"k")&&w.out_grouping_b(d,97,248)&&w.slice_del());break;case 3:w.slice_from("er")}}function t(){var e,r=w.limit-w.cursor;w.cursor>=a&&(e=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,w.find_among_b(u,2)?(w.bra=w.cursor,w.limit_backward=e,w.cursor=w.limit-r,w.cursor>w.limit_backward&&(w.cursor--,w.bra=w.cursor,w.slice_del())):w.limit_backward=e)}function o(){var e,r;w.cursor>=a&&(r=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,e=w.find_among_b(l,11),e?(w.bra=w.cursor,w.limit_backward=r,1==e&&w.slice_del()):w.limit_backward=r)}var s,a,m=[new r("a",-1,1),new r("e",-1,1),new r("ede",1,1),new r("ande",1,1),new r("ende",1,1),new r("ane",1,1),new r("ene",1,1),new r("hetene",6,1),new r("erte",1,3),new r("en",-1,1),new r("heten",9,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",12,1),new r("s",-1,2),new r("as",14,1),new r("es",14,1),new r("edes",16,1),new r("endes",16,1),new r("enes",16,1),new r("hetenes",19,1),new r("ens",14,1),new r("hetens",21,1),new r("ers",14,1),new r("ets",14,1),new r("et",-1,1),new r("het",25,1),new r("ert",-1,3),new r("ast",-1,1)],u=[new r("dt",-1,-1),new r("vt",-1,-1)],l=[new r("leg",-1,1),new r("eleg",0,1),new r("ig",-1,1),new r("eig",2,1),new r("lig",2,1),new r("elig",4,1),new r("els",-1,1),new r("lov",-1,1),new r("elov",7,1),new r("slov",7,1),new r("hetslov",9,1)],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],c=[119,125,149,1],w=new n;this.setCurrent=function(e){w.setCurrent(e)},this.getCurrent=function(){return w.getCurrent()},this.stem=function(){var r=w.cursor;return e(),w.limit_backward=r,w.cursor=w.limit,i(),w.cursor=w.limit,t(),w.cursor=w.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}}(),e.Pipeline.registerFunction(e.no.stemmer,"stemmer-no"),e.no.stopWordFilter=e.generateStopWordFilter("alle at av bare begge ble blei bli blir blitt både båe da de deg dei deim deira deires dem den denne der dere deres det dette di din disse ditt du dykk dykkar då eg ein eit eitt eller elles en enn er et ett etter for fordi fra før ha hadde han hans har hennar henne hennes her hjå ho hoe honom hoss hossen hun hva hvem hver hvilke hvilken hvis hvor hvordan hvorfor i ikke ikkje ikkje ingen ingi inkje inn inni ja jeg kan kom korleis korso kun kunne kva kvar kvarhelst kven kvi kvifor man mange me med medan meg meget mellom men mi min mine mitt mot mykje ned no noe noen noka noko nokon nokor nokre nå når og også om opp oss over på samme seg selv si si sia sidan siden sin sine sitt sjøl skal skulle slik so som som somme somt så sånn til um upp ut uten var vart varte ved vere verte vi vil ville vore vors vort vår være være vært å".split(" ")),e.Pipeline.registerFunction(e.no.stopWordFilter,"stopWordFilter-no")}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.sa=function(){this.pipeline.reset(),this.pipeline.add(e.sa.trimmer,e.sa.stopWordFilter,e.sa.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sa.stemmer))},e.sa.wordCharacters="ऀ-ःऄ-एऐ-टठ-यर-िी-ॏॐ-य़ॠ-९॰-ॿ꣠-꣱ꣲ-ꣷ꣸-ꣻ꣼-ꣽꣾ-ꣿᆰ0-ᆰ9",e.sa.trimmer=e.trimmerSupport.generateTrimmer(e.sa.wordCharacters),e.Pipeline.registerFunction(e.sa.trimmer,"trimmer-sa"),e.sa.stopWordFilter=e.generateStopWordFilter('तथा अयम्‌ एकम्‌ इत्यस्मिन्‌ तथा तत्‌ वा अयम्‌ इत्यस्य ते आहूत उपरि तेषाम्‌ किन्तु तेषाम्‌ तदा इत्यनेन अधिकः इत्यस्य तत्‌ केचन बहवः द्वि तथा महत्वपूर्णः अयम्‌ अस्य विषये अयं अस्ति तत्‌ प्रथमः विषये इत्युपरि इत्युपरि इतर अधिकतमः अधिकः अपि सामान्यतया ठ इतरेतर नूतनम्‌ द न्यूनम्‌ कश्चित्‌ वा विशालः द सः अस्ति तदनुसारम् तत्र अस्ति केवलम्‌ अपि अत्र सर्वे विविधाः तत्‌ बहवः यतः इदानीम्‌ द दक्षिण इत्यस्मै तस्य उपरि नथ अतीव कार्यम्‌ सर्वे एकैकम्‌ इत्यादि। एते सन्ति उत इत्थम्‌ मध्ये एतदर्थं . स कस्य प्रथमः श्री. करोति अस्मिन् प्रकारः निर्मिता कालः तत्र कर्तुं समान अधुना ते सन्ति स एकः अस्ति सः अर्थात् तेषां कृते . स्थितम् विशेषः अग्रिम तेषाम्‌ समान स्रोतः ख म समान इदानीमपि अधिकतया करोतु ते समान इत्यस्य वीथी सह यस्मिन् कृतवान्‌ धृतः तदा पुनः पूर्वं सः आगतः किम्‌ कुल इतर पुरा मात्रा स विषये उ अतएव अपि नगरस्य उपरि यतः प्रतिशतं कतरः कालः साधनानि भूत तथापि जात सम्बन्धि अन्यत्‌ ग अतः अस्माकं स्वकीयाः अस्माकं इदानीं अन्तः इत्यादयः भवन्तः इत्यादयः एते एताः तस्य अस्य इदम् एते तेषां तेषां तेषां तान् तेषां तेषां तेषां समानः सः एकः च तादृशाः बहवः अन्ये च वदन्ति यत् कियत् कस्मै कस्मै यस्मै यस्मै यस्मै यस्मै न अतिनीचः किन्तु प्रथमं सम्पूर्णतया ततः चिरकालानन्तरं पुस्तकं सम्पूर्णतया अन्तः किन्तु अत्र वा इह इव श्रद्धाय अवशिष्यते परन्तु अन्ये वर्गाः सन्ति ते सन्ति शक्नुवन्ति सर्वे मिलित्वा सर्वे एकत्र"'.split(" ")),e.sa.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var r=e.wordcut;r.init(),e.sa.tokenizer=function(t){if(!arguments.length||null==t||void 0==t)return[];if(Array.isArray(t))return t.map(function(r){return isLunr2?new e.Token(r.toLowerCase()):r.toLowerCase()});var i=t.toString().toLowerCase().replace(/^\s+/,"");return r.cut(i).split("|")},e.Pipeline.registerFunction(e.sa.stemmer,"stemmer-sa"),e.Pipeline.registerFunction(e.sa.stopWordFilter,"stopWordFilter-sa")}});
@@ -1 +0,0 @@
!function(r,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(r.lunr)}(this,function(){return function(r){r.stemmerSupport={Among:function(r,t,i,s){if(this.toCharArray=function(r){for(var t=r.length,i=new Array(t),s=0;s<t;s++)i[s]=r.charCodeAt(s);return i},!r&&""!=r||!t&&0!=t||!i)throw"Bad Among initialisation: s:"+r+", substring_i: "+t+", result: "+i;this.s_size=r.length,this.s=this.toCharArray(r),this.substring_i=t,this.result=i,this.method=s},SnowballProgram:function(){var r;return{bra:0,ket:0,limit:0,cursor:0,limit_backward:0,setCurrent:function(t){r=t,this.cursor=0,this.limit=t.length,this.limit_backward=0,this.bra=this.cursor,this.ket=this.limit},getCurrent:function(){var t=r;return r=null,t},in_grouping:function(t,i,s){if(this.cursor<this.limit){var e=r.charCodeAt(this.cursor);if(e<=s&&e>=i&&(e-=i,t[e>>3]&1<<(7&e)))return this.cursor++,!0}return!1},in_grouping_b:function(t,i,s){if(this.cursor>this.limit_backward){var e=r.charCodeAt(this.cursor-1);if(e<=s&&e>=i&&(e-=i,t[e>>3]&1<<(7&e)))return this.cursor--,!0}return!1},out_grouping:function(t,i,s){if(this.cursor<this.limit){var e=r.charCodeAt(this.cursor);if(e>s||e<i)return this.cursor++,!0;if(e-=i,!(t[e>>3]&1<<(7&e)))return this.cursor++,!0}return!1},out_grouping_b:function(t,i,s){if(this.cursor>this.limit_backward){var e=r.charCodeAt(this.cursor-1);if(e>s||e<i)return this.cursor--,!0;if(e-=i,!(t[e>>3]&1<<(7&e)))return this.cursor--,!0}return!1},eq_s:function(t,i){if(this.limit-this.cursor<t)return!1;for(var s=0;s<t;s++)if(r.charCodeAt(this.cursor+s)!=i.charCodeAt(s))return!1;return this.cursor+=t,!0},eq_s_b:function(t,i){if(this.cursor-this.limit_backward<t)return!1;for(var s=0;s<t;s++)if(r.charCodeAt(this.cursor-t+s)!=i.charCodeAt(s))return!1;return this.cursor-=t,!0},find_among:function(t,i){for(var s=0,e=i,n=this.cursor,u=this.limit,o=0,h=0,c=!1;;){for(var a=s+(e-s>>1),f=0,l=o<h?o:h,_=t[a],m=l;m<_.s_size;m++){if(n+l==u){f=-1;break}if(f=r.charCodeAt(n+l)-_.s[m])break;l++}if(f<0?(e=a,h=l):(s=a,o=l),e-s<=1){if(s>0||e==s||c)break;c=!0}}for(;;){var _=t[s];if(o>=_.s_size){if(this.cursor=n+_.s_size,!_.method)return _.result;var b=_.method();if(this.cursor=n+_.s_size,b)return _.result}if((s=_.substring_i)<0)return 0}},find_among_b:function(t,i){for(var s=0,e=i,n=this.cursor,u=this.limit_backward,o=0,h=0,c=!1;;){for(var a=s+(e-s>>1),f=0,l=o<h?o:h,_=t[a],m=_.s_size-1-l;m>=0;m--){if(n-l==u){f=-1;break}if(f=r.charCodeAt(n-1-l)-_.s[m])break;l++}if(f<0?(e=a,h=l):(s=a,o=l),e-s<=1){if(s>0||e==s||c)break;c=!0}}for(;;){var _=t[s];if(o>=_.s_size){if(this.cursor=n-_.s_size,!_.method)return _.result;var b=_.method();if(this.cursor=n-_.s_size,b)return _.result}if((s=_.substring_i)<0)return 0}},replace_s:function(t,i,s){var e=s.length-(i-t),n=r.substring(0,t),u=r.substring(i);return r=n+s+u,this.limit+=e,this.cursor>=i?this.cursor+=e:this.cursor>t&&(this.cursor=t),e},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>r.length)throw"faulty slice operation"},slice_from:function(r){this.slice_check(),this.replace_s(this.bra,this.ket,r)},slice_del:function(){this.slice_from("")},insert:function(r,t,i){var s=this.replace_s(r,t,i);r<=this.bra&&(this.bra+=s),r<=this.ket&&(this.ket+=s)},slice_to:function(){return this.slice_check(),r.substring(this.bra,this.ket)},eq_v_b:function(r){return this.eq_s_b(r.length,r)}}}},r.trimmerSupport={generateTrimmer:function(r){var t=new RegExp("^[^"+r+"]+"),i=new RegExp("[^"+r+"]+$");return function(r){return"function"==typeof r.update?r.update(function(r){return r.replace(t,"").replace(i,"")}):r.replace(t,"").replace(i,"")}}}}});
-18
View File
@@ -1,18 +0,0 @@
/*!
* Lunr languages, `Swedish` language
* https://github.com/MihaiValentin/lunr-languages
*
* Copyright 2014, Mihai Valentin
* http://www.mozilla.org/MPL/
*/
/*!
* based on
* Snowball JavaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.sv=function(){this.pipeline.reset(),this.pipeline.add(e.sv.trimmer,e.sv.stopWordFilter,e.sv.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sv.stemmer))},e.sv.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.sv.trimmer=e.trimmerSupport.generateTrimmer(e.sv.wordCharacters),e.Pipeline.registerFunction(e.sv.trimmer,"trimmer-sv"),e.sv.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,t=new function(){function e(){var e,r=w.cursor+3;if(o=w.limit,0<=r||r<=w.limit){for(a=r;;){if(e=w.cursor,w.in_grouping(l,97,246)){w.cursor=e;break}if(w.cursor=e,w.cursor>=w.limit)return;w.cursor++}for(;!w.out_grouping(l,97,246);){if(w.cursor>=w.limit)return;w.cursor++}o=w.cursor,o<a&&(o=a)}}function t(){var e,r=w.limit_backward;if(w.cursor>=o&&(w.limit_backward=o,w.cursor=w.limit,w.ket=w.cursor,e=w.find_among_b(u,37),w.limit_backward=r,e))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:w.in_grouping_b(d,98,121)&&w.slice_del()}}function i(){var e=w.limit_backward;w.cursor>=o&&(w.limit_backward=o,w.cursor=w.limit,w.find_among_b(c,7)&&(w.cursor=w.limit,w.ket=w.cursor,w.cursor>w.limit_backward&&(w.bra=--w.cursor,w.slice_del())),w.limit_backward=e)}function s(){var e,r;if(w.cursor>=o){if(r=w.limit_backward,w.limit_backward=o,w.cursor=w.limit,w.ket=w.cursor,e=w.find_among_b(m,5))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:w.slice_from("lös");break;case 3:w.slice_from("full")}w.limit_backward=r}}var a,o,u=[new r("a",-1,1),new r("arna",0,1),new r("erna",0,1),new r("heterna",2,1),new r("orna",0,1),new r("ad",-1,1),new r("e",-1,1),new r("ade",6,1),new r("ande",6,1),new r("arne",6,1),new r("are",6,1),new r("aste",6,1),new r("en",-1,1),new r("anden",12,1),new r("aren",12,1),new r("heten",12,1),new r("ern",-1,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",18,1),new r("or",-1,1),new r("s",-1,2),new r("as",21,1),new r("arnas",22,1),new r("ernas",22,1),new r("ornas",22,1),new r("es",21,1),new r("ades",26,1),new r("andes",26,1),new r("ens",21,1),new r("arens",29,1),new r("hetens",29,1),new r("erns",21,1),new r("at",-1,1),new r("andet",-1,1),new r("het",-1,1),new r("ast",-1,1)],c=[new r("dd",-1,-1),new r("gd",-1,-1),new r("nn",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1),new r("tt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("els",-1,1),new r("fullt",-1,3),new r("löst",-1,2)],l=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,24,0,32],d=[119,127,149],w=new n;this.setCurrent=function(e){w.setCurrent(e)},this.getCurrent=function(){return w.getCurrent()},this.stem=function(){var r=w.cursor;return e(),w.limit_backward=r,w.cursor=w.limit,t(),w.cursor=w.limit,i(),w.cursor=w.limit,s(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return t.setCurrent(e),t.stem(),t.getCurrent()}):(t.setCurrent(e),t.stem(),t.getCurrent())}}(),e.Pipeline.registerFunction(e.sv.stemmer,"stemmer-sv"),e.sv.stopWordFilter=e.generateStopWordFilter("alla allt att av blev bli blir blivit de dem den denna deras dess dessa det detta dig din dina ditt du där då efter ej eller en er era ert ett från för ha hade han hans har henne hennes hon honom hur här i icke ingen inom inte jag ju kan kunde man med mellan men mig min mina mitt mot mycket ni nu när någon något några och om oss på samma sedan sig sin sina sitta själv skulle som så sådan sådana sådant till under upp ut utan vad var vara varför varit varje vars vart vem vi vid vilka vilkas vilken vilket vår våra vårt än är åt över".split(" ")),e.Pipeline.registerFunction(e.sv.stopWordFilter,"stopWordFilter-sv")}});
-1
View File
@@ -1 +0,0 @@
!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.ta=function(){this.pipeline.reset(),this.pipeline.add(e.ta.trimmer,e.ta.stopWordFilter,e.ta.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.ta.stemmer))},e.ta.wordCharacters="஀-உஊ-ஏஐ-ஙச-ட஠-னப-யர-ஹ஺-ிீ-௉ொ-௏ௐ-௙௚-௟௠-௩௪-௯௰-௹௺-௿a-zA-Z-zA-0-9-",e.ta.trimmer=e.trimmerSupport.generateTrimmer(e.ta.wordCharacters),e.Pipeline.registerFunction(e.ta.trimmer,"trimmer-ta"),e.ta.stopWordFilter=e.generateStopWordFilter("அங்கு அங்கே அது அதை அந்த அவர் அவர்கள் அவள் அவன் அவை ஆக ஆகவே ஆகையால் ஆதலால் ஆதலினால் ஆனாலும் ஆனால் இங்கு இங்கே இது இதை இந்த இப்படி இவர் இவர்கள் இவள் இவன் இவை இவ்வளவு உனக்கு உனது உன் உன்னால் எங்கு எங்கே எது எதை எந்த எப்படி எவர் எவர்கள் எவள் எவன் எவை எவ்வளவு எனக்கு எனது எனவே என் என்ன என்னால் ஏது ஏன் தனது தன்னால் தானே தான் நாங்கள் நாம் நான் நீ நீங்கள்".split(" ")),e.ta.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var t=e.wordcut;t.init(),e.ta.tokenizer=function(r){if(!arguments.length||null==r||void 0==r)return[];if(Array.isArray(r))return r.map(function(t){return isLunr2?new e.Token(t.toLowerCase()):t.toLowerCase()});var i=r.toString().toLowerCase().replace(/^\s+/,"");return t.cut(i).split("|")},e.Pipeline.registerFunction(e.ta.stemmer,"stemmer-ta"),e.Pipeline.registerFunction(e.ta.stopWordFilter,"stopWordFilter-ta")}});
-1
View File
@@ -1 +0,0 @@
!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.te=function(){this.pipeline.reset(),this.pipeline.add(e.te.trimmer,e.te.stopWordFilter,e.te.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.te.stemmer))},e.te.wordCharacters="ఀ-ఄఅ-ఔక-హా-ౌౕ-ౖౘ-ౚౠ-ౡౢ-ౣ౦-౯౸-౿఼ఽ్ౝ౷౤౥",e.te.trimmer=e.trimmerSupport.generateTrimmer(e.te.wordCharacters),e.Pipeline.registerFunction(e.te.trimmer,"trimmer-te"),e.te.stopWordFilter=e.generateStopWordFilter("అందరూ అందుబాటులో అడగండి అడగడం అడ్డంగా అనుగుణంగా అనుమతించు అనుమతిస్తుంది అయితే ఇప్పటికే ఉన్నారు ఎక్కడైనా ఎప్పుడు ఎవరైనా ఎవరో ఏ ఏదైనా ఏమైనప్పటికి ఒక ఒకరు కనిపిస్తాయి కాదు కూడా గా గురించి చుట్టూ చేయగలిగింది తగిన తర్వాత దాదాపు దూరంగా నిజంగా పై ప్రకారం ప్రక్కన మధ్య మరియు మరొక మళ్ళీ మాత్రమే మెచ్చుకో వద్ద వెంట వేరుగా వ్యతిరేకంగా సంబంధం".split(" ")),e.te.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var t=e.wordcut;t.init(),e.te.tokenizer=function(r){if(!arguments.length||null==r||void 0==r)return[];if(Array.isArray(r))return r.map(function(t){return isLunr2?new e.Token(t.toLowerCase()):t.toLowerCase()});var i=r.toString().toLowerCase().replace(/^\s+/,"");return t.cut(i).split("|")},e.Pipeline.registerFunction(e.te.stemmer,"stemmer-te"),e.Pipeline.registerFunction(e.te.stopWordFilter,"stopWordFilter-te")}});
-1
View File
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r="2"==e.version[0];e.th=function(){this.pipeline.reset(),this.pipeline.add(e.th.trimmer),r?this.tokenizer=e.th.tokenizer:(e.tokenizer&&(e.tokenizer=e.th.tokenizer),this.tokenizerFn&&(this.tokenizerFn=e.th.tokenizer))},e.th.wordCharacters="[฀-๿]",e.th.trimmer=e.trimmerSupport.generateTrimmer(e.th.wordCharacters),e.Pipeline.registerFunction(e.th.trimmer,"trimmer-th");var t=e.wordcut;t.init(),e.th.tokenizer=function(i){if(!arguments.length||null==i||void 0==i)return[];if(Array.isArray(i))return i.map(function(t){return r?new e.Token(t):t});var n=i.toString().replace(/^\s+/,"");return t.cut(n).split("|")}}});
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.vi=function(){this.pipeline.reset(),this.pipeline.add(e.vi.stopWordFilter,e.vi.trimmer)},e.vi.wordCharacters="[A-Za-ẓ̀͐́͑̉̃̓ÂâÊêÔôĂ-ăĐ-đƠ-ơƯ-ư]",e.vi.trimmer=e.trimmerSupport.generateTrimmer(e.vi.wordCharacters),e.Pipeline.registerFunction(e.vi.trimmer,"trimmer-vi"),e.vi.stopWordFilter=e.generateStopWordFilter("là cái nhưng mà".split(" "))}});
-1
View File
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r(require("@node-rs/jieba")):r()(e.lunr)}(this,function(e){return function(r,t){if(void 0===r)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===r.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var i="2"==r.version[0];r.zh=function(){this.pipeline.reset(),this.pipeline.add(r.zh.trimmer,r.zh.stopWordFilter,r.zh.stemmer),i?this.tokenizer=r.zh.tokenizer:(r.tokenizer&&(r.tokenizer=r.zh.tokenizer),this.tokenizerFn&&(this.tokenizerFn=r.zh.tokenizer))},r.zh.tokenizer=function(n){if(!arguments.length||null==n||void 0==n)return[];if(Array.isArray(n))return n.map(function(e){return i?new r.Token(e.toLowerCase()):e.toLowerCase()});t&&e.load(t);var o=n.toString().trim().toLowerCase(),s=[];e.cut(o,!0).forEach(function(e){s=s.concat(e.split(" "))}),s=s.filter(function(e){return!!e});var u=0;return s.map(function(e,t){if(i){var n=o.indexOf(e,u),s={};return s.position=[n,e.length],s.index=t,u=n,new r.Token(e,s)}return e})},r.zh.wordCharacters="\\w一-龥",r.zh.trimmer=r.trimmerSupport.generateTrimmer(r.zh.wordCharacters),r.Pipeline.registerFunction(r.zh.trimmer,"trimmer-zh"),r.zh.stemmer=function(){return function(e){return e}}(),r.Pipeline.registerFunction(r.zh.stemmer,"stemmer-zh"),r.zh.stopWordFilter=r.generateStopWordFilter("的 一 不 在 人 有 是 为 為 以 于 於 上 他 而 后 後 之 来 來 及 了 因 下 可 到 由 这 這 与 與 也 此 但 并 並 个 個 其 已 无 無 小 我 们 們 起 最 再 今 去 好 只 又 或 很 亦 某 把 那 你 乃 它 吧 被 比 别 趁 当 當 从 從 得 打 凡 儿 兒 尔 爾 该 該 各 给 給 跟 和 何 还 還 即 几 幾 既 看 据 據 距 靠 啦 另 么 麽 每 嘛 拿 哪 您 凭 憑 且 却 卻 让 讓 仍 啥 如 若 使 谁 誰 虽 雖 随 隨 同 所 她 哇 嗡 往 些 向 沿 哟 喲 用 咱 则 則 怎 曾 至 致 着 著 诸 諸 自".split(" ")),r.Pipeline.registerFunction(r.zh.stopWordFilter,"stopWordFilter-zh")}});
-206
View File
@@ -1,206 +0,0 @@
/**
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(factory)
} else if (typeof exports === 'object') {
/**
* Node. Does not work with strict CommonJS, but
* only CommonJS-like environments that support module.exports,
* like Node.
*/
module.exports = factory()
} else {
// Browser globals (root is window)
factory()(root.lunr);
}
}(this, function () {
/**
* Just return a value to define the module export.
* This example returns an object, but the module
* can return a function as the exported value.
*/
return function(lunr) {
// TinySegmenter 0.1 -- Super compact Japanese tokenizer in Javascript
// (c) 2008 Taku Kudo <taku@chasen.org>
// TinySegmenter is freely distributable under the terms of a new BSD licence.
// For details, see http://chasen.org/~taku/software/TinySegmenter/LICENCE.txt
function TinySegmenter() {
var patterns = {
"[一二三四五六七八九十百千万億兆]":"M",
"[一-龠々〆ヵヶ]":"H",
"[ぁ-ん]":"I",
"[ァ-ヴーア-ン゙ー]":"K",
"[a-zA-Z-zA-]":"A",
"[0-9-]":"N"
}
this.chartype_ = [];
for (var i in patterns) {
var regexp = new RegExp(i);
this.chartype_.push([regexp, patterns[i]]);
}
this.BIAS__ = -332
this.BC1__ = {"HH":6,"II":2461,"KH":406,"OH":-1378};
this.BC2__ = {"AA":-3267,"AI":2744,"AN":-878,"HH":-4070,"HM":-1711,"HN":4012,"HO":3761,"IA":1327,"IH":-1184,"II":-1332,"IK":1721,"IO":5492,"KI":3831,"KK":-8741,"MH":-3132,"MK":3334,"OO":-2920};
this.BC3__ = {"HH":996,"HI":626,"HK":-721,"HN":-1307,"HO":-836,"IH":-301,"KK":2762,"MK":1079,"MM":4034,"OA":-1652,"OH":266};
this.BP1__ = {"BB":295,"OB":304,"OO":-125,"UB":352};
this.BP2__ = {"BO":60,"OO":-1762};
this.BQ1__ = {"BHH":1150,"BHM":1521,"BII":-1158,"BIM":886,"BMH":1208,"BNH":449,"BOH":-91,"BOO":-2597,"OHI":451,"OIH":-296,"OKA":1851,"OKH":-1020,"OKK":904,"OOO":2965};
this.BQ2__ = {"BHH":118,"BHI":-1159,"BHM":466,"BIH":-919,"BKK":-1720,"BKO":864,"OHH":-1139,"OHM":-181,"OIH":153,"UHI":-1146};
this.BQ3__ = {"BHH":-792,"BHI":2664,"BII":-299,"BKI":419,"BMH":937,"BMM":8335,"BNN":998,"BOH":775,"OHH":2174,"OHM":439,"OII":280,"OKH":1798,"OKI":-793,"OKO":-2242,"OMH":-2402,"OOO":11699};
this.BQ4__ = {"BHH":-3895,"BIH":3761,"BII":-4654,"BIK":1348,"BKK":-1806,"BMI":-3385,"BOO":-12396,"OAH":926,"OHH":266,"OHK":-2036,"ONN":-973};
this.BW1__ = {",と":660,",同":727,"B1あ":1404,"B1同":542,"、と":660,"、同":727,"」と":1682,"あっ":1505,"いう":1743,"いっ":-2055,"いる":672,"うし":-4817,"うん":665,"から":3472,"がら":600,"こう":-790,"こと":2083,"こん":-1262,"さら":-4143,"さん":4573,"した":2641,"して":1104,"すで":-3399,"そこ":1977,"それ":-871,"たち":1122,"ため":601,"った":3463,"つい":-802,"てい":805,"てき":1249,"でき":1127,"です":3445,"では":844,"とい":-4915,"とみ":1922,"どこ":3887,"ない":5713,"なっ":3015,"など":7379,"なん":-1113,"にし":2468,"には":1498,"にも":1671,"に対":-912,"の一":-501,"の中":741,"ませ":2448,"まで":1711,"まま":2600,"まる":-2155,"やむ":-1947,"よっ":-2565,"れた":2369,"れで":-913,"をし":1860,"を見":731,"亡く":-1886,"京都":2558,"取り":-2784,"大き":-2604,"大阪":1497,"平方":-2314,"引き":-1336,"日本":-195,"本当":-2423,"毎日":-2113,"目指":-724,"B1あ":1404,"B1同":542,"」と":1682};
this.BW2__ = {"..":-11822,"11":-669,"――":-5730,"−−":-13175,"いう":-1609,"うか":2490,"かし":-1350,"かも":-602,"から":-7194,"かれ":4612,"がい":853,"がら":-3198,"きた":1941,"くな":-1597,"こと":-8392,"この":-4193,"させ":4533,"され":13168,"さん":-3977,"しい":-1819,"しか":-545,"した":5078,"して":972,"しな":939,"その":-3744,"たい":-1253,"たた":-662,"ただ":-3857,"たち":-786,"たと":1224,"たは":-939,"った":4589,"って":1647,"っと":-2094,"てい":6144,"てき":3640,"てく":2551,"ては":-3110,"ても":-3065,"でい":2666,"でき":-1528,"でし":-3828,"です":-4761,"でも":-4203,"とい":1890,"とこ":-1746,"とと":-2279,"との":720,"とみ":5168,"とも":-3941,"ない":-2488,"なが":-1313,"など":-6509,"なの":2614,"なん":3099,"にお":-1615,"にし":2748,"にな":2454,"によ":-7236,"に対":-14943,"に従":-4688,"に関":-11388,"のか":2093,"ので":-7059,"のに":-6041,"のの":-6125,"はい":1073,"はが":-1033,"はず":-2532,"ばれ":1813,"まし":-1316,"まで":-6621,"まれ":5409,"めて":-3153,"もい":2230,"もの":-10713,"らか":-944,"らし":-1611,"らに":-1897,"りし":651,"りま":1620,"れた":4270,"れて":849,"れば":4114,"ろう":6067,"われ":7901,"を通":-11877,"んだ":728,"んな":-4115,"一人":602,"一方":-1375,"一日":970,"一部":-1051,"上が":-4479,"会社":-1116,"出て":2163,"分の":-7758,"同党":970,"同日":-913,"大阪":-2471,"委員":-1250,"少な":-1050,"年度":-8669,"年間":-1626,"府県":-2363,"手権":-1982,"新聞":-4066,"日新":-722,"日本":-7068,"日米":3372,"曜日":-601,"朝鮮":-2355,"本人":-2697,"東京":-1543,"然と":-1384,"社会":-1276,"立て":-990,"第に":-1612,"米国":-4268,"11":-669};
this.BW3__ = {"あた":-2194,"あり":719,"ある":3846,"い.":-1185,"い。":-1185,"いい":5308,"いえ":2079,"いく":3029,"いた":2056,"いっ":1883,"いる":5600,"いわ":1527,"うち":1117,"うと":4798,"えと":1454,"か.":2857,"か。":2857,"かけ":-743,"かっ":-4098,"かに":-669,"から":6520,"かり":-2670,"が,":1816,"が、":1816,"がき":-4855,"がけ":-1127,"がっ":-913,"がら":-4977,"がり":-2064,"きた":1645,"けど":1374,"こと":7397,"この":1542,"ころ":-2757,"さい":-714,"さを":976,"し,":1557,"し、":1557,"しい":-3714,"した":3562,"して":1449,"しな":2608,"しま":1200,"す.":-1310,"す。":-1310,"する":6521,"ず,":3426,"ず、":3426,"ずに":841,"そう":428,"た.":8875,"た。":8875,"たい":-594,"たの":812,"たり":-1183,"たる":-853,"だ.":4098,"だ。":4098,"だっ":1004,"った":-4748,"って":300,"てい":6240,"てお":855,"ても":302,"です":1437,"でに":-1482,"では":2295,"とう":-1387,"とし":2266,"との":541,"とも":-3543,"どう":4664,"ない":1796,"なく":-903,"など":2135,"に,":-1021,"に、":-1021,"にし":1771,"にな":1906,"には":2644,"の,":-724,"の、":-724,"の子":-1000,"は,":1337,"は、":1337,"べき":2181,"まし":1113,"ます":6943,"まっ":-1549,"まで":6154,"まれ":-793,"らし":1479,"られ":6820,"るる":3818,"れ,":854,"れ、":854,"れた":1850,"れて":1375,"れば":-3246,"れる":1091,"われ":-605,"んだ":606,"んで":798,"カ月":990,"会議":860,"入り":1232,"大会":2217,"始め":1681,"市":965,"新聞":-5055,"日,":974,"日、":974,"社会":2024,"カ月":990};
this.TC1__ = {"AAA":1093,"HHH":1029,"HHM":580,"HII":998,"HOH":-390,"HOM":-331,"IHI":1169,"IOH":-142,"IOI":-1015,"IOM":467,"MMH":187,"OOI":-1832};
this.TC2__ = {"HHO":2088,"HII":-1023,"HMM":-1154,"IHI":-1965,"KKH":703,"OII":-2649};
this.TC3__ = {"AAA":-294,"HHH":346,"HHI":-341,"HII":-1088,"HIK":731,"HOH":-1486,"IHH":128,"IHI":-3041,"IHO":-1935,"IIH":-825,"IIM":-1035,"IOI":-542,"KHH":-1216,"KKA":491,"KKH":-1217,"KOK":-1009,"MHH":-2694,"MHM":-457,"MHO":123,"MMH":-471,"NNH":-1689,"NNO":662,"OHO":-3393};
this.TC4__ = {"HHH":-203,"HHI":1344,"HHK":365,"HHM":-122,"HHN":182,"HHO":669,"HIH":804,"HII":679,"HOH":446,"IHH":695,"IHO":-2324,"IIH":321,"III":1497,"IIO":656,"IOO":54,"KAK":4845,"KKA":3386,"KKK":3065,"MHH":-405,"MHI":201,"MMH":-241,"MMM":661,"MOM":841};
this.TQ1__ = {"BHHH":-227,"BHHI":316,"BHIH":-132,"BIHH":60,"BIII":1595,"BNHH":-744,"BOHH":225,"BOOO":-908,"OAKK":482,"OHHH":281,"OHIH":249,"OIHI":200,"OIIH":-68};
this.TQ2__ = {"BIHH":-1401,"BIII":-1033,"BKAK":-543,"BOOO":-5591};
this.TQ3__ = {"BHHH":478,"BHHM":-1073,"BHIH":222,"BHII":-504,"BIIH":-116,"BIII":-105,"BMHI":-863,"BMHM":-464,"BOMH":620,"OHHH":346,"OHHI":1729,"OHII":997,"OHMH":481,"OIHH":623,"OIIH":1344,"OKAK":2792,"OKHH":587,"OKKA":679,"OOHH":110,"OOII":-685};
this.TQ4__ = {"BHHH":-721,"BHHM":-3604,"BHII":-966,"BIIH":-607,"BIII":-2181,"OAAA":-2763,"OAKK":180,"OHHH":-294,"OHHI":2446,"OHHO":480,"OHIH":-1573,"OIHH":1935,"OIHI":-493,"OIIH":626,"OIII":-4007,"OKAK":-8156};
this.TW1__ = {"につい":-4681,"東京都":2026};
this.TW2__ = {"ある程":-2049,"いった":-1256,"ころが":-2434,"しょう":3873,"その後":-4430,"だって":-1049,"ていた":1833,"として":-4657,"ともに":-4517,"もので":1882,"一気に":-792,"初めて":-1512,"同時に":-8097,"大きな":-1255,"対して":-2721,"社会党":-3216};
this.TW3__ = {"いただ":-1734,"してい":1314,"として":-4314,"につい":-5483,"にとっ":-5989,"に当た":-6247,"ので,":-727,"ので、":-727,"のもの":-600,"れから":-3752,"十二月":-2287};
this.TW4__ = {"いう.":8576,"いう。":8576,"からな":-2348,"してい":2958,"たが,":1516,"たが、":1516,"ている":1538,"という":1349,"ました":5543,"ません":1097,"ようと":-4258,"よると":5865};
this.UC1__ = {"A":484,"K":93,"M":645,"O":-505};
this.UC2__ = {"A":819,"H":1059,"I":409,"M":3987,"N":5775,"O":646};
this.UC3__ = {"A":-1370,"I":2311};
this.UC4__ = {"A":-2643,"H":1809,"I":-1032,"K":-3450,"M":3565,"N":3876,"O":6646};
this.UC5__ = {"H":313,"I":-1238,"K":-799,"M":539,"O":-831};
this.UC6__ = {"H":-506,"I":-253,"K":87,"M":247,"O":-387};
this.UP1__ = {"O":-214};
this.UP2__ = {"B":69,"O":935};
this.UP3__ = {"B":189};
this.UQ1__ = {"BH":21,"BI":-12,"BK":-99,"BN":142,"BO":-56,"OH":-95,"OI":477,"OK":410,"OO":-2422};
this.UQ2__ = {"BH":216,"BI":113,"OK":1759};
this.UQ3__ = {"BA":-479,"BH":42,"BI":1913,"BK":-7198,"BM":3160,"BN":6427,"BO":14761,"OI":-827,"ON":-3212};
this.UW1__ = {",":156,"、":156,"「":-463,"あ":-941,"う":-127,"が":-553,"き":121,"こ":505,"で":-201,"と":-547,"ど":-123,"に":-789,"の":-185,"は":-847,"も":-466,"や":-470,"よ":182,"ら":-292,"り":208,"れ":169,"を":-446,"ん":-137,"・":-135,"主":-402,"京":-268,"区":-912,"午":871,"国":-460,"大":561,"委":729,"市":-411,"日":-141,"理":361,"生":-408,"県":-386,"都":-718,"「":-463,"・":-135};
this.UW2__ = {",":-829,"、":-829,"":892,"「":-645,"」":3145,"あ":-538,"い":505,"う":134,"お":-502,"か":1454,"が":-856,"く":-412,"こ":1141,"さ":878,"ざ":540,"し":1529,"す":-675,"せ":300,"そ":-1011,"た":188,"だ":1837,"つ":-949,"て":-291,"で":-268,"と":-981,"ど":1273,"な":1063,"に":-1764,"の":130,"は":-409,"ひ":-1273,"べ":1261,"ま":600,"も":-1263,"や":-402,"よ":1639,"り":-579,"る":-694,"れ":571,"を":-2516,"ん":2095,"ア":-587,"カ":306,"キ":568,"ッ":831,"三":-758,"不":-2150,"世":-302,"中":-968,"主":-861,"事":492,"人":-123,"会":978,"保":362,"入":548,"初":-3025,"副":-1566,"北":-3414,"区":-422,"大":-1769,"天":-865,"太":-483,"子":-1519,"学":760,"実":1023,"小":-2009,"市":-813,"年":-1060,"強":1067,"手":-1519,"揺":-1033,"政":1522,"文":-1355,"新":-1682,"日":-1815,"明":-1462,"最":-630,"朝":-1843,"本":-1650,"東":-931,"果":-665,"次":-2378,"民":-180,"気":-1740,"理":752,"発":529,"目":-1584,"相":-242,"県":-1165,"立":-763,"第":810,"米":509,"自":-1353,"行":838,"西":-744,"見":-3874,"調":1010,"議":1198,"込":3041,"開":1758,"間":-1257,"「":-645,"」":3145,"ッ":831,"ア":-587,"カ":306,"キ":568};
this.UW3__ = {",":4889,"1":-800,"":-1723,"、":4889,"々":-2311,"":5827,"」":2670,"〓":-3573,"あ":-2696,"い":1006,"う":2342,"え":1983,"お":-4864,"か":-1163,"が":3271,"く":1004,"け":388,"げ":401,"こ":-3552,"ご":-3116,"さ":-1058,"し":-395,"す":584,"せ":3685,"そ":-5228,"た":842,"ち":-521,"っ":-1444,"つ":-1081,"て":6167,"で":2318,"と":1691,"ど":-899,"な":-2788,"に":2745,"の":4056,"は":4555,"ひ":-2171,"ふ":-1798,"へ":1199,"ほ":-5516,"ま":-4384,"み":-120,"め":1205,"も":2323,"や":-788,"よ":-202,"ら":727,"り":649,"る":5905,"れ":2773,"わ":-1207,"を":6620,"ん":-518,"ア":551,"グ":1319,"ス":874,"ッ":-1350,"ト":521,"ム":1109,"ル":1591,"ロ":2201,"ン":278,"・":-3794,"一":-1619,"下":-1759,"世":-2087,"両":3815,"中":653,"主":-758,"予":-1193,"二":974,"人":2742,"今":792,"他":1889,"以":-1368,"低":811,"何":4265,"作":-361,"保":-2439,"元":4858,"党":3593,"全":1574,"公":-3030,"六":755,"共":-1880,"円":5807,"再":3095,"分":457,"初":2475,"別":1129,"前":2286,"副":4437,"力":365,"動":-949,"務":-1872,"化":1327,"北":-1038,"区":4646,"千":-2309,"午":-783,"協":-1006,"口":483,"右":1233,"各":3588,"合":-241,"同":3906,"和":-837,"員":4513,"国":642,"型":1389,"場":1219,"外":-241,"妻":2016,"学":-1356,"安":-423,"実":-1008,"家":1078,"小":-513,"少":-3102,"州":1155,"市":3197,"平":-1804,"年":2416,"広":-1030,"府":1605,"度":1452,"建":-2352,"当":-3885,"得":1905,"思":-1291,"性":1822,"戸":-488,"指":-3973,"政":-2013,"教":-1479,"数":3222,"文":-1489,"新":1764,"日":2099,"旧":5792,"昨":-661,"時":-1248,"曜":-951,"最":-937,"月":4125,"期":360,"李":3094,"村":364,"東":-805,"核":5156,"森":2438,"業":484,"氏":2613,"民":-1694,"決":-1073,"法":1868,"海":-495,"無":979,"物":461,"特":-3850,"生":-273,"用":914,"町":1215,"的":7313,"直":-1835,"省":792,"県":6293,"知":-1528,"私":4231,"税":401,"立":-960,"第":1201,"米":7767,"系":3066,"約":3663,"級":1384,"統":-4229,"総":1163,"線":1255,"者":6457,"能":725,"自":-2869,"英":785,"見":1044,"調":-562,"財":-733,"費":1777,"車":1835,"軍":1375,"込":-1504,"通":-1136,"選":-681,"郎":1026,"郡":4404,"部":1200,"金":2163,"長":421,"開":-1432,"間":1302,"関":-1282,"雨":2009,"電":-1045,"非":2066,"駅":1620,"":-800,"」":2670,"・":-3794,"ッ":-1350,"ア":551,"グ":1319,"ス":874,"ト":521,"ム":1109,"ル":1591,"ロ":2201,"ン":278};
this.UW4__ = {",":3930,".":3508,"―":-4841,"、":3930,"。":3508,"":4999,"「":1895,"」":3798,"〓":-5156,"あ":4752,"い":-3435,"う":-640,"え":-2514,"お":2405,"か":530,"が":6006,"き":-4482,"ぎ":-3821,"く":-3788,"け":-4376,"げ":-4734,"こ":2255,"ご":1979,"さ":2864,"し":-843,"じ":-2506,"す":-731,"ず":1251,"せ":181,"そ":4091,"た":5034,"だ":5408,"ち":-3654,"っ":-5882,"つ":-1659,"て":3994,"で":7410,"と":4547,"な":5433,"に":6499,"ぬ":1853,"ね":1413,"の":7396,"は":8578,"ば":1940,"ひ":4249,"び":-4134,"ふ":1345,"へ":6665,"べ":-744,"ほ":1464,"ま":1051,"み":-2082,"む":-882,"め":-5046,"も":4169,"ゃ":-2666,"や":2795,"ょ":-1544,"よ":3351,"ら":-2922,"り":-9726,"る":-14896,"れ":-2613,"ろ":-4570,"わ":-1783,"を":13150,"ん":-2352,"カ":2145,"コ":1789,"セ":1287,"ッ":-724,"ト":-403,"メ":-1635,"ラ":-881,"リ":-541,"ル":-856,"ン":-3637,"・":-4371,"ー":-11870,"一":-2069,"中":2210,"予":782,"事":-190,"井":-1768,"人":1036,"以":544,"会":950,"体":-1286,"作":530,"側":4292,"先":601,"党":-2006,"共":-1212,"内":584,"円":788,"初":1347,"前":1623,"副":3879,"力":-302,"動":-740,"務":-2715,"化":776,"区":4517,"協":1013,"参":1555,"合":-1834,"和":-681,"員":-910,"器":-851,"回":1500,"国":-619,"園":-1200,"地":866,"場":-1410,"塁":-2094,"士":-1413,"多":1067,"大":571,"子":-4802,"学":-1397,"定":-1057,"寺":-809,"小":1910,"屋":-1328,"山":-1500,"島":-2056,"川":-2667,"市":2771,"年":374,"庁":-4556,"後":456,"性":553,"感":916,"所":-1566,"支":856,"改":787,"政":2182,"教":704,"文":522,"方":-856,"日":1798,"時":1829,"最":845,"月":-9066,"木":-485,"来":-442,"校":-360,"業":-1043,"氏":5388,"民":-2716,"気":-910,"沢":-939,"済":-543,"物":-735,"率":672,"球":-1267,"生":-1286,"産":-1101,"田":-2900,"町":1826,"的":2586,"目":922,"省":-3485,"県":2997,"空":-867,"立":-2112,"第":788,"米":2937,"系":786,"約":2171,"経":1146,"統":-1169,"総":940,"線":-994,"署":749,"者":2145,"能":-730,"般":-852,"行":-792,"規":792,"警":-1184,"議":-244,"谷":-1000,"賞":730,"車":-1481,"軍":1158,"輪":-1433,"込":-3370,"近":929,"道":-1291,"選":2596,"郎":-4866,"都":1192,"野":-1100,"銀":-2213,"長":357,"間":-2344,"院":-2297,"際":-2604,"電":-878,"領":-1659,"題":-792,"館":-1984,"首":1749,"高":2120,"「":1895,"」":3798,"・":-4371,"ッ":-724,"ー":-11870,"カ":2145,"コ":1789,"セ":1287,"ト":-403,"メ":-1635,"ラ":-881,"リ":-541,"ル":-856,"ン":-3637};
this.UW5__ = {",":465,".":-299,"1":-514,"E2":-32768,"]":-2762,"、":465,"。":-299,"「":363,"あ":1655,"い":331,"う":-503,"え":1199,"お":527,"か":647,"が":-421,"き":1624,"ぎ":1971,"く":312,"げ":-983,"さ":-1537,"し":-1371,"す":-852,"だ":-1186,"ち":1093,"っ":52,"つ":921,"て":-18,"で":-850,"と":-127,"ど":1682,"な":-787,"に":-1224,"の":-635,"は":-578,"べ":1001,"み":502,"め":865,"ゃ":3350,"ょ":854,"り":-208,"る":429,"れ":504,"わ":419,"を":-1264,"ん":327,"イ":241,"ル":451,"ン":-343,"中":-871,"京":722,"会":-1153,"党":-654,"務":3519,"区":-901,"告":848,"員":2104,"大":-1296,"学":-548,"定":1785,"嵐":-1304,"市":-2991,"席":921,"年":1763,"思":872,"所":-814,"挙":1618,"新":-1682,"日":218,"月":-4353,"査":932,"格":1356,"機":-1508,"氏":-1347,"田":240,"町":-3912,"的":-3149,"相":1319,"省":-1052,"県":-4003,"研":-997,"社":-278,"空":-813,"統":1955,"者":-2233,"表":663,"語":-1073,"議":1219,"選":-1018,"郎":-368,"長":786,"間":1191,"題":2368,"館":-689,"":-514,"E2":-32768,"「":363,"イ":241,"ル":451,"ン":-343};
this.UW6__ = {",":227,".":808,"1":-270,"E1":306,"、":227,"。":808,"あ":-307,"う":189,"か":241,"が":-73,"く":-121,"こ":-200,"じ":1782,"す":383,"た":-428,"っ":573,"て":-1014,"で":101,"と":-105,"な":-253,"に":-149,"の":-417,"は":-236,"も":-206,"り":187,"る":-135,"を":195,"ル":-673,"ン":-496,"一":-277,"中":201,"件":-800,"会":624,"前":302,"区":1792,"員":-1212,"委":798,"学":-960,"市":887,"広":-695,"後":535,"業":-697,"相":753,"社":-507,"福":974,"空":-822,"者":1811,"連":463,"郎":1082,"":-270,"E1":306,"ル":-673,"ン":-496};
return this;
}
TinySegmenter.prototype.ctype_ = function(str) {
for (var i in this.chartype_) {
if (str.match(this.chartype_[i][0])) {
return this.chartype_[i][1];
}
}
return "O";
}
TinySegmenter.prototype.ts_ = function(v) {
if (v) { return v; }
return 0;
}
TinySegmenter.prototype.segment = function(input) {
if (input == null || input == undefined || input == "") {
return [];
}
var result = [];
var seg = ["B3","B2","B1"];
var ctype = ["O","O","O"];
var o = input.split("");
for (i = 0; i < o.length; ++i) {
seg.push(o[i]);
ctype.push(this.ctype_(o[i]))
}
seg.push("E1");
seg.push("E2");
seg.push("E3");
ctype.push("O");
ctype.push("O");
ctype.push("O");
var word = seg[3];
var p1 = "U";
var p2 = "U";
var p3 = "U";
for (var i = 4; i < seg.length - 3; ++i) {
var score = this.BIAS__;
var w1 = seg[i-3];
var w2 = seg[i-2];
var w3 = seg[i-1];
var w4 = seg[i];
var w5 = seg[i+1];
var w6 = seg[i+2];
var c1 = ctype[i-3];
var c2 = ctype[i-2];
var c3 = ctype[i-1];
var c4 = ctype[i];
var c5 = ctype[i+1];
var c6 = ctype[i+2];
score += this.ts_(this.UP1__[p1]);
score += this.ts_(this.UP2__[p2]);
score += this.ts_(this.UP3__[p3]);
score += this.ts_(this.BP1__[p1 + p2]);
score += this.ts_(this.BP2__[p2 + p3]);
score += this.ts_(this.UW1__[w1]);
score += this.ts_(this.UW2__[w2]);
score += this.ts_(this.UW3__[w3]);
score += this.ts_(this.UW4__[w4]);
score += this.ts_(this.UW5__[w5]);
score += this.ts_(this.UW6__[w6]);
score += this.ts_(this.BW1__[w2 + w3]);
score += this.ts_(this.BW2__[w3 + w4]);
score += this.ts_(this.BW3__[w4 + w5]);
score += this.ts_(this.TW1__[w1 + w2 + w3]);
score += this.ts_(this.TW2__[w2 + w3 + w4]);
score += this.ts_(this.TW3__[w3 + w4 + w5]);
score += this.ts_(this.TW4__[w4 + w5 + w6]);
score += this.ts_(this.UC1__[c1]);
score += this.ts_(this.UC2__[c2]);
score += this.ts_(this.UC3__[c3]);
score += this.ts_(this.UC4__[c4]);
score += this.ts_(this.UC5__[c5]);
score += this.ts_(this.UC6__[c6]);
score += this.ts_(this.BC1__[c2 + c3]);
score += this.ts_(this.BC2__[c3 + c4]);
score += this.ts_(this.BC3__[c4 + c5]);
score += this.ts_(this.TC1__[c1 + c2 + c3]);
score += this.ts_(this.TC2__[c2 + c3 + c4]);
score += this.ts_(this.TC3__[c3 + c4 + c5]);
score += this.ts_(this.TC4__[c4 + c5 + c6]);
// score += this.ts_(this.TC5__[c4 + c5 + c6]);
score += this.ts_(this.UQ1__[p1 + c1]);
score += this.ts_(this.UQ2__[p2 + c2]);
score += this.ts_(this.UQ3__[p3 + c3]);
score += this.ts_(this.BQ1__[p2 + c2 + c3]);
score += this.ts_(this.BQ2__[p2 + c3 + c4]);
score += this.ts_(this.BQ3__[p3 + c2 + c3]);
score += this.ts_(this.BQ4__[p3 + c3 + c4]);
score += this.ts_(this.TQ1__[p2 + c1 + c2 + c3]);
score += this.ts_(this.TQ2__[p2 + c2 + c3 + c4]);
score += this.ts_(this.TQ3__[p3 + c1 + c2 + c3]);
score += this.ts_(this.TQ4__[p3 + c2 + c3 + c4]);
var p = "O";
if (score > 0) {
result.push(word);
word = "";
p = "B";
}
p1 = p2;
p2 = p3;
p3 = p;
word += seg[i];
}
result.push(word);
return result;
}
lunr.TinySegmenter = TinySegmenter;
};
}));
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
{"version":3,"sources":["src/templates/assets/stylesheets/palette/_scheme.scss","../../../../src/templates/assets/stylesheets/palette.scss","src/templates/assets/stylesheets/palette/_accent.scss","src/templates/assets/stylesheets/palette/_primary.scss","src/templates/assets/stylesheets/utilities/_break.scss"],"names":[],"mappings":"AA2BA,cAGE,6BAME,sDAAA,CACA,6DAAA,CACA,+DAAA,CACA,gEAAA,CACA,mDAAA,CACA,6DAAA,CACA,+DAAA,CACA,gEAAA,CAGA,mDAAA,CACA,gDAAA,CAGA,0BAAA,CACA,mCAAA,CAGA,iCAAA,CACA,kCAAA,CACA,mCAAA,CACA,mCAAA,CACA,kCAAA,CACA,iCAAA,CACA,+CAAA,CACA,6DAAA,CACA,gEAAA,CACA,4DAAA,CACA,4DAAA,CACA,6DAAA,CAGA,6CAAA,CAGA,+CAAA,CAGA,uDAAA,CACA,6DAAA,CACA,2DAAA,CAGA,iCAAA,CAGA,yDAAA,CACA,iEAAA,CAGA,mDAAA,CACA,mDAAA,CAGA,qDAAA,CACA,uDAAA,CAGA,8DAAA,CAKA,8DAAA,CAKA,0DAAA,CAvEA,iBCeF,CD6DE,kHAEE,YC3DJ,CDkFE,yDACE,4BChFJ,CD+EE,2DACE,4BC7EJ,CD4EE,gEACE,4BC1EJ,CDyEE,2DACE,4BCvEJ,CDsEE,yDACE,4BCpEJ,CDmEE,0DACE,4BCjEJ,CDgEE,gEACE,4BC9DJ,CD6DE,0DACE,4BC3DJ,CD0DE,2OACE,4BC/CJ,CDsDA,+FAGE,iCCpDF,CACF,CC/CE,2BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCD2CN,CCrDE,4BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDkDN,CC5DE,8BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDyDN,CCnEE,mCACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDgEN,CC1EE,8BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDuEN,CCjFE,4BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCD8EN,CCxFE,kCACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDqFN,CC/FE,4BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCD4FN,CCtGE,4BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDmGN,CC7GE,6BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCD0GN,CCpHE,mCACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDiHN,CC3HE,4BACE,4BAAA,CACA,2CAAA,CAIE,8BAAA,CACA,qCD2HN,CClIE,8BACE,4BAAA,CACA,2CAAA,CAIE,8BAAA,CACA,qCDkIN,CCzIE,6BACE,yBAAA,CACA,2CAAA,CAIE,8BAAA,CACA,qCDyIN,CChJE,8BACE,4BAAA,CACA,2CAAA,CAIE,8BAAA,CACA,qCDgJN,CCvJE,mCACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDoJN,CEzJE,4BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFsJN,CEjKE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCF8JN,CEzKE,+BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFsKN,CEjLE,oCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCF8KN,CEzLE,+BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFsLN,CEjME,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCF8LN,CEzME,mCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFsMN,CEjNE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCF8MN,CEzNE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFsNN,CEjOE,8BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCF8NN,CEzOE,oCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFsON,CEjPE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAIE,+BAAA,CACA,sCFiPN,CEzPE,+BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAIE,+BAAA,CACA,sCFyPN,CEjQE,8BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAIE,+BAAA,CACA,sCFiQN,CEzQE,+BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAIE,+BAAA,CACA,sCFyQN,CEjRE,oCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCF8QN,CEzRE,8BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFsRN,CEjSE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCAAA,CAKA,4BF0RN,CE1SE,kCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCAAA,CAKA,4BFmSN,CEpRE,sEACE,4BFuRJ,CExRE,+DACE,4BF2RJ,CE5RE,iEACE,4BF+RJ,CEhSE,gEACE,4BFmSJ,CEpSE,iEACE,4BFuSJ,CE9RA,8BACE,mDAAA,CACA,4DAAA,CACA,0DAAA,CACA,oDAAA,CACA,2DAAA,CAGA,4BF+RF,CE5RE,yCACE,+BF8RJ,CE3RI,kDAEE,0CAAA,CACA,sCAAA,CAFA,mCF+RN,CG3MI,mCD1EA,+CACE,8CFwRJ,CErRI,qDACE,8CFuRN,CElRE,iEACE,mCFoRJ,CACF,CGtNI,sCDvDA,uCACE,oCFgRJ,CACF,CEvQA,8BACE,kDAAA,CACA,4DAAA,CACA,wDAAA,CACA,oDAAA,CACA,6DAAA,CAGA,4BFwQF,CErQE,yCACE,+BFuQJ,CEpQI,kDAEE,0CAAA,CACA,sCAAA,CAFA,mCFwQN,CEjQE,yCACE,6CFmQJ,CG5NI,0CDhCA,8CACE,gDF+PJ,CACF,CGjOI,0CDvBA,iFACE,6CF2PJ,CACF,CGzPI,sCDKA,uCACE,6CFuPJ,CACF","file":"palette.css"}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More