Work on 6.0 look and feel
@@ -119,7 +119,7 @@ if ($action == 'update')
|
|||||||
if ($val == '') dolibarr_del_const($db, 'THEME_ELDY_TEXTTITLENOTAB', $conf->entity);
|
if ($val == '') dolibarr_del_const($db, 'THEME_ELDY_TEXTTITLENOTAB', $conf->entity);
|
||||||
else dolibarr_set_const($db, 'THEME_ELDY_TEXTTITLENOTAB', implode(',',colorStringToArray(GETPOST('THEME_ELDY_TEXTTITLENOTAB'),array())),'chaine',0,'',$conf->entity);
|
else dolibarr_set_const($db, 'THEME_ELDY_TEXTTITLENOTAB', implode(',',colorStringToArray(GETPOST('THEME_ELDY_TEXTTITLENOTAB'),array())),'chaine',0,'',$conf->entity);
|
||||||
|
|
||||||
if (GETPOST('THEME_ELDY_USE_HOVER') == '') dolibarr_del_const($db, "THEME_ELDY_USE_HOVER", $conf->entity);
|
if (GETPOST('THEME_ELDY_USE_HOVER') == '') dolibarr_set_const($db, "THEME_ELDY_USE_HOVER", '0', 'chaine', 0, '', $conf->entity); // If empty, we set to '0' ('000000' is for black)
|
||||||
else dolibarr_set_const($db, "THEME_ELDY_USE_HOVER", $_POST["THEME_ELDY_USE_HOVER"], 'chaine', 0, '', $conf->entity);
|
else dolibarr_set_const($db, "THEME_ELDY_USE_HOVER", $_POST["THEME_ELDY_USE_HOVER"], 'chaine', 0, '', $conf->entity);
|
||||||
|
|
||||||
$val=(implode(',',(colorStringToArray(GETPOST('THEME_ELDY_TEXTLINK'),array()))));
|
$val=(implode(',',(colorStringToArray(GETPOST('THEME_ELDY_TEXTLINK'),array()))));
|
||||||
@@ -142,9 +142,6 @@ if ($action == 'update')
|
|||||||
dolibarr_set_const($db, "MAIN_HELP_DISABLELINK", $_POST["MAIN_HELP_DISABLELINK"],'chaine',0,'',0); // Param for all entities
|
dolibarr_set_const($db, "MAIN_HELP_DISABLELINK", $_POST["MAIN_HELP_DISABLELINK"],'chaine',0,'',0); // Param for all entities
|
||||||
dolibarr_set_const($db, "MAIN_BUGTRACK_ENABLELINK", $_POST["MAIN_BUGTRACK_ENABLELINK"],'chaine',0,'',$conf->entity);
|
dolibarr_set_const($db, "MAIN_BUGTRACK_ENABLELINK", $_POST["MAIN_BUGTRACK_ENABLELINK"],'chaine',0,'',$conf->entity);
|
||||||
|
|
||||||
// This one is not always defined
|
|
||||||
if (isset($_POST["MAIN_USE_PREVIEW_TABS"])) dolibarr_set_const($db, "MAIN_USE_PREVIEW_TABS", $_POST["MAIN_USE_PREVIEW_TABS"],'chaine',0,'',$conf->entity);
|
|
||||||
|
|
||||||
$varforimage='imagebackground'; $dirforimage=$conf->mycompany->dir_output.'/logos/';
|
$varforimage='imagebackground'; $dirforimage=$conf->mycompany->dir_output.'/logos/';
|
||||||
if ($_FILES[$varforimage]["tmp_name"])
|
if ($_FILES[$varforimage]["tmp_name"])
|
||||||
{
|
{
|
||||||
@@ -325,16 +322,6 @@ if ($action == 'edit') // Edit
|
|||||||
print '<td width="20"> </td>';
|
print '<td width="20"> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Activate preview tab on element card
|
|
||||||
if (class_exists("Imagick"))
|
|
||||||
{
|
|
||||||
print '<tr><td width="35%">'.$langs->trans("UsePreviewTabs").'</td><td>';
|
|
||||||
print $form->selectyesno('MAIN_USE_PREVIEW_TABS',isset($conf->global->MAIN_USE_PREVIEW_TABS)?$conf->global->MAIN_USE_PREVIEW_TABS:0,1);
|
|
||||||
print '</td>';
|
|
||||||
print '<td width="20"> </td>';
|
|
||||||
print '</tr>';
|
|
||||||
}
|
|
||||||
|
|
||||||
// First day for weeks
|
// First day for weeks
|
||||||
print '<tr><td width="35%">'.$langs->trans("WeekStartOnDay").'</td><td>';
|
print '<tr><td width="35%">'.$langs->trans("WeekStartOnDay").'</td><td>';
|
||||||
print $formother->select_dayofweek((isset($conf->global->MAIN_START_WEEK)?$conf->global->MAIN_START_WEEK:'1'),'MAIN_START_WEEK',0);
|
print $formother->select_dayofweek((isset($conf->global->MAIN_START_WEEK)?$conf->global->MAIN_START_WEEK:'1'),'MAIN_START_WEEK',0);
|
||||||
@@ -532,16 +519,6 @@ else // Show
|
|||||||
print '<td width="20"> </td>';
|
print '<td width="20"> </td>';
|
||||||
print "</tr>";
|
print "</tr>";
|
||||||
|
|
||||||
// Activate preview tab on element card
|
|
||||||
if (class_exists("Imagick"))
|
|
||||||
{
|
|
||||||
|
|
||||||
print '<tr class="oddeven"><td width="35%">'.$langs->trans("UsePreviewTabs").'</td><td>';
|
|
||||||
print yn(isset($conf->global->MAIN_USE_PREVIEW_TABS)?$conf->global->MAIN_USE_PREVIEW_TABS:0)."</td>";
|
|
||||||
print '<td width="20"> </td>';
|
|
||||||
print "</tr>";
|
|
||||||
}
|
|
||||||
|
|
||||||
// First day for weeks
|
// First day for weeks
|
||||||
print '<tr class="oddeven"><td width="35%">'.$langs->trans("WeekStartOnDay").'</td><td>';
|
print '<tr class="oddeven"><td width="35%">'.$langs->trans("WeekStartOnDay").'</td><td>';
|
||||||
print $langs->trans("Day".(isset($conf->global->MAIN_START_WEEK)?$conf->global->MAIN_START_WEEK:'1'));
|
print $langs->trans("Day".(isset($conf->global->MAIN_START_WEEK)?$conf->global->MAIN_START_WEEK:'1'));
|
||||||
|
|||||||
@@ -752,6 +752,8 @@ if ($action == 'create')
|
|||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '<br><br>';
|
print '<br><br>';
|
||||||
|
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
// Related company
|
// Related company
|
||||||
@@ -1184,7 +1186,7 @@ if ($id > 0)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dol_fiche_head($head, 'card', $langs->trans("Action"),0,'action');
|
dol_fiche_head($head, 'card', $langs->trans("Action"), -1, 'action');
|
||||||
|
|
||||||
|
|
||||||
// Clone event
|
// Clone event
|
||||||
@@ -1255,6 +1257,8 @@ if ($id > 0)
|
|||||||
|
|
||||||
dol_banner_tab($object, 'id', $linkback, ($user->societe_id?0:1), 'id', 'ref', $morehtmlref);
|
dol_banner_tab($object, 'id', $linkback, ($user->societe_id?0:1), 'id', 'ref', $morehtmlref);
|
||||||
|
|
||||||
|
print '<div class="fichecenter">';
|
||||||
|
|
||||||
print '<div class="underbanner clearboth"></div>';
|
print '<div class="underbanner clearboth"></div>';
|
||||||
|
|
||||||
// Affichage fiche action en mode visu
|
// Affichage fiche action en mode visu
|
||||||
@@ -1345,6 +1349,7 @@ if ($id > 0)
|
|||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
|
print '<div class="underbanner clearboth"></div>';
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
if ($conf->societe->enabled)
|
if ($conf->societe->enabled)
|
||||||
@@ -1381,21 +1386,6 @@ if ($id > 0)
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Project
|
|
||||||
/*
|
|
||||||
if (! empty($conf->projet->enabled))
|
|
||||||
{
|
|
||||||
print '<tr><td>'.$langs->trans("Project").'</td><td colspan="3">';
|
|
||||||
if ($object->fk_project)
|
|
||||||
{
|
|
||||||
$project=new Project($db);
|
|
||||||
$project->fetch($object->fk_project);
|
|
||||||
print $project->getNomUrl(1,'',1);
|
|
||||||
}
|
|
||||||
print '</td></tr>';
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Priority
|
// Priority
|
||||||
print '<tr><td class="nowrap" class="titlefield">'.$langs->trans("Priority").'</td><td colspan="3">';
|
print '<tr><td class="nowrap" class="titlefield">'.$langs->trans("Priority").'</td><td colspan="3">';
|
||||||
print ($object->priority?$object->priority:'');
|
print ($object->priority?$object->priority:'');
|
||||||
@@ -1423,7 +1413,9 @@ if ($id > 0)
|
|||||||
//Extra field
|
//Extra field
|
||||||
if (empty($reshook) && ! empty($extrafields->attribute_label))
|
if (empty($reshook) && ! empty($extrafields->attribute_label))
|
||||||
{
|
{
|
||||||
print '<br><br><table class="border" width="100%">';
|
print '<br><br>';
|
||||||
|
print '<div class="underbanner clearboth"></div>';
|
||||||
|
print '<table class="border" width="100%">';
|
||||||
foreach($extrafields->attribute_label as $key=>$label)
|
foreach($extrafields->attribute_label as $key=>$label)
|
||||||
{
|
{
|
||||||
if (isset($_POST["options_" . $key])) {
|
if (isset($_POST["options_" . $key])) {
|
||||||
@@ -1443,6 +1435,8 @@ if ($id > 0)
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ if ($object->id > 0)
|
|||||||
$now=dol_now();
|
$now=dol_now();
|
||||||
$delay_warning=$conf->global->MAIN_DELAY_ACTIONS_TODO*24*60*60;
|
$delay_warning=$conf->global->MAIN_DELAY_ACTIONS_TODO*24*60*60;
|
||||||
|
|
||||||
dol_fiche_head($head, 'documents', $langs->trans("Action"),0,'action');
|
dol_fiche_head($head, 'documents', $langs->trans("Action"), -1, 'action');
|
||||||
|
|
||||||
$linkback = img_picto($langs->trans("BackToList"),'object_list','class="hideonsmartphone pictoactionview"');
|
$linkback = img_picto($langs->trans("BackToList"),'object_list','class="hideonsmartphone pictoactionview"');
|
||||||
$linkback.= '<a href="'.DOL_URL_ROOT.'/comm/action/index.php">'.$langs->trans("BackToList").'</a>';
|
$linkback.= '<a href="'.DOL_URL_ROOT.'/comm/action/index.php">'.$langs->trans("BackToList").'</a>';
|
||||||
@@ -164,6 +164,8 @@ if ($object->id > 0)
|
|||||||
|
|
||||||
dol_banner_tab($object, 'id', $linkback, ($user->societe_id?0:1), 'id', 'ref', $morehtmlref);
|
dol_banner_tab($object, 'id', $linkback, ($user->societe_id?0:1), 'id', 'ref', $morehtmlref);
|
||||||
|
|
||||||
|
print '<div class="fichecenter">';
|
||||||
|
|
||||||
print '<div class="underbanner clearboth"></div>';
|
print '<div class="underbanner clearboth"></div>';
|
||||||
|
|
||||||
// Affichage fiche action en mode visu
|
// Affichage fiche action en mode visu
|
||||||
@@ -236,9 +238,6 @@ if ($object->id > 0)
|
|||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
|
|
||||||
print '<br>';
|
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
// Construit liste des fichiers
|
// Construit liste des fichiers
|
||||||
@@ -255,6 +254,8 @@ if ($object->id > 0)
|
|||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1332,7 +1332,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
|||||||
if ($user->rights->agenda->allactions->create ||
|
if ($user->rights->agenda->allactions->create ||
|
||||||
(($event->authorid == $user->id || $event->userownerid == $user->id) && $user->rights->agenda->myactions->create))
|
(($event->authorid == $user->id || $event->userownerid == $user->id) && $user->rights->agenda->myactions->create))
|
||||||
{
|
{
|
||||||
$cssclass.= " movable";
|
$cssclass.= " movable cursormove";
|
||||||
}else{
|
}else{
|
||||||
$cssclass.= " unmovable";
|
$cssclass.= " unmovable";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ $object->fetch($id);
|
|||||||
$object->info($object->id);
|
$object->info($object->id);
|
||||||
|
|
||||||
$head=actions_prepare_head($object);
|
$head=actions_prepare_head($object);
|
||||||
dol_fiche_head($head, 'info', $langs->trans("Action"),0,'action');
|
dol_fiche_head($head, 'info', $langs->trans("Action"), -1, 'action');
|
||||||
|
|
||||||
$linkback = img_picto($langs->trans("BackToList"),'object_list','class="hideonsmartphone pictoactionview"');
|
$linkback = img_picto($langs->trans("BackToList"),'object_list','class="hideonsmartphone pictoactionview"');
|
||||||
$linkback.= '<a href="'.DOL_URL_ROOT.'/comm/action/index.php">'.$langs->trans("BackToList").'</a>';
|
$linkback.= '<a href="'.DOL_URL_ROOT.'/comm/action/index.php">'.$langs->trans("BackToList").'</a>';
|
||||||
|
|||||||
@@ -1516,7 +1516,7 @@ if ($action == 'create')
|
|||||||
|
|
||||||
// Public note
|
// Public note
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td class="border" valign="top">' . $langs->trans('NotePublic') . '</td>';
|
print '<td class="tdtop">' . $langs->trans('NotePublic') . '</td>';
|
||||||
print '<td valign="top" colspan="2">';
|
print '<td valign="top" colspan="2">';
|
||||||
$note_public = $object->getDefaultCreateValueFor('note_public', (is_object($objectsrc)?$objectsrc->note_public:null));
|
$note_public = $object->getDefaultCreateValueFor('note_public', (is_object($objectsrc)?$objectsrc->note_public:null));
|
||||||
$doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%');
|
$doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%');
|
||||||
@@ -1526,7 +1526,7 @@ if ($action == 'create')
|
|||||||
if (empty($user->societe_id))
|
if (empty($user->societe_id))
|
||||||
{
|
{
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td class="border" valign="top">' . $langs->trans('NotePrivate') . '</td>';
|
print '<td class="tdtop">' . $langs->trans('NotePrivate') . '</td>';
|
||||||
print '<td valign="top" colspan="2">';
|
print '<td valign="top" colspan="2">';
|
||||||
$note_private = $object->getDefaultCreateValueFor('note_private', ((! empty($origin) && ! empty($originid) && is_object($objectsrc))?$objectsrc->note_private:null));
|
$note_private = $object->getDefaultCreateValueFor('note_private', ((! empty($origin) && ! empty($originid) && is_object($objectsrc))?$objectsrc->note_private:null));
|
||||||
$doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%');
|
$doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%');
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
|
|||||||
$stringtoshow.='<input type="checkbox" name="'.$param_showtot.'"'.($showtot?' checked':'').'> '.$langs->trans("AmountOfBillsByMonthHT");
|
$stringtoshow.='<input type="checkbox" name="'.$param_showtot.'"'.($showtot?' checked':'').'> '.$langs->trans("AmountOfBillsByMonthHT");
|
||||||
$stringtoshow.='<br>';
|
$stringtoshow.='<br>';
|
||||||
$stringtoshow.=$langs->trans("Year").' <input class="flat" size="4" type="text" name="'.$param_year.'" value="'.$endyear.'">';
|
$stringtoshow.=$langs->trans("Year").' <input class="flat" size="4" type="text" name="'.$param_year.'" value="'.$endyear.'">';
|
||||||
$stringtoshow.='<input type="image" alt="'.$langs->trans("Refresh").'" src="'.img_picto($langs->trans("Refresh"),'refresh.png','','',1).'">';
|
$stringtoshow.='<input type="image" class="inline-block valigntextbottom" alt="'.$langs->trans("Refresh").'" src="'.img_picto($langs->trans("Refresh"),'refresh.png','','',1).'">';
|
||||||
$stringtoshow.='</form>';
|
$stringtoshow.='</form>';
|
||||||
$stringtoshow.='</div>';
|
$stringtoshow.='</div>';
|
||||||
if ($shownb && $showtot)
|
if ($shownb && $showtot)
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ class box_lastlogin extends ModeleBoxes
|
|||||||
);
|
);
|
||||||
$this->info_box_contents[$line][1] = array(
|
$this->info_box_contents[$line][1] = array(
|
||||||
'td' => '',
|
'td' => '',
|
||||||
'text' => $user->getNomUrl(1),
|
'text' => $user->getNomUrl(-1),
|
||||||
'asis' => 1
|
'asis' => 1
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -247,25 +247,26 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty"
|
|||||||
$s=dol_trunc($head['text'],isset($head['limit'])?$head['limit']:$MAXLENGTHBOX);
|
$s=dol_trunc($head['text'],isset($head['limit'])?$head['limit']:$MAXLENGTHBOX);
|
||||||
$out.= $s;
|
$out.= $s;
|
||||||
}
|
}
|
||||||
$out.= ' ';
|
$out.= '</td>';
|
||||||
|
|
||||||
|
if (! empty($conf->use_javascript_ajax))
|
||||||
|
{
|
||||||
$sublink='';
|
$sublink='';
|
||||||
if (! empty($head['sublink'])) $sublink.= '<a href="'.$head['sublink'].'"'.(empty($head['target'])?' target="_blank"':'').'>';
|
if (! empty($head['sublink'])) $sublink.= '<a href="'.$head['sublink'].'"'.(empty($head['target'])?' target="_blank"':'').'>';
|
||||||
if (! empty($head['subpicto'])) $sublink.= img_picto($head['subtext'], $head['subpicto'], 'class="'.(empty($head['subclass'])?'':$head['subclass']).'" id="idsubimg'.$this->boxcode.'"');
|
if (! empty($head['subpicto'])) $sublink.= img_picto($head['subtext'], $head['subpicto'], 'class="'.(empty($head['subclass'])?'':$head['subclass']).'" id="idsubimg'.$this->boxcode.'"');
|
||||||
if (! empty($head['sublink'])) $sublink.= '</a>';
|
if (! empty($head['sublink'])) $sublink.= '</a>';
|
||||||
if (! empty($conf->use_javascript_ajax))
|
|
||||||
{
|
$out.= '<td class="nocellnopadd boxclose right nowraponall">';
|
||||||
$out.= '</td><td class="nocellnopadd boxclose nowrap">';
|
|
||||||
$out.=$sublink;
|
$out.=$sublink;
|
||||||
// The image must have the class 'boxhandle' beause it's value used in DOM draggable objects to define the area used to catch the full object
|
// The image must have the class 'boxhandle' beause it's value used in DOM draggable objects to define the area used to catch the full object
|
||||||
$out.= img_picto($langs->trans("MoveBox",$this->box_id),'grip_title','class="boxhandle hideonsmartphone" style="cursor:move;"');
|
$out.= img_picto($langs->trans("MoveBox",$this->box_id),'grip_title','class="boxhandle hideonsmartphone cursormove"');
|
||||||
$out.= img_picto($langs->trans("CloseBox",$this->box_id),'close_title','class="boxclose" rel="x:y" style="cursor:pointer;" id="imgclose'.$this->box_id.'"');
|
$out.= img_picto($langs->trans("CloseBox",$this->box_id),'close_title','class="boxclose cursorpointer" rel="x:y" id="imgclose'.$this->box_id.'"');
|
||||||
$label=$head['text'];
|
$label=$head['text'];
|
||||||
if (! empty($head['graph'])) $label.=' ('.$langs->trans("Graph").')';
|
if (! empty($head['graph'])) $label.=' ('.$langs->trans("Graph").')';
|
||||||
$out.= '<input type="hidden" id="boxlabelentry'.$this->box_id.'" value="'.dol_escape_htmltag($label).'">';
|
$out.= '<input type="hidden" id="boxlabelentry'.$this->box_id.'" value="'.dol_escape_htmltag($label).'">';
|
||||||
$out.= '</td></tr></table>';
|
$out.= '</td></tr></table>';
|
||||||
}
|
}
|
||||||
$out.= '</td>';
|
|
||||||
$out.= "</tr>\n";
|
$out.= "</tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -219,10 +219,10 @@ class Form
|
|||||||
if (empty($notabletag)) $ret.='</td>';
|
if (empty($notabletag)) $ret.='</td>';
|
||||||
|
|
||||||
if (empty($notabletag)) $ret.='<td align="left">';
|
if (empty($notabletag)) $ret.='<td align="left">';
|
||||||
else $ret.='<div class="clearboth"></div>';
|
//else $ret.='<div class="clearboth"></div>';
|
||||||
$ret.='<input type="submit" class="button'.(empty($notabletag)?'':' marginrightonly').'" name="modify" value="'.$langs->trans("Modify").'">';
|
$ret.='<input type="submit" class="button'.(empty($notabletag)?'':' ').'" name="modify" value="'.$langs->trans("Modify").'">';
|
||||||
if (preg_match('/ckeditor|textarea/',$typeofdata) && empty($notabletag)) $ret.='<br>'."\n";
|
if (preg_match('/ckeditor|textarea/',$typeofdata) && empty($notabletag)) $ret.='<br>'."\n";
|
||||||
$ret.='<input type="submit" class="button'.(empty($notabletag)?'':' marginrightonly').'" name="cancel" value="'.$langs->trans("Cancel").'">';
|
$ret.='<input type="submit" class="button'.(empty($notabletag)?'':' ').'" name="cancel" value="'.$langs->trans("Cancel").'">';
|
||||||
if (empty($notabletag)) $ret.='</td>';
|
if (empty($notabletag)) $ret.='</td>';
|
||||||
|
|
||||||
if (empty($notabletag)) $ret.='</tr></table>'."\n";
|
if (empty($notabletag)) $ret.='</tr></table>'."\n";
|
||||||
|
|||||||
@@ -1164,7 +1164,7 @@ function dol_banner_tab($object, $paramid, $morehtml='', $shownav=1, $fieldid='r
|
|||||||
if (empty($tmptxt) || $tmptxt == $object->getLibStatut(3) || $conf->browser->layout=='phone') $tmptxt=$object->getLibStatut(5, $object->totalpaye);
|
if (empty($tmptxt) || $tmptxt == $object->getLibStatut(3) || $conf->browser->layout=='phone') $tmptxt=$object->getLibStatut(5, $object->totalpaye);
|
||||||
$morehtmlstatus.=$tmptxt;
|
$morehtmlstatus.=$tmptxt;
|
||||||
}
|
}
|
||||||
elseif ($object->element == 'contrat')
|
elseif ($object->element == 'contrat' || $object->element == 'contract')
|
||||||
{
|
{
|
||||||
if ($object->statut==0) $morehtmlstatus.=$object->getLibStatut(2);
|
if ($object->statut==0) $morehtmlstatus.=$object->getLibStatut(2);
|
||||||
else $morehtmlstatus.=$object->getLibStatut(4);
|
else $morehtmlstatus.=$object->getLibStatut(4);
|
||||||
@@ -2375,14 +2375,14 @@ function dol_trunc($string,$size=40,$trunc='right',$stringencoding='UTF-8',$nodo
|
|||||||
* Example: picto.png if picto.png is stored into htdocs/theme/mytheme/img
|
* Example: picto.png if picto.png is stored into htdocs/theme/mytheme/img
|
||||||
* Example: picto.png@mymodule if picto.png is stored into htdocs/mymodule/img
|
* Example: picto.png@mymodule if picto.png is stored into htdocs/mymodule/img
|
||||||
* Example: /mydir/mysubdir/picto.png if picto.png is stored into htdocs/mydir/mysubdir (pictoisfullpath must be set to 1)
|
* Example: /mydir/mysubdir/picto.png if picto.png is stored into htdocs/mydir/mysubdir (pictoisfullpath must be set to 1)
|
||||||
* @param string $morealt Add more attribute on img tag (For example 'style="float: right"')
|
* @param string $moreatt Add more attribute on img tag (For example 'style="float: right"')
|
||||||
* @param int $pictoisfullpath If 1, image path is a full path
|
* @param int $pictoisfullpath If 1, image path is a full path
|
||||||
* @param int $srconly Return only content of the src attribute of img.
|
* @param int $srconly Return only content of the src attribute of img.
|
||||||
* @param int $notitle 1=Disable tag title. Use it if you add js tooltip, to avoid duplicate tooltip.
|
* @param int $notitle 1=Disable tag title. Use it if you add js tooltip, to avoid duplicate tooltip.
|
||||||
* @return string Return img tag
|
* @return string Return img tag
|
||||||
* @see #img_object, #img_picto_common
|
* @see #img_object, #img_picto_common
|
||||||
*/
|
*/
|
||||||
function img_picto($titlealt, $picto, $morealt = '', $pictoisfullpath = false, $srconly=0, $notitle=0)
|
function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $srconly=0, $notitle=0)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
@@ -2434,7 +2434,8 @@ function img_picto($titlealt, $picto, $morealt = '', $pictoisfullpath = false, $
|
|||||||
if (preg_match('/:[^\s0-9]/',$titlealt)) $tmparray=explode(':',$titlealt); // We explode if we have TextA:TextB. Not if we have TextA: TextB
|
if (preg_match('/:[^\s0-9]/',$titlealt)) $tmparray=explode(':',$titlealt); // We explode if we have TextA:TextB. Not if we have TextA: TextB
|
||||||
$title=$tmparray[0];
|
$title=$tmparray[0];
|
||||||
$alt=empty($tmparray[1])?'':$tmparray[1];
|
$alt=empty($tmparray[1])?'':$tmparray[1];
|
||||||
return '<img src="'.$fullpathpicto.'" alt="'.dol_escape_htmltag($alt).'"'.($notitle?'':' title="'.dol_escape_htmltag($title).'"').($morealt?' '.$morealt:'').'>'; // Alt is used for accessibility, title for popup
|
if ($picto == 'refresh') var_dump($moreatt);
|
||||||
|
return '<img src="'.$fullpathpicto.'" alt="'.dol_escape_htmltag($alt).'"'.($notitle?'':' title="'.dol_escape_htmltag($title).'"').($moreatt?' '.$moreatt:' class="inline-block valigntextbottom"').'>'; // Alt is used for accessibility, title for popup
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2444,16 +2445,16 @@ function img_picto($titlealt, $picto, $morealt = '', $pictoisfullpath = false, $
|
|||||||
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
||||||
* @param string $picto Name of image to show object_picto (example: user, group, action, bill, contract, propal, product, ...)
|
* @param string $picto Name of image to show object_picto (example: user, group, action, bill, contract, propal, product, ...)
|
||||||
* For external modules use imagename@mymodule to search into directory "img" of module.
|
* For external modules use imagename@mymodule to search into directory "img" of module.
|
||||||
* @param string $morealt Add more attribute on img tag (ie: class="datecallink")
|
* @param string $moreatt Add more attribute on img tag (ie: class="datecallink")
|
||||||
* @param int $pictoisfullpath If 1, image path is a full path
|
* @param int $pictoisfullpath If 1, image path is a full path
|
||||||
* @param int $srconly Return only content of the src attribute of img.
|
* @param int $srconly Return only content of the src attribute of img.
|
||||||
* @param int $notitle 1=Disable tag title. Use it if you add js tooltip, to avoid duplicate tooltip.
|
* @param int $notitle 1=Disable tag title. Use it if you add js tooltip, to avoid duplicate tooltip.
|
||||||
* @return string Return img tag
|
* @return string Return img tag
|
||||||
* @see #img_picto, #img_picto_common
|
* @see #img_picto, #img_picto_common
|
||||||
*/
|
*/
|
||||||
function img_object($titlealt, $picto, $morealt = '', $pictoisfullpath = false, $srconly=0, $notitle=0)
|
function img_object($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $srconly=0, $notitle=0)
|
||||||
{
|
{
|
||||||
return img_picto($titlealt, 'object_'.$picto, $morealt, $pictoisfullpath, $srconly, $notitle);
|
return img_picto($titlealt, 'object_'.$picto, $moreatt, $pictoisfullpath, $srconly, $notitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2461,12 +2462,12 @@ function img_object($titlealt, $picto, $morealt = '', $pictoisfullpath = false,
|
|||||||
*
|
*
|
||||||
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
||||||
* @param string $picto Name of image file to show (If no extension provided, we use '.png'). Image must be stored into htdocs/theme/common directory.
|
* @param string $picto Name of image file to show (If no extension provided, we use '.png'). Image must be stored into htdocs/theme/common directory.
|
||||||
* @param string $morealt Add more attribute on img tag
|
* @param string $moreatt Add more attribute on img tag
|
||||||
* @param int $pictoisfullpath If 1, image path is a full path
|
* @param int $pictoisfullpath If 1, image path is a full path
|
||||||
* @return string Return img tag
|
* @return string Return img tag
|
||||||
* @see #img_object, #img_picto
|
* @see #img_object, #img_picto
|
||||||
*/
|
*/
|
||||||
function img_weather($titlealt, $picto, $morealt = '', $pictoisfullpath = 0)
|
function img_weather($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
@@ -2474,7 +2475,7 @@ function img_weather($titlealt, $picto, $morealt = '', $pictoisfullpath = 0)
|
|||||||
|
|
||||||
$path = DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/weather/'.$picto;
|
$path = DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/weather/'.$picto;
|
||||||
|
|
||||||
return img_picto($titlealt, $path, $morealt, 1);
|
return img_picto($titlealt, $path, $moreatt, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2482,12 +2483,12 @@ function img_weather($titlealt, $picto, $morealt = '', $pictoisfullpath = 0)
|
|||||||
*
|
*
|
||||||
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
||||||
* @param string $picto Name of image file to show (If no extension provided, we use '.png'). Image must be stored into htdocs/theme/common directory.
|
* @param string $picto Name of image file to show (If no extension provided, we use '.png'). Image must be stored into htdocs/theme/common directory.
|
||||||
* @param string $morealt Add more attribute on img tag
|
* @param string $moreatt Add more attribute on img tag
|
||||||
* @param int $pictoisfullpath If 1, image path is a full path
|
* @param int $pictoisfullpath If 1, image path is a full path
|
||||||
* @return string Return img tag
|
* @return string Return img tag
|
||||||
* @see #img_object, #img_picto
|
* @see #img_object, #img_picto
|
||||||
*/
|
*/
|
||||||
function img_picto_common($titlealt, $picto, $morealt = '', $pictoisfullpath = 0)
|
function img_picto_common($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
@@ -2506,7 +2507,7 @@ function img_picto_common($titlealt, $picto, $morealt = '', $pictoisfullpath = 0
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return img_picto($titlealt, $path, $morealt, 1);
|
return img_picto($titlealt, $path, $moreatt, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2612,9 +2613,9 @@ function img_view($titlealt = 'default', $float = 0, $other = '')
|
|||||||
|
|
||||||
if ($titlealt == 'default') $titlealt = $langs->trans('View');
|
if ($titlealt == 'default') $titlealt = $langs->trans('View');
|
||||||
|
|
||||||
$morealt = ($float ? 'style="float: right" ' : '').$other;
|
$moreatt = ($float ? 'style="float: right" ' : '').$other;
|
||||||
|
|
||||||
return img_picto($titlealt, 'view.png', $morealt);
|
return img_picto($titlealt, 'view.png', $moreatt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2686,17 +2687,17 @@ function img_info($titlealt = 'default')
|
|||||||
* Show warning logo
|
* Show warning logo
|
||||||
*
|
*
|
||||||
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
||||||
* @param string $morealt Add more attribute on img tag (For example 'style="float: right"'). If 1
|
* @param string $moreatt Add more attribute on img tag (For example 'style="float: right"'). If 1
|
||||||
* @return string Return img tag
|
* @return string Return img tag
|
||||||
*/
|
*/
|
||||||
function img_warning($titlealt = 'default', $morealt = '')
|
function img_warning($titlealt = 'default', $moreatt = '')
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
if ($titlealt == 'default') $titlealt = $langs->trans('Warning');
|
if ($titlealt == 'default') $titlealt = $langs->trans('Warning');
|
||||||
|
|
||||||
//return '<div class="imglatecoin">'.img_picto($titlealt, 'warning_white.png', 'class="pictowarning valignmiddle"'.($morealt ? ($morealt == '1' ? ' style="float: right"' : ' '.$morealt): '')).'</div>';
|
//return '<div class="imglatecoin">'.img_picto($titlealt, 'warning_white.png', 'class="pictowarning valignmiddle"'.($moreatt ? ($moreatt == '1' ? ' style="float: right"' : ' '.$moreatt): '')).'</div>';
|
||||||
return img_picto($titlealt, 'warning.png', 'class="pictowarning valignmiddle"'.($morealt ? ($morealt == '1' ? ' style="float: right"' : ' '.$morealt): ''));
|
return img_picto($titlealt, 'warning.png', 'class="pictowarning valignmiddle"'.($moreatt ? ($moreatt == '1' ? ' style="float: right"' : ' '.$moreatt): ''));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2718,16 +2719,16 @@ function img_error($titlealt = 'default')
|
|||||||
* Show next logo
|
* Show next logo
|
||||||
*
|
*
|
||||||
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
||||||
* @param string $morealt Add more attribute on img tag (For example 'style="float: right"')
|
* @param string $moreatt Add more attribute on img tag (For example 'style="float: right"')
|
||||||
* @return string Return img tag
|
* @return string Return img tag
|
||||||
*/
|
*/
|
||||||
function img_next($titlealt = 'default', $morealt='')
|
function img_next($titlealt = 'default', $moreatt='')
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
if ($titlealt == 'default') $titlealt = $langs->trans('Next');
|
if ($titlealt == 'default') $titlealt = $langs->trans('Next');
|
||||||
|
|
||||||
//return img_picto($titlealt, 'next.png', $morealt);
|
//return img_picto($titlealt, 'next.png', $moreatt);
|
||||||
return '<span class="fa fa-chevron-right paddingright paddingleft" title="'.dol_escape_htmltag($titlealt).'"></span>';
|
return '<span class="fa fa-chevron-right paddingright paddingleft" title="'.dol_escape_htmltag($titlealt).'"></span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2735,16 +2736,16 @@ function img_next($titlealt = 'default', $morealt='')
|
|||||||
* Show previous logo
|
* Show previous logo
|
||||||
*
|
*
|
||||||
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
||||||
* @param string $morealt Add more attribute on img tag (For example 'style="float: right"')
|
* @param string $moreatt Add more attribute on img tag (For example 'style="float: right"')
|
||||||
* @return string Return img tag
|
* @return string Return img tag
|
||||||
*/
|
*/
|
||||||
function img_previous($titlealt = 'default', $morealt='')
|
function img_previous($titlealt = 'default', $moreatt='')
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
if ($titlealt == 'default') $titlealt = $langs->trans('Previous');
|
if ($titlealt == 'default') $titlealt = $langs->trans('Previous');
|
||||||
|
|
||||||
//return img_picto($titlealt, 'previous.png', $morealt);
|
//return img_picto($titlealt, 'previous.png', $moreatt);
|
||||||
return '<span class="fa fa-chevron-left paddingright paddingleft" title="'.dol_escape_htmltag($titlealt).'"></span>';
|
return '<span class="fa fa-chevron-left paddingright paddingleft" title="'.dol_escape_htmltag($titlealt).'"></span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2787,16 +2788,16 @@ function img_up($titlealt = 'default', $selected = 0, $moreclass='')
|
|||||||
*
|
*
|
||||||
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
||||||
* @param int $selected Selected
|
* @param int $selected Selected
|
||||||
* @param string $morealt Add more attribute on img tag (For example 'style="float: right"')
|
* @param string $moreatt Add more attribute on img tag (For example 'style="float: right"')
|
||||||
* @return string Return img tag
|
* @return string Return img tag
|
||||||
*/
|
*/
|
||||||
function img_left($titlealt = 'default', $selected = 0, $morealt='')
|
function img_left($titlealt = 'default', $selected = 0, $moreatt='')
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
if ($titlealt == 'default') $titlealt = $langs->trans('Left');
|
if ($titlealt == 'default') $titlealt = $langs->trans('Left');
|
||||||
|
|
||||||
return img_picto($titlealt, ($selected ? '1leftarrow_selected.png' : '1leftarrow.png'), $morealt);
|
return img_picto($titlealt, ($selected ? '1leftarrow_selected.png' : '1leftarrow.png'), $moreatt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2804,16 +2805,16 @@ function img_left($titlealt = 'default', $selected = 0, $morealt='')
|
|||||||
*
|
*
|
||||||
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
* @param string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
|
||||||
* @param int $selected Selected
|
* @param int $selected Selected
|
||||||
* @param string $morealt Add more attribute on img tag (For example 'style="float: right"')
|
* @param string $moreatt Add more attribute on img tag (For example 'style="float: right"')
|
||||||
* @return string Return img tag
|
* @return string Return img tag
|
||||||
*/
|
*/
|
||||||
function img_right($titlealt = 'default', $selected = 0, $morealt='')
|
function img_right($titlealt = 'default', $selected = 0, $moreatt='')
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
if ($titlealt == 'default') $titlealt = $langs->trans('Right');
|
if ($titlealt == 'default') $titlealt = $langs->trans('Right');
|
||||||
|
|
||||||
return img_picto($titlealt, ($selected ? '1rightarrow_selected.png' : '1rightarrow.png'), $morealt);
|
return img_picto($titlealt, ($selected ? '1rightarrow_selected.png' : '1rightarrow.png'), $moreatt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -334,8 +334,6 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
$thumbsbyrow=6;
|
$thumbsbyrow=6;
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
$var=false;
|
|
||||||
|
|
||||||
// Title
|
// Title
|
||||||
if ($foruserprofile)
|
if ($foruserprofile)
|
||||||
{
|
{
|
||||||
@@ -343,10 +341,10 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print '<th colspan="2"> </th>';
|
print '<th colspan="2"> </th>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr>';
|
||||||
print '<td>'.$langs->trans("DefaultSkin").'</td>';
|
print '<td>'.$langs->trans("DefaultSkin").'</td>';
|
||||||
print '<td>'.$conf->global->MAIN_THEME.'</td>';
|
print '<td>'.$conf->global->MAIN_THEME.'</td>';
|
||||||
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' id="check_MAIN_THEME" name="check_MAIN_THEME"'.($edit?'':' disabled').' type="checkbox" '.($selected_theme?" checked":"").'> '.$langs->trans("UsePersonalValue").'</td>';
|
print '<td align="left" class="nowrap" width="20%"><input id="check_MAIN_THEME" name="check_MAIN_THEME"'.($edit?'':' disabled').' type="checkbox" '.($selected_theme?" checked":"").'> '.$langs->trans("UsePersonalValue").'</td>';
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
@@ -362,7 +360,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print '</a>';
|
print '</a>';
|
||||||
print '</th></tr>';
|
print '</th></tr>';
|
||||||
|
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr>';
|
||||||
print '<td>'.$langs->trans("ThemeDir").'</td>';
|
print '<td>'.$langs->trans("ThemeDir").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
foreach($dirthemes as $dirtheme)
|
foreach($dirthemes as $dirtheme)
|
||||||
@@ -373,8 +371,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
//$var=!$var;
|
print '<tr><td colspan="'.$colspan.'">';
|
||||||
print '<tr '.$bc[$var].'><td colspan="'.$colspan.'">';
|
|
||||||
|
|
||||||
print '<table class="nobordernopadding" width="100%"><tr><td><div align="center">';
|
print '<table class="nobordernopadding" width="100%"><tr><td><div align="center">';
|
||||||
|
|
||||||
@@ -410,11 +407,11 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print '</a><br>';
|
print '</a><br>';
|
||||||
if ($subdir == $selected_theme)
|
if ($subdir == $selected_theme)
|
||||||
{
|
{
|
||||||
print '<input '.($edit?'':'disabled').' type="radio" class="'.($var?'imp':'').'pair themethumbs" style="border: 0px;" checked name="main_theme" value="'.$subdir.'"> <b>'.$subdir.'</b>';
|
print '<input '.($edit?'':'disabled').' type="radio" class="themethumbs" style="border: 0px;" checked name="main_theme" value="'.$subdir.'"> <b>'.$subdir.'</b>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<input '.($edit?'':'disabled').' type="radio" class="'.($var?'imp':'').'pair themethumbs" style="border: 0px;" name="main_theme" value="'.$subdir.'"> '.$subdir;
|
print '<input '.($edit?'':'disabled').' type="radio" class="themethumbs" style="border: 0px;" name="main_theme" value="'.$subdir.'"> '.$subdir;
|
||||||
}
|
}
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
@@ -432,8 +429,8 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
// BackgroundColor
|
// BackgroundColor
|
||||||
if ($foruserprofile)
|
if ($foruserprofile)
|
||||||
{
|
{
|
||||||
/*$var=!$var;
|
/*
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
||||||
print '<td>'.($conf->global->THEME_ELDY_TOPMENU_BACK1?$conf->global->THEME_ELDY_TOPMENU_BACK1:$langs->trans("Default")).'</td>';
|
print '<td>'.($conf->global->THEME_ELDY_TOPMENU_BACK1?$conf->global->THEME_ELDY_TOPMENU_BACK1:$langs->trans("Default")).'</td>';
|
||||||
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_THEME_ELDY_TOPMENU_BACK1" id="check_THEME_ELDY_TOPMENU_BACK1" type="checkbox" '.(! empty($object->conf->THEME_ELDY_TOPMENU_BACK1)?" checked":"");
|
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_THEME_ELDY_TOPMENU_BACK1" id="check_THEME_ELDY_TOPMENU_BACK1" type="checkbox" '.(! empty($object->conf->THEME_ELDY_TOPMENU_BACK1)?" checked":"");
|
||||||
@@ -455,8 +452,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$var=!$var;
|
print '<tr class="oddeven">';
|
||||||
print '<tr '.$bc[$var].'>';
|
|
||||||
print '<td>'.$langs->trans("BackgroundColor").'</td>';
|
print '<td>'.$langs->trans("BackgroundColor").'</td>';
|
||||||
print '<td colspan="'.($colspan-1).'">';
|
print '<td colspan="'.($colspan-1).'">';
|
||||||
//var_dump($conf->global->THEME_ELDY_BACKBODY);
|
//var_dump($conf->global->THEME_ELDY_BACKBODY);
|
||||||
@@ -478,8 +474,8 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
// TopMenuBackgroundColor
|
// TopMenuBackgroundColor
|
||||||
if ($foruserprofile)
|
if ($foruserprofile)
|
||||||
{
|
{
|
||||||
/*$var=!$var;
|
/*
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
||||||
print '<td>'.($conf->global->THEME_ELDY_TOPMENU_BACK1?$conf->global->THEME_ELDY_TOPMENU_BACK1:$langs->trans("Default")).'</td>';
|
print '<td>'.($conf->global->THEME_ELDY_TOPMENU_BACK1?$conf->global->THEME_ELDY_TOPMENU_BACK1:$langs->trans("Default")).'</td>';
|
||||||
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_THEME_ELDY_TOPMENU_BACK1" id="check_THEME_ELDY_TOPMENU_BACK1" type="checkbox" '.(! empty($object->conf->THEME_ELDY_TOPMENU_BACK1)?" checked":"");
|
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_THEME_ELDY_TOPMENU_BACK1" id="check_THEME_ELDY_TOPMENU_BACK1" type="checkbox" '.(! empty($object->conf->THEME_ELDY_TOPMENU_BACK1)?" checked":"");
|
||||||
@@ -501,10 +497,10 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$default='515870';
|
$default='5a6482';
|
||||||
if ($conf->theme == 'md') $default='5A3278';
|
if ($conf->theme == 'md') $default='5a3278';
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
||||||
print '<td colspan="'.($colspan-1).'">';
|
print '<td colspan="'.($colspan-1).'">';
|
||||||
if ($edit)
|
if ($edit)
|
||||||
@@ -525,8 +521,8 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
// TopMenuBackgroundColor
|
// TopMenuBackgroundColor
|
||||||
if ($foruserprofile)
|
if ($foruserprofile)
|
||||||
{
|
{
|
||||||
/*$var=!$var;
|
/*
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
||||||
print '<td>'.($conf->global->THEME_ELDY_TOPMENU_BACK1?$conf->global->THEME_ELDY_TOPMENU_BACK1:$langs->trans("Default")).'</td>';
|
print '<td>'.($conf->global->THEME_ELDY_TOPMENU_BACK1?$conf->global->THEME_ELDY_TOPMENU_BACK1:$langs->trans("Default")).'</td>';
|
||||||
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_THEME_ELDY_TOPMENU_BACK1" id="check_THEME_ELDY_TOPMENU_BACK1" type="checkbox" '.(! empty($object->conf->THEME_ELDY_TOPMENU_BACK1)?" checked":"");
|
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_THEME_ELDY_TOPMENU_BACK1" id="check_THEME_ELDY_TOPMENU_BACK1" type="checkbox" '.(! empty($object->conf->THEME_ELDY_TOPMENU_BACK1)?" checked":"");
|
||||||
@@ -549,8 +545,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$default=$langs->trans('No');
|
$default=$langs->trans('No');
|
||||||
$var=!$var;
|
print '<tr class="oddeven">';
|
||||||
print '<tr '.$bc[$var].'>';
|
|
||||||
print '<td>'.$langs->trans("TopMenuDisableImages").'</td>';
|
print '<td>'.$langs->trans("TopMenuDisableImages").'</td>';
|
||||||
print '<td colspan="'.($colspan-1).'">';
|
print '<td colspan="'.($colspan-1).'">';
|
||||||
if ($edit)
|
if ($edit)
|
||||||
@@ -577,8 +572,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$var=!$var;
|
print '<tr class="oddeven">';
|
||||||
print '<tr '.$bc[$var].'>';
|
|
||||||
print '<td>'.$langs->trans("BackgroundTableTitleColor").'</td>';
|
print '<td>'.$langs->trans("BackgroundTableTitleColor").'</td>';
|
||||||
print '<td colspan="'.($colspan-1).'">';
|
print '<td colspan="'.($colspan-1).'">';
|
||||||
if ($edit)
|
if ($edit)
|
||||||
@@ -604,8 +598,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$var=!$var;
|
print '<tr class="oddeven">';
|
||||||
print '<tr '.$bc[$var].'>';
|
|
||||||
print '<td>'.$langs->trans("TextTitleColor").'</td>';
|
print '<td>'.$langs->trans("TextTitleColor").'</td>';
|
||||||
print '<td colspan="'.($colspan-1).'">';
|
print '<td colspan="'.($colspan-1).'">';
|
||||||
if ($edit)
|
if ($edit)
|
||||||
@@ -627,8 +620,8 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
// Text LinkColor
|
// Text LinkColor
|
||||||
if ($foruserprofile)
|
if ($foruserprofile)
|
||||||
{
|
{
|
||||||
/*$var=!$var;
|
/*
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
print '<td>'.$langs->trans("TopMenuBackgroundColor").'</td>';
|
||||||
print '<td>'.($conf->global->THEME_ELDY_TOPMENU_BACK1?$conf->global->THEME_ELDY_TOPMENU_BACK1:$langs->trans("Default")).'</td>';
|
print '<td>'.($conf->global->THEME_ELDY_TOPMENU_BACK1?$conf->global->THEME_ELDY_TOPMENU_BACK1:$langs->trans("Default")).'</td>';
|
||||||
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_THEME_ELDY_TOPMENU_BACK1" id="check_THEME_ELDY_TOPMENU_BACK1" type="checkbox" '.(! empty($object->conf->THEME_ELDY_TOPMENU_BACK1)?" checked":"");
|
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_THEME_ELDY_TOPMENU_BACK1" id="check_THEME_ELDY_TOPMENU_BACK1" type="checkbox" '.(! empty($object->conf->THEME_ELDY_TOPMENU_BACK1)?" checked":"");
|
||||||
@@ -650,8 +643,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$var=!$var;
|
print '<tr class="oddeven">';
|
||||||
print '<tr '.$bc[$var].'>';
|
|
||||||
print '<td>'.$langs->trans("LinkColor").'</td>';
|
print '<td>'.$langs->trans("LinkColor").'</td>';
|
||||||
print '<td colspan="'.($colspan-1).'">';
|
print '<td colspan="'.($colspan-1).'">';
|
||||||
if ($edit)
|
if ($edit)
|
||||||
@@ -670,11 +662,10 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Use Hover
|
// Use Hover
|
||||||
$var=!$var;
|
|
||||||
if ($foruserprofile)
|
if ($foruserprofile)
|
||||||
{
|
{
|
||||||
/* Must first change option to choose color of highlight instead of yes or no.
|
/* Must first change option to choose color of highlight instead of yes or no.
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$langs->trans("HighlightLinesOnMouseHover").'</td>';
|
print '<td>'.$langs->trans("HighlightLinesOnMouseHover").'</td>';
|
||||||
print '<td><input '.$bc[$var].' name="check_THEME_ELDY_USE_HOVER" disabled="disabled" type="checkbox" '.($conf->global->THEME_ELDY_USE_HOVER?" checked":"").'></td>';
|
print '<td><input '.$bc[$var].' name="check_THEME_ELDY_USE_HOVER" disabled="disabled" type="checkbox" '.($conf->global->THEME_ELDY_USE_HOVER?" checked":"").'></td>';
|
||||||
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_MAIN_THEME"'.($edit?'':' disabled').' type="checkbox" '.($selected_theme?" checked":"").'> '.$langs->trans("UsePersonalValue").'</td>';
|
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_MAIN_THEME"'.($edit?'':' disabled').' type="checkbox" '.($selected_theme?" checked":"").'> '.$langs->trans("UsePersonalValue").'</td>';
|
||||||
@@ -686,7 +677,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<tr '.$bc[$var].'>';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$langs->trans("HighlightLinesColor").'</td>';
|
print '<td>'.$langs->trans("HighlightLinesColor").'</td>';
|
||||||
print '<td colspan="'.($colspan-1).'">';
|
print '<td colspan="'.($colspan-1).'">';
|
||||||
//print '<input '.$bc[$var].' name="check_THEME_ELDY_USE_HOVER"'.($edit?'':' disabled').' type="checkbox" '.($hoverdisabled?"":" checked").'>';
|
//print '<input '.$bc[$var].' name="check_THEME_ELDY_USE_HOVER"'.($edit?'':' disabled').' type="checkbox" '.($hoverdisabled?"":" checked").'>';
|
||||||
|
|||||||
@@ -1268,7 +1268,7 @@ if ($step == 5 && $datatoimport)
|
|||||||
print $nboflines;
|
print $nboflines;
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Do not import first lines
|
// Lines nb to import
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
print $langs->trans("ImportFromToLine");
|
print $langs->trans("ImportFromToLine");
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
@@ -1307,7 +1307,14 @@ if ($step == 5 && $datatoimport)
|
|||||||
}
|
}
|
||||||
print ' <a href="'.$_SERVER["PHP_SELF"].'?step=5'.$param.'">'.$langs->trans("Modify").'</a>';
|
print ' <a href="'.$_SERVER["PHP_SELF"].'?step=5'.$param.'">'.$langs->trans("Modify").'</a>';
|
||||||
} else {
|
} else {
|
||||||
|
if (count($objimport->array_import_updatekeys[0]))
|
||||||
|
{
|
||||||
print $form->multiselectarray('updatekeys', $objimport->array_import_updatekeys[0], $updatekeys, 0, 0, '', 1, '80%');
|
print $form->multiselectarray('updatekeys', $objimport->array_import_updatekeys[0], $updatekeys, 0, 0, '', 1, '80%');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print '<span class="opacitymedium">'.$langs->trans("UpdateNotYetSupportedForThisImport").'</span>';
|
||||||
|
}
|
||||||
print $form->textwithpicto("", $langs->trans("SelectPrimaryColumnsForUpdateAttempt"));
|
print $form->textwithpicto("", $langs->trans("SelectPrimaryColumnsForUpdateAttempt"));
|
||||||
}
|
}
|
||||||
/*echo '<pre>';
|
/*echo '<pre>';
|
||||||
|
|||||||
BIN
htdocs/install/doctemplates/mycompany/background_dolibarr.jpg
Normal file
|
After Width: | Height: | Size: 329 KiB |
@@ -117,6 +117,7 @@ ImportFromToLine=Import line numbers (from - to)
|
|||||||
SetThisValueTo2ToExcludeFirstLine=For example, set this value to 3 to exclude the 2 first lines
|
SetThisValueTo2ToExcludeFirstLine=For example, set this value to 3 to exclude the 2 first lines
|
||||||
KeepEmptyToGoToEndOfFile=Keep this field empty to go up to the end of file
|
KeepEmptyToGoToEndOfFile=Keep this field empty to go up to the end of file
|
||||||
SelectPrimaryColumnsForUpdateAttempt=Select column(s) to use as primary key for update attempt
|
SelectPrimaryColumnsForUpdateAttempt=Select column(s) to use as primary key for update attempt
|
||||||
|
UpdateNotYetSupportedForThisImport=Update is not supported for this type of import (only insert)
|
||||||
## filters
|
## filters
|
||||||
SelectFilterFields=If you want to filter on some values, just input values here.
|
SelectFilterFields=If you want to filter on some values, just input values here.
|
||||||
FilteredFields=Filtered fields
|
FilteredFields=Filtered fields
|
||||||
|
|||||||
@@ -241,6 +241,8 @@ else
|
|||||||
|
|
||||||
dol_banner_tab($act, 'element_id', $linkback, ($user->societe_id?0:1), 'id', 'ref', $morehtmlref, '&element='.$element, 0, '', '');
|
dol_banner_tab($act, 'element_id', $linkback, ($user->societe_id?0:1), 'id', 'ref', $morehtmlref, '&element='.$element, 0, '', '');
|
||||||
|
|
||||||
|
print '<div class="fichecenter">';
|
||||||
|
|
||||||
print '<div class="underbanner clearboth"></div>';
|
print '<div class="underbanner clearboth"></div>';
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
@@ -312,6 +314,8 @@ else
|
|||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1670,7 +1670,7 @@ else
|
|||||||
|
|
||||||
// Zip / Town
|
// Zip / Town
|
||||||
print '<tr><td>'.fieldLabel('Zip','zipcode').'</td><td>';
|
print '<tr><td>'.fieldLabel('Zip','zipcode').'</td><td>';
|
||||||
print $formcompany->select_ziptown($object->zip, 'zipcode', array('town', 'selectcountry_id', 'state_id'), 6);
|
print $formcompany->select_ziptown($object->zip, 'zipcode', array('town', 'selectcountry_id', 'state_id'), 0, 0, '', 'maxwidth50onsmartphone');
|
||||||
print '</td><td>'.fieldLabel('Town','town').'</td><td>';
|
print '</td><td>'.fieldLabel('Town','town').'</td><td>';
|
||||||
print $formcompany->select_ziptown($object->town, 'town', array('zipcode', 'selectcountry_id', 'state_id'));
|
print $formcompany->select_ziptown($object->town, 'town', array('zipcode', 'selectcountry_id', 'state_id'));
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
@@ -2346,7 +2346,7 @@ else
|
|||||||
if (! empty($conf->adherent->enabled))
|
if (! empty($conf->adherent->enabled))
|
||||||
{
|
{
|
||||||
$langs->load("members");
|
$langs->load("members");
|
||||||
print '<tr><td class="tdtop">'.$langs->trans("LinkedToDolibarrMember").'</td>';
|
print '<tr><td>'.$langs->trans("LinkedToDolibarrMember").'</td>';
|
||||||
print '<td colspan="3">';
|
print '<td colspan="3">';
|
||||||
$adh=new Adherent($db);
|
$adh=new Adherent($db);
|
||||||
$result=$adh->fetch('','',$object->id);
|
$result=$adh->fetch('','',$object->id);
|
||||||
@@ -2357,7 +2357,7 @@ else
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $langs->trans("ThirdpartyNotLinkedToMember");
|
print '<span class="opacitymedium">'.$langs->trans("ThirdpartyNotLinkedToMember").'</span>';
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|||||||
@@ -1854,7 +1854,14 @@ class Societe extends CommonObject
|
|||||||
$result=''; $label='';
|
$result=''; $label='';
|
||||||
$linkstart=''; $linkend='';
|
$linkstart=''; $linkend='';
|
||||||
|
|
||||||
$label.= '<div width="100%">';
|
if (! empty($this->logo) && class_exists('Form'))
|
||||||
|
{
|
||||||
|
$label.= '<div class="photointooltip">';
|
||||||
|
$label.= Form::showphoto('societe', $this, 80, 0, 0, 'photowithmargin', 'mini');
|
||||||
|
$label.= '</div><div style="clear: both;"></div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
$label.= '<div class="centpercent">';
|
||||||
|
|
||||||
if ($option == 'customer' || $option == 'compta' || $option == 'category' || $option == 'category_supplier')
|
if ($option == 'customer' || $option == 'compta' || $option == 'category' || $option == 'category_supplier')
|
||||||
{
|
{
|
||||||
@@ -1908,12 +1915,6 @@ class Societe extends CommonObject
|
|||||||
if (! empty($conf->accounting->enabled) && $this->fournisseur)
|
if (! empty($conf->accounting->enabled) && $this->fournisseur)
|
||||||
$label.= '<br><b>' . $langs->trans('SupplierAccountancyCode') . ':</b> '. $this->code_compta_fournisseur;
|
$label.= '<br><b>' . $langs->trans('SupplierAccountancyCode') . ':</b> '. $this->code_compta_fournisseur;
|
||||||
|
|
||||||
if (! empty($this->logo) && class_exists('Form'))
|
|
||||||
{
|
|
||||||
$label.= '</br><div class="photointooltip">';
|
|
||||||
$label.= Form::showphoto('societe', $this, 80, 0, 0, 'photowithmargin', 'mini');
|
|
||||||
$label.= '</div><div style="clear: both;"></div>';
|
|
||||||
}
|
|
||||||
$label.= '</div>';
|
$label.= '</div>';
|
||||||
|
|
||||||
// Add type of canvas
|
// Add type of canvas
|
||||||
|
|||||||
@@ -37,5 +37,5 @@
|
|||||||
if ($i < $nbofsalesrepresentative) print ', ';
|
if ($i < $nbofsalesrepresentative) print ', ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else print $langs->trans("NoSalesRepresentativeAffected");
|
else print '<span class="opacitymedium">'.$langs->trans("NoSalesRepresentativeAffected").'</span>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 205 B |
|
Before Width: | Height: | Size: 704 B |
@@ -73,13 +73,12 @@ $dol_hide_leftmenu=$conf->dol_hide_leftmenu;
|
|||||||
$dol_optimize_smallscreen=$conf->dol_optimize_smallscreen;
|
$dol_optimize_smallscreen=$conf->dol_optimize_smallscreen;
|
||||||
$dol_no_mouse_hover=$conf->dol_no_mouse_hover;
|
$dol_no_mouse_hover=$conf->dol_no_mouse_hover;
|
||||||
|
|
||||||
|
|
||||||
//$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
|
//$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
|
||||||
//$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
|
//$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
|
||||||
//var_dump($user->conf->THEME_ELDY_RGB);
|
//var_dump($user->conf->THEME_ELDY_RGB);
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
$colorbackhmenu1='110,120,160'; // topmenu
|
$colorbackhmenu1='90,100,130'; // topmenu
|
||||||
$colorbackvmenu1='255,255,255'; // vmenu
|
$colorbackvmenu1='255,255,255'; // vmenu
|
||||||
$colortopbordertitle1='120,120,120'; // top border of title
|
$colortopbordertitle1='120,120,120'; // top border of title
|
||||||
$colorbacktitle1='240,240,240'; // title of tables,list
|
$colorbacktitle1='240,240,240'; // title of tables,list
|
||||||
@@ -97,7 +96,6 @@ $colortext='0,0,0';
|
|||||||
$colortextlink='0,0,120';
|
$colortextlink='0,0,120';
|
||||||
$fontsize='13';
|
$fontsize='13';
|
||||||
$fontsizesmaller='12';
|
$fontsizesmaller='12';
|
||||||
$usegradienttop=(isset($conf->global->THEME_ELDY_TOPMENU_BACK1)?0:1);
|
|
||||||
$useboldtitle=(isset($conf->global->THEME_ELDY_USEBOLDTITLE)?$conf->global->THEME_ELDY_USEBOLDTITLE:1);
|
$useboldtitle=(isset($conf->global->THEME_ELDY_USEBOLDTITLE)?$conf->global->THEME_ELDY_USEBOLDTITLE:1);
|
||||||
$borderwith=2;
|
$borderwith=2;
|
||||||
|
|
||||||
@@ -137,7 +135,6 @@ $colorbacklineimpair1=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty(
|
|||||||
$colorbacklineimpair2=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEIMPAIR2) ?$colorbacklineimpair2:$conf->global->THEME_ELDY_LINEIMPAIR2):(empty($user->conf->THEME_ELDY_LINEIMPAIR2)?$colorbacklineimpair2:$user->conf->THEME_ELDY_LINEIMPAIR2);
|
$colorbacklineimpair2=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEIMPAIR2) ?$colorbacklineimpair2:$conf->global->THEME_ELDY_LINEIMPAIR2):(empty($user->conf->THEME_ELDY_LINEIMPAIR2)?$colorbacklineimpair2:$user->conf->THEME_ELDY_LINEIMPAIR2);
|
||||||
$colorbacklinepair1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIR1) ?$colorbacklinepair1:$conf->global->THEME_ELDY_LINEPAIR1) :(empty($user->conf->THEME_ELDY_LINEPAIR1)?$colorbacklinepair1:$user->conf->THEME_ELDY_LINEPAIR1);
|
$colorbacklinepair1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIR1) ?$colorbacklinepair1:$conf->global->THEME_ELDY_LINEPAIR1) :(empty($user->conf->THEME_ELDY_LINEPAIR1)?$colorbacklinepair1:$user->conf->THEME_ELDY_LINEPAIR1);
|
||||||
$colorbacklinepair2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIR2) ?$colorbacklinepair2:$conf->global->THEME_ELDY_LINEPAIR2) :(empty($user->conf->THEME_ELDY_LINEPAIR2)?$colorbacklinepair2:$user->conf->THEME_ELDY_LINEPAIR2);
|
$colorbacklinepair2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIR2) ?$colorbacklinepair2:$conf->global->THEME_ELDY_LINEPAIR2) :(empty($user->conf->THEME_ELDY_LINEPAIR2)?$colorbacklinepair2:$user->conf->THEME_ELDY_LINEPAIR2);
|
||||||
$colorbacklinepairhover=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIRHOVER) ?$colorbacklinepairhover:$conf->global->THEME_ELDY_LINEPAIRHOVER) :(empty($user->conf->THEME_ELDY_LINEPAIRHOVER)?$colorbacklinepairhover:$user->conf->THEME_ELDY_LINEPAIRHOVER);
|
|
||||||
$colorbackbody =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKBODY) ?$colorbackbody:$conf->global->THEME_ELDY_BACKBODY) :(empty($user->conf->THEME_ELDY_BACKBODY)?$colorbackbody:$user->conf->THEME_ELDY_BACKBODY);
|
$colorbackbody =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKBODY) ?$colorbackbody:$conf->global->THEME_ELDY_BACKBODY) :(empty($user->conf->THEME_ELDY_BACKBODY)?$colorbackbody:$user->conf->THEME_ELDY_BACKBODY);
|
||||||
$colortexttitlenotab =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTTITLENOTAB)?$colortexttitlenotab:$conf->global->THEME_ELDY_TEXTTITLENOTAB) :(empty($user->conf->THEME_ELDY_TEXTTITLENOTAB)?$colortexttitlenotab:$user->conf->THEME_ELDY_TEXTTITLENOTAB);
|
$colortexttitlenotab =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTTITLENOTAB)?$colortexttitlenotab:$conf->global->THEME_ELDY_TEXTTITLENOTAB) :(empty($user->conf->THEME_ELDY_TEXTTITLENOTAB)?$colortexttitlenotab:$user->conf->THEME_ELDY_TEXTTITLENOTAB);
|
||||||
$colortexttitle =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTTITLE) ?$colortexttitle:$conf->global->THEME_ELDY_TEXTTITLE) :(empty($user->conf->THEME_ELDY_TEXTTITLE)?$colortexttitle:$user->conf->THEME_ELDY_TEXTTITLE);
|
$colortexttitle =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTTITLE) ?$colortexttitle:$conf->global->THEME_ELDY_TEXTTITLE) :(empty($user->conf->THEME_ELDY_TEXTTITLE)?$colortexttitle:$user->conf->THEME_ELDY_TEXTTITLE);
|
||||||
@@ -145,6 +142,7 @@ $colortext =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty(
|
|||||||
$colortextlink =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTLINK) ?$colortextlink:$conf->global->THEME_ELDY_TEXTLINK) :(empty($user->conf->THEME_ELDY_TEXTLINK)?$colortextlink:$user->conf->THEME_ELDY_TEXTLINK);
|
$colortextlink =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTLINK) ?$colortextlink:$conf->global->THEME_ELDY_TEXTLINK) :(empty($user->conf->THEME_ELDY_TEXTLINK)?$colortextlink:$user->conf->THEME_ELDY_TEXTLINK);
|
||||||
$fontsize =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE1) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE1) :(empty($user->conf->THEME_ELDY_FONT_SIZE1)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE1);
|
$fontsize =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE1) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE1) :(empty($user->conf->THEME_ELDY_FONT_SIZE1)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE1);
|
||||||
$fontsizesmaller =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE2) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE2) :(empty($user->conf->THEME_ELDY_FONT_SIZE2)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE2);
|
$fontsizesmaller =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE2) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE2) :(empty($user->conf->THEME_ELDY_FONT_SIZE2)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE2);
|
||||||
|
|
||||||
// Hover color
|
// Hover color
|
||||||
$colorbacklinepairhover=((! isset($conf->global->THEME_ELDY_USE_HOVER) || (string) $conf->global->THEME_ELDY_USE_HOVER === '0')?'':($conf->global->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$conf->global->THEME_ELDY_USE_HOVER));
|
$colorbacklinepairhover=((! isset($conf->global->THEME_ELDY_USE_HOVER) || (string) $conf->global->THEME_ELDY_USE_HOVER === '0')?'':($conf->global->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$conf->global->THEME_ELDY_USE_HOVER));
|
||||||
if (! empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED))
|
if (! empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED))
|
||||||
@@ -271,6 +269,9 @@ input.select2-input {
|
|||||||
.liste_titre input[name=monthvalid], .liste_titre input[name=smonth], .liste_titre input[name=month], .liste_titre input[name=month_lim] {
|
.liste_titre input[name=monthvalid], .liste_titre input[name=smonth], .liste_titre input[name=month], .liste_titre input[name=month_lim] {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
input[type=submit] {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
input, input.flat, form.flat select, select, select.flat, .dataTables_length label select {
|
input, input.flat, form.flat select, select, select.flat, .dataTables_length label select {
|
||||||
<?php if (empty($conf->global->THEME_ELDY_SHOW_BORDER_INPUT))
|
<?php if (empty($conf->global->THEME_ELDY_SHOW_BORDER_INPUT))
|
||||||
print "border: none;"
|
print "border: none;"
|
||||||
@@ -519,6 +520,9 @@ textarea.centpercent {
|
|||||||
.nowrap {
|
.nowrap {
|
||||||
white-space: <?php print ($dol_optimize_smallscreen?'normal':'nowrap'); ?>;
|
white-space: <?php print ($dol_optimize_smallscreen?'normal':'nowrap'); ?>;
|
||||||
}
|
}
|
||||||
|
.nowraponall {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
.nobold {
|
.nobold {
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
}
|
}
|
||||||
@@ -534,6 +538,9 @@ textarea.centpercent {
|
|||||||
.cursorpointer {
|
.cursorpointer {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.cursormove {
|
||||||
|
cursor: move;
|
||||||
|
}
|
||||||
.badge {
|
.badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 10px;
|
min-width: 10px;
|
||||||
@@ -548,9 +555,6 @@ textarea.centpercent {
|
|||||||
background-color: #777;
|
background-color: #777;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
.movable {
|
|
||||||
cursor: move;
|
|
||||||
}
|
|
||||||
.borderrightlight
|
.borderrightlight
|
||||||
{
|
{
|
||||||
border-right: 1px solid #DDD;
|
border-right: 1px solid #DDD;
|
||||||
@@ -876,7 +880,7 @@ td.showDragHandle {
|
|||||||
}
|
}
|
||||||
#id-right, #id-left {
|
#id-right, #id-left {
|
||||||
padding-top: 16px;
|
padding-top: 16px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 16px;
|
||||||
|
|
||||||
display: table-cell; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
|
display: table-cell; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
|
||||||
float: none;
|
float: none;
|
||||||
@@ -1100,6 +1104,9 @@ div.statusref {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
div.statusref img {
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
img.photoref, div.photoref {
|
img.photoref, div.photoref {
|
||||||
border: 1px solid #CCC;
|
border: 1px solid #CCC;
|
||||||
-moz-box-shadow: 3px 3px 4px #DDD;
|
-moz-box-shadow: 3px 3px 4px #DDD;
|
||||||
@@ -1156,14 +1163,14 @@ div#id-top {
|
|||||||
background: rgb(<?php echo $colorbackhmenu1 ?>);
|
background: rgb(<?php echo $colorbackhmenu1 ?>);
|
||||||
/*-webkit-box-shadow: 0 0 6px rgba(0,0,0,0.4);
|
/*-webkit-box-shadow: 0 0 6px rgba(0,0,0,0.4);
|
||||||
box-shadow: 0 0 6px rgba(0,0,0,0.4); */
|
box-shadow: 0 0 6px rgba(0,0,0,0.4); */
|
||||||
<?php if ($usegradienttop) { ?>
|
/*
|
||||||
background-image: linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -o-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: -o-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -moz-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: -moz-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -ms-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: -ms-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.1)), color-stop(1, rgba(0,0,0,.4)) );
|
background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.1)), color-stop(1, rgba(0,0,0,.4)) );
|
||||||
<?php } ?>
|
*/
|
||||||
/*<?php if ($disableimages) { ?>
|
/*<?php if ($disableimages) { ?>
|
||||||
height: 34px;
|
height: 34px;
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
@@ -1240,15 +1247,15 @@ ul.tmenu { /* t r b l */
|
|||||||
display: table;
|
display: table;
|
||||||
}
|
}
|
||||||
ul.tmenu li { /* We need this to have background color when menu entry wraps on new lines */
|
ul.tmenu li { /* We need this to have background color when menu entry wraps on new lines */
|
||||||
/* background: rgb(<?php echo $colorbackhmenu1 ?>);
|
/* background: rgb(<?php echo $colorbackhmenu1 ?>);
|
||||||
<?php if ($usegradienttop) { ?>
|
/*
|
||||||
background-image: linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -o-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: -o-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -moz-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: -moz-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -ms-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
background-image: -ms-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
||||||
background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.1)), color-stop(1, rgba(0,0,0,.4)) );
|
background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.1)), color-stop(1, rgba(0,0,0,.4)) );
|
||||||
<?php } ?>*/
|
*/
|
||||||
}
|
}
|
||||||
li.tmenu, li.tmenusel {
|
li.tmenu, li.tmenusel {
|
||||||
<?php print $minwidthtmenu?'min-width: '.$minwidthtmenu.'px;':''; ?>
|
<?php print $minwidthtmenu?'min-width: '.$minwidthtmenu.'px;':''; ?>
|
||||||
@@ -1293,7 +1300,7 @@ div.tmenuleft
|
|||||||
div.tmenucenter
|
div.tmenucenter
|
||||||
{
|
{
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
padding-right: 0px;
|
padding-right: 3px;
|
||||||
<?php if ($disableimages) { ?>
|
<?php if ($disableimages) { ?>
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
@@ -1335,7 +1342,7 @@ div.mainmenu {
|
|||||||
position : relative;
|
position : relative;
|
||||||
background-repeat:no-repeat;
|
background-repeat:no-repeat;
|
||||||
background-position:center top;
|
background-position:center top;
|
||||||
height: <?php echo ($heightmenu-19); ?>px;
|
height: <?php echo ($heightmenu-22); ?>px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
min-width: 40px;
|
min-width: 40px;
|
||||||
}
|
}
|
||||||
@@ -1526,9 +1533,9 @@ form#login {
|
|||||||
|
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
|
|
||||||
-moz-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(60,60,60,0.15);
|
-moz-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
|
||||||
-webkit-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(60,60,60,0.15);
|
-webkit-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
|
||||||
box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(60,60,60,0.15);
|
box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
|
||||||
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
/*border-top:solid 1px rgba(180,180,180,.4);
|
/*border-top:solid 1px rgba(180,180,180,.4);
|
||||||
@@ -2063,30 +2070,6 @@ span.butAction, span.butActionDelete {
|
|||||||
margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
|
margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
|
||||||
padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
|
padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
|
||||||
font-family: <?php print $fontlist ?>;
|
font-family: <?php print $fontlist ?>;
|
||||||
/* for bootstrap look
|
|
||||||
color: #fff;
|
|
||||||
background-color: #337ab7;
|
|
||||||
border-color: #2e6da4;
|
|
||||||
display: inline-block;
|
|
||||||
padding: 6px 12px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
font-weight: normal;
|
|
||||||
line-height: 1.42857143;
|
|
||||||
text-align: center;
|
|
||||||
white-space: nowrap;
|
|
||||||
vertical-align: middle;
|
|
||||||
-ms-touch-action: manipulation;
|
|
||||||
touch-action: manipulation;
|
|
||||||
cursor: pointer;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
background-image: none;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
border-radius: 4px;
|
|
||||||
*/
|
|
||||||
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
border-color: #c5c5c5;
|
border-color: #c5c5c5;
|
||||||
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
|
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
|
||||||
@@ -2095,50 +2078,24 @@ span.butAction, span.butActionDelete {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: rgb(<?php echo $colorbackhmenu1 ?>);
|
background: rgb(<?php echo $colorbackhmenu1 ?>);
|
||||||
background-image: linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
border: 1px solid rgb(<?php echo $colorbackhmenu1 ?>);
|
||||||
background-image: -o-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
|
||||||
background-image: -moz-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
|
||||||
background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
|
||||||
background-image: -ms-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
|
|
||||||
|
|
||||||
color: #333333;
|
|
||||||
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
|
||||||
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
|
|
||||||
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
|
|
||||||
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
|
|
||||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
border: 1px solid #bbbbbb;
|
|
||||||
border-bottom-color: #a2a2a2;
|
|
||||||
-webkit-border-radius: 2px;
|
|
||||||
-moz-border-radius: 2px;
|
|
||||||
border-radius: 2px;
|
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.butAction:hover {
|
.butAction:hover {
|
||||||
-moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
|
-moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
-webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
|
-webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
|
box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active, .buttonDelete {
|
.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active, .buttonDelete {
|
||||||
color: #800 !important;
|
background: #633;
|
||||||
|
border: 1px solid #633;
|
||||||
}
|
}
|
||||||
|
|
||||||
.butActionDelete:hover {
|
.butActionDelete:hover {
|
||||||
-moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
|
-moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
-webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
|
-webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
|
box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.butActionRefused {
|
.butActionRefused {
|
||||||
@@ -2148,130 +2105,14 @@ span.butAction, span.butActionDelete {
|
|||||||
margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
|
margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
|
||||||
padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
|
padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
|
||||||
font-family: <?php print $fontlist ?> !important;
|
font-family: <?php print $fontlist ?> !important;
|
||||||
/* for bootstrap look
|
|
||||||
color: #333;
|
|
||||||
background-color: #e6e6e6;
|
|
||||||
border-color: #adadad;
|
|
||||||
display: inline-block;
|
|
||||||
margin-bottom: 0;
|
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
line-height: 1.42857143;
|
|
||||||
text-align: center;
|
|
||||||
white-space: nowrap;
|
|
||||||
vertical-align: middle;
|
|
||||||
-ms-touch-action: manipulation;
|
|
||||||
touch-action: manipulation;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
background-image: none;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
border-radius: 4px;
|
|
||||||
*/
|
|
||||||
|
|
||||||
font-weight: normal !important;
|
|
||||||
border-color: #c5c5c5;
|
|
||||||
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
|
|
||||||
padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #999 !important;
|
color: #999 !important;
|
||||||
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
border: 1px solid #bbb;
|
||||||
background-color: #f5f5f5;
|
|
||||||
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
|
||||||
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
|
|
||||||
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
|
|
||||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
border: 1px solid #bbbbbb;
|
|
||||||
border-bottom-color: #a2a2a2;
|
|
||||||
-webkit-border-radius: 4px;
|
|
||||||
-moz-border-radius: 4px;
|
|
||||||
border-radius: 4px;
|
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prepare for bootstrap look
|
|
||||||
.butAction, .butActionDelete, .butActionRefused {
|
|
||||||
border-color: #c5c5c5;
|
|
||||||
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
|
|
||||||
display: inline-block;
|
|
||||||
padding: 4px 14px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
line-height: 20px;
|
|
||||||
text-align: center;
|
|
||||||
vertical-align: middle;
|
|
||||||
cursor: pointer;
|
|
||||||
color: #333333;
|
|
||||||
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
|
||||||
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
|
|
||||||
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
|
|
||||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
border: 1px solid #bbbbbb;
|
|
||||||
border-bottom-color: #a2a2a2;
|
|
||||||
-webkit-border-radius: 4px;
|
|
||||||
-moz-border-radius: 4px;
|
|
||||||
border-radius: 4px;
|
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
}
|
|
||||||
|
|
||||||
.butAction {
|
|
||||||
color: #ffffff;
|
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
||||||
background-color: #006dcc;
|
|
||||||
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
|
||||||
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
|
||||||
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
|
||||||
background-image: linear-gradient(to bottom, #0088cc, #0044cc);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
|
|
||||||
border-color: #0044cc #0044cc #002a80;
|
|
||||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
}
|
|
||||||
|
|
||||||
.butActionDelete {
|
|
||||||
color: #ffffff;
|
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
||||||
background-color: #cc6d00;
|
|
||||||
background-image: -moz-linear-gradient(top, #cc8800, #cc4400);
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cc8800), to(#cc4400));
|
|
||||||
background-image: -webkit-linear-gradient(top, #cc8800, #cc4400);
|
|
||||||
background-image: -o-linear-gradient(top, #cc8800, #cc4400);
|
|
||||||
background-image: linear-gradient(to bottom, #cc8800, #cc4400);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcc8800', endColorstr='#ffcc4400', GradientType=0);
|
|
||||||
border-color: #cc4400 #cc4400 #802a00;
|
|
||||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
}
|
|
||||||
a.butAction:link, a.butAction:visited, a.butAction:hover, a.butAction:active {
|
|
||||||
color: #FFFFFF;
|
|
||||||
}
|
|
||||||
End bootstrap */
|
|
||||||
|
|
||||||
<?php if (! empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED) && (! $user->admin)) { ?>
|
<?php if (! empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED) && (! $user->admin)) { ?>
|
||||||
.butActionRefused {
|
.butActionRefused {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -2531,14 +2372,12 @@ div.pagination li.pagination span.inactive {
|
|||||||
cursor: default;
|
cursor: default;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
li.noborder.litext, li.noborder.litext a,
|
||||||
div.pagination li a.inactive:hover,
|
div.pagination li a.inactive:hover,
|
||||||
div.pagination li span.inactive:hover {
|
div.pagination li span.inactive:hover {
|
||||||
background-color: #f5f5f5;
|
-moz-box-shadow: none !important;
|
||||||
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
|
-webkit-box-shadow: none !important;
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
box-shadow: none !important;
|
||||||
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
|
||||||
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
|
|
||||||
}
|
}
|
||||||
/*div.pagination li.litext {
|
/*div.pagination li.litext {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
@@ -2563,7 +2402,7 @@ div.pagination li.noborder a:hover {
|
|||||||
}
|
}
|
||||||
div.pagination li a,
|
div.pagination li a,
|
||||||
div.pagination li span {
|
div.pagination li span {
|
||||||
background-color: #fff;
|
/* background-color: #fff; */
|
||||||
/* border: 1px solid #ddd; */
|
/* border: 1px solid #ddd; */
|
||||||
}
|
}
|
||||||
div.pagination li:first-child a,
|
div.pagination li:first-child a,
|
||||||
@@ -2581,6 +2420,10 @@ div.pagination li a:hover,
|
|||||||
div.pagination li span:hover,
|
div.pagination li span:hover,
|
||||||
div.pagination li a:focus,
|
div.pagination li a:focus,
|
||||||
div.pagination li span:focus {
|
div.pagination li span:focus {
|
||||||
|
-moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
|
-webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
|
box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
|
/*
|
||||||
color: #000;
|
color: #000;
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
border-color: #ccc;
|
border-color: #ccc;
|
||||||
@@ -2591,7 +2434,7 @@ div.pagination li span:focus {
|
|||||||
background-image: -o-linear-gradient(top, #eee, #ddd);
|
background-image: -o-linear-gradient(top, #eee, #ddd);
|
||||||
background-image: linear-gradient(to bottom, #eee, #ddd);
|
background-image: linear-gradient(to bottom, #eee, #ddd);
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
div.pagination li .active a,
|
div.pagination li .active a,
|
||||||
div.pagination li .active span,
|
div.pagination li .active span,
|
||||||
@@ -3123,15 +2966,13 @@ td.legendLabel { padding: 2px 2px 2px 0 !important; }
|
|||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
.photowithmargin {
|
.photointooltip {
|
||||||
/* -webkit-box-shadow: 0px 0px 3px #777;
|
|
||||||
-moz-box-shadow: 0px 0px 3px #777;
|
|
||||||
box-shadow: 0px 0px 3px #777;*/
|
|
||||||
}
|
|
||||||
.photointoolitp {
|
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
float: left;
|
margin-bottom: 6px;
|
||||||
/*text-align: center; */
|
text-align: center;
|
||||||
|
/*-moz-box-shadow: 3px 3px 4px #DDD;
|
||||||
|
-webkit-box-shadow: 3px 3px 4px #DDD;
|
||||||
|
box-shadow: 3px 3px 4px #DDD;*/
|
||||||
}
|
}
|
||||||
.photodelete {
|
.photodelete {
|
||||||
margin-top: 6px !important;
|
margin-top: 6px !important;
|
||||||
@@ -4651,7 +4492,7 @@ border-top-right-radius: 6px;
|
|||||||
|
|
||||||
/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */
|
/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */
|
||||||
/* rule to reduce top menu - 1st reduction */
|
/* rule to reduce top menu - 1st reduction */
|
||||||
@media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 6.9, 0) + 20; ?>px)
|
@media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 6.9, 0) + 20; ?>px) /* reduction 1 */
|
||||||
{
|
{
|
||||||
div.tmenucenter {
|
div.tmenucenter {
|
||||||
width: <?php echo round($fontsize * 4); ?>px; /* size of viewport */
|
width: <?php echo round($fontsize * 4); ?>px; /* size of viewport */
|
||||||
@@ -4680,7 +4521,7 @@ border-top-right-radius: 6px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* rule to reduce top menu - 2nd reduction */
|
/* rule to reduce top menu - 2nd reduction */
|
||||||
@media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 4.5, 0) + 8; ?>px)
|
@media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 4.9, 0) + 10; ?>px) /* reduction 2 */
|
||||||
{
|
{
|
||||||
div.mainmenu {
|
div.mainmenu {
|
||||||
height: 23px;
|
height: 23px;
|
||||||
@@ -4689,6 +4530,9 @@ border-top-right-radius: 6px;
|
|||||||
max-width: <?php echo round($fontsize * 2); ?>px; /* size of viewport */
|
max-width: <?php echo round($fontsize * 2); ?>px; /* size of viewport */
|
||||||
text-overflow: clip;
|
text-overflow: clip;
|
||||||
}
|
}
|
||||||
|
span.mainmenuaspan {
|
||||||
|
margin-left: 1px;
|
||||||
|
}
|
||||||
.mainmenuaspan {
|
.mainmenuaspan {
|
||||||
/*display: none;*/
|
/*display: none;*/
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
@@ -4696,10 +4540,11 @@ border-top-right-radius: 6px;
|
|||||||
.topmenuimage {
|
.topmenuimage {
|
||||||
background-size: 20px auto;
|
background-size: 20px auto;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
|
left: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* rule to reduce top menu - 3rd reduction */
|
/* rule to reduce top menu - 3rd reduction */
|
||||||
@media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 3.4, 0) + 8; ?>px)
|
@media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 3.4, 0) + 8; ?>px) /* reduction 3 */
|
||||||
{
|
{
|
||||||
/* Reduce login top right info */
|
/* Reduce login top right info */
|
||||||
.usertextatoplogin {
|
.usertextatoplogin {
|
||||||
@@ -4743,6 +4588,7 @@ border-top-right-radius: 6px;
|
|||||||
.topmenuimage {
|
.topmenuimage {
|
||||||
background-size: 20px auto;
|
background-size: 20px auto;
|
||||||
margin-top: 2px !important;
|
margin-top: 2px !important;
|
||||||
|
left: 2px;
|
||||||
}
|
}
|
||||||
div.mainmenu {
|
div.mainmenu {
|
||||||
min-width: 20px;
|
min-width: 20px;
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 294 B |
|
Before Width: | Height: | Size: 205 B |
@@ -521,6 +521,9 @@ textarea.centpercent {
|
|||||||
.nowrap {
|
.nowrap {
|
||||||
white-space: <?php print ($dol_optimize_smallscreen?'normal':'nowrap'); ?>;
|
white-space: <?php print ($dol_optimize_smallscreen?'normal':'nowrap'); ?>;
|
||||||
}
|
}
|
||||||
|
.nowraponall {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
.nobold {
|
.nobold {
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
}
|
}
|
||||||
@@ -536,6 +539,9 @@ textarea.centpercent {
|
|||||||
.cursorpointer {
|
.cursorpointer {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.cusormove {
|
||||||
|
cursor: move;
|
||||||
|
}
|
||||||
.badge {
|
.badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 10px;
|
min-width: 10px;
|
||||||
@@ -550,9 +556,6 @@ textarea.centpercent {
|
|||||||
background-color: #777;
|
background-color: #777;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
.movable {
|
|
||||||
cursor: move;
|
|
||||||
}
|
|
||||||
|
|
||||||
.borderrightlight
|
.borderrightlight
|
||||||
{
|
{
|
||||||
@@ -1145,6 +1148,9 @@ div.statusref {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
div.statusref img {
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
img.photoref, div.photoref {
|
img.photoref, div.photoref {
|
||||||
border: 1px solid #CCC;
|
border: 1px solid #CCC;
|
||||||
-moz-box-shadow: 3px 3px 4px #DDD;
|
-moz-box-shadow: 3px 3px 4px #DDD;
|
||||||
|
|||||||
@@ -1986,12 +1986,18 @@ class User extends CommonObject
|
|||||||
|
|
||||||
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER) && $withpictoimg) $withpictoimg=0;
|
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER) && $withpictoimg) $withpictoimg=0;
|
||||||
|
|
||||||
$result = '';
|
$result=''; $label='';
|
||||||
$companylink = '';
|
$linkstart=''; $linkend='';
|
||||||
$link = '';
|
|
||||||
|
|
||||||
$label = '<u>' . $langs->trans("User") . '</u>';
|
if (! empty($this->photo))
|
||||||
$label.= '<div width="100%">';
|
{
|
||||||
|
$label.= '<div class="photointooltip">';
|
||||||
|
$label.= Form::showphoto('userphoto', $this, 80, 0, 0, 'photowithmargin photologintooltip', 'small', 0, 1);
|
||||||
|
$label.= '</div><div style="clear: both;"></div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
$label.= '<div class="centpercent">';
|
||||||
|
$label.= '<u>' . $langs->trans("User") . '</u><br>';
|
||||||
$label.= '<b>' . $langs->trans('Name') . ':</b> ' . $this->getFullName($langs,'','');
|
$label.= '<b>' . $langs->trans('Name') . ':</b> ' . $this->getFullName($langs,'','');
|
||||||
if (! empty($this->login))
|
if (! empty($this->login))
|
||||||
$label.= '<br><b>' . $langs->trans('Login') . ':</b> ' . $this->login;
|
$label.= '<br><b>' . $langs->trans('Login') . ':</b> ' . $this->login;
|
||||||
@@ -2008,12 +2014,6 @@ class User extends CommonObject
|
|||||||
$type=($this->societe_id?$langs->trans("External").$company:$langs->trans("Internal"));
|
$type=($this->societe_id?$langs->trans("External").$company:$langs->trans("Internal"));
|
||||||
$label.= '<br><b>' . $langs->trans("Type") . ':</b> ' . $type;
|
$label.= '<br><b>' . $langs->trans("Type") . ':</b> ' . $type;
|
||||||
$label.='</div>';
|
$label.='</div>';
|
||||||
if (! empty($this->photo))
|
|
||||||
{
|
|
||||||
$label.= '<div class="photointooltip">';
|
|
||||||
$label.= Form::showphoto('userphoto', $this, 80, 0, 0, 'photowithmargin photologintooltip', 'small', 0, 1);
|
|
||||||
$label.= '</div><div style="clear: both;"></div>';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Info Login
|
// Info Login
|
||||||
if ($infologin)
|
if ($infologin)
|
||||||
|
|||||||