Merge remote-tracking branch 'upstream/develop' into free_email
This commit is contained in:
commit
39ae11efa3
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2017 Oscss-Shop <support@oscss-shop.fr>.
|
/* Copyright (C) 2017 Oscss-Shop <support@oscss-shop.fr>.
|
||||||
* Copyright (C) 2008-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2008-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
* Copyright (C) 2020 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modifyion 2.0 (the "License");
|
* This program is free software; you can redistribute it and/or modifyion 2.0 (the "License");
|
||||||
* it under the terms of the GNU General Public License as published bypliance with the License.
|
* it under the terms of the GNU General Public License as published bypliance with the License.
|
||||||
@ -17,6 +18,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('REQUIRE_JQUERY_BLOCKUI')) define('REQUIRE_JQUERY_BLOCKUI', 1);
|
if (!defined('REQUIRE_JQUERY_BLOCKUI')) define('REQUIRE_JQUERY_BLOCKUI', 1);
|
||||||
|
if (!defined('NOTOKENRENEWAL')) {
|
||||||
|
define('NOTOKENRENEWAL', 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1044,6 +1044,9 @@ class Project extends CommonObject
|
|||||||
if (!empty($conf->dol_no_mouse_hover)) $notooltip = 1; // Force disable tooltips
|
if (!empty($conf->dol_no_mouse_hover)) $notooltip = 1; // Force disable tooltips
|
||||||
|
|
||||||
$result = '';
|
$result = '';
|
||||||
|
if (! empty($conf->global->PROJECT_OPEN_ALWAYS_ON_TAB)) {
|
||||||
|
$option = $conf->global->PROJECT_OPEN_ALWAYS_ON_TAB;
|
||||||
|
}
|
||||||
|
|
||||||
$label = '';
|
$label = '';
|
||||||
if ($option != 'nolink') $label = '<u>'.$langs->trans("Project").'</u>';
|
if ($option != 'nolink') $label = '<u>'.$langs->trans("Project").'</u>';
|
||||||
@ -1073,6 +1076,10 @@ class Project extends CommonObject
|
|||||||
{
|
{
|
||||||
$url = DOL_URL_ROOT.'/projet/tasks.php?id='.$this->id;
|
$url = DOL_URL_ROOT.'/projet/tasks.php?id='.$this->id;
|
||||||
}
|
}
|
||||||
|
elseif ($option == 'preview')
|
||||||
|
{
|
||||||
|
$url = DOL_URL_ROOT.'/projet/element.php?id='.$this->id;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$url = DOL_URL_ROOT.'/projet/card.php?id='.$this->id;
|
$url = DOL_URL_ROOT.'/projet/card.php?id='.$this->id;
|
||||||
|
|||||||
@ -235,7 +235,7 @@ if ($action == "view_ticketlist")
|
|||||||
if (is_array($extrafields->attributes[$object->table_element]['label']) && count($extrafields->attributes[$object->table_element]['label'])) {
|
if (is_array($extrafields->attributes[$object->table_element]['label']) && count($extrafields->attributes[$object->table_element]['label'])) {
|
||||||
foreach ($extrafields->attributes[$object->table_element]['label'] as $key => $val) {
|
foreach ($extrafields->attributes[$object->table_element]['label'] as $key => $val) {
|
||||||
if ($extrafields->attributes[$object->table_element]['type'][$key] != 'separate') {
|
if ($extrafields->attributes[$object->table_element]['type'][$key] != 'separate') {
|
||||||
$arrayfields["ef.".$key] = array('label' => $extrafields->attributes[$object->table_element]['label'][$key], 'checked' => $extrafields->attributes[$object->table_element]['list'][$key], 'position' => $extrafields->attributes[$object->table_element]['pos'][$key], 'enabled' => $extrafields->attributes[$object->table_element]['perms'][$key]);
|
$arrayfields["ef.".$key] = array('label' => $extrafields->attributes[$object->table_element]['label'][$key], 'checked' => ($extrafields->attributes[$object->table_element]['list'][$key] < 0) ? 0 : 1, 'position' => $extrafields->attributes[$object->table_element]['pos'][$key], 'enabled' =>(abs($extrafields->attributes[$object->table_element]['list'][$key]) != 3) && $extrafields->attributes[$object->table_element]['perms'][$key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -591,6 +591,9 @@ div#moreinfo, div#infowarehouse {
|
|||||||
height: calc(45% - 100px);
|
height: calc(45% - 100px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#moreinfo, div#infowarehouse {
|
||||||
|
padding: 0 5px 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
div.div1 {
|
div.div1 {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
|||||||
@ -756,8 +756,13 @@ if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="topnav">
|
<div class="topnav">
|
||||||
<div class="topnav-left">
|
<div class="topnav-left">
|
||||||
<div class="inline-block valignmiddle"><a class="topnav-terminalhour" onclick="TerminalsDialog();">
|
<div class="inline-block valignmiddle">
|
||||||
<?php echo $langs->trans("Terminal")." ";
|
<a class="topnav-terminalhour" onclick="TerminalsDialog();">
|
||||||
|
<span class="fa fa-cash-register"></span>
|
||||||
|
<span class="hideonsmartphone">
|
||||||
|
<?php echo $langs->trans("Terminal"); ?>
|
||||||
|
</span>
|
||||||
|
<?php echo " ";
|
||||||
if ($_SESSION["takeposterminal"] == "") echo "1";
|
if ($_SESSION["takeposterminal"] == "") echo "1";
|
||||||
else echo $_SESSION["takeposterminal"];
|
else echo $_SESSION["takeposterminal"];
|
||||||
echo '<span class="hideonsmartphone"> - '.dol_print_date(dol_now(), "day").'</span>';
|
echo '<span class="hideonsmartphone"> - '.dol_print_date(dol_now(), "day").'</span>';
|
||||||
|
|||||||
@ -747,7 +747,7 @@ $( document ).ready(function() {
|
|||||||
|
|
||||||
$("#customerandsales").html('');
|
$("#customerandsales").html('');
|
||||||
|
|
||||||
$("#customerandsales").append('<a class="valignmiddle tdoverflowmax100 minwidth100" id="customer" onclick="Customer();" title="<?php print dol_escape_js($s); ?>"><span class="fas fa-building paddingrightonly"></span><?php print dol_escape_js($s); ?></a>');
|
$("#customerandsales").append('<a class="valignmiddle tdoverflowmax100 minwidth75" id="customer" onclick="Customer();" title="<?php print dol_escape_js($s); ?>"><span class="fas fa-building paddingrightonly"></span><?php print dol_escape_js($s); ?></a>');
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$sql = "SELECT rowid, datec, ref FROM ".MAIN_DB_PREFIX."facture";
|
$sql = "SELECT rowid, datec, ref FROM ".MAIN_DB_PREFIX."facture";
|
||||||
|
|||||||
@ -1026,6 +1026,7 @@ table[summary="list_of_modules"] .fa-cog {
|
|||||||
.clearboth { clear:both; }
|
.clearboth { clear:both; }
|
||||||
.hideobject { display: none; }
|
.hideobject { display: none; }
|
||||||
.minwidth50 { min-width: 50px; }
|
.minwidth50 { min-width: 50px; }
|
||||||
|
.minwidth75 { min-width: 75px; }
|
||||||
/* rule for not too small screen only */
|
/* rule for not too small screen only */
|
||||||
@media only screen and (min-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px)
|
@media only screen and (min-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-variant: normal;
|
font-variant: normal;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
line-height: 26px;
|
line-height: 23px;
|
||||||
font-size: <?php echo $topMenuFontSize; ?>;
|
font-size: <?php echo $topMenuFontSize; ?>;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
|
|||||||
@ -1119,6 +1119,7 @@ table[summary="list_of_modules"] .fa-cog {
|
|||||||
.clearboth { clear:both; }
|
.clearboth { clear:both; }
|
||||||
.hideobject { display: none; }
|
.hideobject { display: none; }
|
||||||
.minwidth50 { min-width: 50px; }
|
.minwidth50 { min-width: 50px; }
|
||||||
|
.minwidth75 { min-width: 75px; }
|
||||||
/* rule for not too small screen only */
|
/* rule for not too small screen only */
|
||||||
@media only screen and (min-width: <?php echo round($nbtopmenuentries * $fontsize * 3.4, 0) + 7; ?>px)
|
@media only screen and (min-width: <?php echo round($nbtopmenuentries * $fontsize * 3.4, 0) + 7; ?>px)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user