Update thumbs of themes
This commit is contained in:
parent
992b92978e
commit
9251f04d63
@ -264,7 +264,7 @@ if ($action == 'edit') // Edit
|
|||||||
|
|
||||||
// Other
|
// Other
|
||||||
print '<table summary="otherparameters" class="noborder" width="100%">';
|
print '<table summary="otherparameters" class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td class="titlefield">'.$langs->trans("Parameters").'</td><td>'.$langs->trans("Value").'</td>';
|
print '<tr class="liste_titre"><td class="titlefield">'.$langs->trans("Miscellaneous").'</td><td></td>';
|
||||||
print '<td width="20"> </td>';
|
print '<td width="20"> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
@ -330,13 +330,6 @@ if ($action == 'edit') // Edit
|
|||||||
print '<td width="20"> </td>';
|
print '<td width="20"> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Show logo
|
|
||||||
print '<tr class="oddeven"><td class="titlefield">'.$langs->trans("EnableShowLogo").'</td><td>';
|
|
||||||
print $form->selectyesno('MAIN_SHOW_LOGO', $conf->global->MAIN_SHOW_LOGO, 1);
|
|
||||||
print '</td>';
|
|
||||||
print '<td width="20"> </td>';
|
|
||||||
print '</tr>';
|
|
||||||
|
|
||||||
// Hide version link
|
// Hide version link
|
||||||
/*
|
/*
|
||||||
|
|
||||||
@ -472,7 +465,7 @@ else // Show
|
|||||||
|
|
||||||
// Other
|
// Other
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td class="titlefield">'.$langs->trans("Parameters").'</td><td>'.$langs->trans("Value").'</td></tr>';
|
print '<tr class="liste_titre"><td class="titlefield">'.$langs->trans("Miscellaneous").'</td><td></td></tr>';
|
||||||
|
|
||||||
// Disable javascript/ajax
|
// Disable javascript/ajax
|
||||||
print '<tr class="oddeven"><td class="titlefield">'.$langs->trans("DisableJavascript").'</td><td>';
|
print '<tr class="oddeven"><td class="titlefield">'.$langs->trans("DisableJavascript").'</td><td>';
|
||||||
@ -495,13 +488,13 @@ else // Show
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// DefaultWorkingDays
|
// Default Working Days
|
||||||
print '<tr class="oddeven"><td class="titlefield">'.$langs->trans("DefaultWorkingDays").'</td><td>';
|
print '<tr class="oddeven"><td class="titlefield">'.$langs->trans("DefaultWorkingDays").'</td><td>';
|
||||||
print isset($conf->global->MAIN_DEFAULT_WORKING_DAYS)?$conf->global->MAIN_DEFAULT_WORKING_DAYS:'1-5';
|
print isset($conf->global->MAIN_DEFAULT_WORKING_DAYS)?$conf->global->MAIN_DEFAULT_WORKING_DAYS:'1-5';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// DefaultWorkingHours
|
// Default Working Hours
|
||||||
print '<tr class="oddeven"><td class="titlefield">'.$langs->trans("DefaultWorkingHours").'</td><td>';
|
print '<tr class="oddeven"><td class="titlefield">'.$langs->trans("DefaultWorkingHours").'</td><td>';
|
||||||
print isset($conf->global->MAIN_DEFAULT_WORKING_HOURS)?$conf->global->MAIN_DEFAULT_WORKING_HOURS:'9-18';
|
print isset($conf->global->MAIN_DEFAULT_WORKING_HOURS)?$conf->global->MAIN_DEFAULT_WORKING_HOURS:'9-18';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
@ -519,10 +512,6 @@ else // Show
|
|||||||
print yn((isset($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)?$conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED:0), 1);
|
print yn((isset($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)?$conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED:0), 1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Show logo
|
|
||||||
print '<tr class="oddeven"><td>'.$langs->trans("EnableShowLogo").'</td><td>' . yn($conf->global->MAIN_SHOW_LOGO) . '</td>';
|
|
||||||
print "</tr>";
|
|
||||||
|
|
||||||
// Hide version link
|
// Hide version link
|
||||||
/*
|
/*
|
||||||
print '<tr><td class="titlefield">'.$langs->trans("HideVersionLink").'</td><td>';
|
print '<tr><td class="titlefield">'.$langs->trans("HideVersionLink").'</td><td>';
|
||||||
|
|||||||
@ -348,23 +348,21 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<tr class="liste_titre"><th class="titlefield">'.$langs->trans("DefaultSkin").'</th>';
|
$dirthemestring = '';
|
||||||
|
foreach($dirthemes as $dirtheme)
|
||||||
|
{
|
||||||
|
$dirthemestring .= '"'.$dirtheme.'" ';
|
||||||
|
}
|
||||||
|
|
||||||
|
print '<tr class="liste_titre"><th class="titlefield">';
|
||||||
|
print $form->textwithpicto($langs->trans("DefaultSkin"), $langs->trans("ThemeDir").' : '.$dirthemestring);
|
||||||
|
print '</th>';
|
||||||
print '<th class="right">';
|
print '<th class="right">';
|
||||||
$url='https://www.dolistore.com/4-skins';
|
$url='https://www.dolistore.com/4-skins';
|
||||||
print '<a href="'.$url.'" target="_blank">';
|
print '<a href="'.$url.'" target="_blank">';
|
||||||
print $langs->trans('DownloadMoreSkins');
|
print $langs->trans('DownloadMoreSkins');
|
||||||
print '</a>';
|
print '</a>';
|
||||||
print '</th></tr>';
|
print '</th></tr>';
|
||||||
|
|
||||||
print '<tr>';
|
|
||||||
print '<td>'.$langs->trans("ThemeDir").'</td>';
|
|
||||||
print '<td>';
|
|
||||||
foreach($dirthemes as $dirtheme)
|
|
||||||
{
|
|
||||||
echo '"'.$dirtheme.'" ';
|
|
||||||
}
|
|
||||||
print '</td>';
|
|
||||||
print '</tr>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<tr><td colspan="'.$colspan.'">';
|
print '<tr><td colspan="'.$colspan.'">';
|
||||||
@ -422,6 +420,31 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
|
|||||||
|
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
// Show logo
|
||||||
|
if ($foruserprofile)
|
||||||
|
{
|
||||||
|
// Nothing
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Show logo
|
||||||
|
print '<tr class="oddeven"><td class="titlefield">'.$langs->trans("EnableShowLogo").'</td><td>';
|
||||||
|
if ($edit)
|
||||||
|
{
|
||||||
|
print $form->selectyesno('MAIN_SHOW_LOGO', $conf->global->MAIN_SHOW_LOGO, 1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print yn($conf->global->MAIN_SHOW_LOGO);
|
||||||
|
}
|
||||||
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
|
/*
|
||||||
|
print '<tr class="oddeven"><td>'.$langs->trans("EnableShowLogo").'</td><td>' . yn($conf->global->MAIN_SHOW_LOGO) . '</td>';
|
||||||
|
print "</tr>";*/
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// TopMenuDisableImages
|
// TopMenuDisableImages
|
||||||
if ($foruserprofile)
|
if ($foruserprofile)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -794,7 +794,7 @@ table[summary="list_of_modules"] .fa-cog {
|
|||||||
.hideobject { display: none; }
|
.hideobject { display: none; }
|
||||||
.minwidth50 { min-width: 50px; }
|
.minwidth50 { min-width: 50px; }
|
||||||
/* rule for not too small screen only */
|
/* rule for not too small screen only */
|
||||||
@media only screen and (min-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 140 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px)
|
@media only screen and (min-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px)
|
||||||
{
|
{
|
||||||
.width25 { width: 25px; }
|
.width25 { width: 25px; }
|
||||||
.width50 { width: 50px; }
|
.width50 { width: 50px; }
|
||||||
@ -1166,7 +1166,7 @@ div.vmenu, td.vmenu {
|
|||||||
.menuhider { display: none !important; }
|
.menuhider { display: none !important; }
|
||||||
|
|
||||||
/* rule to reduce top menu - 3rd reduction: The menu for user is on left */
|
/* rule to reduce top menu - 3rd reduction: The menu for user is on left */
|
||||||
@media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 140 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px) /* reduction 3 */
|
@media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px) /* reduction 3 */
|
||||||
{
|
{
|
||||||
body.sidebar-collapse .side-nav {
|
body.sidebar-collapse .side-nav {
|
||||||
display: none;
|
display: none;
|
||||||
@ -5759,7 +5759,7 @@ div.tabsElem a.tab {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again */
|
/* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again */
|
||||||
@media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2) ? round($nbtopmenuentries * 69, 0) + 140 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2; ?>px) /* reduction 2 */
|
@media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2) ? round($nbtopmenuentries * 69, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2; ?>px) /* reduction 2 */
|
||||||
{
|
{
|
||||||
li.tmenucompanylogo {
|
li.tmenucompanylogo {
|
||||||
display: none;
|
display: none;
|
||||||
@ -5786,7 +5786,7 @@ div.tabsElem a.tab {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* rule to reduce top menu - 3rd reduction: The menu for user is on left */
|
/* rule to reduce top menu - 3rd reduction: The menu for user is on left */
|
||||||
@media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 140 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px) /* reduction 3 */
|
@media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px) /* reduction 3 */
|
||||||
{
|
{
|
||||||
.side-nav {
|
.side-nav {
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue
Block a user