Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: anwiki/_override/contentclasses/contentclass_menu/contentclass_menu.tpl.php

Issue 9051084: Changed images to use CSS sprites (Closed)
Patch Set: Removed trailing whitespaces Created Dec. 20, 2012, 3:59 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?php 1 <?php
2 2
3 class AnwTemplateOverride_contentclass_menu extends AnwTemplateDefault_contentcl ass_menu 3 class AnwTemplateOverride_contentclass_menu extends AnwTemplateDefault_contentcl ass_menu
4 { 4 {
5 private $firstItem = true; 5 private $firstItem = true;
6 6
7 function openMenu() 7 function openMenu()
8 { 8 {
9 $HTML = <<<EOF 9 $HTML = <<<EOF
10 10
11 <ul> 11 <ul id="menu">
Felix Dahlke 2012/12/21 09:20:11 We can't do this, this is a template for all menus
Thomas Greiner 2012/12/21 09:48:48 I see anwiki as a temporary solution so that shoul
12 EOF; 12 EOF;
13 return $HTML; 13 return $HTML;
14 } 14 }
15 15
16 function renderSearch($sTitle, $classAttribute) 16 function renderSearch($sTitle, $classAttribute)
17 { 17 {
18 $HTML = <<<EOF 18 $HTML = <<<EOF
19 19
20 <li id="search"$classAttribute> 20 <li id="search"$classAttribute>
21 <form action="http://www.google.com/cse" id="search-box"> 21 <form action="http://www.google.com/cse" id="search-box">
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 function closeMenu() 76 function closeMenu()
77 { 77 {
78 $HTML = <<<EOF 78 $HTML = <<<EOF
79 </ul> 79 </ul>
80 EOF; 80 EOF;
81 return $HTML; 81 return $HTML;
82 } 82 }
83 } 83 }
84 84
85 ?> 85 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld