mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Add configuration setting so javascript linking of rows can be disabled.
This commit is contained in:
1 parent
dd3774dde5
commit
8056e9bc40
3 files changed
+13
-2
No files matched your search
+6
-1
@@ -26,7 +26,12 @@ require_once("interactive-page.php");
|
||||
else
|
||||
$browser->AddOrder( 'user_no', 'A' );
|
||||
|
||||
$browser->RowFormat( "<tr onMouseover=\"LinkHref(this,1);\" title=\"Click to Display User Detail\" class=\"r%d\">\n", "</tr>\n", '#even' );
|
||||
if ( $c->enable_row_linking ) {
|
||||
$browser->RowFormat( "<tr onMouseover=\"LinkHref(this,1);\" title=\"".translate("Click to display user details")."\" class=\"r%d\">\n", "</tr>\n", '#even' );
|
||||
}
|
||||
else {
|
||||
$browser->RowFormat( "<tr class=\"r%d\">\n", "</tr>\n", '#even' );
|
||||
}
|
||||
$browser->DoQuery();
|
||||
|
||||
$c->page_title = translate("Calendar Users");
|
||||
|
||||
Reference in new issue
Block a user