New: add css style "cursorpointer".
Start to work on clicable links into peruser agenda view.
This commit is contained in:
parent
70494bab95
commit
cbaa7816bf
@ -74,6 +74,7 @@ For translators:
|
|||||||
- New: When a translation is not available we always jump to en_US and only en_US.
|
- New: When a translation is not available we always jump to en_US and only en_US.
|
||||||
|
|
||||||
For developers:
|
For developers:
|
||||||
|
- New: Add a css style "cursorpointer".
|
||||||
- New: Select list of users can return user into hierarchy.
|
- New: Select list of users can return user into hierarchy.
|
||||||
- New: getBrowserInfo can return type of layout of browser (classic/phone/tablet)
|
- New: getBrowserInfo can return type of layout of browser (classic/phone/tablet)
|
||||||
- New: Add hook "searchAgendaFrom".
|
- New: Add hook "searchAgendaFrom".
|
||||||
|
|||||||
@ -542,15 +542,6 @@ while ($i < 7)
|
|||||||
}
|
}
|
||||||
echo "</tr>\n";
|
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
|
// Define $usernames
|
||||||
$usernames = array(); //init
|
$usernames = array(); //init
|
||||||
/* Use this to have list of users only if users have events
|
/* Use this to have list of users only if users have events
|
||||||
@ -639,6 +630,18 @@ foreach ($usernames as $username)
|
|||||||
echo "</table>\n";
|
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();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
@ -777,6 +780,7 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, &
|
|||||||
{
|
{
|
||||||
$style1='';$style2='';
|
$style1='';$style2='';
|
||||||
$string1=' ';$string2=' ';
|
$string1=' ';$string2=' ';
|
||||||
|
$title1='';$title2='';
|
||||||
if (isset($cases1[$h]))
|
if (isset($cases1[$h]))
|
||||||
{
|
{
|
||||||
if ($cases1[$h] != '')
|
if ($cases1[$h] != '')
|
||||||
@ -822,10 +826,10 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, &
|
|||||||
$title2='bbb';
|
$title2='bbb';
|
||||||
}
|
}
|
||||||
print '<table class="nobordernopadding" width="100%">';
|
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]);
|
//var_dump($cases1[$h]);
|
||||||
print $string1;
|
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 $string2;
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
@ -336,6 +336,9 @@ th .button {
|
|||||||
.nounderline {
|
.nounderline {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
.cursorpointer {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
.blockvmenubookmarks .menu_contenu {
|
.blockvmenubookmarks .menu_contenu {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|||||||
@ -233,7 +233,9 @@ div.inline-block
|
|||||||
.nounderline {
|
.nounderline {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
.cursorpointer {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
/* Styles to hide objects */
|
/* Styles to hide objects */
|
||||||
|
|||||||
@ -258,6 +258,9 @@ div.inline-block
|
|||||||
.nounderline {
|
.nounderline {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
.cursorpointer {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
|
|||||||
@ -234,6 +234,9 @@ div.inline-block
|
|||||||
.nounderline {
|
.nounderline {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
.cursorpointer {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
|
|||||||
@ -399,7 +399,9 @@ th .button {
|
|||||||
.nounderline {
|
.nounderline {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
.cursorpointer {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
/* Styles to hide objects */
|
/* Styles to hide objects */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user