|
Revision 4615, 0.8 kB
(checked in by nk, 3 years ago)
|
|
fix string
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | include "template.inc"; |
|---|
| 4 | |
|---|
| 5 | require_once ("Design.php"); |
|---|
| 6 | |
|---|
| 7 | Entete (_("Gajim, a Jabber client"), "GAJIM"); |
|---|
| 8 | |
|---|
| 9 | $tpl = new Template("templates"); |
|---|
| 10 | $tpl->set_file("page", "screenshots.tpl"); |
|---|
| 11 | $tpl->set_var("INTRO", _("Here are some screenshots of Gajim:")); |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | $array_images = array( |
|---|
| 15 | "gajim_roster_thumb.png" => "gajim_roster.png", |
|---|
| 16 | "gajim_tabbed_chat_thumb.png" => "gajim_tabbed_chat.png", |
|---|
| 17 | "groupchat_window_thumb.png" => "groupchat_window.png", |
|---|
| 18 | "history_window_thumb.png" => "history_window.png", |
|---|
| 19 | ); |
|---|
| 20 | |
|---|
| 21 | $tpl->set_block("page", "IMAGE", "image"); |
|---|
| 22 | while(list($thumb, $image) = each($array_images)){ |
|---|
| 23 | $tpl->set_var(array( |
|---|
| 24 | "BIG_IMG" => $image, |
|---|
| 25 | "THUMB" => $thumb)); |
|---|
| 26 | $tpl->parse("image", "IMAGE", true); |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | $tpl->parse("MyOutput", "page", true); |
|---|
| 30 | $tpl->p("MyOutput"); |
|---|
| 31 | |
|---|
| 32 | PiedDePage(); |
|---|
| 33 | |
|---|
| 34 | ?> |
|---|