summaryrefslogtreecommitdiff
path: root/plugins/userinfo
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/userinfo')
-rw-r--r--plugins/userinfo/localization/cs_CZ.inc27
-rw-r--r--plugins/userinfo/localization/de_CH.inc9
-rw-r--r--plugins/userinfo/localization/en_US.inc9
-rw-r--r--plugins/userinfo/localization/et_EE.inc9
-rw-r--r--plugins/userinfo/localization/pl_PL.inc9
-rw-r--r--plugins/userinfo/localization/pt_PT.inc9
-rw-r--r--plugins/userinfo/localization/sv_SE.inc9
-rw-r--r--plugins/userinfo/userinfo.js16
-rw-r--r--plugins/userinfo/userinfo.php53
9 files changed, 0 insertions, 150 deletions
diff --git a/plugins/userinfo/localization/cs_CZ.inc b/plugins/userinfo/localization/cs_CZ.inc
deleted file mode 100644
index 812ca7b2a..000000000
--- a/plugins/userinfo/localization/cs_CZ.inc
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-/*
-
-+-----------------------------------------------------------------------+
-| language/cs_CZ/labels.inc |
-| |
-| Language file of the RoundCube userinfo plugin |
-| Copyright (C) 2005-2009, RoundCube Dev. - Switzerland |
-| Licensed under the GNU GPL |
-| |
-+-----------------------------------------------------------------------+
-| Author: Milan Kozak <hodza@hodza.net> |
-+-----------------------------------------------------------------------+
-
-@version $Id: labels.inc 2993 2009-09-26 18:32:07Z alec $
-
-*/
-
-$labels = array();
-$labels['infosfor'] = 'Informace pro';
-$labels['userinfo'] = 'Uživatel';
-$labels['created'] = 'Vytvořen';
-$labels['lastlogin'] = 'Naspoledy přihlášen';
-$labels['defaultidentity'] = 'Výchozí identita';
-
-?> \ No newline at end of file
diff --git a/plugins/userinfo/localization/de_CH.inc b/plugins/userinfo/localization/de_CH.inc
deleted file mode 100644
index 5f236b66c..000000000
--- a/plugins/userinfo/localization/de_CH.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-$labels = array();
-$labels['userinfo'] = 'Benutzerinfo';
-$labels['created'] = 'Erstellt';
-$labels['lastlogin'] = 'Letztes Login';
-$labels['defaultidentity'] = 'Standard-Absender';
-
-?> \ No newline at end of file
diff --git a/plugins/userinfo/localization/en_US.inc b/plugins/userinfo/localization/en_US.inc
deleted file mode 100644
index 1a2fd9016..000000000
--- a/plugins/userinfo/localization/en_US.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-$labels = array();
-$labels['userinfo'] = 'User info';
-$labels['created'] = 'Created';
-$labels['lastlogin'] = 'Last Login';
-$labels['defaultidentity'] = 'Default Identity';
-
-?> \ No newline at end of file
diff --git a/plugins/userinfo/localization/et_EE.inc b/plugins/userinfo/localization/et_EE.inc
deleted file mode 100644
index 97830b45c..000000000
--- a/plugins/userinfo/localization/et_EE.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-$labels = array();
-$labels['userinfo'] = 'Kasutaja info';
-$labels['created'] = 'Loodud';
-$labels['lastlogin'] = 'Viimane logimine';
-$labels['defaultidentity'] = 'Vaikeidentiteet';
-
-?>
diff --git a/plugins/userinfo/localization/pl_PL.inc b/plugins/userinfo/localization/pl_PL.inc
deleted file mode 100644
index 6b03c32e7..000000000
--- a/plugins/userinfo/localization/pl_PL.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-$labels = array();
-$labels['userinfo'] = 'Informacje';
-$labels['created'] = 'Utworzony';
-$labels['lastlogin'] = 'Ostatnie logowanie';
-$labels['defaultidentity'] = 'Domyślna tożsamość';
-
-?>
diff --git a/plugins/userinfo/localization/pt_PT.inc b/plugins/userinfo/localization/pt_PT.inc
deleted file mode 100644
index 45009f9f4..000000000
--- a/plugins/userinfo/localization/pt_PT.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-$labels = array();
-$labels['userinfo'] = 'Informação do utilizador';
-$labels['created'] = 'Criado';
-$labels['lastlogin'] = 'Último login';
-$labels['defaultidentity'] = 'Identidade pré-definida';
-
-?>
diff --git a/plugins/userinfo/localization/sv_SE.inc b/plugins/userinfo/localization/sv_SE.inc
deleted file mode 100644
index a34923a88..000000000
--- a/plugins/userinfo/localization/sv_SE.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-$labels = array();
-$labels['userinfo'] = 'Användarinfo';
-$labels['created'] = 'Skapad';
-$labels['lastlogin'] = 'Senast inloggad';
-$labels['defaultidentity'] = 'Standardprofil';
-
-?> \ No newline at end of file
diff --git a/plugins/userinfo/userinfo.js b/plugins/userinfo/userinfo.js
deleted file mode 100644
index 70a5085b3..000000000
--- a/plugins/userinfo/userinfo.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Show user-info plugin script */
-
-if (window.rcmail) {
- rcmail.addEventListener('init', function(evt) {
- // <span id="settingstabdefault" class="tablink"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span>
- var tab = $('<span>').attr('id', 'settingstabpluginuserinfo').addClass('tablink');
-
- var button = $('<a>').attr('href', rcmail.env.comm_path+'&_action=plugin.userinfo').html(rcmail.gettext('userinfo', 'userinfo')).appendTo(tab);
- button.bind('click', function(e){ return rcmail.command('plugin.userinfo', this) });
-
- // add button and register command
- rcmail.add_element(tab, 'tabs');
- rcmail.register_command('plugin.userinfo', function(){ rcmail.goto_url('plugin.userinfo') }, true);
- })
-}
-
diff --git a/plugins/userinfo/userinfo.php b/plugins/userinfo/userinfo.php
deleted file mode 100644
index 0f1b18cd9..000000000
--- a/plugins/userinfo/userinfo.php
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-
-/**
- * Sample plugin that adds a new tab to the settings section
- * to display some information about the current user
- */
-class userinfo extends rcube_plugin
-{
- public $task = 'settings';
-
- function init()
- {
- $this->add_texts('localization/', array('userinfo'));
- $this->register_action('plugin.userinfo', array($this, 'infostep'));
- $this->include_script('userinfo.js');
- }
-
- function infostep()
- {
- $this->register_handler('plugin.body', array($this, 'infohtml'));
- rcmail::get_instance()->output->send('plugin');
- }
-
- function infohtml()
- {
- $rcmail = rcmail::get_instance();
- $user = $rcmail->user;
-
- $table = new html_table(array('cols' => 2, 'cellpadding' => 3));
-
- $table->add('title', 'ID');
- $table->add('', Q($user->ID));
-
- $table->add('title', Q($this->gettext('username')));
- $table->add('', Q($user->data['username']));
-
- $table->add('title', Q($this->gettext('server')));
- $table->add('', Q($user->data['mail_host']));
-
- $table->add('title', Q($this->gettext('created')));
- $table->add('', Q($user->data['created']));
-
- $table->add('title', Q($this->gettext('lastlogin')));
- $table->add('', Q($user->data['last_login']));
-
- $identity = $user->get_identity();
- $table->add('title', Q($this->gettext('defaultidentity')));
- $table->add('', Q($identity['name'] . ' <' . $identity['email'] . '>'));
-
- return html::tag('h4', null, Q('Infos for ' . $user->get_username())) . $table->show();
- }
-
-} \ No newline at end of file