|
Revision 1027, 0.8 kB
(checked in by kake, 19 months ago)
|
|
Added category and locale parameters to action=random and made a new macro to go with it.
|
| Line | |
|---|
| 1 | [% INCLUDE header.tt page_title = "Failed to find random page" %] |
|---|
| 2 | [% INCLUDE banner.tt %] |
|---|
| 3 | <div id="content"> |
|---|
| 4 | [% INCLUDE navbar.tt %] |
|---|
| 5 | <div id="maincontent"> |
|---|
| 6 | |
|---|
| 7 | <div class="random_page_failure_message"> |
|---|
| 8 | <p> |
|---|
| 9 | [% IF category AND locale %] |
|---|
| 10 | Couldn't find a random page in category [% category %] and locale |
|---|
| 11 | [% locale %]. |
|---|
| 12 | [% ELSIF category %] |
|---|
| 13 | Couldn't find a random page in category [% category %]. |
|---|
| 14 | [% ELSIF locale %] |
|---|
| 15 | Couldn't find a random page in locale [% locale %]. |
|---|
| 16 | [% ELSE %] |
|---|
| 17 | Couldn't find a random page. |
|---|
| 18 | [% END %] |
|---|
| 19 | </p> |
|---|
| 20 | |
|---|
| 21 | <p>If you think this is a mistake, please report it to the guide |
|---|
| 22 | administrator.</p> |
|---|
| 23 | |
|---|
| 24 | <p><a href="[% full_cgi_url %]">Return to the home page.</a></p> |
|---|
| 25 | </div> |
|---|
| 26 | |
|---|
| 27 | </div> |
|---|
| 28 | [% INCLUDE footer.tt %] |
|---|