Skip to content

Commit

Permalink
Fixed issue #9418: Plugin Settings | The class name is being showed, …
Browse files Browse the repository at this point in the history
…instead of name of the plugin.
  • Loading branch information
gabrieljenik committed Dec 19, 2014
1 parent 6bdd067 commit 1f84e59
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions application/views/plugins/configure.php
@@ -1,8 +1,11 @@
<?php
$this->widget('ext.SettingsWidget.SettingsWidget', array(

$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' => isset($plugin['name']) ? sprintf(gT("Settings for plugin %s"), $plugin['name']) : null,
'title' => $title,
'formHtmlOptions' => array(
'id' => "pluginsettings-{$plugin['name']}",
),
Expand All @@ -15,4 +18,4 @@
)
)
));
?>
?>

0 comments on commit 1f84e59

Please sign in to comment.