Debug v14
This commit is contained in:
parent
61ed899608
commit
555f1c719b
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org>
|
/* Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org>
|
||||||
* Copyright (C) 2006-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2006-2021 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005-2014 Regis Houssin <regis.houssin@inodbox.com>
|
* Copyright (C) 2005-2014 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
* Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>
|
* Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>
|
||||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||||
@ -257,6 +257,7 @@ if ($user->rights->categorie->creer) {
|
|||||||
|
|
||||||
// Parent category
|
// Parent category
|
||||||
print '<tr><td>'.$langs->trans("AddIn").'</td><td>';
|
print '<tr><td>'.$langs->trans("AddIn").'</td><td>';
|
||||||
|
print img_picto($langs->trans("ParentCategory"), 'category', 'class="pictofixedwidth"');
|
||||||
print $form->select_all_categories($type, $catorigin, 'parent');
|
print $form->select_all_categories($type, $catorigin, 'parent');
|
||||||
print ajax_combobox('parent');
|
print ajax_combobox('parent');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
@ -69,20 +69,11 @@ class box_graph_nb_tickets_type extends ModeleBoxes
|
|||||||
global $theme_datacolor, $badgeStatus8;
|
global $theme_datacolor, $badgeStatus8;
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT."/core/lib/functions2.lib.php";
|
require_once DOL_DOCUMENT_ROOT."/core/lib/functions2.lib.php";
|
||||||
|
require_once DOL_DOCUMENT_ROOT."/theme/".$conf->theme."/theme_vars.inc.php";
|
||||||
|
|
||||||
|
|
||||||
$badgeStatus0 = '#cbd3d3'; // draft
|
|
||||||
$badgeStatus1 = '#bc9526'; // validated
|
|
||||||
$badgeStatus1b = '#bc9526'; // validated
|
|
||||||
$badgeStatus2 = '#9c9c26'; // approved
|
|
||||||
$badgeStatus3 = '#bca52b';
|
|
||||||
$badgeStatus4 = '#25a580'; // Color ok
|
|
||||||
$badgeStatus4b = '#25a580'; // Color ok
|
|
||||||
$badgeStatus5 = '#cad2d2';
|
|
||||||
$badgeStatus6 = '#cad2d2';
|
|
||||||
$badgeStatus7 = '#baa32b';
|
|
||||||
$badgeStatus8 = '#993013';
|
$badgeStatus8 = '#993013';
|
||||||
$badgeStatus9 = '#e7f0f0';
|
|
||||||
$text = $langs->trans("BoxTicketType");
|
$text = $langs->trans("BoxTicketType");
|
||||||
$this->info_box_head = array(
|
$this->info_box_head = array(
|
||||||
'text' => $text,
|
'text' => $text,
|
||||||
|
|||||||
@ -3983,7 +3983,7 @@ function img_edit($titlealt = 'default', $float = 0, $other = '')
|
|||||||
* @param string $other Add more attributes on img
|
* @param string $other Add more attributes on img
|
||||||
* @return string Return tag img
|
* @return string Return tag img
|
||||||
*/
|
*/
|
||||||
function img_view($titlealt = 'default', $float = 0, $other = '')
|
function img_view($titlealt = 'default', $float = 0, $other = 'class="valignmiddle"')
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user