mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-18 16:18:47 +02:00
N°1879 Change default print format for dashboards to "A4 Landscape"
This commit is contained in:
@@ -1131,11 +1131,10 @@ EOF
|
||||
<<<EOF
|
||||
<select name="text" onchange='$(".printable-content").width(this.value); $(charts).each(function(i, chart) { $(chart).trigger("resize"); });'>
|
||||
EOF;
|
||||
$bIsSelected = true;
|
||||
$sDefaultResolution = '27.7cm';
|
||||
foreach ($aResolutionChoices as $sValue => $sText)
|
||||
{
|
||||
$sHtml .= '<option value="'.$sValue.'" '.($bIsSelected ? 'selected' : '').'>'.$sText.'</option>';
|
||||
$bIsSelected = false;
|
||||
$sHtml .= '<option value="'.$sValue.'" '.(($sValue === $sDefaultResolution) ? 'selected' : '').'>'.$sText.'</option>';
|
||||
}
|
||||
$sHtml .= "</select>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user