Nom en clair d'un module

This commit is contained in:
Fred Tempez 2020-05-03 11:16:41 +02:00
parent ad9b9c0b19
commit 72a44219e2

View File

@ -47,8 +47,8 @@ echo template::formOpen('pageEditForm');
]); ?>
<?php echo template::hidden('pageEditModuleIdOld',['value' => $this->getData(['page', $this->getUrl(2), 'moduleId'])]); ?>
<?php echo template::hidden('pageEditModuleIdOldText',[
'value' => $this->getData(['page', $this->getUrl(2), 'moduleId'])
]);?>
'value' => array_key_exists($this->getData(['page', $this->getUrl(2), 'moduleId']),$module::$moduleNames)? $module::$moduleNames[$this->getData(['page', $this->getUrl(2), 'moduleId'])] : ucfirst($this->getData(['page', $this->getUrl(2), 'moduleId']))
]); ?>
</div>
<div class="col3 verticalAlignBottom">
<?php echo template::button('pageEditModuleConfig', [