root/trunk/apps/snippets/templates/layout.php

Revision 15, 1.1 kB (checked in by fabien, 4 years ago)

changed the sidebar tag list to a cloud, added a new tag list page

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4
5 <?php echo include_http_metas() ?>
6 <?php echo include_metas() ?>
7
8 <?php echo include_title() ?>
9
10 <link rel="shortcut icon" href="/favicon.ico" />
11
12 <?php echo auto_discovery_link_tag('rss', 'rss/list') ?>
13
14 </head>
15 <body>
16
17 <div id="header"><h1><?php echo link_to('PHP Code Snippets', '@homepage') ?></h1>You can't learn them all, so just copy them.</div>
18
19 <div id="bar">
20   <?php include_component_slot('login_links') ?>
21   <h2>Navigation</h2>
22   <ul>
23     <li><?php echo link_to('latest snippets', '@homepage') ?></li>
24     <li><?php echo link_to('popular snippets', '@snippet_list?sort=popularity') ?></li>
25     <li><?php echo link_to('snippet tags', 'tag/index') ?></li>
26   </ul>
27   <?php include_component_slot('sidebar') ?>
28 </div>
29
30 <div id="content1">
31   <?php echo $sf_data->getRaw('sf_content') ?>
32 </div>
33
34 <div id="footer">
35 powered by <?php echo image_tag('symfony_button.gif') ?>
36 </div>
37
38 </body>
39 </html>
40
Note: See TracBrowser for help on using the browser.