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:
@@ -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')
|
||||
|
Reference in New Issue
Block a user