preparation release
This commit is contained in:
commit
f5e3a62ee8
196 changed files with 64314 additions and 0 deletions
56
HTML/Template/tests/test_plugin_modifiers.html.phpt
Normal file
56
HTML/Template/tests/test_plugin_modifiers.html.phpt
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
--TEST--
|
||||
Template Test: plugin_modifiers.html
|
||||
--FILE--
|
||||
<?php
|
||||
require_once 'testsuite.php';
|
||||
compilefile('plugin_modifiers.html',
|
||||
array(
|
||||
'numbertest' => 10000.123,
|
||||
'datetest' => '2004-01-12'
|
||||
),
|
||||
array('plugins'=>array('Savant'))
|
||||
);
|
||||
|
||||
compilefile('flexy_raw_with_element.html',
|
||||
array( ),
|
||||
array( )
|
||||
|
||||
);
|
||||
--EXPECTF--
|
||||
<<<<<<< test_plugin_modifiers.html.phpt
|
||||
=======
|
||||
===Compiling plugin_modifiers.html===
|
||||
|
||||
|
||||
|
||||
===Compiled file: plugin_modifiers.html===
|
||||
<H1>Testing Plugin Modifiers</H1>
|
||||
|
||||
|
||||
<?php echo $this->plugin("dateformat",$t->datetest);?>
|
||||
|
||||
<?php echo $this->plugin("numberformat",$t->numbertest);?>
|
||||
|
||||
|
||||
Bug #3946 - inside raw!
|
||||
|
||||
<input type="checkbox" name="useTextarea3" <?php if ($this->options['strict'] || (isset($t->person) && method_exists($t->person,'useTextarea'))) echo $this->plugin("checked",$t->person->useTextarea());?>>
|
||||
|
||||
|
||||
|
||||
===With data file: plugin_modifiers.html===
|
||||
<H1>Testing Plugin Modifiers</H1>
|
||||
|
||||
|
||||
12 Jan 2004
|
||||
10,000.12
|
||||
|
||||
Bug #3946 - inside raw!
|
||||
|
||||
<input type="checkbox" name="useTextarea3" >
|
||||
|
||||
|
||||
|
||||
===Compiling flexy_raw_with_element.html===
|
||||
|
||||
Error:/var/svn_live/pear/HTML_Template_Flexy/tests/templates/flexy_raw_with_element.html on Line 5 in Tag <INPUT>:<BR>Flexy:raw can only be used with flexy:ignore, to prevent conversion of html elements to flexy elements>>>>>>> 1.3
|
||||
Loading…
Add table
Add a link
Reference in a new issue