summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2024702)
raw | patch | inline | side by side (parent: 2024702)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 May 2010 09:46:31 +0000 (09:46 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 May 2010 09:46:31 +0000 (09:46 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18528 594d385d-05f5-0310-b6e9-bd551577e9d8
index 63d291ae05dab683dcf0ddfbbae2e8e2e09bdaed..62c53a6e8b7fa1a073969b451797f27a82807309 100644 (file)
<!-- Section to enable addon plugins -->
<section name="Addons">
- <plugin acl="all/all" class="configViewer" />
+ <plugin acl="all/all" class="propertyEditor" />
<plugin acl="server/rSyslogServer" class="rsyslog" />
<plugin acl="mailqueue" class="mailqueue" />
<plugin acl="users/viewFaxEntries:self,users/viewFaxEntries" class="faxreport" />
diff --git a/gosa-core/plugins/addons/configViewer/class_configViewer.inc b/gosa-core/plugins/addons/configViewer/class_configViewer.inc
index 0b2a394d9f8218e4fcf60d4290fa8be99211e956..1af754774d85d70ed6ed24fdd036bce5be1da3c6 100644 (file)
<?php
-class configViewer extends management
+class propertyEditor extends management
{
var $plHeadline= "Preferences";
var $plDescription= "Configure global and special GOsa settings like hooks and plugin parameters";
- var $plIcon = "plugins/configViewer/images/plugin.png";
+ var $plIcon = "plugins/propertyEditor/images/plugin.png";
var $toBeMigrated = array();
// Build headpage
$headpage = new listing(get_template_path("property-list.xml", true));
- $headpage->registerElementFilter("propertyName", "configViewer::propertyName");
- $headpage->registerElementFilter("propertyGroup", "configViewer::propertyGroup");
- $headpage->registerElementFilter("propertyClass", "configViewer::propertyClass");
- $headpage->registerElementFilter("propertyValue", "configViewer::propertyValue");
+ $headpage->registerElementFilter("propertyName", "propertyEditor::propertyName");
+ $headpage->registerElementFilter("propertyGroup", "propertyEditor::propertyGroup");
+ $headpage->registerElementFilter("propertyClass", "propertyEditor::propertyClass");
+ $headpage->registerElementFilter("propertyValue", "propertyEditor::propertyValue");
$headpage->setFilter($filter);
parent::__construct($config, $ui, "property", $headpage);
diff --git a/gosa-core/plugins/addons/configViewer/main.inc b/gosa-core/plugins/addons/configViewer/main.inc
index cc2e1190245b4150682b139803aaa103efbe1d00..c449889c97e36d491702b0150ae63e4dde928c80 100644 (file)
/* Remove locks created by this plugin
*/
if ($remove_lock){
- if(session::is_set('configViewer')){
+ if(session::is_set('propertyEditor')){
$config->configRegistry->reload($force=TRUE);
}
}
/* Remove this plugin from session
*/
if ( $cleanup ){
- if (session::is_set('configViewer')){
+ if (session::is_set('propertyEditor')){
}
- session::un_set('configViewer');
+ session::un_set('propertyEditor');
}else{
/* Create logview object on demand */
- if (!session::is_set('configViewer')){
- session::set('configViewer',new configViewer($config, get_userinfo()));
+ if (!session::is_set('propertyEditor')){
+ session::set('propertyEditor',new propertyEditor($config, get_userinfo()));
}
- $configViewer = session::get('configViewer');
+ $propertyEditor = session::get('propertyEditor');
/* Execute formular */
- $display= $configViewer->execute ();
+ $display= $propertyEditor->execute ();
/* Store changes in session */
- session::set('configViewer',$configViewer);
+ session::set('propertyEditor',$propertyEditor);
}
?>
diff --git a/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc b/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc
index bbafd4527e9e43bc4b1afc6ecc738ce6d16bebb3..46c70356cdf644e6e03694c346d88b0ec043cd0b 100644 (file)
$this->title = sprintf(_("GOsa migration of property '%s'"), $this->property->getName());
}
if(empty($this->description)){
- $this->description = sprintf(_("GOsa has detected objects outside of the configured storage point (%s)"), $this->property->getValue(TRUE));
+ $this->description = sprintf(_("GOsa has detected objects outside of the configured storage point (%s)."), $this->property->getValue(TRUE));
}
}
diff --git a/gosa-core/plugins/addons/configViewer/property-list.xml b/gosa-core/plugins/addons/configViewer/property-list.xml
index 1d0b456d7387b0ab7af159b5a53b0e8961c70e50..0c861a09e0ec77b000e028497488e8ce0cd5b6ae 100644 (file)
<objectClass>modified</objectClass>
<category>all</category>
<class>all</class>
- <image>plugins/configViewer/images/ldap.png[new]</image>
+ <image>plugins/propertyEditor/images/ldap.png[new]</image>
</objectType>
<objectType>
<objectClass>ldap</objectClass>
<category>all</category>
<class>all</class>
- <image>plugins/configViewer/images/ldap.png</image>
+ <image>plugins/propertyEditor/images/ldap.png</image>
</objectType>
<objectType>
<objectClass>file</objectClass>
<category>all</category>
<class>all</class>
- <image>plugins/configViewer/images/file.png</image>
+ <image>plugins/propertyEditor/images/file.png</image>
</objectType>
</definition>