mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-24 17:36:39 +00:00
Remove inappropriate link from rows in relationship_types browser.
This commit is contained in:
parent
2e835f3eea
commit
a472e8e98a
@ -54,8 +54,7 @@ require_once("interactive-page.php");
|
||||
$browser = new Browser($c->page_title);
|
||||
|
||||
$browser->AddColumn( 'rt_id', 'Id' );
|
||||
$browser->AddColumn( 'rt_name', 'Name', '', '##rt_link##' );
|
||||
$browser->AddHidden( 'rt_link', "'<a href=\"/relationship_type.php?rt_id=' || rt_id || '\">' || rt_name || '</a>'" );
|
||||
$browser->AddColumn( 'rt_name', 'Name' );
|
||||
$browser->AddColumn( 'rt_isgroup', 'To Group?', '', '', "CASE WHEN rt_isgroup THEN 'Yes' ELSE 'No' END" );
|
||||
$browser->AddColumn( 'confers', 'Rights' );
|
||||
$browser->AddColumn( 'prefix_match', "Prefix" );
|
||||
@ -69,7 +68,7 @@ require_once("interactive-page.php");
|
||||
else
|
||||
$browser->AddOrder( 'rt_name', 'A' );
|
||||
|
||||
$browser->RowFormat( "<tr onMouseover=\"LinkHref(this,1);\" title=\"Click to Display Relationship Type Detail\" class=\"r%d\">\n", "</tr>\n", '#even' );
|
||||
$browser->RowFormat( "<tr class=\"r%d\">\n", "</tr>\n", '#even' );
|
||||
$browser->DoQuery();
|
||||
|
||||
$rt_name_field = new EntryField( "text", "rt_name",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user