mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-13 09:40:18 +01:00
Fix minori
This commit is contained in:
parent
140ee39932
commit
ea8b6fd2b2
@ -40,7 +40,8 @@ include_once __DIR__.'/../../core.php';
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
{[ "type": "text", "label": "<?php echo tr('Icona'); ?>", "name": "icon", "value": "$icon$" ,"help":"<?php echo tr('Es. \'fa fa-envelope\''); ?>" ]}
|
||||
<?php $records[0]['icon'] = (empty ($records[0]['icon'])) ? 'fa fa-envelope' : $records[0]['icon']; ?>
|
||||
{[ "type": "text", "label": "<?php echo tr('Icona'); ?>", "name": "icon", "value": "<?php echo $records[0]['icon'] ?>" ,"help":"<?php echo tr('Es. \'fa fa-envelope\''); ?>" ]}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -31,7 +31,7 @@ class ButtonManager implements ManagerInterface
|
||||
|
||||
$result = [
|
||||
'link' => \Prints::getHref($options['id'], $options['id_record'], $options['parameters']),
|
||||
'title' => tr('Stampa').' '.strtolower($print['title']),
|
||||
'title' => tr('Stampa').' '.lcfirst($print['title']),
|
||||
'icon' => $print['icon'],
|
||||
];
|
||||
} else {
|
||||
@ -39,7 +39,7 @@ class ButtonManager implements ManagerInterface
|
||||
|
||||
$result = [
|
||||
'link' => ROOTDIR.'/mail.php?id_module='.$options['id_module'].'&id_record='.$options['id_record'].'&id='.$options['id'],
|
||||
'title' => tr('Invia').' '.strtolower($template['name']),
|
||||
'title' => tr('Invia').' '.lcfirst($template['name']),
|
||||
'icon' => $template['icon'],
|
||||
'type' => 'modal',
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user