diff --git a/change_log.txt b/change_log.txt index 3f94e387..1919faf8 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,8 @@ +07/09/2010 +- 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 + + 23/08/2010 - fixed E_STRICT errors for uninitialized variables diff --git a/libs/plugins/function.counter.php b/libs/plugins/function.counter.php index e2ce8059..534e9981 100644 --- a/libs/plugins/function.counter.php +++ b/libs/plugins/function.counter.php @@ -16,9 +16,10 @@ * (Smarty online manual) * @param array parameters * @param Smarty + * @param object $template template object * @return string|null */ -function smarty_function_counter($params, $smarty) +function smarty_function_counter($params, $smarty, $template) { static $counters = array(); @@ -42,7 +43,7 @@ function smarty_function_counter($params, $smarty) } if (isset($counter['assign'])) { - $smarty->assign($counter['assign'], $counter['count']); + $template->assign($counter['assign'], $counter['count']); } if (isset($params['print'])) { diff --git a/libs/plugins/function.cycle.php b/libs/plugins/function.cycle.php index 5d976456..76ff0c6b 100644 --- a/libs/plugins/function.cycle.php +++ b/libs/plugins/function.cycle.php @@ -39,11 +39,12 @@ * @author credit to Jason Sweat * @version 1.3 * @param array - * @param Smarty + * @param object $smarty Smarty object + * @param object $template template object * @return string|null */ -function smarty_function_cycle($params, $smarty) +function smarty_function_cycle($params, $smarty, $template) { static $cycle_vars; @@ -83,7 +84,7 @@ function smarty_function_cycle($params, $smarty) if (isset($params['assign'])) { $print = false; - $smarty->assign($params['assign'], $cycle_array[$cycle_vars[$name]['index']]); + $template->assign($params['assign'], $cycle_array[$cycle_vars[$name]['index']]); } if($print) { diff --git a/libs/sysplugins/smarty_internal_templateparser.php b/libs/sysplugins/smarty_internal_templateparser.php index 750a24b2..c795ba03 100644 --- a/libs/sysplugins/smarty_internal_templateparser.php +++ b/libs/sysplugins/smarty_internal_templateparser.php @@ -1,13 +1,13 @@ sec_obj = $this->smarty; } $this->compiler->has_variable_string = false; - $this->compiler->prefix_code = array(); - $this->prefix_number = 0; - $this->block_nesting_level = 0; - $this->is_xml = false; - $this->asp_tags = (ini_get('asp_tags') != '0'); - $this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this); + $this->compiler->prefix_code = array(); + $this->prefix_number = 0; + $this->block_nesting_level = 0; + $this->is_xml = false; + $this->asp_tags = (ini_get('asp_tags') != '0'); + $this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this); } public static function &instance($new_instance = null) { @@ -212,9 +212,9 @@ class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php const TP_QUOTE = 74; const TP_BACKTICK = 75; const TP_DOLLARID = 76; - const YY_NO_ACTION = 559; - const YY_ACCEPT_ACTION = 558; - const YY_ERROR_ACTION = 557; + const YY_NO_ACTION = 560; + const YY_ACCEPT_ACTION = 559; + const YY_ERROR_ACTION = 558; const YY_SZ_ACTTAB = 2127; static public $yy_action = array( @@ -223,14 +223,14 @@ static public $yy_action = array( /* 20 */ 8, 183, 207, 171, 209, 173, 25, 27, 107, 123, /* 30 */ 13, 270, 193, 42, 47, 46, 39, 26, 30, 345, /* 40 */ 346, 18, 15, 347, 354, 19, 17, 311, 306, 9, - /* 50 */ 20, 310, 426, 273, 29, 156, 312, 315, 426, 469, + /* 50 */ 20, 310, 427, 273, 29, 156, 312, 315, 427, 470, /* 60 */ 236, 355, 362, 363, 364, 365, 361, 360, 356, 357, /* 70 */ 358, 359, 342, 184, 266, 300, 301, 303, 222, 8, /* 80 */ 196, 52, 140, 122, 105, 8, 136, 107, 319, 165, /* 90 */ 341, 133, 147, 107, 183, 320, 350, 344, 171, 325, /* 100 */ 269, 25, 27, 167, 210, 269, 42, 47, 46, 39, /* 110 */ 26, 30, 345, 346, 18, 15, 347, 354, 19, 17, - /* 120 */ 558, 85, 244, 301, 303, 8, 20, 48, 20, 273, + /* 120 */ 559, 85, 244, 301, 303, 8, 20, 48, 20, 273, /* 130 */ 37, 273, 37, 107, 355, 362, 363, 364, 365, 361, /* 140 */ 360, 356, 357, 358, 359, 342, 184, 184, 266, 154, /* 150 */ 20, 275, 187, 273, 196, 51, 352, 124, 105, 11, @@ -247,7 +247,7 @@ static public $yy_action = array( /* 260 */ 360, 356, 357, 358, 359, 342, 307, 269, 271, 142, /* 270 */ 232, 277, 183, 42, 47, 46, 39, 26, 30, 345, /* 280 */ 346, 18, 15, 347, 354, 19, 17, 184, 226, 339, - /* 290 */ 425, 327, 89, 111, 184, 183, 183, 183, 48, 271, + /* 290 */ 426, 327, 89, 111, 184, 183, 183, 183, 48, 271, /* 300 */ 132, 355, 362, 363, 364, 365, 361, 360, 356, 357, /* 310 */ 358, 359, 342, 322, 366, 183, 159, 338, 259, 183, /* 320 */ 42, 47, 46, 39, 26, 30, 345, 346, 18, 15, @@ -256,8 +256,8 @@ static public $yy_action = array( /* 350 */ 363, 364, 365, 361, 360, 356, 357, 358, 359, 342, /* 360 */ 314, 325, 313, 290, 4, 16, 10, 42, 47, 46, /* 370 */ 39, 26, 30, 345, 346, 18, 15, 347, 354, 19, - /* 380 */ 17, 8, 324, 48, 428, 183, 335, 218, 183, 107, - /* 390 */ 428, 233, 183, 257, 261, 355, 362, 363, 364, 365, + /* 380 */ 17, 8, 324, 48, 429, 183, 335, 218, 183, 107, + /* 390 */ 429, 233, 183, 257, 261, 355, 362, 363, 364, 365, /* 400 */ 361, 360, 356, 357, 358, 359, 342, 184, 266, 215, /* 410 */ 223, 137, 177, 330, 196, 68, 48, 243, 105, 183, /* 420 */ 148, 28, 248, 165, 341, 269, 202, 94, 230, 157, @@ -288,149 +288,149 @@ static public $yy_action = array( /* 670 */ 358, 359, 342, 269, 283, 241, 208, 270, 195, 242, /* 680 */ 42, 47, 46, 39, 26, 30, 345, 346, 18, 15, /* 690 */ 347, 354, 19, 17, 326, 167, 184, 305, 90, 95, - /* 700 */ 14, 146, 311, 311, 311, 311, 311, 252, 355, 362, + /* 700 */ 14, 146, 312, 312, 312, 312, 312, 252, 355, 362, /* 710 */ 363, 364, 365, 361, 360, 356, 357, 358, 359, 342, - /* 720 */ 184, 266, 311, 20, 238, 222, 273, 196, 66, 311, - /* 730 */ 311, 105, 204, 139, 131, 170, 91, 341, 197, 311, - /* 740 */ 311, 311, 311, 350, 344, 171, 325, 269, 283, 311, - /* 750 */ 311, 311, 311, 42, 47, 46, 39, 26, 30, 345, - /* 760 */ 346, 18, 15, 347, 354, 19, 17, 311, 311, 311, - /* 770 */ 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, - /* 780 */ 311, 355, 362, 363, 364, 365, 361, 360, 356, 357, - /* 790 */ 358, 359, 342, 184, 266, 311, 311, 311, 222, 266, - /* 800 */ 196, 72, 311, 222, 105, 196, 59, 311, 168, 105, - /* 810 */ 341, 144, 311, 311, 93, 341, 350, 344, 311, 325, - /* 820 */ 311, 350, 344, 171, 325, 269, 42, 47, 46, 39, + /* 720 */ 184, 266, 312, 20, 238, 222, 273, 196, 66, 312, + /* 730 */ 312, 105, 204, 139, 131, 170, 91, 341, 197, 312, + /* 740 */ 312, 312, 312, 350, 344, 171, 325, 269, 283, 312, + /* 750 */ 312, 312, 312, 42, 47, 46, 39, 26, 30, 345, + /* 760 */ 346, 18, 15, 347, 354, 19, 17, 312, 312, 312, + /* 770 */ 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, + /* 780 */ 312, 355, 362, 363, 364, 365, 361, 360, 356, 357, + /* 790 */ 358, 359, 342, 184, 266, 312, 312, 312, 222, 266, + /* 800 */ 196, 72, 312, 222, 105, 196, 59, 312, 168, 105, + /* 810 */ 341, 144, 312, 312, 93, 341, 350, 344, 312, 325, + /* 820 */ 312, 350, 344, 171, 325, 269, 42, 47, 46, 39, /* 830 */ 26, 30, 345, 346, 18, 15, 347, 354, 19, 17, - /* 840 */ 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, - /* 850 */ 311, 311, 311, 311, 355, 362, 363, 364, 365, 361, - /* 860 */ 360, 356, 357, 358, 359, 342, 184, 266, 311, 311, - /* 870 */ 311, 222, 266, 196, 76, 311, 222, 105, 196, 54, - /* 880 */ 311, 240, 105, 341, 100, 311, 311, 311, 341, 350, - /* 890 */ 344, 311, 325, 311, 350, 344, 311, 325, 283, 42, + /* 840 */ 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, + /* 850 */ 312, 312, 312, 312, 355, 362, 363, 364, 365, 361, + /* 860 */ 360, 356, 357, 358, 359, 342, 184, 266, 312, 312, + /* 870 */ 312, 222, 266, 196, 76, 312, 222, 105, 196, 54, + /* 880 */ 312, 240, 105, 341, 100, 312, 312, 312, 341, 350, + /* 890 */ 344, 312, 325, 312, 350, 344, 312, 325, 283, 42, /* 900 */ 47, 46, 39, 26, 30, 345, 346, 18, 15, 347, - /* 910 */ 354, 19, 17, 311, 311, 311, 311, 311, 311, 311, - /* 920 */ 311, 311, 311, 311, 311, 311, 311, 355, 362, 363, + /* 910 */ 354, 19, 17, 312, 312, 312, 312, 312, 312, 312, + /* 920 */ 312, 312, 312, 312, 312, 312, 312, 355, 362, 363, /* 930 */ 364, 365, 361, 360, 356, 357, 358, 359, 342, 184, - /* 940 */ 184, 266, 150, 311, 311, 222, 311, 196, 65, 311, - /* 950 */ 184, 105, 311, 96, 169, 272, 269, 341, 311, 221, - /* 960 */ 311, 183, 162, 350, 344, 425, 325, 283, 311, 311, - /* 970 */ 311, 183, 42, 47, 46, 39, 26, 30, 345, 346, - /* 980 */ 18, 15, 347, 354, 19, 17, 311, 311, 311, 311, - /* 990 */ 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, + /* 940 */ 184, 266, 150, 312, 312, 222, 312, 196, 65, 312, + /* 950 */ 184, 105, 312, 96, 169, 272, 269, 341, 312, 221, + /* 960 */ 312, 183, 162, 350, 344, 426, 325, 283, 312, 312, + /* 970 */ 312, 183, 42, 47, 46, 39, 26, 30, 345, 346, + /* 980 */ 18, 15, 347, 354, 19, 17, 312, 312, 312, 312, + /* 990 */ 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, /* 1000 */ 355, 362, 363, 364, 365, 361, 360, 356, 357, 358, - /* 1010 */ 359, 342, 184, 266, 311, 311, 141, 222, 266, 196, - /* 1020 */ 55, 311, 222, 105, 196, 75, 311, 292, 105, 341, - /* 1030 */ 269, 311, 311, 311, 341, 350, 344, 311, 325, 311, - /* 1040 */ 350, 344, 311, 325, 311, 42, 47, 46, 39, 26, + /* 1010 */ 359, 342, 184, 266, 312, 312, 141, 222, 266, 196, + /* 1020 */ 55, 312, 222, 105, 196, 75, 312, 292, 105, 341, + /* 1030 */ 269, 312, 312, 312, 341, 350, 344, 312, 325, 312, + /* 1040 */ 350, 344, 312, 325, 312, 42, 47, 46, 39, 26, /* 1050 */ 30, 345, 346, 18, 15, 347, 354, 19, 17, 184, - /* 1060 */ 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, - /* 1070 */ 311, 129, 110, 355, 362, 363, 364, 365, 361, 360, - /* 1080 */ 356, 357, 358, 359, 342, 283, 283, 311, 311, 311, - /* 1090 */ 311, 311, 42, 47, 46, 39, 26, 30, 345, 346, - /* 1100 */ 18, 15, 347, 354, 19, 17, 311, 311, 311, 311, - /* 1110 */ 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, + /* 1060 */ 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, + /* 1070 */ 312, 129, 110, 355, 362, 363, 364, 365, 361, 360, + /* 1080 */ 356, 357, 358, 359, 342, 283, 283, 312, 312, 312, + /* 1090 */ 312, 312, 42, 47, 46, 39, 26, 30, 345, 346, + /* 1100 */ 18, 15, 347, 354, 19, 17, 312, 312, 312, 312, + /* 1110 */ 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, /* 1120 */ 355, 362, 363, 364, 365, 361, 360, 356, 357, 358, - /* 1130 */ 359, 342, 143, 135, 97, 311, 6, 311, 114, 175, - /* 1140 */ 311, 311, 207, 311, 209, 167, 269, 269, 283, 123, - /* 1150 */ 311, 311, 193, 200, 311, 311, 44, 311, 311, 311, - /* 1160 */ 311, 311, 266, 311, 311, 311, 182, 311, 196, 82, - /* 1170 */ 24, 311, 105, 43, 45, 288, 211, 348, 341, 311, - /* 1180 */ 89, 1, 263, 311, 350, 344, 6, 325, 114, 178, - /* 1190 */ 311, 311, 207, 311, 209, 86, 188, 265, 311, 123, - /* 1200 */ 311, 311, 193, 200, 311, 311, 44, 311, 311, 311, - /* 1210 */ 311, 311, 266, 311, 311, 311, 182, 311, 196, 82, - /* 1220 */ 24, 311, 105, 43, 45, 288, 211, 348, 341, 311, - /* 1230 */ 89, 1, 311, 311, 350, 344, 6, 325, 106, 178, - /* 1240 */ 311, 311, 207, 311, 209, 86, 231, 229, 311, 123, - /* 1250 */ 231, 3, 193, 200, 311, 3, 44, 207, 311, 209, - /* 1260 */ 311, 207, 311, 209, 123, 311, 311, 193, 123, 311, - /* 1270 */ 24, 193, 311, 43, 45, 288, 211, 348, 311, 311, - /* 1280 */ 89, 1, 311, 311, 311, 311, 6, 311, 106, 174, - /* 1290 */ 311, 311, 207, 311, 209, 86, 311, 311, 311, 123, - /* 1300 */ 311, 311, 193, 186, 311, 311, 44, 311, 311, 311, - /* 1310 */ 332, 36, 228, 311, 333, 36, 228, 311, 311, 311, - /* 1320 */ 24, 311, 311, 43, 45, 288, 211, 348, 311, 311, - /* 1330 */ 89, 1, 311, 311, 311, 311, 6, 311, 114, 176, - /* 1340 */ 311, 311, 207, 311, 209, 86, 311, 311, 311, 123, - /* 1350 */ 311, 311, 193, 200, 311, 311, 44, 311, 311, 311, - /* 1360 */ 311, 311, 266, 311, 311, 311, 222, 311, 196, 81, - /* 1370 */ 24, 311, 105, 43, 45, 288, 211, 348, 341, 311, - /* 1380 */ 89, 1, 311, 311, 350, 344, 6, 325, 117, 83, - /* 1390 */ 311, 311, 207, 311, 209, 86, 311, 311, 311, 123, - /* 1400 */ 311, 311, 193, 200, 311, 311, 44, 311, 311, 311, - /* 1410 */ 311, 311, 266, 311, 311, 311, 222, 311, 196, 61, - /* 1420 */ 38, 311, 105, 43, 45, 288, 211, 348, 341, 311, - /* 1430 */ 89, 1, 311, 311, 350, 344, 6, 325, 114, 178, - /* 1440 */ 311, 311, 207, 311, 209, 86, 311, 311, 311, 123, - /* 1450 */ 311, 311, 193, 200, 311, 311, 44, 311, 311, 311, - /* 1460 */ 311, 311, 266, 311, 311, 311, 222, 311, 196, 73, - /* 1470 */ 38, 311, 105, 43, 45, 288, 211, 348, 341, 311, - /* 1480 */ 89, 1, 311, 311, 350, 344, 6, 325, 108, 178, - /* 1490 */ 311, 311, 207, 311, 209, 86, 311, 311, 311, 123, - /* 1500 */ 311, 311, 193, 200, 311, 311, 44, 311, 311, 311, - /* 1510 */ 311, 311, 266, 311, 311, 311, 222, 311, 196, 74, - /* 1520 */ 24, 311, 105, 43, 45, 288, 211, 348, 341, 311, - /* 1530 */ 89, 1, 311, 311, 350, 344, 6, 325, 114, 172, - /* 1540 */ 311, 311, 207, 311, 209, 86, 311, 311, 311, 123, - /* 1550 */ 311, 311, 193, 200, 311, 311, 44, 311, 311, 311, - /* 1560 */ 311, 311, 266, 311, 311, 311, 222, 311, 196, 58, - /* 1570 */ 38, 311, 105, 43, 45, 288, 211, 348, 341, 311, - /* 1580 */ 89, 1, 311, 311, 350, 344, 6, 325, 106, 178, - /* 1590 */ 311, 311, 207, 311, 209, 86, 311, 311, 311, 123, - /* 1600 */ 311, 311, 193, 200, 311, 311, 44, 311, 311, 311, - /* 1610 */ 311, 311, 266, 311, 311, 311, 222, 311, 181, 60, - /* 1620 */ 24, 311, 105, 43, 45, 288, 211, 348, 341, 311, - /* 1630 */ 89, 311, 311, 311, 350, 344, 6, 325, 106, 179, - /* 1640 */ 311, 311, 207, 311, 209, 86, 311, 311, 311, 123, - /* 1650 */ 311, 311, 193, 200, 311, 311, 44, 311, 311, 311, - /* 1660 */ 311, 311, 266, 311, 311, 311, 222, 311, 196, 64, - /* 1670 */ 24, 311, 105, 43, 45, 288, 211, 348, 341, 311, - /* 1680 */ 89, 311, 311, 311, 350, 344, 311, 325, 311, 311, - /* 1690 */ 311, 311, 311, 311, 189, 86, 311, 311, 311, 311, - /* 1700 */ 266, 311, 311, 311, 222, 266, 196, 49, 311, 222, - /* 1710 */ 105, 196, 64, 311, 311, 105, 341, 311, 311, 311, - /* 1720 */ 311, 341, 350, 344, 311, 325, 311, 350, 344, 311, - /* 1730 */ 325, 311, 311, 311, 266, 311, 311, 255, 222, 311, - /* 1740 */ 196, 64, 311, 311, 105, 311, 311, 311, 266, 311, - /* 1750 */ 341, 311, 222, 311, 196, 64, 350, 344, 105, 325, - /* 1760 */ 311, 311, 311, 311, 341, 311, 212, 311, 311, 311, - /* 1770 */ 350, 344, 311, 325, 311, 311, 311, 266, 311, 311, - /* 1780 */ 219, 222, 266, 196, 63, 311, 222, 105, 196, 70, - /* 1790 */ 311, 311, 105, 341, 311, 311, 311, 311, 341, 350, - /* 1800 */ 344, 311, 325, 311, 350, 344, 311, 325, 311, 266, - /* 1810 */ 311, 311, 311, 222, 311, 196, 77, 311, 311, 105, - /* 1820 */ 266, 311, 311, 311, 222, 341, 196, 62, 311, 311, - /* 1830 */ 105, 350, 344, 311, 325, 311, 341, 311, 311, 311, - /* 1840 */ 266, 311, 350, 344, 222, 325, 196, 80, 266, 311, - /* 1850 */ 105, 311, 222, 311, 196, 78, 341, 311, 105, 311, - /* 1860 */ 311, 311, 350, 344, 341, 325, 311, 311, 266, 311, - /* 1870 */ 350, 344, 222, 325, 196, 69, 311, 311, 105, 311, - /* 1880 */ 311, 311, 266, 311, 341, 311, 222, 311, 196, 57, - /* 1890 */ 350, 344, 105, 325, 311, 311, 311, 311, 341, 311, - /* 1900 */ 311, 311, 266, 311, 350, 344, 222, 325, 196, 56, - /* 1910 */ 311, 311, 105, 266, 311, 311, 311, 222, 341, 196, - /* 1920 */ 71, 311, 311, 105, 350, 344, 311, 325, 311, 341, - /* 1930 */ 311, 311, 311, 311, 311, 350, 344, 266, 325, 311, - /* 1940 */ 311, 222, 311, 196, 79, 266, 311, 105, 311, 222, - /* 1950 */ 311, 196, 67, 341, 311, 105, 311, 311, 311, 350, - /* 1960 */ 344, 341, 325, 311, 311, 311, 311, 350, 344, 311, - /* 1970 */ 325, 266, 311, 311, 311, 250, 311, 196, 311, 311, - /* 1980 */ 311, 105, 311, 311, 311, 311, 311, 249, 311, 311, - /* 1990 */ 311, 266, 311, 350, 344, 349, 325, 196, 311, 266, - /* 2000 */ 311, 105, 311, 201, 311, 196, 311, 353, 311, 105, - /* 2010 */ 311, 311, 311, 350, 344, 214, 325, 311, 311, 266, - /* 2020 */ 311, 350, 344, 279, 325, 196, 266, 311, 311, 105, - /* 2030 */ 246, 311, 196, 266, 311, 311, 105, 287, 311, 196, - /* 2040 */ 311, 350, 344, 105, 325, 311, 311, 311, 350, 344, - /* 2050 */ 311, 325, 311, 266, 311, 350, 344, 234, 325, 196, - /* 2060 */ 311, 311, 311, 105, 311, 311, 311, 311, 311, 311, - /* 2070 */ 311, 311, 311, 266, 311, 350, 344, 278, 325, 196, - /* 2080 */ 311, 266, 311, 105, 311, 235, 311, 196, 311, 311, - /* 2090 */ 311, 105, 311, 311, 311, 350, 344, 311, 325, 311, - /* 2100 */ 311, 266, 311, 350, 344, 317, 325, 196, 311, 311, - /* 2110 */ 311, 105, 311, 311, 311, 311, 311, 311, 311, 311, - /* 2120 */ 311, 311, 311, 350, 344, 311, 325, + /* 1130 */ 359, 342, 143, 135, 97, 312, 6, 312, 114, 175, + /* 1140 */ 312, 312, 207, 312, 209, 167, 269, 269, 283, 123, + /* 1150 */ 312, 312, 193, 200, 312, 312, 44, 312, 312, 312, + /* 1160 */ 312, 312, 266, 312, 312, 312, 182, 312, 196, 82, + /* 1170 */ 24, 312, 105, 43, 45, 288, 211, 348, 341, 312, + /* 1180 */ 89, 1, 263, 312, 350, 344, 6, 325, 114, 178, + /* 1190 */ 312, 312, 207, 312, 209, 86, 188, 265, 312, 123, + /* 1200 */ 312, 312, 193, 200, 312, 312, 44, 312, 312, 312, + /* 1210 */ 312, 312, 266, 312, 312, 312, 182, 312, 196, 82, + /* 1220 */ 24, 312, 105, 43, 45, 288, 211, 348, 341, 312, + /* 1230 */ 89, 1, 312, 312, 350, 344, 6, 325, 106, 178, + /* 1240 */ 312, 312, 207, 312, 209, 86, 231, 229, 312, 123, + /* 1250 */ 231, 3, 193, 200, 312, 3, 44, 207, 312, 209, + /* 1260 */ 312, 207, 312, 209, 123, 312, 312, 193, 123, 312, + /* 1270 */ 24, 193, 312, 43, 45, 288, 211, 348, 312, 312, + /* 1280 */ 89, 1, 312, 312, 312, 312, 6, 312, 106, 174, + /* 1290 */ 312, 312, 207, 312, 209, 86, 312, 312, 312, 123, + /* 1300 */ 312, 312, 193, 186, 312, 312, 44, 312, 312, 312, + /* 1310 */ 332, 36, 228, 312, 333, 36, 228, 312, 312, 312, + /* 1320 */ 24, 312, 312, 43, 45, 288, 211, 348, 312, 312, + /* 1330 */ 89, 1, 312, 312, 312, 312, 6, 312, 114, 176, + /* 1340 */ 312, 312, 207, 312, 209, 86, 312, 312, 312, 123, + /* 1350 */ 312, 312, 193, 200, 312, 312, 44, 312, 312, 312, + /* 1360 */ 312, 312, 266, 312, 312, 312, 222, 312, 196, 81, + /* 1370 */ 24, 312, 105, 43, 45, 288, 211, 348, 341, 312, + /* 1380 */ 89, 1, 312, 312, 350, 344, 6, 325, 117, 83, + /* 1390 */ 312, 312, 207, 312, 209, 86, 312, 312, 312, 123, + /* 1400 */ 312, 312, 193, 200, 312, 312, 44, 312, 312, 312, + /* 1410 */ 312, 312, 266, 312, 312, 312, 222, 312, 196, 61, + /* 1420 */ 38, 312, 105, 43, 45, 288, 211, 348, 341, 312, + /* 1430 */ 89, 1, 312, 312, 350, 344, 6, 325, 114, 178, + /* 1440 */ 312, 312, 207, 312, 209, 86, 312, 312, 312, 123, + /* 1450 */ 312, 312, 193, 200, 312, 312, 44, 312, 312, 312, + /* 1460 */ 312, 312, 266, 312, 312, 312, 222, 312, 196, 73, + /* 1470 */ 38, 312, 105, 43, 45, 288, 211, 348, 341, 312, + /* 1480 */ 89, 1, 312, 312, 350, 344, 6, 325, 108, 178, + /* 1490 */ 312, 312, 207, 312, 209, 86, 312, 312, 312, 123, + /* 1500 */ 312, 312, 193, 200, 312, 312, 44, 312, 312, 312, + /* 1510 */ 312, 312, 266, 312, 312, 312, 222, 312, 196, 74, + /* 1520 */ 24, 312, 105, 43, 45, 288, 211, 348, 341, 312, + /* 1530 */ 89, 1, 312, 312, 350, 344, 6, 325, 114, 172, + /* 1540 */ 312, 312, 207, 312, 209, 86, 312, 312, 312, 123, + /* 1550 */ 312, 312, 193, 200, 312, 312, 44, 312, 312, 312, + /* 1560 */ 312, 312, 266, 312, 312, 312, 222, 312, 196, 58, + /* 1570 */ 38, 312, 105, 43, 45, 288, 211, 348, 341, 312, + /* 1580 */ 89, 1, 312, 312, 350, 344, 6, 325, 106, 178, + /* 1590 */ 312, 312, 207, 312, 209, 86, 312, 312, 312, 123, + /* 1600 */ 312, 312, 193, 200, 312, 312, 44, 312, 312, 312, + /* 1610 */ 312, 312, 266, 312, 312, 312, 222, 312, 181, 60, + /* 1620 */ 24, 312, 105, 43, 45, 288, 211, 348, 341, 312, + /* 1630 */ 89, 312, 312, 312, 350, 344, 6, 325, 106, 179, + /* 1640 */ 312, 312, 207, 312, 209, 86, 312, 312, 312, 123, + /* 1650 */ 312, 312, 193, 200, 312, 312, 44, 312, 312, 312, + /* 1660 */ 312, 312, 266, 312, 312, 312, 222, 312, 196, 64, + /* 1670 */ 24, 312, 105, 43, 45, 288, 211, 348, 341, 312, + /* 1680 */ 89, 312, 312, 312, 350, 344, 312, 325, 312, 312, + /* 1690 */ 312, 312, 312, 312, 189, 86, 312, 312, 312, 312, + /* 1700 */ 266, 312, 312, 312, 222, 266, 196, 49, 312, 222, + /* 1710 */ 105, 196, 64, 312, 312, 105, 341, 312, 312, 312, + /* 1720 */ 312, 341, 350, 344, 312, 325, 312, 350, 344, 312, + /* 1730 */ 325, 312, 312, 312, 266, 312, 312, 255, 222, 312, + /* 1740 */ 196, 64, 312, 312, 105, 312, 312, 312, 266, 312, + /* 1750 */ 341, 312, 222, 312, 196, 64, 350, 344, 105, 325, + /* 1760 */ 312, 312, 312, 312, 341, 312, 212, 312, 312, 312, + /* 1770 */ 350, 344, 312, 325, 312, 312, 312, 266, 312, 312, + /* 1780 */ 219, 222, 266, 196, 63, 312, 222, 105, 196, 70, + /* 1790 */ 312, 312, 105, 341, 312, 312, 312, 312, 341, 350, + /* 1800 */ 344, 312, 325, 312, 350, 344, 312, 325, 312, 266, + /* 1810 */ 312, 312, 312, 222, 312, 196, 77, 312, 312, 105, + /* 1820 */ 266, 312, 312, 312, 222, 341, 196, 62, 312, 312, + /* 1830 */ 105, 350, 344, 312, 325, 312, 341, 312, 312, 312, + /* 1840 */ 266, 312, 350, 344, 222, 325, 196, 80, 266, 312, + /* 1850 */ 105, 312, 222, 312, 196, 78, 341, 312, 105, 312, + /* 1860 */ 312, 312, 350, 344, 341, 325, 312, 312, 266, 312, + /* 1870 */ 350, 344, 222, 325, 196, 69, 312, 312, 105, 312, + /* 1880 */ 312, 312, 266, 312, 341, 312, 222, 312, 196, 57, + /* 1890 */ 350, 344, 105, 325, 312, 312, 312, 312, 341, 312, + /* 1900 */ 312, 312, 266, 312, 350, 344, 222, 325, 196, 56, + /* 1910 */ 312, 312, 105, 266, 312, 312, 312, 222, 341, 196, + /* 1920 */ 71, 312, 312, 105, 350, 344, 312, 325, 312, 341, + /* 1930 */ 312, 312, 312, 312, 312, 350, 344, 266, 325, 312, + /* 1940 */ 312, 222, 312, 196, 79, 266, 312, 105, 312, 222, + /* 1950 */ 312, 196, 67, 341, 312, 105, 312, 312, 312, 350, + /* 1960 */ 344, 341, 325, 312, 312, 312, 312, 350, 344, 312, + /* 1970 */ 325, 266, 312, 312, 312, 250, 312, 196, 312, 312, + /* 1980 */ 312, 105, 312, 312, 312, 312, 312, 249, 312, 312, + /* 1990 */ 312, 266, 312, 350, 344, 349, 325, 196, 312, 266, + /* 2000 */ 312, 105, 312, 201, 312, 196, 312, 353, 312, 105, + /* 2010 */ 312, 312, 312, 350, 344, 214, 325, 312, 312, 266, + /* 2020 */ 312, 350, 344, 279, 325, 196, 266, 312, 312, 105, + /* 2030 */ 246, 312, 196, 266, 312, 312, 105, 287, 312, 196, + /* 2040 */ 312, 350, 344, 105, 325, 312, 312, 312, 350, 344, + /* 2050 */ 312, 325, 312, 266, 312, 350, 344, 234, 325, 196, + /* 2060 */ 312, 312, 312, 105, 312, 312, 312, 312, 312, 312, + /* 2070 */ 312, 312, 312, 266, 312, 350, 344, 278, 325, 196, + /* 2080 */ 312, 266, 312, 105, 312, 235, 312, 196, 312, 312, + /* 2090 */ 312, 105, 312, 312, 312, 350, 344, 312, 325, 312, + /* 2100 */ 312, 266, 312, 350, 344, 317, 325, 196, 312, 312, + /* 2110 */ 312, 105, 312, 312, 312, 312, 312, 312, 312, 312, + /* 2120 */ 312, 312, 312, 350, 344, 312, 325, ); static public $yy_lookahead = array( /* 0 */ 1, 30, 61, 86, 3, 4, 5, 6, 7, 8, @@ -1066,48 +1066,48 @@ static public $yy_action = array( /* 366 */ array(), ); static public $yy_default = array( - /* 0 */ 557, 540, 557, 557, 557, 511, 557, 557, 511, 557, - /* 10 */ 511, 557, 511, 557, 557, 557, 557, 557, 557, 557, - /* 20 */ 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, - /* 30 */ 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, - /* 40 */ 557, 557, 557, 557, 557, 557, 557, 557, 557, 425, - /* 50 */ 557, 557, 425, 425, 557, 557, 557, 557, 557, 557, - /* 60 */ 557, 557, 557, 557, 510, 557, 557, 442, 427, 458, - /* 70 */ 434, 455, 542, 431, 410, 446, 447, 450, 454, 451, - /* 80 */ 541, 445, 543, 469, 425, 367, 557, 557, 441, 557, - /* 90 */ 523, 425, 425, 425, 557, 557, 484, 557, 477, 435, - /* 100 */ 484, 459, 459, 557, 557, 477, 557, 557, 557, 557, - /* 110 */ 484, 557, 557, 557, 557, 557, 557, 557, 557, 477, - /* 120 */ 425, 557, 425, 425, 425, 520, 557, 557, 485, 557, - /* 130 */ 557, 557, 557, 557, 557, 557, 557, 557, 502, 557, - /* 140 */ 504, 557, 482, 557, 557, 557, 501, 503, 557, 557, - /* 150 */ 557, 557, 557, 557, 557, 484, 384, 556, 513, 498, - /* 160 */ 557, 512, 556, 521, 484, 441, 524, 517, 484, 517, - /* 170 */ 484, 517, 469, 557, 430, 469, 469, 435, 469, 456, - /* 180 */ 557, 459, 435, 557, 557, 496, 465, 435, 557, 557, - /* 190 */ 471, 496, 557, 557, 557, 557, 459, 557, 557, 467, - /* 200 */ 465, 557, 557, 432, 557, 557, 430, 557, 557, 557, - /* 210 */ 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, - /* 220 */ 557, 557, 435, 522, 557, 496, 557, 557, 550, 539, - /* 230 */ 547, 554, 537, 553, 457, 438, 411, 418, 417, 422, - /* 240 */ 497, 555, 433, 429, 368, 408, 437, 412, 413, 519, - /* 250 */ 518, 481, 492, 480, 505, 509, 508, 490, 491, 548, - /* 260 */ 507, 506, 489, 493, 471, 538, 476, 421, 420, 424, - /* 270 */ 516, 463, 419, 496, 414, 415, 416, 495, 460, 461, - /* 280 */ 483, 478, 486, 494, 487, 436, 474, 462, 464, 466, - /* 290 */ 468, 409, 407, 376, 375, 377, 378, 379, 374, 373, - /* 300 */ 369, 370, 371, 372, 380, 381, 389, 390, 391, 423, - /* 310 */ 388, 387, 382, 383, 385, 386, 488, 439, 395, 552, - /* 320 */ 396, 397, 398, 394, 393, 479, 500, 392, 551, 399, - /* 330 */ 400, 405, 544, 545, 546, 406, 404, 401, 499, 402, - /* 340 */ 403, 440, 536, 475, 473, 448, 449, 452, 472, 444, - /* 350 */ 470, 514, 515, 443, 453, 525, 532, 533, 534, 535, - /* 360 */ 531, 530, 526, 527, 528, 529, 549, + /* 0 */ 370, 541, 558, 558, 558, 512, 558, 558, 512, 558, + /* 10 */ 512, 558, 512, 558, 558, 558, 558, 558, 558, 558, + /* 20 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, + /* 30 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, + /* 40 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 426, + /* 50 */ 558, 558, 426, 426, 558, 558, 558, 558, 558, 558, + /* 60 */ 558, 558, 558, 558, 511, 558, 558, 443, 428, 459, + /* 70 */ 435, 456, 543, 432, 411, 447, 448, 451, 455, 452, + /* 80 */ 542, 446, 544, 470, 426, 367, 558, 558, 442, 558, + /* 90 */ 524, 426, 426, 426, 558, 558, 485, 558, 478, 436, + /* 100 */ 485, 460, 460, 558, 558, 478, 558, 558, 558, 558, + /* 110 */ 485, 558, 558, 558, 558, 558, 558, 558, 558, 478, + /* 120 */ 426, 558, 426, 426, 426, 521, 558, 558, 486, 558, + /* 130 */ 558, 558, 558, 558, 558, 558, 558, 558, 503, 558, + /* 140 */ 505, 558, 483, 558, 558, 558, 502, 504, 558, 558, + /* 150 */ 558, 558, 558, 558, 558, 485, 385, 557, 514, 499, + /* 160 */ 558, 513, 557, 522, 485, 442, 525, 518, 485, 518, + /* 170 */ 485, 518, 470, 558, 431, 470, 470, 436, 470, 457, + /* 180 */ 558, 460, 436, 558, 558, 497, 466, 436, 558, 558, + /* 190 */ 472, 497, 558, 558, 558, 558, 460, 558, 558, 468, + /* 200 */ 466, 558, 558, 433, 558, 558, 431, 558, 558, 558, + /* 210 */ 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, + /* 220 */ 558, 558, 436, 523, 558, 497, 558, 558, 551, 540, + /* 230 */ 548, 555, 538, 554, 458, 439, 412, 419, 418, 423, + /* 240 */ 498, 556, 434, 430, 368, 409, 438, 413, 414, 520, + /* 250 */ 519, 482, 493, 481, 506, 510, 509, 491, 492, 549, + /* 260 */ 508, 507, 490, 494, 472, 539, 477, 422, 421, 425, + /* 270 */ 517, 464, 420, 497, 415, 416, 417, 496, 461, 462, + /* 280 */ 484, 479, 487, 495, 488, 437, 475, 463, 465, 467, + /* 290 */ 469, 410, 408, 377, 376, 378, 379, 380, 375, 374, + /* 300 */ 369, 371, 372, 373, 381, 382, 390, 391, 392, 424, + /* 310 */ 389, 388, 383, 384, 386, 387, 489, 440, 396, 553, + /* 320 */ 397, 398, 399, 395, 394, 480, 501, 393, 552, 400, + /* 330 */ 401, 406, 545, 546, 547, 407, 405, 402, 500, 403, + /* 340 */ 404, 441, 537, 476, 474, 449, 450, 453, 473, 445, + /* 350 */ 471, 515, 516, 444, 454, 526, 533, 534, 535, 536, + /* 360 */ 532, 531, 527, 528, 529, 530, 550, ); const YYNOCODE = 120; const YYSTACKDEPTH = 100; const YYNSTATE = 367; - const YYNRULE = 190; + const YYNRULE = 191; const YYERRORSYMBOL = 77; const YYERRSYMDT = 'yy0'; const YYFALLBACK = 0; @@ -1173,193 +1173,194 @@ static public $yy_action = array( /* 0 */ "start ::= template", /* 1 */ "template ::= template_element", /* 2 */ "template ::= template template_element", - /* 3 */ "template_element ::= smartytag", - /* 4 */ "template_element ::= COMMENT", - /* 5 */ "template_element ::= literal", - /* 6 */ "template_element ::= PHPSTARTTAG", - /* 7 */ "template_element ::= PHPENDTAG", - /* 8 */ "template_element ::= ASPSTARTTAG", - /* 9 */ "template_element ::= ASPENDTAG", - /* 10 */ "template_element ::= FAKEPHPSTARTTAG", - /* 11 */ "template_element ::= XMLTAG", - /* 12 */ "template_element ::= OTHER", - /* 13 */ "template_element ::= LINEBREAK", - /* 14 */ "literal ::= LITERALSTART LITERALEND", - /* 15 */ "literal ::= LITERALSTART literal_elements LITERALEND", - /* 16 */ "literal_elements ::= literal_elements literal_element", - /* 17 */ "literal_elements ::=", - /* 18 */ "literal_element ::= literal", - /* 19 */ "literal_element ::= LITERAL", - /* 20 */ "literal_element ::= PHPSTARTTAG", - /* 21 */ "literal_element ::= FAKEPHPSTARTTAG", - /* 22 */ "literal_element ::= PHPENDTAG", - /* 23 */ "smartytag ::= LDEL value RDEL", - /* 24 */ "smartytag ::= LDEL value attributes RDEL", - /* 25 */ "smartytag ::= LDEL variable attributes RDEL", - /* 26 */ "smartytag ::= LDEL expr modifierlist attributes RDEL", - /* 27 */ "smartytag ::= LDEL expr attributes RDEL", - /* 28 */ "smartytag ::= LDEL ternary attributes RDEL", - /* 29 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL", - /* 30 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL", - /* 31 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL", - /* 32 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL", - /* 33 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL", - /* 34 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL", - /* 35 */ "smartytag ::= LDEL ID attributes RDEL", - /* 36 */ "smartytag ::= LDEL ID RDEL", - /* 37 */ "smartytag ::= LDEL ID PTR ID attributes RDEL", - /* 38 */ "smartytag ::= LDEL ID modifierlist attributes RDEL", - /* 39 */ "smartytag ::= LDEL ID PTR ID modifierlist attributes RDEL", - /* 40 */ "smartytag ::= LDELIF SPACE expr RDEL", - /* 41 */ "smartytag ::= LDELIF SPACE statement RDEL", - /* 42 */ "smartytag ::= LDELFOR SPACE statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction RDEL", - /* 43 */ "foraction ::= EQUAL expr", - /* 44 */ "foraction ::= INCDEC", - /* 45 */ "smartytag ::= LDELFOR SPACE statement TO expr attributes RDEL", - /* 46 */ "smartytag ::= LDELFOR SPACE statement TO expr STEP expr RDEL", - /* 47 */ "smartytag ::= LDELFOREACH attributes RDEL", - /* 48 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar RDEL", - /* 49 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL", - /* 50 */ "smartytag ::= LDELFOREACH SPACE array AS DOLLAR varvar RDEL", - /* 51 */ "smartytag ::= LDELFOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL", - /* 52 */ "smartytag ::= LDELSLASH ID RDEL", - /* 53 */ "smartytag ::= LDELSLASH ID attributes RDEL", - /* 54 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL", - /* 55 */ "smartytag ::= LDELSLASH ID PTR ID RDEL", - /* 56 */ "attributes ::= attributes attribute", - /* 57 */ "attributes ::= attribute", - /* 58 */ "attributes ::=", - /* 59 */ "attribute ::= SPACE ID EQUAL ID", - /* 60 */ "attribute ::= SPACE ID EQUAL expr", - /* 61 */ "attribute ::= SPACE ID EQUAL value", - /* 62 */ "attribute ::= SPACE ID EQUAL ternary", - /* 63 */ "attribute ::= SPACE ID", - /* 64 */ "attribute ::= SPACE INTEGER EQUAL expr", - /* 65 */ "statements ::= statement", - /* 66 */ "statements ::= statements COMMA statement", - /* 67 */ "statement ::= DOLLAR varvar EQUAL expr", - /* 68 */ "expr ::= value", - /* 69 */ "expr ::= DOLLAR ID COLON ID", - /* 70 */ "expr ::= expr MATH value", - /* 71 */ "expr ::= expr UNIMATH value", - /* 72 */ "expr ::= expr ANDSYM value", - /* 73 */ "expr ::= array", - /* 74 */ "expr ::= expr modifierlist", - /* 75 */ "expr ::= expr ifcond expr", - /* 76 */ "expr ::= expr ISIN array", - /* 77 */ "expr ::= expr ISIN value", - /* 78 */ "expr ::= expr lop expr", - /* 79 */ "expr ::= expr ISDIVBY expr", - /* 80 */ "expr ::= expr ISNOTDIVBY expr", - /* 81 */ "expr ::= expr ISEVEN", - /* 82 */ "expr ::= expr ISNOTEVEN", - /* 83 */ "expr ::= expr ISEVENBY expr", - /* 84 */ "expr ::= expr ISNOTEVENBY expr", - /* 85 */ "expr ::= expr ISODD", - /* 86 */ "expr ::= expr ISNOTODD", - /* 87 */ "expr ::= expr ISODDBY expr", - /* 88 */ "expr ::= expr ISNOTODDBY expr", - /* 89 */ "expr ::= value INSTANCEOF ID", - /* 90 */ "expr ::= value INSTANCEOF value", - /* 91 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr", - /* 92 */ "value ::= variable", - /* 93 */ "value ::= UNIMATH value", - /* 94 */ "value ::= NOT value", - /* 95 */ "value ::= TYPECAST value", - /* 96 */ "value ::= variable INCDEC", - /* 97 */ "value ::= HEX", - /* 98 */ "value ::= INTEGER", - /* 99 */ "value ::= INTEGER DOT INTEGER", - /* 100 */ "value ::= INTEGER DOT", - /* 101 */ "value ::= DOT INTEGER", - /* 102 */ "value ::= ID", - /* 103 */ "value ::= function", - /* 104 */ "value ::= OPENP expr CLOSEP", - /* 105 */ "value ::= SINGLEQUOTESTRING", - /* 106 */ "value ::= doublequoted_with_quotes", - /* 107 */ "value ::= ID DOUBLECOLON static_class_access", - /* 108 */ "value ::= varindexed DOUBLECOLON static_class_access", - /* 109 */ "value ::= smartytag", - /* 110 */ "variable ::= varindexed", - /* 111 */ "variable ::= DOLLAR varvar AT ID", - /* 112 */ "variable ::= object", - /* 113 */ "variable ::= HATCH ID HATCH", - /* 114 */ "variable ::= HATCH variable HATCH", - /* 115 */ "varindexed ::= DOLLAR varvar arrayindex", - /* 116 */ "arrayindex ::= arrayindex indexdef", - /* 117 */ "arrayindex ::=", - /* 118 */ "indexdef ::= DOT DOLLAR varvar", - /* 119 */ "indexdef ::= DOT DOLLAR varvar AT ID", - /* 120 */ "indexdef ::= DOT ID", - /* 121 */ "indexdef ::= DOT INTEGER", - /* 122 */ "indexdef ::= DOT LDEL expr RDEL", - /* 123 */ "indexdef ::= OPENB ID CLOSEB", - /* 124 */ "indexdef ::= OPENB ID DOT ID CLOSEB", - /* 125 */ "indexdef ::= OPENB expr CLOSEB", - /* 126 */ "indexdef ::= OPENB CLOSEB", - /* 127 */ "varvar ::= varvarele", - /* 128 */ "varvar ::= varvar varvarele", - /* 129 */ "varvarele ::= ID", - /* 130 */ "varvarele ::= LDEL expr RDEL", - /* 131 */ "object ::= varindexed objectchain", - /* 132 */ "objectchain ::= objectelement", - /* 133 */ "objectchain ::= objectchain objectelement", - /* 134 */ "objectelement ::= PTR ID arrayindex", - /* 135 */ "objectelement ::= PTR DOLLAR varvar arrayindex", - /* 136 */ "objectelement ::= PTR LDEL expr RDEL arrayindex", - /* 137 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex", - /* 138 */ "objectelement ::= PTR method", - /* 139 */ "function ::= ID OPENP params CLOSEP", - /* 140 */ "method ::= ID OPENP params CLOSEP", - /* 141 */ "method ::= DOLLAR ID OPENP params CLOSEP", - /* 142 */ "params ::= expr COMMA params", - /* 143 */ "params ::= expr", - /* 144 */ "params ::=", - /* 145 */ "modifierlist ::= modifierlist modifier modparameters", - /* 146 */ "modifierlist ::= modifier modparameters", - /* 147 */ "modifier ::= VERT AT ID", - /* 148 */ "modifier ::= VERT ID", - /* 149 */ "modparameters ::= modparameters modparameter", - /* 150 */ "modparameters ::=", - /* 151 */ "modparameter ::= COLON value", - /* 152 */ "modparameter ::= COLON array", - /* 153 */ "static_class_access ::= method", - /* 154 */ "static_class_access ::= method objectchain", - /* 155 */ "static_class_access ::= ID", - /* 156 */ "static_class_access ::= DOLLAR ID arrayindex", - /* 157 */ "static_class_access ::= DOLLAR ID arrayindex objectchain", - /* 158 */ "ifcond ::= EQUALS", - /* 159 */ "ifcond ::= NOTEQUALS", - /* 160 */ "ifcond ::= GREATERTHAN", - /* 161 */ "ifcond ::= LESSTHAN", - /* 162 */ "ifcond ::= GREATEREQUAL", - /* 163 */ "ifcond ::= LESSEQUAL", - /* 164 */ "ifcond ::= IDENTITY", - /* 165 */ "ifcond ::= NONEIDENTITY", - /* 166 */ "ifcond ::= MOD", - /* 167 */ "lop ::= LAND", - /* 168 */ "lop ::= LOR", - /* 169 */ "lop ::= LXOR", - /* 170 */ "array ::= OPENB arrayelements CLOSEB", - /* 171 */ "arrayelements ::= arrayelement", - /* 172 */ "arrayelements ::= arrayelements COMMA arrayelement", - /* 173 */ "arrayelements ::=", - /* 174 */ "arrayelement ::= value APTR expr", - /* 175 */ "arrayelement ::= ID APTR expr", - /* 176 */ "arrayelement ::= expr", - /* 177 */ "doublequoted_with_quotes ::= QUOTE QUOTE", - /* 178 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE", - /* 179 */ "doublequoted ::= doublequoted doublequotedcontent", - /* 180 */ "doublequoted ::= doublequotedcontent", - /* 181 */ "doublequotedcontent ::= BACKTICK variable BACKTICK", - /* 182 */ "doublequotedcontent ::= BACKTICK expr BACKTICK", - /* 183 */ "doublequotedcontent ::= DOLLARID", - /* 184 */ "doublequotedcontent ::= LDEL variable RDEL", - /* 185 */ "doublequotedcontent ::= LDEL expr RDEL", - /* 186 */ "doublequotedcontent ::= smartytag", - /* 187 */ "doublequotedcontent ::= OTHER", - /* 188 */ "optspace ::= SPACE", - /* 189 */ "optspace ::=", + /* 3 */ "template ::=", + /* 4 */ "template_element ::= smartytag", + /* 5 */ "template_element ::= COMMENT", + /* 6 */ "template_element ::= literal", + /* 7 */ "template_element ::= PHPSTARTTAG", + /* 8 */ "template_element ::= PHPENDTAG", + /* 9 */ "template_element ::= ASPSTARTTAG", + /* 10 */ "template_element ::= ASPENDTAG", + /* 11 */ "template_element ::= FAKEPHPSTARTTAG", + /* 12 */ "template_element ::= XMLTAG", + /* 13 */ "template_element ::= OTHER", + /* 14 */ "template_element ::= LINEBREAK", + /* 15 */ "literal ::= LITERALSTART LITERALEND", + /* 16 */ "literal ::= LITERALSTART literal_elements LITERALEND", + /* 17 */ "literal_elements ::= literal_elements literal_element", + /* 18 */ "literal_elements ::=", + /* 19 */ "literal_element ::= literal", + /* 20 */ "literal_element ::= LITERAL", + /* 21 */ "literal_element ::= PHPSTARTTAG", + /* 22 */ "literal_element ::= FAKEPHPSTARTTAG", + /* 23 */ "literal_element ::= PHPENDTAG", + /* 24 */ "smartytag ::= LDEL value RDEL", + /* 25 */ "smartytag ::= LDEL value attributes RDEL", + /* 26 */ "smartytag ::= LDEL variable attributes RDEL", + /* 27 */ "smartytag ::= LDEL expr modifierlist attributes RDEL", + /* 28 */ "smartytag ::= LDEL expr attributes RDEL", + /* 29 */ "smartytag ::= LDEL ternary attributes RDEL", + /* 30 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL", + /* 31 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL", + /* 32 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL", + /* 33 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL", + /* 34 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL", + /* 35 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL", + /* 36 */ "smartytag ::= LDEL ID attributes RDEL", + /* 37 */ "smartytag ::= LDEL ID RDEL", + /* 38 */ "smartytag ::= LDEL ID PTR ID attributes RDEL", + /* 39 */ "smartytag ::= LDEL ID modifierlist attributes RDEL", + /* 40 */ "smartytag ::= LDEL ID PTR ID modifierlist attributes RDEL", + /* 41 */ "smartytag ::= LDELIF SPACE expr RDEL", + /* 42 */ "smartytag ::= LDELIF SPACE statement RDEL", + /* 43 */ "smartytag ::= LDELFOR SPACE statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction RDEL", + /* 44 */ "foraction ::= EQUAL expr", + /* 45 */ "foraction ::= INCDEC", + /* 46 */ "smartytag ::= LDELFOR SPACE statement TO expr attributes RDEL", + /* 47 */ "smartytag ::= LDELFOR SPACE statement TO expr STEP expr RDEL", + /* 48 */ "smartytag ::= LDELFOREACH attributes RDEL", + /* 49 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar RDEL", + /* 50 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL", + /* 51 */ "smartytag ::= LDELFOREACH SPACE array AS DOLLAR varvar RDEL", + /* 52 */ "smartytag ::= LDELFOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL", + /* 53 */ "smartytag ::= LDELSLASH ID RDEL", + /* 54 */ "smartytag ::= LDELSLASH ID attributes RDEL", + /* 55 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL", + /* 56 */ "smartytag ::= LDELSLASH ID PTR ID RDEL", + /* 57 */ "attributes ::= attributes attribute", + /* 58 */ "attributes ::= attribute", + /* 59 */ "attributes ::=", + /* 60 */ "attribute ::= SPACE ID EQUAL ID", + /* 61 */ "attribute ::= SPACE ID EQUAL expr", + /* 62 */ "attribute ::= SPACE ID EQUAL value", + /* 63 */ "attribute ::= SPACE ID EQUAL ternary", + /* 64 */ "attribute ::= SPACE ID", + /* 65 */ "attribute ::= SPACE INTEGER EQUAL expr", + /* 66 */ "statements ::= statement", + /* 67 */ "statements ::= statements COMMA statement", + /* 68 */ "statement ::= DOLLAR varvar EQUAL expr", + /* 69 */ "expr ::= value", + /* 70 */ "expr ::= DOLLAR ID COLON ID", + /* 71 */ "expr ::= expr MATH value", + /* 72 */ "expr ::= expr UNIMATH value", + /* 73 */ "expr ::= expr ANDSYM value", + /* 74 */ "expr ::= array", + /* 75 */ "expr ::= expr modifierlist", + /* 76 */ "expr ::= expr ifcond expr", + /* 77 */ "expr ::= expr ISIN array", + /* 78 */ "expr ::= expr ISIN value", + /* 79 */ "expr ::= expr lop expr", + /* 80 */ "expr ::= expr ISDIVBY expr", + /* 81 */ "expr ::= expr ISNOTDIVBY expr", + /* 82 */ "expr ::= expr ISEVEN", + /* 83 */ "expr ::= expr ISNOTEVEN", + /* 84 */ "expr ::= expr ISEVENBY expr", + /* 85 */ "expr ::= expr ISNOTEVENBY expr", + /* 86 */ "expr ::= expr ISODD", + /* 87 */ "expr ::= expr ISNOTODD", + /* 88 */ "expr ::= expr ISODDBY expr", + /* 89 */ "expr ::= expr ISNOTODDBY expr", + /* 90 */ "expr ::= value INSTANCEOF ID", + /* 91 */ "expr ::= value INSTANCEOF value", + /* 92 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr", + /* 93 */ "value ::= variable", + /* 94 */ "value ::= UNIMATH value", + /* 95 */ "value ::= NOT value", + /* 96 */ "value ::= TYPECAST value", + /* 97 */ "value ::= variable INCDEC", + /* 98 */ "value ::= HEX", + /* 99 */ "value ::= INTEGER", + /* 100 */ "value ::= INTEGER DOT INTEGER", + /* 101 */ "value ::= INTEGER DOT", + /* 102 */ "value ::= DOT INTEGER", + /* 103 */ "value ::= ID", + /* 104 */ "value ::= function", + /* 105 */ "value ::= OPENP expr CLOSEP", + /* 106 */ "value ::= SINGLEQUOTESTRING", + /* 107 */ "value ::= doublequoted_with_quotes", + /* 108 */ "value ::= ID DOUBLECOLON static_class_access", + /* 109 */ "value ::= varindexed DOUBLECOLON static_class_access", + /* 110 */ "value ::= smartytag", + /* 111 */ "variable ::= varindexed", + /* 112 */ "variable ::= DOLLAR varvar AT ID", + /* 113 */ "variable ::= object", + /* 114 */ "variable ::= HATCH ID HATCH", + /* 115 */ "variable ::= HATCH variable HATCH", + /* 116 */ "varindexed ::= DOLLAR varvar arrayindex", + /* 117 */ "arrayindex ::= arrayindex indexdef", + /* 118 */ "arrayindex ::=", + /* 119 */ "indexdef ::= DOT DOLLAR varvar", + /* 120 */ "indexdef ::= DOT DOLLAR varvar AT ID", + /* 121 */ "indexdef ::= DOT ID", + /* 122 */ "indexdef ::= DOT INTEGER", + /* 123 */ "indexdef ::= DOT LDEL expr RDEL", + /* 124 */ "indexdef ::= OPENB ID CLOSEB", + /* 125 */ "indexdef ::= OPENB ID DOT ID CLOSEB", + /* 126 */ "indexdef ::= OPENB expr CLOSEB", + /* 127 */ "indexdef ::= OPENB CLOSEB", + /* 128 */ "varvar ::= varvarele", + /* 129 */ "varvar ::= varvar varvarele", + /* 130 */ "varvarele ::= ID", + /* 131 */ "varvarele ::= LDEL expr RDEL", + /* 132 */ "object ::= varindexed objectchain", + /* 133 */ "objectchain ::= objectelement", + /* 134 */ "objectchain ::= objectchain objectelement", + /* 135 */ "objectelement ::= PTR ID arrayindex", + /* 136 */ "objectelement ::= PTR DOLLAR varvar arrayindex", + /* 137 */ "objectelement ::= PTR LDEL expr RDEL arrayindex", + /* 138 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex", + /* 139 */ "objectelement ::= PTR method", + /* 140 */ "function ::= ID OPENP params CLOSEP", + /* 141 */ "method ::= ID OPENP params CLOSEP", + /* 142 */ "method ::= DOLLAR ID OPENP params CLOSEP", + /* 143 */ "params ::= expr COMMA params", + /* 144 */ "params ::= expr", + /* 145 */ "params ::=", + /* 146 */ "modifierlist ::= modifierlist modifier modparameters", + /* 147 */ "modifierlist ::= modifier modparameters", + /* 148 */ "modifier ::= VERT AT ID", + /* 149 */ "modifier ::= VERT ID", + /* 150 */ "modparameters ::= modparameters modparameter", + /* 151 */ "modparameters ::=", + /* 152 */ "modparameter ::= COLON value", + /* 153 */ "modparameter ::= COLON array", + /* 154 */ "static_class_access ::= method", + /* 155 */ "static_class_access ::= method objectchain", + /* 156 */ "static_class_access ::= ID", + /* 157 */ "static_class_access ::= DOLLAR ID arrayindex", + /* 158 */ "static_class_access ::= DOLLAR ID arrayindex objectchain", + /* 159 */ "ifcond ::= EQUALS", + /* 160 */ "ifcond ::= NOTEQUALS", + /* 161 */ "ifcond ::= GREATERTHAN", + /* 162 */ "ifcond ::= LESSTHAN", + /* 163 */ "ifcond ::= GREATEREQUAL", + /* 164 */ "ifcond ::= LESSEQUAL", + /* 165 */ "ifcond ::= IDENTITY", + /* 166 */ "ifcond ::= NONEIDENTITY", + /* 167 */ "ifcond ::= MOD", + /* 168 */ "lop ::= LAND", + /* 169 */ "lop ::= LOR", + /* 170 */ "lop ::= LXOR", + /* 171 */ "array ::= OPENB arrayelements CLOSEB", + /* 172 */ "arrayelements ::= arrayelement", + /* 173 */ "arrayelements ::= arrayelements COMMA arrayelement", + /* 174 */ "arrayelements ::=", + /* 175 */ "arrayelement ::= value APTR expr", + /* 176 */ "arrayelement ::= ID APTR expr", + /* 177 */ "arrayelement ::= expr", + /* 178 */ "doublequoted_with_quotes ::= QUOTE QUOTE", + /* 179 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE", + /* 180 */ "doublequoted ::= doublequoted doublequotedcontent", + /* 181 */ "doublequoted ::= doublequotedcontent", + /* 182 */ "doublequotedcontent ::= BACKTICK variable BACKTICK", + /* 183 */ "doublequotedcontent ::= BACKTICK expr BACKTICK", + /* 184 */ "doublequotedcontent ::= DOLLARID", + /* 185 */ "doublequotedcontent ::= LDEL variable RDEL", + /* 186 */ "doublequotedcontent ::= LDEL expr RDEL", + /* 187 */ "doublequotedcontent ::= smartytag", + /* 188 */ "doublequotedcontent ::= OTHER", + /* 189 */ "optspace ::= SPACE", + /* 190 */ "optspace ::=", ); function tokenName($tokenType) @@ -1436,7 +1437,7 @@ static public $yy_action = array( $this->yystack[$this->yyidx]->stateno, self::$yyRuleInfo[$yyruleno]['lhs']); if (isset(self::$yyExpectedTokens[$nextstate])) { - $expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]); + $expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]); if (in_array($token, self::$yyExpectedTokens[$nextstate], true)) { $this->yyidx = $yyidx; @@ -1471,8 +1472,8 @@ static public $yy_action = array( } break; } while (true); - $this->yyidx = $yyidx; - $this->yystack = $stack; + $this->yyidx = $yyidx; + $this->yystack = $stack; return array_unique($expected); } @@ -1619,7 +1620,7 @@ static public $yy_action = array( $this->internalError = true; $this->compiler->trigger_template_error("Stack overflow in template parser"); -#line 1618 "smarty_internal_templateparser.php" +#line 1619 "smarty_internal_templateparser.php" return; } $yytos = new TP_yyStackEntry; @@ -1643,6 +1644,7 @@ static public $yy_action = array( array( 'lhs' => 78, 'rhs' => 1 ), array( 'lhs' => 79, 'rhs' => 1 ), array( 'lhs' => 79, 'rhs' => 2 ), + array( 'lhs' => 79, 'rhs' => 0 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), @@ -1836,7 +1838,6 @@ static public $yy_action = array( 0 => 0, 1 => 1, 2 => 1, - 3 => 3, 4 => 4, 5 => 5, 6 => 6, @@ -1848,56 +1849,56 @@ static public $yy_action = array( 12 => 12, 13 => 13, 14 => 14, - 17 => 14, 15 => 15, + 18 => 15, 16 => 16, - 93 => 16, - 95 => 16, - 96 => 16, - 154 => 16, - 18 => 18, - 19 => 18, - 68 => 18, - 92 => 18, - 97 => 18, - 98 => 18, - 103 => 18, - 105 => 18, - 106 => 18, - 112 => 18, - 153 => 18, - 171 => 18, - 20 => 20, - 21 => 20, - 22 => 22, + 17 => 17, + 94 => 17, + 96 => 17, + 97 => 17, + 155 => 17, + 19 => 19, + 20 => 19, + 69 => 19, + 93 => 19, + 98 => 19, + 99 => 19, + 104 => 19, + 106 => 19, + 107 => 19, + 113 => 19, + 154 => 19, + 172 => 19, + 21 => 21, + 22 => 21, 23 => 23, 24 => 24, - 25 => 24, - 27 => 24, - 28 => 24, - 26 => 26, - 29 => 29, - 30 => 29, - 31 => 31, - 32 => 31, - 33 => 33, - 34 => 33, - 35 => 35, + 25 => 25, + 26 => 25, + 28 => 25, + 29 => 25, + 27 => 27, + 30 => 30, + 31 => 30, + 32 => 32, + 33 => 32, + 34 => 34, + 35 => 34, 36 => 36, 37 => 37, 38 => 38, 39 => 39, 40 => 40, - 41 => 40, - 42 => 42, + 41 => 41, + 42 => 41, 43 => 43, 44 => 44, - 57 => 44, - 143 => 44, - 147 => 44, - 155 => 44, - 176 => 44, 45 => 45, + 58 => 45, + 144 => 45, + 148 => 45, + 156 => 45, + 177 => 45, 46 => 46, 47 => 47, 48 => 48, @@ -1909,53 +1910,53 @@ static public $yy_action = array( 54 => 54, 55 => 55, 56 => 56, - 58 => 58, + 57 => 57, 59 => 59, 60 => 60, - 61 => 60, - 62 => 60, - 63 => 63, + 61 => 61, + 62 => 61, + 63 => 61, 64 => 64, 65 => 65, 66 => 66, 67 => 67, - 69 => 69, + 68 => 68, 70 => 70, - 71 => 70, - 72 => 70, - 73 => 73, - 127 => 73, - 188 => 73, + 71 => 71, + 72 => 71, + 73 => 71, 74 => 74, + 128 => 74, + 189 => 74, 75 => 75, - 78 => 75, - 89 => 75, 76 => 76, + 79 => 76, + 90 => 76, 77 => 77, - 79 => 79, + 78 => 78, 80 => 80, 81 => 81, - 86 => 81, 82 => 82, - 85 => 82, + 87 => 82, 83 => 83, - 88 => 83, + 86 => 83, 84 => 84, - 87 => 84, - 90 => 90, + 89 => 84, + 85 => 85, + 88 => 85, 91 => 91, - 94 => 94, - 99 => 99, + 92 => 92, + 95 => 95, 100 => 100, 101 => 101, 102 => 102, - 104 => 104, - 107 => 107, + 103 => 103, + 105 => 105, 108 => 108, 109 => 109, 110 => 110, 111 => 111, - 113 => 113, + 112 => 112, 114 => 114, 115 => 115, 116 => 116, @@ -1965,11 +1966,11 @@ static public $yy_action = array( 120 => 120, 121 => 121, 122 => 122, - 125 => 122, 123 => 123, + 126 => 123, 124 => 124, - 126 => 126, - 128 => 128, + 125 => 125, + 127 => 127, 129 => 129, 130 => 130, 131 => 131, @@ -1984,16 +1985,16 @@ static public $yy_action = array( 140 => 140, 141 => 141, 142 => 142, - 144 => 144, + 143 => 143, 145 => 145, 146 => 146, - 148 => 148, + 147 => 147, 149 => 149, 150 => 150, - 189 => 150, 151 => 151, - 152 => 151, - 156 => 156, + 190 => 151, + 152 => 152, + 153 => 152, 157 => 157, 158 => 158, 159 => 159, @@ -2008,30 +2009,31 @@ static public $yy_action = array( 168 => 168, 169 => 169, 170 => 170, - 172 => 172, + 171 => 171, 173 => 173, 174 => 174, 175 => 175, - 177 => 177, + 176 => 176, 178 => 178, 179 => 179, 180 => 180, 181 => 181, - 182 => 181, - 184 => 181, - 183 => 183, - 185 => 185, + 182 => 182, + 183 => 182, + 185 => 182, + 184 => 184, 186 => 186, 187 => 187, + 188 => 188, ); #line 93 "smarty_internal_templateparser.y" function yy_r0(){ $this->_retvalue = $this->root_buffer->to_smarty_php(); } -#line 2025 "smarty_internal_templateparser.php" +#line 2027 "smarty_internal_templateparser.php" #line 99 "smarty_internal_templateparser.y" function yy_r1(){ $this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor); } -#line 2028 "smarty_internal_templateparser.php" -#line 108 "smarty_internal_templateparser.y" - function yy_r3(){ +#line 2030 "smarty_internal_templateparser.php" +#line 111 "smarty_internal_templateparser.y" + function yy_r4(){ if ($this->compiler->has_code) { $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array(); $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true)); @@ -2041,17 +2043,17 @@ static public $yy_action = array( $this->compiler->has_variable_string = false; $this->block_nesting_level = count($this->compiler->_tag_stack); } -#line 2040 "smarty_internal_templateparser.php" -#line 120 "smarty_internal_templateparser.y" - function yy_r4(){ $this->_retvalue = new _smarty_tag($this, ''); } -#line 2043 "smarty_internal_templateparser.php" +#line 2042 "smarty_internal_templateparser.php" #line 123 "smarty_internal_templateparser.y" - function yy_r5(){ $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); } -#line 2046 "smarty_internal_templateparser.php" + function yy_r5(){ $this->_retvalue = new _smarty_tag($this, ''); } +#line 2045 "smarty_internal_templateparser.php" #line 126 "smarty_internal_templateparser.y" - function yy_r6(){ + function yy_r6(){ $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); } +#line 2048 "smarty_internal_templateparser.php" +#line 129 "smarty_internal_templateparser.y" + function yy_r7(){ if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { - $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); + $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) { @@ -2060,14 +2062,14 @@ static public $yy_action = array( $this->_retvalue = new _smarty_text($this, ''); } } -#line 2059 "smarty_internal_templateparser.php" -#line 138 "smarty_internal_templateparser.y" - function yy_r7(){if ($this->is_xml) { +#line 2061 "smarty_internal_templateparser.php" +#line 141 "smarty_internal_templateparser.y" + function yy_r8(){if ($this->is_xml) { $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("';?>", $this->compiler, true)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { - $this->_retvalue = new _smarty_text($this, '?>'); + $this->_retvalue = new _smarty_text($this, '?>'); } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars('?>', ENT_QUOTES)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) { @@ -2076,11 +2078,11 @@ static public $yy_action = array( $this->_retvalue = new _smarty_text($this, ''); } } -#line 2075 "smarty_internal_templateparser.php" -#line 154 "smarty_internal_templateparser.y" - function yy_r8(){ +#line 2077 "smarty_internal_templateparser.php" +#line 157 "smarty_internal_templateparser.y" + function yy_r9(){ if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { - $this->_retvalue = new _smarty_text($this, '<%'); + $this->_retvalue = new _smarty_text($this, '<%'); } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) { @@ -2097,11 +2099,11 @@ static public $yy_action = array( } } } -#line 2096 "smarty_internal_templateparser.php" -#line 175 "smarty_internal_templateparser.y" - function yy_r9(){ +#line 2098 "smarty_internal_templateparser.php" +#line 178 "smarty_internal_templateparser.y" + function yy_r10(){ if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { - $this->_retvalue = new _smarty_text($this, '%>'); + $this->_retvalue = new _smarty_text($this, '%>'); } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) { @@ -2118,146 +2120,146 @@ static public $yy_action = array( } } } -#line 2117 "smarty_internal_templateparser.php" -#line 195 "smarty_internal_templateparser.y" - function yy_r10(){if ($this->lex->strip) { - $this->_retvalue = new _smarty_text($this, preg_replace('![\$this->yystack[$this->yyidx + 0]->minor ]*[\r\n]+[\$this->yystack[$this->yyidx + 0]->minor ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor))); +#line 2119 "smarty_internal_templateparser.php" +#line 198 "smarty_internal_templateparser.y" + function yy_r11(){if ($this->lex->strip) { + $this->_retvalue = new _smarty_text($this, preg_replace('![\$this->yystack[$this->yyidx + 0]->minor ]*[\r\n]+[\$this->yystack[$this->yyidx + 0]->minor ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor))); } else { - $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); + $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); } } -#line 2125 "smarty_internal_templateparser.php" -#line 203 "smarty_internal_templateparser.y" - function yy_r11(){ $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("", $this->compiler, true)); } -#line 2128 "smarty_internal_templateparser.php" +#line 2127 "smarty_internal_templateparser.php" #line 206 "smarty_internal_templateparser.y" - function yy_r12(){if ($this->lex->strip) { - $this->_retvalue = new _smarty_text($this, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor)); + function yy_r12(){ $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("", $this->compiler, true)); } +#line 2130 "smarty_internal_templateparser.php" +#line 209 "smarty_internal_templateparser.y" + function yy_r13(){if ($this->lex->strip) { + $this->_retvalue = new _smarty_text($this, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor)); } else { - $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); + $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); } } -#line 2136 "smarty_internal_templateparser.php" -#line 212 "smarty_internal_templateparser.y" - function yy_r13(){ +#line 2138 "smarty_internal_templateparser.php" +#line 215 "smarty_internal_templateparser.y" + function yy_r14(){ $this->_retvalue = new _smarty_linebreak($this, $this->yystack[$this->yyidx + 0]->minor); } -#line 2141 "smarty_internal_templateparser.php" -#line 217 "smarty_internal_templateparser.y" - function yy_r14(){ $this->_retvalue = ''; } -#line 2144 "smarty_internal_templateparser.php" -#line 218 "smarty_internal_templateparser.y" - function yy_r15(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } -#line 2147 "smarty_internal_templateparser.php" +#line 2143 "smarty_internal_templateparser.php" #line 220 "smarty_internal_templateparser.y" - function yy_r16(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2150 "smarty_internal_templateparser.php" + function yy_r15(){ $this->_retvalue = ''; } +#line 2146 "smarty_internal_templateparser.php" +#line 221 "smarty_internal_templateparser.y" + function yy_r16(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } +#line 2149 "smarty_internal_templateparser.php" #line 223 "smarty_internal_templateparser.y" - function yy_r18(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2153 "smarty_internal_templateparser.php" -#line 225 "smarty_internal_templateparser.y" - function yy_r20(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } -#line 2156 "smarty_internal_templateparser.php" -#line 227 "smarty_internal_templateparser.y" - function yy_r22(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); } -#line 2159 "smarty_internal_templateparser.php" -#line 235 "smarty_internal_templateparser.y" - function yy_r23(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2162 "smarty_internal_templateparser.php" -#line 236 "smarty_internal_templateparser.y" - function yy_r24(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } -#line 2165 "smarty_internal_templateparser.php" + function yy_r17(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2152 "smarty_internal_templateparser.php" +#line 226 "smarty_internal_templateparser.y" + function yy_r19(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } +#line 2155 "smarty_internal_templateparser.php" +#line 228 "smarty_internal_templateparser.y" + function yy_r21(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } +#line 2158 "smarty_internal_templateparser.php" +#line 230 "smarty_internal_templateparser.y" + function yy_r23(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); } +#line 2161 "smarty_internal_templateparser.php" #line 238 "smarty_internal_templateparser.y" - function yy_r26(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -3]->minor,'modifierlist'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } -#line 2168 "smarty_internal_templateparser.php" -#line 248 "smarty_internal_templateparser.y" - function yy_r29(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); } -#line 2171 "smarty_internal_templateparser.php" -#line 250 "smarty_internal_templateparser.y" - function yy_r31(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); } -#line 2174 "smarty_internal_templateparser.php" -#line 252 "smarty_internal_templateparser.y" - function yy_r33(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); } -#line 2177 "smarty_internal_templateparser.php" + function yy_r24(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2164 "smarty_internal_templateparser.php" +#line 239 "smarty_internal_templateparser.y" + function yy_r25(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } +#line 2167 "smarty_internal_templateparser.php" +#line 241 "smarty_internal_templateparser.y" + function yy_r27(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -3]->minor,'modifierlist'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } +#line 2170 "smarty_internal_templateparser.php" +#line 251 "smarty_internal_templateparser.y" + function yy_r30(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); } +#line 2173 "smarty_internal_templateparser.php" +#line 253 "smarty_internal_templateparser.y" + function yy_r32(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); } +#line 2176 "smarty_internal_templateparser.php" #line 255 "smarty_internal_templateparser.y" - function yy_r35(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); } -#line 2180 "smarty_internal_templateparser.php" -#line 256 "smarty_internal_templateparser.y" - function yy_r36(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); } -#line 2183 "smarty_internal_templateparser.php" + function yy_r34(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); } +#line 2179 "smarty_internal_templateparser.php" #line 258 "smarty_internal_templateparser.y" - function yy_r37(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } -#line 2186 "smarty_internal_templateparser.php" -#line 260 "smarty_internal_templateparser.y" - function yy_r38(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,$this->yystack[$this->yyidx + -1]->minor).'_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); } +#line 2182 "smarty_internal_templateparser.php" +#line 259 "smarty_internal_templateparser.y" + function yy_r37(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); } +#line 2185 "smarty_internal_templateparser.php" +#line 261 "smarty_internal_templateparser.y" + function yy_r38(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } +#line 2188 "smarty_internal_templateparser.php" +#line 263 "smarty_internal_templateparser.y" + function yy_r39(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,$this->yystack[$this->yyidx + -1]->minor).'_retvalue .= $this->compiler->compileTag('private_modifier',array('modifierlist'=>$this->yystack[$this->yyidx + -2]->minor,'value'=>'ob_get_clean()')).'?>'; } -#line 2191 "smarty_internal_templateparser.php" -#line 264 "smarty_internal_templateparser.y" - function yy_r39(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -5]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -3]->minor),$this->yystack[$this->yyidx + -1]->minor)).'_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -5]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -3]->minor),$this->yystack[$this->yyidx + -1]->minor)).'_retvalue .= $this->compiler->compileTag('private_modifier',array('modifierlist'=>$this->yystack[$this->yyidx + -2]->minor,'value'=>'ob_get_clean()')).'?>'; } -#line 2196 "smarty_internal_templateparser.php" -#line 268 "smarty_internal_templateparser.y" - function yy_r40(){ $tag = trim(substr($this->yystack[$this->yyidx + -3]->minor,$this->lex->ldel_length)); $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2199 "smarty_internal_templateparser.php" +#line 2198 "smarty_internal_templateparser.php" #line 271 "smarty_internal_templateparser.y" - function yy_r42(){ - $this->_retvalue = $this->compiler->compileTag('for',array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2203 "smarty_internal_templateparser.php" + function yy_r41(){ $tag = trim(substr($this->yystack[$this->yyidx + -3]->minor,$this->lex->ldel_length)); $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2201 "smarty_internal_templateparser.php" #line 274 "smarty_internal_templateparser.y" - function yy_r43(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } -#line 2206 "smarty_internal_templateparser.php" -#line 275 "smarty_internal_templateparser.y" - function yy_r44(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2209 "smarty_internal_templateparser.php" -#line 276 "smarty_internal_templateparser.y" - function yy_r45(){ $this->_retvalue = $this->compiler->compileTag('for',array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } -#line 2212 "smarty_internal_templateparser.php" + function yy_r43(){ + $this->_retvalue = $this->compiler->compileTag('for',array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2205 "smarty_internal_templateparser.php" #line 277 "smarty_internal_templateparser.y" - function yy_r46(){ $this->_retvalue = $this->compiler->compileTag('for',array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2215 "smarty_internal_templateparser.php" + function yy_r44(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } +#line 2208 "smarty_internal_templateparser.php" +#line 278 "smarty_internal_templateparser.y" + function yy_r45(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } +#line 2211 "smarty_internal_templateparser.php" #line 279 "smarty_internal_templateparser.y" - function yy_r47(){ $this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + -1]->minor); } -#line 2218 "smarty_internal_templateparser.php" -#line 281 "smarty_internal_templateparser.y" - function yy_r48(){ - $this->_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2222 "smarty_internal_templateparser.php" -#line 283 "smarty_internal_templateparser.y" + function yy_r46(){ $this->_retvalue = $this->compiler->compileTag('for',array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } +#line 2214 "smarty_internal_templateparser.php" +#line 280 "smarty_internal_templateparser.y" + function yy_r47(){ $this->_retvalue = $this->compiler->compileTag('for',array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2217 "smarty_internal_templateparser.php" +#line 282 "smarty_internal_templateparser.y" + function yy_r48(){ $this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + -1]->minor); } +#line 2220 "smarty_internal_templateparser.php" +#line 284 "smarty_internal_templateparser.y" function yy_r49(){ - $this->_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } -#line 2226 "smarty_internal_templateparser.php" -#line 285 "smarty_internal_templateparser.y" - function yy_r50(){ $this->_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2230 "smarty_internal_templateparser.php" -#line 287 "smarty_internal_templateparser.y" - function yy_r51(){ +#line 2224 "smarty_internal_templateparser.php" +#line 286 "smarty_internal_templateparser.y" + function yy_r50(){ $this->_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } -#line 2234 "smarty_internal_templateparser.php" -#line 291 "smarty_internal_templateparser.y" - function yy_r52(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); } -#line 2237 "smarty_internal_templateparser.php" -#line 292 "smarty_internal_templateparser.y" - function yy_r53(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); } -#line 2240 "smarty_internal_templateparser.php" -#line 293 "smarty_internal_templateparser.y" - function yy_r54(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2232 "smarty_internal_templateparser.php" +#line 290 "smarty_internal_templateparser.y" + function yy_r52(){ + $this->_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } +#line 2236 "smarty_internal_templateparser.php" +#line 294 "smarty_internal_templateparser.y" + function yy_r53(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); } +#line 2239 "smarty_internal_templateparser.php" +#line 295 "smarty_internal_templateparser.y" + function yy_r54(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); } +#line 2242 "smarty_internal_templateparser.php" +#line 296 "smarty_internal_templateparser.y" + function yy_r55(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } -#line 2245 "smarty_internal_templateparser.php" -#line 297 "smarty_internal_templateparser.y" - function yy_r55(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2248 "smarty_internal_templateparser.php" -#line 303 "smarty_internal_templateparser.y" - function yy_r56(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; $this->_retvalue[key($this->yystack[$this->yyidx + 0]->minor)] = $this->yystack[$this->yyidx + 0]->minor[key($this->yystack[$this->yyidx + 0]->minor)]; } -#line 2251 "smarty_internal_templateparser.php" -#line 307 "smarty_internal_templateparser.y" - function yy_r58(){ $this->_retvalue = array(); } -#line 2254 "smarty_internal_templateparser.php" +#line 2247 "smarty_internal_templateparser.php" +#line 300 "smarty_internal_templateparser.y" + function yy_r56(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2250 "smarty_internal_templateparser.php" +#line 306 "smarty_internal_templateparser.y" + function yy_r57(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; $this->_retvalue[key($this->yystack[$this->yyidx + 0]->minor)] = $this->yystack[$this->yyidx + 0]->minor[key($this->yystack[$this->yyidx + 0]->minor)]; } +#line 2253 "smarty_internal_templateparser.php" #line 310 "smarty_internal_templateparser.y" - function yy_r59(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) { + function yy_r59(){ $this->_retvalue = array(); } +#line 2256 "smarty_internal_templateparser.php" +#line 313 "smarty_internal_templateparser.y" + function yy_r60(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'true'); } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'false'); @@ -2265,84 +2267,84 @@ static public $yy_action = array( $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'null'); } else $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'"); } -#line 2264 "smarty_internal_templateparser.php" -#line 318 "smarty_internal_templateparser.y" - function yy_r60(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } -#line 2267 "smarty_internal_templateparser.php" +#line 2266 "smarty_internal_templateparser.php" #line 321 "smarty_internal_templateparser.y" - function yy_r63(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); } -#line 2270 "smarty_internal_templateparser.php" -#line 322 "smarty_internal_templateparser.y" - function yy_r64(){$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } -#line 2273 "smarty_internal_templateparser.php" -#line 328 "smarty_internal_templateparser.y" - function yy_r65(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } -#line 2276 "smarty_internal_templateparser.php" -#line 329 "smarty_internal_templateparser.y" - function yy_r66(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; } -#line 2279 "smarty_internal_templateparser.php" + function yy_r61(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } +#line 2269 "smarty_internal_templateparser.php" +#line 324 "smarty_internal_templateparser.y" + function yy_r64(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); } +#line 2272 "smarty_internal_templateparser.php" +#line 325 "smarty_internal_templateparser.y" + function yy_r65(){$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } +#line 2275 "smarty_internal_templateparser.php" #line 331 "smarty_internal_templateparser.y" - function yy_r67(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); } -#line 2282 "smarty_internal_templateparser.php" -#line 340 "smarty_internal_templateparser.y" - function yy_r69(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; } -#line 2285 "smarty_internal_templateparser.php" -#line 342 "smarty_internal_templateparser.y" - function yy_r70(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; } -#line 2288 "smarty_internal_templateparser.php" -#line 348 "smarty_internal_templateparser.y" - function yy_r73(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2291 "smarty_internal_templateparser.php" -#line 352 "smarty_internal_templateparser.y" - function yy_r74(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'modifierlist'=>$this->yystack[$this->yyidx + 0]->minor)); } -#line 2294 "smarty_internal_templateparser.php" -#line 357 "smarty_internal_templateparser.y" - function yy_r75(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2297 "smarty_internal_templateparser.php" -#line 358 "smarty_internal_templateparser.y" - function yy_r76(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2300 "smarty_internal_templateparser.php" -#line 359 "smarty_internal_templateparser.y" - function yy_r77(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2303 "smarty_internal_templateparser.php" + function yy_r66(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } +#line 2278 "smarty_internal_templateparser.php" +#line 332 "smarty_internal_templateparser.y" + function yy_r67(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; } +#line 2281 "smarty_internal_templateparser.php" +#line 334 "smarty_internal_templateparser.y" + function yy_r68(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); } +#line 2284 "smarty_internal_templateparser.php" +#line 343 "smarty_internal_templateparser.y" + function yy_r70(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; } +#line 2287 "smarty_internal_templateparser.php" +#line 345 "smarty_internal_templateparser.y" + function yy_r71(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; } +#line 2290 "smarty_internal_templateparser.php" +#line 351 "smarty_internal_templateparser.y" + function yy_r74(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } +#line 2293 "smarty_internal_templateparser.php" +#line 355 "smarty_internal_templateparser.y" + function yy_r75(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'modifierlist'=>$this->yystack[$this->yyidx + 0]->minor)); } +#line 2296 "smarty_internal_templateparser.php" +#line 360 "smarty_internal_templateparser.y" + function yy_r76(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2299 "smarty_internal_templateparser.php" #line 361 "smarty_internal_templateparser.y" - function yy_r79(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2306 "smarty_internal_templateparser.php" + function yy_r77(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } +#line 2302 "smarty_internal_templateparser.php" #line 362 "smarty_internal_templateparser.y" - function yy_r80(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2309 "smarty_internal_templateparser.php" -#line 363 "smarty_internal_templateparser.y" - function yy_r81(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2312 "smarty_internal_templateparser.php" + function yy_r78(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } +#line 2305 "smarty_internal_templateparser.php" #line 364 "smarty_internal_templateparser.y" - function yy_r82(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2315 "smarty_internal_templateparser.php" + function yy_r80(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } +#line 2308 "smarty_internal_templateparser.php" #line 365 "smarty_internal_templateparser.y" - function yy_r83(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2318 "smarty_internal_templateparser.php" + function yy_r81(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } +#line 2311 "smarty_internal_templateparser.php" #line 366 "smarty_internal_templateparser.y" - function yy_r84(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2321 "smarty_internal_templateparser.php" -#line 372 "smarty_internal_templateparser.y" - function yy_r90(){$this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'='.$this->yystack[$this->yyidx + 0]->minor.';?>'; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'$_tmp'.$this->prefix_number; } -#line 2324 "smarty_internal_templateparser.php" -#line 378 "smarty_internal_templateparser.y" - function yy_r91(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; } -#line 2327 "smarty_internal_templateparser.php" -#line 385 "smarty_internal_templateparser.y" - function yy_r94(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2330 "smarty_internal_templateparser.php" -#line 391 "smarty_internal_templateparser.y" - function yy_r99(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2333 "smarty_internal_templateparser.php" -#line 392 "smarty_internal_templateparser.y" - function yy_r100(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'; } -#line 2336 "smarty_internal_templateparser.php" -#line 393 "smarty_internal_templateparser.y" - function yy_r101(){ $this->_retvalue = '.'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2339 "smarty_internal_templateparser.php" + function yy_r82(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } +#line 2314 "smarty_internal_templateparser.php" +#line 367 "smarty_internal_templateparser.y" + function yy_r83(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } +#line 2317 "smarty_internal_templateparser.php" +#line 368 "smarty_internal_templateparser.y" + function yy_r84(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } +#line 2320 "smarty_internal_templateparser.php" +#line 369 "smarty_internal_templateparser.y" + function yy_r85(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } +#line 2323 "smarty_internal_templateparser.php" +#line 375 "smarty_internal_templateparser.y" + function yy_r91(){$this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'='.$this->yystack[$this->yyidx + 0]->minor.';?>'; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'$_tmp'.$this->prefix_number; } +#line 2326 "smarty_internal_templateparser.php" +#line 381 "smarty_internal_templateparser.y" + function yy_r92(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; } +#line 2329 "smarty_internal_templateparser.php" +#line 388 "smarty_internal_templateparser.y" + function yy_r95(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2332 "smarty_internal_templateparser.php" +#line 394 "smarty_internal_templateparser.y" + function yy_r100(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2335 "smarty_internal_templateparser.php" #line 395 "smarty_internal_templateparser.y" - function yy_r102(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) { + function yy_r101(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'; } +#line 2338 "smarty_internal_templateparser.php" +#line 396 "smarty_internal_templateparser.y" + function yy_r102(){ $this->_retvalue = '.'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2341 "smarty_internal_templateparser.php" +#line 398 "smarty_internal_templateparser.y" + function yy_r103(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = 'true'; } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = 'false'; @@ -2350,31 +2352,31 @@ static public $yy_action = array( $this->_retvalue = 'null'; } else $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'"; } -#line 2349 "smarty_internal_templateparser.php" -#line 406 "smarty_internal_templateparser.y" - function yy_r104(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; } -#line 2352 "smarty_internal_templateparser.php" -#line 412 "smarty_internal_templateparser.y" - function yy_r107(){if ((!$this->template->security || $this->smarty->security_handler->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) || isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor])) { - if (isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor])) { +#line 2351 "smarty_internal_templateparser.php" +#line 409 "smarty_internal_templateparser.y" + function yy_r105(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; } +#line 2354 "smarty_internal_templateparser.php" +#line 415 "smarty_internal_templateparser.y" + function yy_r108(){if ((!$this->template->security || $this->smarty->security_handler->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) || isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor])) { + if (isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor])) { $this->_retvalue = $this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor].'::'.$this->yystack[$this->yyidx + 0]->minor; - } else { + } else { $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; } } else { $this->compiler->trigger_template_error ("static class '".$this->yystack[$this->yyidx + -2]->minor."' is undefined or not allowed by security setting"); } } -#line 2364 "smarty_internal_templateparser.php" -#line 422 "smarty_internal_templateparser.y" - function yy_r108(){ if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;} else { - $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor['var'],"'"), null, true, false)->nocache;} } -#line 2368 "smarty_internal_templateparser.php" +#line 2366 "smarty_internal_templateparser.php" #line 425 "smarty_internal_templateparser.y" - function yy_r109(){ $this->prefix_number++; $this->compiler->prefix_code[] = ''.$this->yystack[$this->yyidx + 0]->minor.'prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '$_tmp'.$this->prefix_number; } -#line 2371 "smarty_internal_templateparser.php" -#line 434 "smarty_internal_templateparser.y" - function yy_r110(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']); + function yy_r109(){ if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;} else { + $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor['var'],"'"), null, true, false)->nocache;} } +#line 2370 "smarty_internal_templateparser.php" +#line 428 "smarty_internal_templateparser.y" + function yy_r110(){ $this->prefix_number++; $this->compiler->prefix_code[] = ''.$this->yystack[$this->yyidx + 0]->minor.'prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '$_tmp'.$this->prefix_number; } +#line 2373 "smarty_internal_templateparser.php" +#line 437 "smarty_internal_templateparser.y" + function yy_r111(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']); } else { if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + 0]->minor['var']])) { $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + 0]->minor['var'] .']->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; @@ -2382,219 +2384,219 @@ static public $yy_action = array( $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; } $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"), null, true, false)->nocache;} } -#line 2381 "smarty_internal_templateparser.php" -#line 443 "smarty_internal_templateparser.y" - function yy_r111(){if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + -2]->minor])) { +#line 2383 "smarty_internal_templateparser.php" +#line 446 "smarty_internal_templateparser.y" + function yy_r112(){if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + -2]->minor])) { $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + -2]->minor .']->'.$this->yystack[$this->yyidx + 0]->minor; } else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; } $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } -#line 2389 "smarty_internal_templateparser.php" -#line 452 "smarty_internal_templateparser.y" - function yy_r113(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; } -#line 2392 "smarty_internal_templateparser.php" -#line 453 "smarty_internal_templateparser.y" - function yy_r114(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; } -#line 2395 "smarty_internal_templateparser.php" +#line 2391 "smarty_internal_templateparser.php" +#line 455 "smarty_internal_templateparser.y" + function yy_r114(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; } +#line 2394 "smarty_internal_templateparser.php" #line 456 "smarty_internal_templateparser.y" - function yy_r115(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } -#line 2398 "smarty_internal_templateparser.php" -#line 462 "smarty_internal_templateparser.y" - function yy_r116(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2401 "smarty_internal_templateparser.php" -#line 464 "smarty_internal_templateparser.y" - function yy_r117(){return; } -#line 2404 "smarty_internal_templateparser.php" -#line 468 "smarty_internal_templateparser.y" - function yy_r118(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor .')->value]'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + 0]->minor', null, true, false)->nocache; } -#line 2407 "smarty_internal_templateparser.php" -#line 469 "smarty_internal_templateparser.y" - function yy_r119(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor.']'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } -#line 2410 "smarty_internal_templateparser.php" -#line 470 "smarty_internal_templateparser.y" - function yy_r120(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; } -#line 2413 "smarty_internal_templateparser.php" + function yy_r115(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; } +#line 2397 "smarty_internal_templateparser.php" +#line 459 "smarty_internal_templateparser.y" + function yy_r116(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } +#line 2400 "smarty_internal_templateparser.php" +#line 465 "smarty_internal_templateparser.y" + function yy_r117(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2403 "smarty_internal_templateparser.php" +#line 467 "smarty_internal_templateparser.y" + function yy_r118(){return; } +#line 2406 "smarty_internal_templateparser.php" #line 471 "smarty_internal_templateparser.y" - function yy_r121(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; } -#line 2416 "smarty_internal_templateparser.php" + function yy_r119(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor .')->value]'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + 0]->minor', null, true, false)->nocache; } +#line 2409 "smarty_internal_templateparser.php" #line 472 "smarty_internal_templateparser.y" - function yy_r122(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; } -#line 2419 "smarty_internal_templateparser.php" + function yy_r120(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor.']'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } +#line 2412 "smarty_internal_templateparser.php" +#line 473 "smarty_internal_templateparser.y" + function yy_r121(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; } +#line 2415 "smarty_internal_templateparser.php" #line 474 "smarty_internal_templateparser.y" - function yy_r123(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } -#line 2422 "smarty_internal_templateparser.php" + function yy_r122(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; } +#line 2418 "smarty_internal_templateparser.php" #line 475 "smarty_internal_templateparser.y" - function yy_r124(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } -#line 2425 "smarty_internal_templateparser.php" -#line 479 "smarty_internal_templateparser.y" - function yy_r126(){$this->_retvalue = '[]'; } -#line 2428 "smarty_internal_templateparser.php" -#line 487 "smarty_internal_templateparser.y" - function yy_r128(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2431 "smarty_internal_templateparser.php" -#line 489 "smarty_internal_templateparser.y" - function yy_r129(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } -#line 2434 "smarty_internal_templateparser.php" -#line 491 "smarty_internal_templateparser.y" - function yy_r130(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2437 "smarty_internal_templateparser.php" -#line 496 "smarty_internal_templateparser.y" - function yy_r131(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else { - $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"), null, true, false)->nocache;} } -#line 2441 "smarty_internal_templateparser.php" + function yy_r123(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; } +#line 2421 "smarty_internal_templateparser.php" +#line 477 "smarty_internal_templateparser.y" + function yy_r124(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } +#line 2424 "smarty_internal_templateparser.php" +#line 478 "smarty_internal_templateparser.y" + function yy_r125(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } +#line 2427 "smarty_internal_templateparser.php" +#line 482 "smarty_internal_templateparser.y" + function yy_r127(){$this->_retvalue = '[]'; } +#line 2430 "smarty_internal_templateparser.php" +#line 490 "smarty_internal_templateparser.y" + function yy_r129(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2433 "smarty_internal_templateparser.php" +#line 492 "smarty_internal_templateparser.y" + function yy_r130(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } +#line 2436 "smarty_internal_templateparser.php" +#line 494 "smarty_internal_templateparser.y" + function yy_r131(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } +#line 2439 "smarty_internal_templateparser.php" #line 499 "smarty_internal_templateparser.y" - function yy_r132(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2444 "smarty_internal_templateparser.php" -#line 501 "smarty_internal_templateparser.y" - function yy_r133(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2447 "smarty_internal_templateparser.php" -#line 503 "smarty_internal_templateparser.y" - function yy_r134(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2450 "smarty_internal_templateparser.php" + function yy_r132(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else { + $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"), null, true, false)->nocache;} } +#line 2443 "smarty_internal_templateparser.php" +#line 502 "smarty_internal_templateparser.y" + function yy_r133(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } +#line 2446 "smarty_internal_templateparser.php" #line 504 "smarty_internal_templateparser.y" - function yy_r135(){ $this->_retvalue = '->{$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor .')->value'.$this->yystack[$this->yyidx + 0]->minor.'}'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor,"'"), null, true, false)->nocache; } -#line 2453 "smarty_internal_templateparser.php" -#line 505 "smarty_internal_templateparser.y" - function yy_r136(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } -#line 2456 "smarty_internal_templateparser.php" + function yy_r134(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2449 "smarty_internal_templateparser.php" #line 506 "smarty_internal_templateparser.y" - function yy_r137(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } -#line 2459 "smarty_internal_templateparser.php" + function yy_r135(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2452 "smarty_internal_templateparser.php" +#line 507 "smarty_internal_templateparser.y" + function yy_r136(){ $this->_retvalue = '->{$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor .')->value'.$this->yystack[$this->yyidx + 0]->minor.'}'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor,"'"), null, true, false)->nocache; } +#line 2455 "smarty_internal_templateparser.php" #line 508 "smarty_internal_templateparser.y" - function yy_r138(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2462 "smarty_internal_templateparser.php" -#line 514 "smarty_internal_templateparser.y" - function yy_r139(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) { - if ($this->yystack[$this->yyidx + -3]->minor == 'isset' || $this->yystack[$this->yyidx + -3]->minor == 'empty' || $this->yystack[$this->yyidx + -3]->minor == 'array' || is_callable($this->yystack[$this->yyidx + -3]->minor)) { - $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; - } else { + function yy_r137(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } +#line 2458 "smarty_internal_templateparser.php" +#line 509 "smarty_internal_templateparser.y" + function yy_r138(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } +#line 2461 "smarty_internal_templateparser.php" +#line 511 "smarty_internal_templateparser.y" + function yy_r139(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2464 "smarty_internal_templateparser.php" +#line 517 "smarty_internal_templateparser.y" + function yy_r140(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) { + if ($this->yystack[$this->yyidx + -3]->minor == 'isset' || $this->yystack[$this->yyidx + -3]->minor == 'empty' || $this->yystack[$this->yyidx + -3]->minor == 'array' || is_callable($this->yystack[$this->yyidx + -3]->minor)) { + $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; + } else { $this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); } } } -#line 2471 "smarty_internal_templateparser.php" -#line 525 "smarty_internal_templateparser.y" - function yy_r140(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } -#line 2474 "smarty_internal_templateparser.php" -#line 526 "smarty_internal_templateparser.y" - function yy_r141(){ $this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; } -#line 2477 "smarty_internal_templateparser.php" -#line 530 "smarty_internal_templateparser.y" - function yy_r142(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; } -#line 2480 "smarty_internal_templateparser.php" -#line 534 "smarty_internal_templateparser.y" - function yy_r144(){ return; } -#line 2483 "smarty_internal_templateparser.php" -#line 539 "smarty_internal_templateparser.y" - function yy_r145(){$this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array($this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor)); } -#line 2486 "smarty_internal_templateparser.php" -#line 540 "smarty_internal_templateparser.y" - function yy_r146(){$this->_retvalue = array($this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor); } -#line 2489 "smarty_internal_templateparser.php" +#line 2473 "smarty_internal_templateparser.php" +#line 528 "smarty_internal_templateparser.y" + function yy_r141(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } +#line 2476 "smarty_internal_templateparser.php" +#line 529 "smarty_internal_templateparser.y" + function yy_r142(){ $this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; } +#line 2479 "smarty_internal_templateparser.php" +#line 533 "smarty_internal_templateparser.y" + function yy_r143(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; } +#line 2482 "smarty_internal_templateparser.php" +#line 537 "smarty_internal_templateparser.y" + function yy_r145(){ return; } +#line 2485 "smarty_internal_templateparser.php" +#line 542 "smarty_internal_templateparser.y" + function yy_r146(){$this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array($this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor)); } +#line 2488 "smarty_internal_templateparser.php" #line 543 "smarty_internal_templateparser.y" - function yy_r148(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2492 "smarty_internal_templateparser.php" -#line 548 "smarty_internal_templateparser.y" - function yy_r149(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2495 "smarty_internal_templateparser.php" -#line 550 "smarty_internal_templateparser.y" - function yy_r150(){$this->_retvalue = ''; } -#line 2498 "smarty_internal_templateparser.php" -#line 552 "smarty_internal_templateparser.y" - function yy_r151(){$this->_retvalue = ':'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2501 "smarty_internal_templateparser.php" -#line 562 "smarty_internal_templateparser.y" - function yy_r156(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2504 "smarty_internal_templateparser.php" -#line 564 "smarty_internal_templateparser.y" - function yy_r157(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2507 "smarty_internal_templateparser.php" -#line 573 "smarty_internal_templateparser.y" - function yy_r158(){$this->_retvalue = '=='; } -#line 2510 "smarty_internal_templateparser.php" -#line 574 "smarty_internal_templateparser.y" - function yy_r159(){$this->_retvalue = '!='; } -#line 2513 "smarty_internal_templateparser.php" -#line 575 "smarty_internal_templateparser.y" - function yy_r160(){$this->_retvalue = '>'; } -#line 2516 "smarty_internal_templateparser.php" + function yy_r147(){$this->_retvalue = array($this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor); } +#line 2491 "smarty_internal_templateparser.php" +#line 546 "smarty_internal_templateparser.y" + function yy_r149(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } +#line 2494 "smarty_internal_templateparser.php" +#line 551 "smarty_internal_templateparser.y" + function yy_r150(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2497 "smarty_internal_templateparser.php" +#line 553 "smarty_internal_templateparser.y" + function yy_r151(){$this->_retvalue = ''; } +#line 2500 "smarty_internal_templateparser.php" +#line 555 "smarty_internal_templateparser.y" + function yy_r152(){$this->_retvalue = ':'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2503 "smarty_internal_templateparser.php" +#line 565 "smarty_internal_templateparser.y" + function yy_r157(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2506 "smarty_internal_templateparser.php" +#line 567 "smarty_internal_templateparser.y" + function yy_r158(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2509 "smarty_internal_templateparser.php" #line 576 "smarty_internal_templateparser.y" - function yy_r161(){$this->_retvalue = '<'; } -#line 2519 "smarty_internal_templateparser.php" + function yy_r159(){$this->_retvalue = '=='; } +#line 2512 "smarty_internal_templateparser.php" #line 577 "smarty_internal_templateparser.y" - function yy_r162(){$this->_retvalue = '>='; } -#line 2522 "smarty_internal_templateparser.php" + function yy_r160(){$this->_retvalue = '!='; } +#line 2515 "smarty_internal_templateparser.php" #line 578 "smarty_internal_templateparser.y" - function yy_r163(){$this->_retvalue = '<='; } -#line 2525 "smarty_internal_templateparser.php" + function yy_r161(){$this->_retvalue = '>'; } +#line 2518 "smarty_internal_templateparser.php" #line 579 "smarty_internal_templateparser.y" - function yy_r164(){$this->_retvalue = '==='; } -#line 2528 "smarty_internal_templateparser.php" + function yy_r162(){$this->_retvalue = '<'; } +#line 2521 "smarty_internal_templateparser.php" #line 580 "smarty_internal_templateparser.y" - function yy_r165(){$this->_retvalue = '!=='; } -#line 2531 "smarty_internal_templateparser.php" + function yy_r163(){$this->_retvalue = '>='; } +#line 2524 "smarty_internal_templateparser.php" #line 581 "smarty_internal_templateparser.y" - function yy_r166(){$this->_retvalue = '%'; } -#line 2534 "smarty_internal_templateparser.php" + function yy_r164(){$this->_retvalue = '<='; } +#line 2527 "smarty_internal_templateparser.php" +#line 582 "smarty_internal_templateparser.y" + function yy_r165(){$this->_retvalue = '==='; } +#line 2530 "smarty_internal_templateparser.php" #line 583 "smarty_internal_templateparser.y" - function yy_r167(){$this->_retvalue = '&&'; } -#line 2537 "smarty_internal_templateparser.php" + function yy_r166(){$this->_retvalue = '!=='; } +#line 2533 "smarty_internal_templateparser.php" #line 584 "smarty_internal_templateparser.y" - function yy_r168(){$this->_retvalue = '||'; } -#line 2540 "smarty_internal_templateparser.php" -#line 585 "smarty_internal_templateparser.y" - function yy_r169(){$this->_retvalue = ' XOR '; } -#line 2543 "smarty_internal_templateparser.php" -#line 590 "smarty_internal_templateparser.y" - function yy_r170(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2546 "smarty_internal_templateparser.php" -#line 592 "smarty_internal_templateparser.y" - function yy_r172(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } -#line 2549 "smarty_internal_templateparser.php" + function yy_r167(){$this->_retvalue = '%'; } +#line 2536 "smarty_internal_templateparser.php" +#line 586 "smarty_internal_templateparser.y" + function yy_r168(){$this->_retvalue = '&&'; } +#line 2539 "smarty_internal_templateparser.php" +#line 587 "smarty_internal_templateparser.y" + function yy_r169(){$this->_retvalue = '||'; } +#line 2542 "smarty_internal_templateparser.php" +#line 588 "smarty_internal_templateparser.y" + function yy_r170(){$this->_retvalue = ' XOR '; } +#line 2545 "smarty_internal_templateparser.php" #line 593 "smarty_internal_templateparser.y" - function yy_r173(){ return; } -#line 2552 "smarty_internal_templateparser.php" -#line 594 "smarty_internal_templateparser.y" - function yy_r174(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2555 "smarty_internal_templateparser.php" + function yy_r171(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } +#line 2548 "smarty_internal_templateparser.php" #line 595 "smarty_internal_templateparser.y" - function yy_r175(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2558 "smarty_internal_templateparser.php" -#line 602 "smarty_internal_templateparser.y" - function yy_r177(){ $this->_retvalue = "''"; } -#line 2561 "smarty_internal_templateparser.php" -#line 603 "smarty_internal_templateparser.y" - function yy_r178(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); } -#line 2564 "smarty_internal_templateparser.php" + function yy_r173(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } +#line 2551 "smarty_internal_templateparser.php" +#line 596 "smarty_internal_templateparser.y" + function yy_r174(){ return; } +#line 2554 "smarty_internal_templateparser.php" +#line 597 "smarty_internal_templateparser.y" + function yy_r175(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2557 "smarty_internal_templateparser.php" +#line 598 "smarty_internal_templateparser.y" + function yy_r176(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2560 "smarty_internal_templateparser.php" #line 605 "smarty_internal_templateparser.y" - function yy_r179(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } -#line 2567 "smarty_internal_templateparser.php" + function yy_r178(){ $this->_retvalue = "''"; } +#line 2563 "smarty_internal_templateparser.php" #line 606 "smarty_internal_templateparser.y" - function yy_r180(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); } -#line 2570 "smarty_internal_templateparser.php" + function yy_r179(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); } +#line 2566 "smarty_internal_templateparser.php" #line 608 "smarty_internal_templateparser.y" - function yy_r181(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); } -#line 2573 "smarty_internal_templateparser.php" -#line 610 "smarty_internal_templateparser.y" - function yy_r183(){if (isset($this->compiler->local_var["'".substr($this->yystack[$this->yyidx + 0]->minor,1)."'"])) { + function yy_r180(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } +#line 2569 "smarty_internal_templateparser.php" +#line 609 "smarty_internal_templateparser.y" + function yy_r181(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); } +#line 2572 "smarty_internal_templateparser.php" +#line 611 "smarty_internal_templateparser.y" + function yy_r182(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); } +#line 2575 "smarty_internal_templateparser.php" +#line 613 "smarty_internal_templateparser.y" + function yy_r184(){if (isset($this->compiler->local_var["'".substr($this->yystack[$this->yyidx + 0]->minor,1)."'"])) { $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->tpl_vars[\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\']->value'); } else { $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->value'); } $this->compiler->tag_nocache = $this->compiler->tag_nocache | $this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"), null, true, false)->nocache; } -#line 2582 "smarty_internal_templateparser.php" -#line 618 "smarty_internal_templateparser.y" - function yy_r185(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); } -#line 2585 "smarty_internal_templateparser.php" -#line 619 "smarty_internal_templateparser.y" - function yy_r186(){ +#line 2584 "smarty_internal_templateparser.php" +#line 621 "smarty_internal_templateparser.y" + function yy_r186(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); } +#line 2587 "smarty_internal_templateparser.php" +#line 622 "smarty_internal_templateparser.y" + function yy_r187(){ $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor); } -#line 2590 "smarty_internal_templateparser.php" -#line 622 "smarty_internal_templateparser.y" - function yy_r187(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); } -#line 2593 "smarty_internal_templateparser.php" +#line 2592 "smarty_internal_templateparser.php" +#line 625 "smarty_internal_templateparser.y" + function yy_r188(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); } +#line 2595 "smarty_internal_templateparser.php" private $_retvalue; @@ -2656,7 +2658,7 @@ static public $yy_action = array( $this->internalError = true; $this->yymajor = $yymajor; $this->compiler->trigger_template_error(); -#line 2656 "smarty_internal_templateparser.php" +#line 2658 "smarty_internal_templateparser.php" } function yy_accept() @@ -2673,7 +2675,7 @@ static public $yy_action = array( $this->internalError = false; $this->retvalue = $this->_retvalue; //echo $this->retvalue."\n\n"; -#line 2674 "smarty_internal_templateparser.php" +#line 2676 "smarty_internal_templateparser.php" } function doParse($yymajor, $yytokenvalue)