Index: trunk/extensions/MobileFrontend/views/layout/application.wml.php |
— | — | @@ -1,4 +1,7 @@ |
2 | 2 | <?php |
| 3 | +$mainPageUrl = self::$mainPageUrl; |
| 4 | +$randomPageUrl = self::$randomPageUrl; |
| 5 | + |
3 | 6 | $applicationHtml = <<<EOT |
4 | 7 | <?xml version='1.0' encoding='utf-8' ?> |
5 | 8 | <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> |
— | — | @@ -9,6 +12,14 @@ |
10 | 13 | <meta name="character-set=utf-8" content="charset"/> |
11 | 14 | <meta forua="true" http-equiv="Cache-Control" content="max-age=0"/> |
12 | 15 | </head> |
| 16 | + <template> |
| 17 | + <do name="home" type="options" label="{$homeButton}" > |
| 18 | + <go href="{$mainPageUrl}"/> |
| 19 | + </do> |
| 20 | + <do name="random" type="options" label="{$randomButton}"> |
| 21 | + <go href="{$randomPageUrl}"/> |
| 22 | + </do> |
| 23 | + </template> |
13 | 24 | {$contentHtml} |
14 | 25 | </wml> |
15 | 26 | EOT; |