-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

the agavi sample app is not working with short open tags off. The problem is as "<?=time()?>" in the Master.php template, this does not get parsed and gets recognized as an xml-tag later on (at least when using gecko based browsers). The patch is simple:


Index: samples/app/modules/Default/templates/Master.php
===================================================================
- --- samples/app/modules/Default/templates/Master.php    (revision 1352)
+++ samples/app/modules/Default/templates/Master.php    (working copy)
@@ -173,7 +173,7 @@
<?php if($req->hasErrors()): foreach($req->getErrorMessages() as $error): ?> <p class="error"><?php echo $error ['message']; ?></p>
<?php endforeach; endif; ?>
- -<?php echo $template['content']; ?> <?=time()?>
+<?php echo $template['content']; ?> <?php echo time(); ?>
                </div>
        </body>
</html>


regards

felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFXIuvGLZ/2ixjPUARAhjaAKC49JmL19WP/6KaYObPaVV91GJMmACg2KO1
VAkIXxz+Clwh2cvVYneYGcs=
=nki/
-----END PGP SIGNATURE-----

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to