Skip to content

Commit

Permalink
Merge pull request #264 from gabrieljenik/patch-8
Browse files Browse the repository at this point in the history
Fixed issue #9418: Plugin Settings | The class name is being showed, ins...
  • Loading branch information
c-schmitz committed Dec 19, 2014
2 parents 6bdd067 + 1f84e59 commit 4b333ae
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 4b333ae

Please sign in to comment.