From cbaa7816bfcffe3dec4497a0b8a7901a42f95142 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 6 Sep 2014 00:32:54 +0200 Subject: [PATCH] New: add css style "cursorpointer". Start to work on clicable links into peruser agenda view. --- ChangeLog | 1 + htdocs/comm/action/peruser.php | 26 +++++++++++++++----------- htdocs/theme/amarok/style.css.php | 3 +++ htdocs/theme/auguria/style.css.php | 4 +++- htdocs/theme/bureau2crea/style.css.php | 3 +++ htdocs/theme/cameleo/style.css.php | 3 +++ htdocs/theme/eldy/style.css.php | 4 +++- 7 files changed, 31 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6ba13dbefc2..f226db24ee7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -74,6 +74,7 @@ For translators: - New: When a translation is not available we always jump to en_US and only en_US. For developers: +- New: Add a css style "cursorpointer". - New: Select list of users can return user into hierarchy. - New: getBrowserInfo can return type of layout of browser (classic/phone/tablet) - New: Add hook "searchAgendaFrom". diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php index f692869a6cd..cad01c1d11f 100644 --- a/htdocs/comm/action/peruser.php +++ b/htdocs/comm/action/peruser.php @@ -542,15 +542,6 @@ while ($i < 7) } echo "\n"; - - - - - -// In loops, tmpday contains day nb in current month (can be zero or negative for days of previous month) -//var_dump($eventarray); -//print $tmpday; - // Define $usernames $usernames = array(); //init /* Use this to have list of users only if users have events @@ -639,6 +630,18 @@ foreach ($usernames as $username) echo "\n"; +// Add js code to manage click on a box +print ''; + + + llxFooter(); $db->close(); @@ -777,6 +780,7 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, & { $style1='';$style2=''; $string1=' ';$string2=' '; + $title1='';$title2=''; if (isset($cases1[$h])) { if ($cases1[$h] != '') @@ -822,10 +826,10 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, & $title2='bbb'; } print ''; - print ''; print '
'; + print '
'; //var_dump($cases1[$h]); print $string1; - print ''; + print ''; print $string2; print '
'; diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index 2c9ebe81c15..c6340e9d19c 100644 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -336,6 +336,9 @@ th .button { .nounderline { text-decoration: none; } +.cursorpointer { + cursor: pointer; +} .blockvmenubookmarks .menu_contenu { background-color: transparent; diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index 64a045a46ad..0ec5b806880 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -233,7 +233,9 @@ div.inline-block .nounderline { text-decoration: none; } - +.cursorpointer { + cursor: pointer; +} /* ============================================================================== */ /* Styles to hide objects */ diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index cd3ef16c8c9..e9c742a24c1 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -258,6 +258,9 @@ div.inline-block .nounderline { text-decoration: none; } +.cursorpointer { + cursor: pointer; +} /* ============================================================================== */ diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index 67b55100f7a..555e674fb92 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -234,6 +234,9 @@ div.inline-block .nounderline { text-decoration: none; } +.cursorpointer { + cursor: pointer; +} /* ============================================================================== */ diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 28870f7987f..36cbc9afb54 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -399,7 +399,9 @@ th .button { .nounderline { text-decoration: none; } - +.cursorpointer { + cursor: pointer; +} /* ============================================================================== */ /* Styles to hide objects */