Add Smarty 4.0.0 basic library with updated checkbox/options, t/popup, this is all untested at the moment

This commit is contained in:
Clemens Schwaighofer
2022-01-19 15:24:37 +09:00
parent 33766e1e2d
commit 9a5f1d43cf
227 changed files with 39205 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
/**
* Smarty exception class
*
* @package Smarty
*/
class SmartyException extends Exception
{
public static $escape = false;
/**
* @return string
*/
public function __toString()
{
return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- ';
}
}