Documentation is available at standard_index_list.obj.php
1 <?php
2 #IPW METAZO 2.0 OBJECT
3 $_objoldid = 314124;
4 function objfile_314124 () {
5 $obj = owNew('template');
6 $objdata['name'] = "standard_index_list";
7 $objdata['content'] = "<table class=\"exttablebg\" width=\"100%\" cellspacing=\"1\">
8 <tr>
9 <th class=\"extheader\" align=\"center\"> Dokumentnavn </th>
10 <th class=\"extheader\" align=\"center\"> Forfatter </th>
11 <th class=\"extheader\" align=\"center\"> Skrevet </th>
12 </tr>
13 <tr>
14 <td class=\"extdarkcell\" colspan=\"10\" valign=\"middle\"> <b>DOKUMENT OVERSIGT</b></td>
15 </tr>
16 {listobj type=\"document\" sortcol=\"name\" sort=\"asc\" assign=\"res\"}
17 {if \$res|@sizeof != 0}
18 {section loop=\$res name=i}
19 <tr>
20 <td class=\"{if \$smarty.section.i.index is odd}extcolorcell{else}extlightcell{/if}\"><a href=\"showpage.php?pageid={\$res[i].objectid}\">{\$res[i].name}</A></td>
21 <td class=\"{if \$smarty.section.i.index is odd}extcolorcell{else}extlightcell{/if}\" width=\"100\" align=\"center\">{\$res[i].createdbyname}</td>
22 <td class=\"{if \$smarty.section.i.index is odd}extcolorcell{else}extlightcell{/if}\" width=\"120\" align=\"center\">{\$res[i].object.changed}</td>
23 </tr>
24 {/section}
25 {else}
26 <tr>
27 <td class=\"extlightcell\" colspan=\"10\">Ingen resultater</td>
28 </tr>
29 {/if}
30 <tr>
31 <td class=\"extdarkcell\" colspan=\"10\">{if \$res|@sizeof != 0}Antal dokumenter: {\$res|@sizeof}{else} {/if}</td>
32 </tr>
33 </table>
34 ";
35 $objdata['param'] = "";
36 $objdata['setting'] = "";
37 $objdata['tpltype'] = "2";
38 $objdata['header'] = "";
39 $objdata['style'] = ".extcolorcell {
40 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #dce1e5
41 }
42 .extlightcell {
43 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #ececec
44 }
45 .extdarkcell {
46 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #c0c8d0
47 }
48 .extheader {
49 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
50 }
51 .exttablebg {
52 BACKGROUND-COLOR: #a9b8c2
53 }
54 .extmsgbody {
55 LINE-HEIGHT: 140%
56 }
57 .extbutton {
58 background-color: #c0c8d0; font-style: bold; font-size: 80%; font-weight: bold;
59 }";
60 $objdata['doctype'] = "0";
61 $obj->createObject($objdata);
62 return $obj;
63 }
64 ?>
Documentation generated on Thu, 9 Jun 2005 06:53:22 +0200 by phpDocumentor 1.2.3