1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Title-link fix

This commit is contained in:
CaMer0n
2012-04-29 08:51:03 +00:00
parent 07d7caad7a
commit 10712bef1b

View File

@@ -142,12 +142,11 @@ class page_admin_form_ui extends e_admin_form_ui
function page_title($curVal,$mode,$parm)
{
// $parm = $this->getController()->getUI()->getDataFields(); //$model->getData();
// print_a($parm);
$parm = "";
if($mode == 'read') // FIXME - Link not working as intended.
if($mode == 'read')
{
return "<a href='".e_BASE."page.php?".$parm."' >".$curVal."</a>";
$id = $this->getController()->getListModel()->get('page_id');
return "<a href='".e_BASE."page.php?".$id."' >".$curVal."</a>";
}
if($mode == 'write')