We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cf4b9f commit c46a486Copy full SHA for c46a486
1 file changed
modules/articoli/add.php
@@ -63,12 +63,15 @@
63
</div>
64
65
66
- <div class="card card-info collapsed-card">
+<?php
67
+$espandi_dettagli = setting('Espandi automaticamente la sezione "Dettagli aggiuntivi"');
68
+?>
69
+ <div class="card card-info <?php echo empty($espandi_dettagli) ? 'collapsed-card' : ''; ?>">
70
<div class="card-header with-border">
71
<h3 class="card-title"><?php echo tr('Informazioni aggiuntive'); ?></h3>
72
<div class="card-tools pull-right">
73
<button type="button" class="btn btn-tool" data-card-widget="collapse">
- <i class="fa fa-plus"></i>
74
+ <i class="fa fa-<?php echo empty($espandi_dettagli) ? 'plus' : 'minus'; ?>"></i>
75
</button>
76
77
0 commit comments