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

Delta Between Two Patch Sets: anwiki/_override/actions/action_view/action_view.tpl.php

Issue 9148089: Less hacky implementation of the language selection (Closed)
Left Patch Set: Created Jan. 9, 2013, 1:15 p.m.
Right Patch Set: Created Jan. 9, 2013, 1:54 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | anwiki/_override/contentclasses/contentclass_menu/contentclass_menu.tpl.php » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 <?php 1 <?php
2 2
3 class AnwTemplateOverride_action_view extends AnwTemplateDefault_action_view 3 class AnwTemplateOverride_action_view extends AnwTemplateDefault_action_view
4 { 4 {
5 function viewPage($sContentHtmlDir, $sCss, $title, $content, $editiontime, $ao Translations) 5 function viewPage($sContentHtmlDir, $sCss, $title, $content, $editiontime, $ao Translations)
6 { 6 {
7 $HTML = <<<EOF 7 $HTML = <<<EOF
8 8
9 {$this->pageTranslations($aoTranslations)}
10
11 <div class="$sCss" dir="$sContentHtmlDir"> 9 <div class="$sCss" dir="$sContentHtmlDir">
12 $content 10 $content
13 </div> 11 </div>
14 EOF; 12 EOF;
15 return $HTML; 13 return $HTML;
16 } 14 }
17
18 function pageTranslations($aoTranslations)
19 {
20 return "";
21 }
22 } 15 }
23 16
24 ?> 17 ?>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld