';
if ($user->rights->agenda->myactions->create || $user->rights->agenda->allactions->create)
{
- $newparam .= '&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$year;
-
- //$param='month='.$monthshown.'&year='.$year;
- $hourminsec = '100000';
- print '
';
+ print ''; // Explicit link, usefull for nojs interfaces
print img_picto($langs->trans("NewAction"), 'edit_add.png');
print '';
}
@@ -1838,7 +1840,9 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
break;
}
}
- if (!$i) print ' ';
+ if (!$i) { // No events
+ print ' ';
+ }
if (!empty($conf->global->MAIN_JS_SWITCH_AGENDA) && $i > $maxprint && $maxprint)
{
diff --git a/htdocs/core/js/lib_head.js.php b/htdocs/core/js/lib_head.js.php
index b71dfc3eeb2..9bd9227fffa 100644
--- a/htdocs/core/js/lib_head.js.php
+++ b/htdocs/core/js/lib_head.js.php
@@ -1135,7 +1135,7 @@ $(document).ready(function() {
if (window.location !== window.parent.location ) {
console.log("Page is detected to be into an iframe, we hide by CSS the menus");
// The page is in an iframe
- jQuery(".side-nav-vert, .side-nav").hide();
+ jQuery(".side-nav-vert, .side-nav, .websitebar").hide();
jQuery(".id-container").css('width', '100%');
}
diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php
index b037cfdc851..3109083b451 100644
--- a/htdocs/theme/eldy/info-box.inc.php
+++ b/htdocs/theme/eldy/info-box.inc.php
@@ -214,6 +214,8 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
text-transform: uppercase;
font-weight: bold;
margin-bottom: 3px; /* not too much space so we can add another lines */
+ opacity: 1;
+ color: var(--colortexttitlenotab);
}
.info-box-text{
font-size: 0.92em;
diff --git a/htdocs/website/index.php b/htdocs/website/index.php
index dc3407b8f21..32ced5dc2dd 100644
--- a/htdocs/website/index.php
+++ b/htdocs/website/index.php
@@ -2406,7 +2406,8 @@ if (!GETPOST('hide_websitemenu'))
if ($websitekey && $websitekey != '-1' && ($action == 'preview' || $action == 'createfromclone' || $action == 'createpagefromclone' || $action == 'deletesite'))
{
print '
';
- print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("MediaFiles")).'">';
+ //print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("MediaFiles")).'">';
+ print dolButtonToOpenUrlInDialogPopup('file_manager', $langs->transnoentitiesnoconv("MediaFiles"), '', '/website/index.php?action=file_manager&website='.$website->ref, $disabled);
if (! empty($conf->categorie->enabled)) {
//print '';