Skip to content
Snippets Groups Projects
Commit cbaa7816 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

New: add css style "cursorpointer".

Start to work on clicable links into peruser agenda view.
parent 70494bab
No related branches found
No related tags found
No related merge requests found
......@@ -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".
......
......@@ -542,15 +542,6 @@ while ($i < 7)
}
echo "</tr>\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 "</table>\n";
// Add js code to manage click on a box
print '<script type="text/javascript" language="javascript">
jQuery(document).ready(function() {
jQuery(".onclickopenref").click(function() {
alert(\'ee\');
});
});
</script>';
llxFooter();
$db->close();
......@@ -777,6 +780,7 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, &
{
$style1='';$style2='';
$string1='&nbsp;';$string2='&nbsp;';
$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 '<table class="nobordernopadding" width="100%">';
print '<tr><td class="'.$style1.' onclickopenref" ref="'.$id.'"'.($title1?' title="'.$title1.'"':'').'>';
print '<tr><td class="'.$style1.' onclickopenref'.($title1?' cursorpointer':'').'" ref="ref_'.$username->id.'_'.$id.'"'.($title1?' title="'.$title1.'"':'').'>';
//var_dump($cases1[$h]);
print $string1;
print '</td><td class="'.$style2.' onclickopenref" ref="'.$id.'"'.($title2?' title="'.$title2.'"':'').'>';
print '</td><td class="'.$style2.' onclickopenref'.($title1?' cursorpointer':'').'" ref="ref_'.$username->id.'_'.$id.'"'.($title2?' title="'.$title2.'"':'').'>';
print $string2;
print '</td></tr>';
print '</table>';
......
......@@ -336,6 +336,9 @@ th .button {
.nounderline {
text-decoration: none;
}
.cursorpointer {
cursor: pointer;
}
.blockvmenubookmarks .menu_contenu {
background-color: transparent;
......
......@@ -233,7 +233,9 @@ div.inline-block
.nounderline {
text-decoration: none;
}
.cursorpointer {
cursor: pointer;
}
/* ============================================================================== */
/* Styles to hide objects */
......
......@@ -258,6 +258,9 @@ div.inline-block
.nounderline {
text-decoration: none;
}
.cursorpointer {
cursor: pointer;
}
/* ============================================================================== */
......
......@@ -234,6 +234,9 @@ div.inline-block
.nounderline {
text-decoration: none;
}
.cursorpointer {
cursor: pointer;
}
/* ============================================================================== */
......
......@@ -399,7 +399,9 @@ th .button {
.nounderline {
text-decoration: none;
}
.cursorpointer {
cursor: pointer;
}
/* ============================================================================== */
/* Styles to hide objects */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment