Documentation is available at standard_forum_read.obj.php
1 <?php
2 #IPW METAZO 2.0 OBJECT
3 $_objoldid = 320377;
4 function objfile_320377 () {
5 $obj = owNew('template');
6 $objdata['name'] = "standard_forum_read";
7 $objdata['content'] = "<a name=\"top\"></A>
8 <table class=\"exttablebg\" width=\"100%\" cellspacing=\"1\">
9 <tr>
10 <th class=\"extheader\"> Forfatter </th>
11 <th class=\"extheader\"> Besked </th>
12 </tr>
13 {section loop=\$result name=\"i\"}
14 <tr>
15 <td class=\"{if \$smarty.section.i.index is odd}extcolorcell{else}extlightcell{/if}\" width=\"100\" align=\"center\">{\$result[i].uname}</td>
16 <td class=\"{if \$smarty.section.i.index is odd}extcolorcell{else}extlightcell{/if}\"><div style=\"float: left\"><b>{\$result[i].name}</b></div><div style=\"float: right\">Sendt: {\$result[i].object.created|date_format:\"%Y-%m-%d %H:%M:%S\"}</div></td>
17 </tr>
18 <tr>
19 <td class=\"{if \$smarty.section.i.index is odd}extcolorcell{else}extlightcell{/if}\" align=\"center\"></td>
20 <td class=\"{if \$smarty.section.i.index is odd}extcolorcell{else}extlightcell{/if}\"><span class=\"extmsgbody\">{\$result[i].content|nl2br}<br><br><br><br></span></td>
21 </tr>
22 <tr>
23 <td class=\"{if \$smarty.section.i.index is odd}extcolorcell{else}extlightcell{/if}\" align=\"center\"><input type=\"button\" onclick=\"location.href='#top';\" value=\"Gå til top\" class=\"extbutton\"></td>
24 <td class=\"{if \$smarty.section.i.index is odd}extcolorcell{else}extlightcell{/if}\"><input type=\"button\" onclick=\"location.href='showpage.php?pageid={\$document.objectid}&_ext={\$_ext}&_extcf={\$_extcf}&_cmd=reply&objectid={\$result[i].objectid}';\" value=\"Besvar\" class=\"extbutton\"> <input type=\"button\" onclick=\"location.href='showpage.php?pageid={\$document.objectid}&_ext={\$_ext}&_extcf={\$_extcf}&_cmd=reply&objectid={\$result[i].objectid}"e=1';\" value=\"Besvar med citat\" class=\"extbutton\"></td>
25 </tr>
26 {if not \$smarty.section.i.last}
27 <tr><td class=\"extdarkcell\" style=\"height: 5px\" colspan=\"2\"></td></tr>
28 {/if}
29 {/section}
30 <tr>
31 <td class=\"extdarkcell\" colspan=\"6\"><input type=\"button\" onclick=\"location.href='showpage.php?pageid={\$document.objectid}&_ext={\$_ext}&_extcf={\$_extcf}&_cmd=add'\" value=\"Skriv ny besked\" class=\"extbutton\"> <input type=\"button\" onclick=\"location.href='showpage.php?pageid={\$document.objectid}&_ext={\$_ext}&_extcf={\$_extcf}'\" value=\"Emne oversigt\" class=\"extbutton\"></td>
32 </tr>
33 </table>";
34 $objdata['param'] = "";
35 $objdata['setting'] = "";
36 $objdata['tpltype'] = "2";
37 $objdata['header'] = "";
38 $objdata['style'] = ".extcolorcell {
39 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #dce1e5
40 }
41 .extlightcell {
42 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #ececec
43 }
44 .extdarkcell {
45 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #c0c8d0
46 }
47 .extheader {
48 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: 85%; BACKGROUND-IMAGE: url(img/design/standard/extbg.gif); COLOR: #ffffff; WHITE-SPACE: nowrap; HEIGHT: 24px; BACKGROUND-COLOR: #006699
49 }
50 .exttablebg {
51 BACKGROUND-COLOR: #a9b8c2
52 }
53 .extmsgbody {
54 LINE-HEIGHT: 140%
55 }
56 .extbutton {
57 background-color: #c0c8d0; font-style: bold; font-size: 80%; font-weight: bold;
58 }";
59 $objdata['doctype'] = "0";
60 $obj->createObject($objdata);
61 return $obj;
62 }
63 ?>
Documentation generated on Thu, 9 Jun 2005 06:53:21 +0200 by phpDocumentor 1.2.3