Fix size and margin placeholders

This commit is contained in:
Miraty 2022-05-31 16:22:51 +02:00
parent 8fdfb1b0a0
commit fdfa947fc0
5 changed files with 2 additions and 6 deletions

View File

@ -171,7 +171,7 @@ foreach($themeDimensionsIcons as $dimFav) // Set all icons dimensions
<?= $loc['help_margin'] ?>
</p>
</details>
<input type="number" id="margin" placeholder="<?= $loc['placeholder_pixels'] ?>" name="margin" required="" min="0" max="1024" value="<?= htmlspecialchars($params['margin']) ?>">
<input type="number" id="margin" placeholder="<?= DEFAULT_MARGIN ?>" name="margin" required="" min="0" max="1024" value="<?= htmlspecialchars($params['margin']) ?>">
</div>
<div class="param">
@ -181,7 +181,7 @@ foreach($themeDimensionsIcons as $dimFav) // Set all icons dimensions
<?= $loc['help_size'] ?>
</p>
</details>
<input type="number" id="size" placeholder="<?= $loc['placeholder_pixels'] ?>" name="size" required="" min="1" max="4096" value="<?= htmlspecialchars($params['size']) ?>">
<input type="number" id="size" placeholder="<?= DEFAULT_SIZE ?>" name="size" required="" min="1" max="4096" value="<?= htmlspecialchars($params['size']) ?>">
</div>
</div>

View File

@ -11,7 +11,6 @@ $loc = array(
'label_fgColor' => "Foreground color",
'placeholder' => "Enter the text to encode in the QR code",
'placeholder_pixels' => "automatic",
'help_content' => "
<p>You can encode whatever text you want.</p>

View File

@ -11,7 +11,6 @@ $loc = array(
'label_fgColor' => "Couleur de premier plan",
'placeholder' => "Entrez le texte à encoder dans le code QR",
'placeholder_pixels' => "automatique",
'help_content' => "
<p>Vous pouvez encoder ce que vous voulez sous forme de texte.</p>

View File

@ -11,7 +11,6 @@ $loc = array(
'label_fgColor' => "Color del primièr plan",
'placeholder' => "Dintratz lo tèxt de codar en còdi QR",
'placeholder_pixels' => "auto",
'help_content' => "
<p>Podètz pas que codar lo tèxt que volètz.</p>

View File

@ -11,7 +11,6 @@ $loc = array(
'label_fgColor' => "label_fgColor",
'placeholder' => "placeholder",
'placeholder_pixels' => "placeholder_pixels",
'value_default' => "value_default",