From: hickert Date: Thu, 17 Dec 2009 16:49:12 +0000 (+0000) Subject: Added dummy for rsyslog plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9de6e472a91975bcab9a057bd0040a933c5cf5f5;p=gosa.git Added dummy for rsyslog plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14900 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc b/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc new file mode 100644 index 000000000..6e8b25d0c --- /dev/null +++ b/gosa-plugins/rsyslog/addons/rsyslog/class_rsyslog.inc @@ -0,0 +1,22 @@ +config= &$config; + $this->ui = get_userinfo(); + } + + function execute() + { + $smarty = get_smarty(); + + return($smarty->fetch(get_template_path("rSyslog.tpl", TRUE))); + } +} +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/gosa-plugins/rsyslog/addons/rsyslog/main.inc b/gosa-plugins/rsyslog/addons/rsyslog/main.inc new file mode 100644 index 000000000..97944cf8f --- /dev/null +++ b/gosa-plugins/rsyslog/addons/rsyslog/main.inc @@ -0,0 +1,54 @@ +data['TABS']['RSYSLOGTABS'],"")); + } + $rsyslogTabs = session::get('rsyslogTabs'); + + /* Execute formular */ +# $display= $rsyslogTabs->save_object(); + $display= $rsyslogTabs->execute (); + $display.= "\n"; + + /* Page header*/ + $display= print_header(get_template_path('plugins/log/images/plugin.png'), _("System log view")).$display; + + /* Store changes in session */ + session::set('rsyslogTabs',$rsyslogTabs); +} +?> diff --git a/gosa-plugins/rsyslog/addons/rsyslog/rSyslog.tpl b/gosa-plugins/rsyslog/addons/rsyslog/rSyslog.tpl new file mode 100644 index 000000000..e69de29bb diff --git a/gosa-plugins/rsyslog/addons/rsyslog/rsyslogTabs.inc b/gosa-plugins/rsyslog/addons/rsyslog/rsyslogTabs.inc new file mode 100644 index 000000000..fc77f69d2 --- /dev/null +++ b/gosa-plugins/rsyslog/addons/rsyslog/rsyslogTabs.inc @@ -0,0 +1,10 @@ + diff --git a/gosa-plugins/rsyslog/plugin.dsc b/gosa-plugins/rsyslog/plugin.dsc new file mode 100644 index 000000000..e64080e86 --- /dev/null +++ b/gosa-plugins/rsyslog/plugin.dsc @@ -0,0 +1,8 @@ +[gosa-plugin] +name = log +description = "Syslog and GOsa logging plugin" +version = 2.6.6 +author = "Cajus Pollmeier " +maintainer = "GOsa packages maintainers group " +homepage = https://oss.gonicus.de/labs/gosa/ +depends = systems