[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 // $Id: view.php 19415 2005-10-14 14:08:53Z ralfbecker $ 3 4 require_once(TemplateDir . '/common.php'); 5 6 // The view template is passed an associative array with the following 7 // elements: 8 // 9 // page => A string containing the name of the wiki page being viewed. 10 // html => A string containing the XHTML rendering of the wiki page. 11 // editable => An integer. Will be nonzero if user is allowed to edit page. 12 // timestamp => Timestamp of last edit to page. 13 // archive => An integer. Will be nonzero if this is not the most recent 14 // version of the page. 15 // version => Version number of page version being viewed. 16 17 function template_view($args) 18 { 19 template_common_prologue(array('norobots' => $args['archive'], 20 'title' => $args['title'], 21 'heading' => '', 22 'headlink' => $args['page'], 23 'headsufx' => $args['archive'] ? 24 ' (' . html_timestamp($args['timestamp']) . ')' 25 : '', 26 'toolbar' => 1)); 27 /* 28 template_common_epilogue(array('twin' => $args['page'], 29 'edit' => $args['page'], 30 'editver' => !$args['editable'] ? -1 31 : ($args['archive'] 32 ? $args['version'] : 0), 33 'history' => $args['page'], 34 'timestamp' => $args['timestamp'], 35 'nosearch' => 0)); 36 */ 37 ?> 38 <div id="body"> 39 <?php print $args['html']; ?> 40 </div> 41 <?php 42 template_common_epilogue(array('twin' => $args['page'], 43 'edit' => $args['page'], 44 'editver' => !$args['editable'] ? -1 45 : ($args['archive'] 46 ? $args['version'] : 0), 47 'history' => $args['page'], 48 'timestamp' => $args['timestamp'], 49 'nosearch' => 1)); 50 } 51 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |