mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
21 lines
737 B
PHP
21 lines
737 B
PHP
<?php
|
|
|
|
$title = isset($properties['pluginName']) ? sprintf(gT("Settings for plugin: %s"), $properties['pluginName']) : null;
|
|
if (is_null($title)) $title = isset($plugin['name']) ? sprintf(gT("Settings for plugin %s"), $plugin['name']) : null;
|
|
|
|
$this->widget('ext.SettingsWidget.SettingsWidget', array(
|
|
'settings' => $settings,
|
|
'title' => $title,
|
|
'formHtmlOptions' => array(
|
|
'id' => "pluginsettings-{$plugin['name']}",
|
|
),
|
|
'method' => 'post',
|
|
'buttons' => array(
|
|
gT('Save plugin settings'),
|
|
gT('Cancel') => array(
|
|
'type' => 'link',
|
|
'href' => App()->createUrl('plugins/index')
|
|
)
|
|
)
|
|
));
|
|
?>
|