Revision [16112]
This is an old revision of DanWestLink made by DanWest on 2007-02-14 04:17:31.
Action - pagelink
Need to format this page
<?php
if(is_array($vars) AND $vars <> array() ){
if(isset($vars['title'])){
$title = $vars['title'];
}
if(isset($vars['page'])) {
$page = $vars['page'];
}
}
if($this->HasAccess("read", $page)) {
if(!isset($title)) $title = $page;
$link = '[[' . $page . ' ' . $title . ']]';
print $this->Format($link);
}
if(is_array($vars) AND $vars <> array() ){
if(isset($vars['title'])){
$title = $vars['title'];
}
if(isset($vars['page'])) {
$page = $vars['page'];
}
}
if($this->HasAccess("read", $page)) {
if(!isset($title)) $title = $page;
$link = '[[' . $page . ' ' . $title . ']]';
print $this->Format($link);
}
?>