<!DOCTYPE...> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl"> <head> <title>Żmija zygzakowata</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl('css/style.css'); ?>" /> <script type="text/javascript" src="<?php echo $this->baseUrl('js/jquery-1.4.min.js') ?>"></script> <script type="text/javascript" src="<?php echo $this->baseUrl('js/animacja.js') ?>"></script> </head> <body> <?php echo $this->layout()->content; ?> </body> </html>
Listing 5.1. Szablon layout.phtml
Rozdział 5. Dołączanie zewnętrznych zasobów