Update Vendored Erubis to 2.6.6
This commit is contained in:
parent
c18c2f988d
commit
39c2138f88
300 changed files with 207 additions and 171 deletions
19
vendor/plugins/erubis/test/data/users-guide/notext-example.php
vendored
Normal file
19
vendor/plugins/erubis/test/data/users-guide/notext-example.php
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
<html>
|
||||
<body>
|
||||
<h3>List</h3>
|
||||
<?php if (!$list || count($list) == 0) { ?>
|
||||
<p>not found.</p>
|
||||
<?php } else { ?>
|
||||
<table>
|
||||
<tbody>
|
||||
<?php $i = 0; ?>
|
||||
<?php foreach ($list as $item) { ?>
|
||||
<tr bgcolor="<?php echo ++$i % 2 == 1 ? '#FFCCCC' : '#CCCCFF'; ?>">
|
||||
<td><?php echo $item; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } ?>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue