7 $name = "Basic page elements";
8 $heading1 = __gettext("Heading one"); // gettext variable
9 $heading2 = __gettext("Heading two"); // gettext variable
10 $bulletList = __gettext("A bullet list"); // gettext variable
11 $heading3 = __gettext("Heading three"); // gettext variable
12 $numberedList = __gettext("A numbered list"); // gettext variable
15 <img src
="/_templates/leaves.jpg" width
="300" height
="225" alt
="A test image" align
="right" />
24 <li
>$numberedList</li
>
29 $run_result .= templates_draw(array(
30 'context' => 'contentholder',
40 $body = templates_draw(array(
41 'context' => 'databox',
42 'name' => __gettext("Some text input"),
43 'column1' => display_input_field(array("blank","","text")),
44 'column2' => run("display:access_level_select",array("blank","PUBLIC"))
47 $body .= templates_draw(array(
48 'context' => 'databox1',
49 'name' => __gettext("Some longer text input"),
50 'column1' => display_input_field(array("blank","","longtext"))
53 $body .= templates_draw(array(
54 'context' => 'databoxvertical',
55 'name' => __gettext("Further text input"),
56 'contents' => display_input_field(array("blank","","longtext")) . "<br />" . display_input_field(array("blank","","text")) . "<br /><input type='button' value='Button' />"
60 $run_result .= templates_draw(array(
61 'context' => 'contentholder',