mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
New: add css style "cursorpointer".
Start to work on clicable links into peruser agenda view.
This commit is contained in:
@@ -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=' ';$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 '<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 */
|
||||
|
||||
Reference in New Issue
Block a user