Client to submit monthly statistical data

This commit is contained in:
Ralf Becker 2009-11-17 09:24:10 +00:00
parent 4b490c2e8b
commit 9a755daa24
7 changed files with 515 additions and 81 deletions

View File

@ -4,81 +4,73 @@
*
* @link http://www.egroupware.org
* @author Stefan Becker <StefanBecker-AT-outdoor-training.de>
* @package courseprotocol
* @copyright (c) 2007 by Stefan Becker <StefanBecker-AT-outdoor-training.de>
* @package admin
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id: class.admin_prefs_sidebox_hooks.inc.php
*/
/**
* Static hooks for admin application
*
*/
class admin_prefs_sidebox_hooks
{
var $public_functions = array(
// 'check_set_default_prefs' => true,
);
var $config = array();
function admin_prefs_sidebox_hooks()
{
$config =& CreateObject('phpgwapi.config','admin');
$config->read_repository();
$this->config =& $config->config_data;
unset($config);
}
/**
* hooks to build projectmanager's sidebox-menu plus the admin and preferences sections
*
* @param string/array $args hook args
*/
function all_hooks($args)
static function all_hooks($args)
{
if (!isset($_GET['menuaction']) && substr($_SERVER['PHP_SELF'],-16) == '/admin/index.php')
{
admin_statistics::check();
}
$appname = 'admin';
$location = is_array($args) ? $args['location'] : $args;
if ($GLOBALS['egw_info']['user']['apps']['admin'] && $location != 'admins')
{
if (! $GLOBALS['egw']->acl->check('site_config_access',1,'admin'))
{
$file['Site Configuration'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uiconfig.index&appname=admin');
$file['Site Configuration'] = egw::link('/index.php','menuaction=admin.uiconfig.index&appname=admin');
}
/* disabled it, til it does something useful
/* disabled it, til it does something useful
if (! $GLOBALS['egw']->acl->check('peer_server_access',1,'admin'))
{
$file['Peer Servers'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uiserver.list_servers');
$file['Peer Servers'] = egw::link('/index.php','menuaction=admin.uiserver.list_servers');
}
*/
*/
if (! $GLOBALS['egw']->acl->check('account_access',1,'admin'))
{
$file['User Accounts'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uiaccounts.list_users');
$file['User Accounts'] = egw::link('/index.php','menuaction=admin.uiaccounts.list_users');
}
if (! $GLOBALS['egw']->acl->check('group_access',1,'admin'))
{
$file['User Groups'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uiaccounts.list_groups');
$file['User Groups'] = egw::link('/index.php','menuaction=admin.uiaccounts.list_groups');
}
if (! $GLOBALS['egw']->acl->check('applications_access',1,'admin'))
{
$file['Applications'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uiapplications.get_list');
$file['Applications'] = egw::link('/index.php','menuaction=admin.uiapplications.get_list');
}
if (! $GLOBALS['egw']->acl->check('global_categories_access',1,'admin'))
{
$file['Global Categories'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uicategories.index');
$file['Global Categories'] = egw::link('/index.php','menuaction=admin.uicategories.index');
}
if (!$GLOBALS['egw']->acl->check('mainscreen_message_access',1,'admin') || !$GLOBALS['egw']->acl->check('mainscreen_message_access',2,'admin'))
{
$file['Change Main Screen Message'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uimainscreen.index');
$file['Change Main Screen Message'] = egw::link('/index.php','menuaction=admin.uimainscreen.index');
}
if (! $GLOBALS['egw']->acl->check('current_sessions_access',1,'admin'))
{
$file['View Sessions'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions');
$file['View Sessions'] = egw::link('/index.php','menuaction=admin.uicurrentsessions.list_sessions');
}
if (! $GLOBALS['egw']->acl->check('access_log_access',1,'admin'))
@ -88,30 +80,32 @@ class admin_prefs_sidebox_hooks
if (! $GLOBALS['egw']->acl->check('error_log_access',1,'admin'))
{
$file['View Error Log'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uilog.list_log');
$file['View Error Log'] = egw::link('/index.php','menuaction=admin.uilog.list_log');
}
if (! $GLOBALS['egw']->acl->check('applications_access',16,'admin'))
{
$file['Find and Register all Application Hooks'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uiapplications.register_all_hooks');
$file['Find and Register all Application Hooks'] = egw::link('/index.php','menuaction=admin.uiapplications.register_all_hooks');
}
if (! $GLOBALS['egw']->acl->check('asyncservice_access',1,'admin'))
{
$file['Asynchronous timed services'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.uiasyncservice.index');
$file['Asynchronous timed services'] = egw::link('/index.php','menuaction=admin.uiasyncservice.index');
}
if (! $GLOBALS['egw']->acl->check('db_backup_access',1,'admin'))
{
$file['DB backup and restore'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.admin_db_backup.index');
$file['DB backup and restore'] = egw::link('/index.php','menuaction=admin.admin_db_backup.index');
}
if (! $GLOBALS['egw']->acl->check('info_access',1,'admin'))
{
$file['phpInfo'] = "javascript:openwindow('" . $GLOBALS['egw']->link('/admin/phpinfo.php') . "')"; //$GLOBALS['egw']->link('/admin/phpinfo.php');
$file['phpInfo'] = "javascript:openwindow('" . egw::link('/admin/phpinfo.php') . "')"; //egw::link('/admin/phpinfo.php');
}
$file['Admin queue and history'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.admin_cmds.index');
$file['Remote administration instances'] = $GLOBALS['egw']->link('/index.php','menuaction=admin.admin_cmds.remotes');
$file['Admin queue and history'] = egw::link('/index.php','menuaction=admin.admin_cmds.index');
$file['Remote administration instances'] = egw::link('/index.php','menuaction=admin.admin_cmds.remotes');
$file['Submit statistic information'] = egw::link('/index.php','menuaction=admin.admin_statistics.submit');
if ($location == 'admin')
{
@ -121,48 +115,6 @@ class admin_prefs_sidebox_hooks
{
display_sidebox($appname,lang('Admin'),$file);
}
}
}
/**
* populates $GLOBALS['settings'] for the preferences
*/
function settings()
{
$this->check_set_default_prefs();
return true; // otherwise prefs say it cant find the file ;-)
}
/**
* Check if reasonable default preferences are set and set them if not
*
* It sets a flag in the app-session-data to be called only once per session
*/
function check_set_default_prefs()
{
if ($GLOBALS['egw']->session->appsession('default_prefs_set','admin'))
{
return;
}
$GLOBALS['egw']->session->appsession('default_prefs_set','admin','set');
$default_prefs =& $GLOBALS['egw']->preferences->default['admin'];
$defaults = array(
);
foreach($defaults as $var => $default)
{
if (!isset($default_prefs[$var]) || $default_prefs[$var] === '')
{
$GLOBALS['egw']->preferences->add('admin',$var,$default,'default');
$need_save = True;
}
}
if ($need_save)
{
$GLOBALS['egw']->preferences->save_repository(False,'default');
}
}
}

View File

@ -0,0 +1,288 @@
<?php
/**
* EGgroupware admin - submit EGroupware usage statistic
*
* @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @package admin
* @copyright (c) 2009 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
/**
* Submit statistical data to egroupware.org
*/
class admin_statistics
{
const CONFIG_APP = 'admin';
const CONFIG_LAST_SUBMIT = 'last_statistics_submit';
const CONFIG_POSTPONE_SUBMIT = 'postpone_statistics_submit';
const CONFIG_SUBMIT_ID = 'statistics_submit_id';
const CONFIG_INSTALL_TYPE = 'install_type_submit';
const SUBMIT_URL = 'http://www.egroupware-server.org/usage-statistic';
const STATISTIC_URL = 'http://www.egroupware-server.org/usage-statistic';
const SUBMISION_RATE = 2592000; // 30 days
/**
* Which methods of this class can be called as menuation
*
* @var array
*/
public $public_functions = array(
'submit' => true,
);
/**
* Display and allow to submit statistical data
*
* @param array $content=null
*/
public function submit($content=null)
{
if (is_array($content))
{
$config = new config(self::CONFIG_APP);
if ($content['postpone'])
{
config::save_value(self::CONFIG_POSTPONE_SUBMIT,time()+$content['postpone'],self::CONFIG_APP);
$what = 'postpone';
}
elseif($content['submit'])
{
config::save_value(self::CONFIG_LAST_SUBMIT,time(),self::CONFIG_APP);
config::save_value(self::CONFIG_SUBMIT_ID,empty($content['submit_id']) ? '***none***' : $content['submit_id'],self::CONFIG_APP);
config::save_value(self::CONFIG_INSTALL_TYPE,$content['install_type'],self::CONFIG_APP);
config::save_value(self::CONFIG_POSTPONE_SUBMIT,null,self::CONFIG_APP); // remove evtl. postpone time
$what = 'submited';
}
egw::redirect_link('/admin/index.php','statistics='.($what ? $what : 'cancled'));
}
$sel_options['usage_type'] = array(
'comercial' => lang('Comercial: all sorts of companies'),
'governmental' => lang('Governmental: incl. state or municipal authorities or services'),
'educational' => lang('Educational: Universities, Schools, ...'),
'non-profit' => lang('Non profit: Clubs, associations, ...'),
'personal' => lang('Personal: eg. within a family'),
'other' => lang('Other'),
);
$sel_options['install_type'] = array(
'archive' => lang('Archive: zip or tar'),
'package' => lang('RPM or Debian package'),
'svn' => lang('Subversion checkout'),
'other' => lang('Other'),
);
$sel_options['postpone'] = array(
//10 => '10 secs',
3600 => lang('one hour'),
2*3600 => lang('two hours'),
24*3600 => lang('one day'),
2*24*3600 => lang('two days'),
7*24*3600 => lang('one week'),
14*24*3600 => lang('two weeks'),
30*24*3600 => lang('one month'),
60*24*3600 => lang('two month'),
);
$config = config::read(self::CONFIG_APP);
//_debug_array($config);
$content = array_merge(self::gather_data(),array(
'statistic_url' => html::a_href(self::STATISTIC_URL,self::STATISTIC_URL,'',' target="_blank"'),
'submit_host' => parse_url(self::SUBMIT_URL,PHP_URL_HOST),
'submit_url' => self::SUBMIT_URL,
'last_submitted' => $config[self::CONFIG_LAST_SUBMIT],
));
//_debug_array($content);
// use previous submit ID
if ($config['statistics_submit_id'])
{
$content['submit_id'] = $config['statistics_submit_id'] == '***none***' ? '' : $config['statistics_submit_id'];
}
// check if we detected svn or rpm/deb packages --> readonly
if ($content['install_type'])
{
$readonlys['install_type'] = true;
$preserv['install_type'] = $content['install_type'];
}
// else default to previous type
elseif($config[self::CONFIG_INSTALL_TYPE])
{
$content['install_type'] = $config[self::CONFIG_INSTALL_TYPE];
}
// check if we are due for a new submission
if (!isset($config[self::CONFIG_LAST_SUBMIT]) || $config[self::CONFIG_LAST_SUBMIT ] <= time()-self::SUBMISION_RATE)
{
// clear etemplate_exec_id and replace form.action, before submitting the form
$content['onclick'] = "
var action=this.form.action;
var exec_id=this.form['etemplate_exec_id'].value;
this.form.action='$content[submit_url]';
this.form['etemplate_exec_id'].value='';
this.form.target='_blank';
if (!confirm('".addslashes(lang('Submit displayed information?'))."')) return false;
this.form.submit();
this.form.action = action;
this.form['etemplate_exec_id'].value = exec_id;
this.form.target = '';
return true;";
}
else // we are not due --> tell it the user
{
$readonlys['submit'] = $readonlys['postpone'] = true;
$content['msg'] = lang('Your last submission was less then %1 days ago!',
ceil((time()-$config[self::CONFIG_LAST_SUBMIT])/24/3600));
}
$GLOBALS['egw_info']['flags']['app_header'] = lang('Submit statistic information');
$tmpl = new etemplate('admin.statistics');
$tmpl->exec('admin.admin_statistics.submit',$content,$sel_options,$readonlys,$preserv);
}
/**
* Gather statistical data to submit
*
* @return array key => value pairs
*/
protected static function gather_data()
{
// submit id is sha1 hash from install_id
$data['submit_id'] = sha1($GLOBALS['egw_info']['server']['install_id']);
$data['country'] = $GLOBALS['egw_info']['user']['preferences']['common']['country'];
// api version
$data['version'] = $GLOBALS['egw_info']['apps']['phpgwapi']['version'];
// sessions in the last 30 days
$data['sessions'] = $GLOBALS['egw']->db->query('SELECT COUNT(*) FROM egw_access_log WHERE li > '.(time()-30*24*3600))->fetchColumn();
// total accounts from accounts table or ldap
$GLOBALS['egw']->accounts->search(array(
'type' => 'accounts',
'start' => 0,
));
$data['users'] = $GLOBALS['egw']->accounts->total;
$data['php'] = PHP_VERSION.': '.PHP_SAPI;
$data['os'] = PHP_OS;
if (file_exists($file = '/etc/SuSE-release') || file_exists($file = '/etc/redhat-release') || file_exists('debian_version'))
{
$data['os'] .= ': '.str_replace(array("\n","\r"),'',implode(',',file($file)));
}
if (file_exists('.svn'))
{
$data['install_type'] = 'svn';
}
elseif(EGW_INCLUDE_ROOT == '/usr/share/egroupware' && PHP_OS == 'Linux' && is_link('/usr/share/egroupware/header.inc.php'))
{
$data['install_type'] = 'package';
}
foreach($GLOBALS['egw_info']['apps'] as $app => $app_data)
{
if (in_array($app,array(
'admin','phpgwapi','emailadmin','sambaadmin','developer_tools',
'home','preferences','etemplate','registration','manual','egw-pear',
)))
{
continue; // --> ignore to not submit too much
}
if (($users = self::gather_app_users($app))) // ignore apps noone is allowed to run
{
$data['apps'][$app] = $app.':'.round(100.0*$users/$data['users']).'%';
if (($entries = self::gather_app_entries($app)))
{
$data['apps'][$app] .= ':'.$entries;
}
}
}
ksort($data['apps']);
$data['apps'] = implode("\n",$data['apps']);
return $data;
}
/**
* Get percentage of users allowed to use an application
*
* @param string $app
* @return int number of users allowed to run application
*/
static function gather_app_users($app)
{
$users = array();
if (($access = $GLOBALS['egw']->acl->get_ids_for_location('run',1,$app)))
{
foreach($access as $uid)
{
if ($uid > 0)
{
$users[] = $uid;
}
elseif (($members = $GLOBALS['egw']->accounts->members($uid,true)))
{
$users = array_merge($users,$members);
}
}
$users = array_unique($users);
}
return count($users);
}
/**
* Get percentage of users allowed to use an application
*
* @param string $app
* @return int
*/
static function gather_app_entries($app)
{
// main table for each application
static $app2table = array(
'addressbook' => 'egw_addressbook',
'bookmarks' => 'egw_bookmarks',
'calendar' => 'egw_cal_dates',
'infolog' => 'egw_infolog',
'filemanager' => 'egw_sqlfs',
'gallery' => 'g2_Item',
'news_admin' => 'egw_news WHERE news_submittedby > 0', // exclude imported rss feeds
'polls' => 'egw_polls',
'projectmanager' => 'egw_pm_projects',
'phpbrain' => 'egw_kb_articles',
'resources' => 'egw_resources',
'sitemgr' => 'egw_sitemgr_pages',
'syncml' => 'egw_syncmlsummary',
'timesheet' => 'egw_timesheet',
'tracker' => 'egw_tracker',
'wiki' => 'egw_wiki_pages',
'mydms' => 'phpgw_mydms_Documents',
);
if (($table = $app2table[$app]))
{
$entries = (int)$GLOBALS['egw']->db->query('SELECT COUNT(*) FROM '.$table)->fetchColumn();
//echo "$app ($table): $entries<br />\n";
}
return $entries;
}
/**
* Check if next submission is due, in which case we call submit and NOT return to the admin hook
*
*/
public static function check()
{
if (isset($_GET['statistics']))
{
return;
}
$config = config::read(self::CONFIG_APP);
if (isset($config[self::CONFIG_POSTPONE_SUBMIT]) && $config[self::CONFIG_POSTPONE_SUBMIT] > time() ||
isset($config[self::CONFIG_LAST_SUBMIT ]) && $config[self::CONFIG_LAST_SUBMIT ] > time()-self::SUBMISION_RATE)
{
return;
}
//die('Due for new statistics submission: last_submit='.$config[self::CONFIG_LAST_SUBMIT ].', postpone='.$config[self::CONFIG_POSTPONE_SUBMIT].', '.function_backtrace());
egw::redirect_link('/index.php',array('menuaction'=>'admin.admin_statistics.submit'));
}
}

View File

@ -26,6 +26,7 @@ account-id's have to be integers! admin de Konten-Ids müssen vom Typ Integer (Z
acl manager admin de ACL-Manager
acl rights common de ACL-Rechte
action admin de Aktion
actions admin de Aktionen
activate wysiwyg-editor admin de WYSIWYG Editor (formatierter Text) aktivieren
add a category admin de Eine Kategorie hinzufügen
add a group admin de Eine Gruppe hinzufügen
@ -72,6 +73,7 @@ applications list admin de Liste der Anwendungen
applications run rights updated. admin de Anwendungsrechte aktualisiert.
applies the changes admin de übernimmt Änderungen
apply the changes admin de Änderungen übernehmen
archive: zip or tar admin de Archive: ZIP oder TAR
are you sure you want to delete the application %1 ? admin de Sind Sie sicher, dass Sie die Anwendung %1 löschen wollen?
are you sure you want to delete this account ? admin de Sind Sie sicher, dass Sie dieses Konto löschen wollen?
are you sure you want to delete this application ? admin de Sind Sie sicher, dass Sie diese Applikation löschen möchten?
@ -111,11 +113,13 @@ check ip address of all sessions admin de IP-Adresse für alle Sessions überpr
check items to <b>%1</b> to %2 for %3 admin de Durch Abhaken %3 in %2 <b>%1</b>
click to select a color admin de Anclicken um eine Farbe auszuwählen
color admin de Farbe
comercial: all sorts of companies admin de Komerziell: alle Arten von Firmen
command scheduled to run at %1 admin de Ausführung des Befehls eingeplant am/um %1
complete path to aspell program admin de Vollständiger Pfad zum Programm ASPELL
cookie domain (default empty means use full domain name, for sitemgr eg. ".domain.com" allows to use the same cookie for egw.domain.com and www.domain.com) admin de Cookie Domain (Vorgabe leer bedeutet den kompletten Domainnamen, für SiteMgr erlaubt zB. ".domain.com" das gleiche Cookie für egw.domain.com und www.domain.com zu verwenden)
cookie path (allows multiple egw sessions with different directories, has problemes with sitemgr!) admin de Cookie Pfad (erlaubt mehrere eGW Sitzungen mit unterschiedlichen Verzeichnissen, hat Probleme mit SiteMgr!)
could not remote execute the command admin de Kann das Kommando nicht Remote ausführen.
country admin de Nation
country selection admin de Länderauswahl
create group admin de Erstelle Gruppe
created admin de Erstellt
@ -192,7 +196,9 @@ edit this group admin de Diese Gruppe bearbeiten
edit this user admin de Diesen Benutzer bearbeiten
edit user admin de Benutzer bearbeiten
edit user account admin de Benutzerkonto bearbeiten
egroupware directory admin de eGroupWare Verzeichnis
educational: universities, schools, ... admin de Ausbildung: Universitäten, Schulen, ...
egroupware directory admin de EGroupware Verzeichnis
egroupware version admin de EGroupware Version
either install id and config password needed or the remote hash! admin de Sie benötigen entweder die Install ID oder das Konfigurationspasswort oder den Remote Hash
email account active admin de E-Mail-Konto aktiv
email address admin de E-Mail-Adresse
@ -253,6 +259,8 @@ forward also to admin de Zusätzlich weiterleiten an
forward emails to admin de E-Mails weiterleiten an
forward only admin de Nur weiterleiten
global categories common de Globale Kategorien
go directly to admin menu, returning here the next time you click on administration. admin de Geht direkt zum Administrationsmenü, kehrt hier her zurück wenn Sie das nächste mal auf die Administration klicken.
governmental: incl. state or municipal authorities or services admin de Öffentlicher Dienst: Bundes-, Länder- oder stättische Behörden und Dienstleistungen
grant admin de Berechtigungen
group ? admin de Gruppe ?
group has been added common de Gruppe wurde hinzugefügt
@ -279,10 +287,13 @@ inbound admin de eingehend
initial admin de Anfangsbuchstabe
install crontab admin de Crontab installieren
install id admin de Installations ID
installation type admin de Installationstyp
installed applications common de Installierte Anwendungen
installed applications, percentage of allowed users and total number of entries. admin de Installierte Anwendungen, Prozentsatz erlaubte Benutzer und Gesamtzahl der Einträge.
installed crontab admin de Installierte Crontab
instance admin de Instanz
interface admin de Schnittstelle
international use admin de Internationale Benutzung
invalid formated date "%1"! admin de Ungültig formatiertes Datum "%1"!
invalid remote id or name "%1"! admin de Ungültige RemoteID oder Name "%1"!
invalid value "%1" use yes or no! admin de Ungültiger Wert "%1". Verwenden Sie Ja oder Nein (yes/no)
@ -294,6 +305,7 @@ last %1 logins admin de Letze %1 Logins
last %1 logins for %2 admin de Letze %1 Logins für %2
last login admin de Letzter Login
last login from admin de Letzer Login von
last submission: admin de Letzte Absendung:
last time read admin de Zuletzt gelesen
ldap accounts context admin de LDAP-Kontext für Benutzerkonten
ldap default homedirectory prefix (e.g. /home for /home/username) admin de LDAP-Vorgabewert für Benutzerverzeichnisse (z.B. /home für /home/username)
@ -350,8 +362,19 @@ no modes available admin de Kein Modus verfügbar
no permission to add groups admin de Sie haben keine ausreichenden Rechte eine Gruppe hinzuzufügen
no permission to add users admin de Sie haben keine ausreichenden Rechte eine Benutzer hinzuzufügen
no permission to create groups admin de Sie haben keine ausreichenden Rechte um eine Gruppe zu erstellen
non profit: clubs, associations, ... admin de Gemeinnützig: Vereine, Verbände, ...
note: ssl available only if php is compiled with curl support admin de Notiz: SSL ist nur verfügbar, wenn PHP mit CURL-Unterstützung gebaut wurde
number of active users admin de Anzahl aktive User
number of row for a multiline inputfield or line of a multi-select-box admin de Anzahl der Zeilen in einem mehrzeiligen Feld oder eine multi-select-box
number of sessions / egroupware logins in the last 30 days admin de Anzahl Sitzungen / EGroupware Logins in den letzten 30 Tagen
number of users admin de Anzahl Benutzer
official egroupware usage statistic admin de Offizielle EGroupware Nutzungsstatistik
one day admin de ein Tag
one hour admin de eine Stunde
one month admin de ein Monat
one week admin de eine Woche
only below displayed information is directly submitted to %s. admin de Nur die unterhalb angezeigte Information wird direkt zu %s übertragen.
operating system admin de Betriebssystem
order admin de Reihenfolge
outbound admin de ausgehend
own install id: admin de Eigene Install-ID
@ -367,12 +390,15 @@ permission denied admin de Zugriff verweigert
permission denied !!! admin de Zugriff verweigert !!!
permissions admin de Zugriffsrechte
permissions this group has admin de Zugriffsrechte für diese Gruppe
personal: eg. within a family admin de Persönlich: zB. innerhalb einer Familie
php version admin de PHP Version
phpinfo admin de PHP-Informationen
please enter a name admin de Bitte einen Namen eingeben
please enter a name for that server ! admin de Bitte einen Namen für diesen Server eingeben!
please run setup to become current admin de Bitte Setup ausführen um die Installation zu aktualisieren
please select admin de Bitte auswählen
postfix with ldap admin de Postfix mit LDAP
postpone for admin de Aufschieben um
preferences admin de Einstellungen
primary group admin de primäre Gruppe
qmaildotmode admin de qmaildotmode
@ -391,6 +417,7 @@ requested admin de Angefordert
return to admin mainscreen admin de zum Adminstrationsmenü zurückkehren
return to view account admin de Zurück zum Anzeigen des Benutzerkontos
route all mails to admin de Alle Mails senden an
rpm or debian package admin de RPM oder Debian Pakete
run asynchronous services admin de Asynchrone Dienste ausführen
save the category admin de Kategorie speichern
save the category and return back to the list admin de Kategorie speichern und zur Liste zurückkehren
@ -417,6 +444,7 @@ server password admin de Server-Passwort
server type(mode) admin de Server-Typ (Modus)
server url admin de Server-URL
server username admin de Server-Benutzername
sessions last 30 days admin de Sitzungen in letzten 30 Tagen
set preference values. admin de Einstellungswert wurde geändert
should exceptions contain a trace (including function arguments) admin de Sollen Ausnahmefehler eine Rückverfolgung enthalten (einschl. Funktionsargumente)
should the login page include a language selectbox (useful for demo-sites) ? admin de Soll die Anmeldeseite eine Sprachauswahl beinhalten (nützlich für Demosites) ?
@ -440,8 +468,12 @@ standard pop3 server admin de Standard POP3 Server
standard smtp-server admin de Standard SMTP Server
start testjob! admin de Testjob starten!
submit changes admin de Änderungen speichern
submit displayed information? admin de Angezeigte Informationen übertragen?
submit statistic information admin de Statistische Informationen übertragen
submit the search string admin de Geben Sie Ihren Suchbegriff ein
submit to egroupware.org admin de Übertragen an egroupware.org
subtype admin de Untertyp
subversion checkout admin de Subversion checkout (svn)
switch it off, if users are randomly thrown out admin de schalten Sie es aus, wenn Benutzer immer wieder zufällig rausgeworfen werden
template selection admin de Auswahl der Benutzeroberfläche
text entry admin de Texteingabe
@ -452,8 +484,9 @@ that name has been used already admin de Dieser Name wird bereits verwendet
that server name has been used already ! admin de Dieser Server-Name wird bereits verwendet!
the api is current admin de Die API ist aktuell
the api requires an upgrade admin de Die API benötigt ein Upgrade
the cumulated and anonymised data will be publically available: admin de Die kumulierten und anonymisierten Daten werden öffentlich verfügbar sein:
the groups must include the primary group admin de Die Gruppen müssen die primäre Gruppe beinhalten
the install id of an instance can be found under admin > site configuration admin de Id Installations ID für diese Instanz wird unter Addmin >> Konfiguration der Anwendung angezeigt
the install id of an instance can be found under admin > site configuration admin de Id Installations ID für diese Instanz wird unter Admin >> Konfiguration der Anwendung angezeigt
the login and password can not be the same admin de Benutzername und Passwort dürfen nicht identisch sein
the loginid can not be more then 8 characters admin de Der Benutzername darf nich länger als 8 Zeichen sein
the name used internaly (<= 20 chars), changeing it makes existing data unavailible admin de intern benutzer Name (<= 20 buchstaben), veränderungen machen existierende Daten unerreichbar
@ -469,12 +502,17 @@ this category is currently being used by applications as a parent category admin
timeout for application session data in seconds (default 86400 = 1 day) admin de Zeit nach der Anwendungsdaten der Sitzung gelöscht werden in Sekunden (Vorgabe 86400 = 1 Tag)
timeout for sessions in seconds (default 14400 = 4 hours) admin de Zeit nach der Sitzungen verfallen (Vorgabe 14400 = 4 Stunden)
times admin de Zeiten
to allow us to track the growth of your individual installation use this submit id, otherwise delete it: admin de Benutzen Sie diese Übertragungs ID damit wir das Wachstum Ihrer individuellen Installation erfassen können, ansonsten löschen sie diese:
top admin de oben
total of %1 id's changed. admin de Die Gesamtanzahl von %1 Ids wurde geändert.
total records admin de Anzahl Datensätze insgesamt
true admin de Wahr
trust level admin de Grad des Vertrauens
trust relationship admin de Vertrauensverhältnis
two days admin de zwei Tage
two hours admin de zwei Stunden
two month admin de zwei Monate
two weeks admin de zwei Wochen
type '%1' already exists !!! admin de Typ '%1' existiert bereits !!!
type of customfield admin de Typ des Benutzerdefinierten Feldes
under windows you need to install the asyncservice %1manually%2 or use the fallback mode. fallback means the jobs get only checked after each page-view !!! admin de Unter Windows muß der asynchrone Service %1von Hand%2 installiert werden oder es wird nur die Ausweichmöglichkeit benutzt. Bei der Ausweichmöglichkeit werden die Jobs nur nach jedem Seitenaufbau überprüft!!!
@ -483,6 +521,7 @@ unknown command %1! admin de Unbekanntes Kommando %1 !
unknown option %1 admin de Unbekannte Option %1
updated admin de aktualisiert
url of the egroupware installation, eg. http://domain.com/egroupware admin de URL der eGroupware Installation, z.B. http://domain.com/egroupware
usage admin de Einsatz
use cookies to pass sessionid admin de SitzungsId in einem Cookie speichern
use pure html compliant code (not fully working yet) admin de Vollständig HTML kompatiblen Code verwenden (nicht vollständig implementiert)
use theme admin de Benutztes Farbschema
@ -500,6 +539,8 @@ view error log admin de Fehlerprotokoll anzeigen
view sessions admin de Sitzungen anzeigen
view this user admin de Diesen Benutzer anzeigen
view user account admin de Benutzerkonto anzeigen
we ask for the data to improve our profile in the press and to get a better understanding of egroupware's user base and it's needs. admin de Wir bitten um diese Daten um unser Profil in der Presse und das Verständnis der EGroupware Benutzer und ihrer Bedürfnisse zu verbessern.
we hope you understand the importance for this voluntary statistic and not deny it lightly. admin de Wir hoffen Sie verstehen die Wichtigkeit dieser freiwilligen Statistik und verwehren sie nicht leichtfertig.
who would you like to transfer all records owned by the deleted user to? admin de Wem sollen alle Datensätze, die dem zu löschenden Benutzer gehören, übertragen werden?
would you like egroupware to cache the egw info array ? admin de Soll eGroupWare das egw_info Array cachen ?
would you like egroupware to check for a new version<br>when admins login ? admin de Soll eGroupWare prüfen ob eine neue Version vorhanden ist,<br> wenn sich ein Administrator anmeldet ?
@ -523,4 +564,5 @@ you must select a file type admin de Sie müssen einen Dateityp auswählen
you must select at least one group member. admin de Sie müssen mindestens ein Gruppenmitglied auswählen.
you need to enter install id and password! admin de Sie müssen die Install-ID UND das Passwort eingeben!
you will need to remove the subcategories before you can delete this category admin de Sie müssen erst die Unterkategorien löschen bevor Sie diese Kategorie löschen können!
your last submission was less then %1 days ago! admin de Ihre letzte Übertragung liegt weniger als %1 Tage zurück!
your session could not be verified. admin de Ihre Sitzung konnte nicht verifiziert werden.

View File

@ -26,6 +26,7 @@ account-id's have to be integers! admin en Account-id's have to be integers!
acl manager admin en ACL Manager
acl rights common en ACL Rights
action admin en Action
actions admin en Actions
activate wysiwyg-editor admin en activate WYSIWYG-editor
add a category admin en add a category
add a group admin en add a group
@ -72,6 +73,7 @@ applications list admin en Applications list
applications run rights updated. admin en Applications run rights updated.
applies the changes admin en applies the changes
apply the changes admin en Apply the changes
archive: zip or tar admin en Archive: zip or tar
are you sure you want to delete the application %1 ? admin en Are you sure you want to delete the application %1 ?
are you sure you want to delete this account ? admin en Are you sure you want to delete this account ?
are you sure you want to delete this application ? admin en Are you sure you want to delete this application ?
@ -111,11 +113,14 @@ check ip address of all sessions admin en Check IP address of all sessions
check items to <b>%1</b> to %2 for %3 admin en Check items to <b>%1</b> to %2 for %3
click to select a color admin en Click to select a color
color admin en Color
comercial: all sorts of companies admin en Comercial: all sorts of companies
command scheduled to run at %1 admin en Command scheduled to run at %1
complete path to aspell program admin en Complete path to aspell program
config password or md5 hash from the header.inc.php admin en Config password or md5 hash from the header.inc.php
cookie domain (default empty means use full domain name, for sitemgr eg. ".domain.com" allows to use the same cookie for egw.domain.com and www.domain.com) admin en Cookie domain (default empty means use full domain name, for SiteMgr eg. ".domain.com" allows to use the same cookie for egw.domain.com and www.domain.com)
cookie path (allows multiple egw sessions with different directories, has problemes with sitemgr!) admin en Cookie path (allows multiple eGW sessions with different directories, has problemes with SiteMgr!)
could not remote execute the command admin en Could not remote execute the command
country admin en Country
country selection admin en Country Selection
create group admin en Create Group
created admin en Created
@ -192,7 +197,9 @@ edit this group admin en edit this group
edit this user admin en edit this user
edit user admin en edit user
edit user account admin en Edit user account
educational: universities, schools, ... admin en Educational: Universities, Schools, ...
egroupware directory admin en eGroupWare directory
egroupware version admin en EGroupware Version
either install id and config password needed or the remote hash! admin en Either Install ID AND config password needed OR the remote hash!
email account active admin en email account active
email address admin en email address
@ -251,6 +258,8 @@ forward also to admin en forward also to
forward emails to admin en forward emails to
forward only admin en forward only
global categories common en Global Categories
go directly to admin menu, returning here the next time you click on administration. admin en Go directly to admin menu, returning here the next time you click on administration.
governmental: incl. state or municipal authorities or services admin en Governmental: incl. state or municipal authorities or services
grant admin en Grant
group ? admin en group ?
group has been added common en Group has been added
@ -259,6 +268,7 @@ group has been updated common en Group has been updated
group list admin en Group list
group manager admin en Group Manager
group name admin en Group Name
hash admin en Hash
hide php information admin en hide php information
home directory admin en Home directory
host information admin en Host information
@ -277,10 +287,13 @@ inbound admin en inbound
initial admin en Initial
install crontab admin en Install crontab
install id admin en Install ID
installation type admin en Installation Type
installed applications common en Installed applications
installed applications, percentage of allowed users and total number of entries. admin en Installed applications, percentage of allowed users and total number of entries.
installed crontab admin en Installed crontab
instance admin en Instance
interface admin en Interface
international use admin en International use
invalid formated date "%1"! admin en Invalid formated date "%1"!
invalid remote id or name "%1"! admin en Invalid remote id or name "%1"!
invalid value "%1" use yes or no! admin en Invalid value "%1" use yes or no!
@ -292,6 +305,7 @@ last %1 logins admin en Last %1 logins
last %1 logins for %2 admin en Last %1 logins for %2
last login admin en last login
last login from admin en last login from
last submission: admin en Last submission:
last time read admin en Last Time Read
ldap accounts context admin en LDAP accounts context
ldap default homedirectory prefix (e.g. /home for /home/username) admin en LDAP Default homedirectory prefix (e.g. /home for /home/username)
@ -310,11 +324,13 @@ length<br>rows admin en Length<br>Rows
list config settings admin en List config settings
list current sessions admin en List current sessions
list of current users admin en list of current users
logged out admin en logged out
login history admin en Login History
login message admin en Login message
login screen admin en Login screen
login shell admin en Login shell
login time admin en Login Time
login-status admin en Login-Status
loginid admin en LoginID
logintime admin en Logintime
logoutime admin en Logoutime
@ -348,8 +364,19 @@ no modes available admin en no modes available
no permission to add groups admin en no permission to add groups
no permission to add users admin en no permission to add users
no permission to create groups admin en no permission to create groups
non profit: clubs, associations, ... admin en Non profit: Clubs, associations, ...
note: ssl available only if php is compiled with curl support admin en Note: SSL available only if PHP is compiled with curl support
number of active users admin en number of active users
number of row for a multiline inputfield or line of a multi-select-box admin en number of row for a multiline inputfield or line of a multi-select-box
number of sessions / egroupware logins in the last 30 days admin en Number of sessions / EGroupware logins in the last 30 days
number of users admin en Number of users
official egroupware usage statistic admin en Official EGroupware usage statistic
one day admin en one day
one hour admin en one hour
one month admin en one month
one week admin en one week
only below displayed information is directly submitted to %s. admin en Only below displayed information is directly submitted to %s.
operating system admin en Operating System
order admin en Order
outbound admin en outbound
own install id: admin en Own install ID:
@ -365,12 +392,15 @@ permission denied admin en Permission denied
permission denied !!! admin en Permission denied !!!
permissions admin en Permissions
permissions this group has admin en Permissions this group has
personal: eg. within a family admin en Personal: eg. within a family
php version admin en PHP Version
phpinfo admin en PHP information
please enter a name admin en Please enter a name
please enter a name for that server ! admin en Please enter a name for that server !
please run setup to become current admin en Please run setup to become current
please select admin en Please Select
postfix with ldap admin en Postfix with LDAP
postpone for admin en Postpone for
preferences admin en Preferences
primary group admin en primary Group
qmaildotmode admin en qmaildotmode
@ -389,6 +419,7 @@ requested admin en Requested
return to admin mainscreen admin en return to admin mainscreen
return to view account admin en Return to view account
route all mails to admin en Route all Mails to
rpm or debian package admin en RPM or Debian package
run asynchronous services admin en Run Asynchronous services
save the category admin en save the category
save the category and return back to the list admin en save the category and return back to the list
@ -401,6 +432,7 @@ search groups admin en Search groups
search peer servers admin en Search peer servers
security admin en Security
select accounts for which the custom field should be visible admin en Select accounts for which the custom field should be visible
select all admin en Select all
select group managers admin en Select Group Managers
select permissions this group will have admin en Select permissions this group will have
select the parent category. if this is a main category select no category admin en Select the parent category. If this is a main category select NO CATEGORY
@ -415,6 +447,7 @@ server password admin en Server Password
server type(mode) admin en Server Type(mode)
server url admin en Server URL
server username admin en Server Username
sessions last 30 days admin en Sessions last 30 days
set preference values. admin en Set preference values.
should exceptions contain a trace (including function arguments) admin en Should exceptions contain a trace (including function arguments)
should the login page include a language selectbox (useful for demo-sites) ? admin en Should the login page include a language selectbox (useful for demo-sites) ?
@ -438,8 +471,13 @@ standard pop3 server admin en standard POP3 server
standard smtp-server admin en standard SMTP-Server
start testjob! admin en Start TestJob!
submit changes admin en Submit Changes
submit displayed information? admin en Submit displayed information?
submit statistic information admin en Submit statistic information
submit the search string admin en Submit the search string
submit to egroupware.org admin en Submit to egroupware.org
subtype admin en Subtype
subversion checkout admin en Subversion checkout
success admin en success
switch it off, if users are randomly thrown out admin en switch it off, if users are randomly thrown out
template selection admin en Template Selection
text entry admin en Text Entry
@ -450,6 +488,7 @@ that name has been used already admin en That name has been used already
that server name has been used already ! admin en That server name has been used already !
the api is current admin en The API is current
the api requires an upgrade admin en The API requires an upgrade
the cumulated and anonymised data will be publically available: admin en The cumulated and anonymised data will be publically available:
the groups must include the primary group admin en The groups must include the primary group
the install id of an instance can be found under admin > site configuration admin en The install ID of an instance can be found under Admin > Site configuration
the login and password can not be the same admin en The login and password can not be the same
@ -467,12 +506,17 @@ this category is currently being used by applications as a parent category admin
timeout for application session data in seconds (default 86400 = 1 day) admin en Timeout for application session data in seconds (default 86400 = 1 day)
timeout for sessions in seconds (default 14400 = 4 hours) admin en Timeout for sessions in seconds (default 14400 = 4 hours)
times admin en Times
to allow us to track the growth of your individual installation use this submit id, otherwise delete it: admin en To allow us to track the growth of your individual installation use this submit ID, otherwise delete it:
top admin en top
total of %1 id's changed. admin en Total of %1 id's changed.
total records admin en Total records
true admin en true
trust level admin en Trust Level
trust relationship admin en Trust Relationship
two days admin en two days
two hours admin en two hours
two month admin en two month
two weeks admin en two weeks
type '%1' already exists !!! admin en type '%1' already exists !!!
type of customfield admin en Type of customfield
under windows you need to install the asyncservice %1manually%2 or use the fallback mode. fallback means the jobs get only checked after each page-view !!! admin en Under windows you need to install the asyncservice %1manually%2 or use the fallback mode. Fallback means the jobs get only checked after each page-view !!!
@ -481,6 +525,7 @@ unknown command %1! admin en Unknown command %1!
unknown option %1 admin en Unknown option %1
updated admin en updated
url of the egroupware installation, eg. http://domain.com/egroupware admin en URL of the eGroupWare installation, eg. http://domain.com/egroupware
usage admin en Usage
use cookies to pass sessionid admin en Use cookies to pass sessionid
use pure html compliant code (not fully working yet) admin en Use pure HTML compliant code (not fully working yet)
use theme admin en Use theme
@ -498,6 +543,8 @@ view error log admin en View error log
view sessions admin en View sessions
view this user admin en view this user
view user account admin en View user account
we ask for the data to improve our profile in the press and to get a better understanding of egroupware's user base and it's needs. admin en We ask for the data to improve our profile in the press and to get a better understanding of EGroupware's user base and it's needs.
we hope you understand the importance for this voluntary statistic and not deny it lightly. admin en We hope you understand the importance for this voluntary statistic and not deny it lightly.
who would you like to transfer all records owned by the deleted user to? admin en Who would you like to transfer ALL records owned by the deleted user to?
would you like egroupware to cache the egw info array ? admin en Would you like eGroupWare to cache the egw info array ?
would you like egroupware to check for a new version<br>when admins login ? admin en Would you like eGroupWare to check for a new version<br>when admins login ?
@ -521,4 +568,5 @@ you must select a file type admin en You must select a file type
you must select at least one group member. admin en You must select at least one group member.
you need to enter install id and password! admin en You need to enter Install ID AND Password!
you will need to remove the subcategories before you can delete this category admin en You will need to remove the subcategories before you can delete this category !
your last submission was less then %1 days ago! admin en Your last submission was less then %1 days ago!
your session could not be verified. admin en Your session could not be verified.

View File

@ -2,7 +2,7 @@
/**
* eGroupWare - eTemplates for Application admin
* http://www.egroupware.org
* generated by soetemplate::dump4setup() 2009-10-06 10:17
* generated by soetemplate::dump4setup() 2009-11-17 10:01
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package admin
@ -36,3 +36,11 @@ $templ_data[] = array('name' => 'admin.remotes.header_right','template' => '','l
$templ_data[] = array('name' => 'admin.remotes.rows','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:2:{s:2:"c1";s:2:"th";s:2:"c2";s:3:"row";}i:1;a:4:{s:1:"A";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Name";s:4:"name";s:11:"remote_name";}s:1:"B";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:3:"URL";s:4:"name";s:10:"remote_url";}s:1:"C";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:8:"Instance";s:4:"name";s:13:"remote_domain";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Actions";}}i:2;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:4:"name";s:19:"${row}[remote_name]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"size";s:64:",$row_cont[remote_url]/?domain=$row_cont[remote_domain],,,_blank";s:4:"name";s:18:"${row}[remote_url]";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:4:"name";s:21:"${row}[remote_domain]";s:7:"no_lang";s:1:"1";}s:1:"D";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"1";i:1;a:5:{s:4:"type";s:6:"button";s:4:"size";s:4:"edit";s:5:"label";s:4:"Edit";s:4:"name";s:26:"edit[$row_cont[remote_id]]";i:1;a:1:{s:4:"type";s:4:"hbox";}}s:5:"align";s:6:"center";}}}s:4:"rows";i:2;s:4:"cols";i:4;}}','size' => '','style' => '','modified' => '1195925625',);
$templ_data[] = array('name' => 'admin.statistics','template' => '','lang' => '','group' => '0','version' => '1.7.001','data' => 'a:2:{i:0;a:9:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"5";s:4:"span";s:10:"all,bigger";s:5:"label";s:35:"Official EGroupware usage statistic";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:131:"We ask for the data to improve our profile in the press and to get a better understanding of EGroupware\'s user base and it\'s needs.";}i:2;a:4:{s:4:"type";s:4:"html";s:5:"label";s:63:"The cumulated and anonymised data will be publically available:";i:1;a:2:{s:4:"type";s:4:"vbox";s:5:"label";s:44:"The statistics will be publically available:";}s:4:"name";s:13:"statistic_url";}i:3;a:3:{s:4:"type";s:5:"label";s:5:"label";s:91:"We hope you understand the importance for this voluntary statistic and not deny it lightly.";s:4:"span";s:5:",bold";}i:4;a:3:{s:4:"type";s:5:"label";s:5:"label";s:61:"Only below displayed information is directly submitted to %s.";s:4:"name";s:11:"submit_host";}i:5;a:4:{s:4:"type";s:4:"text";s:5:"label";s:104:"To allow us to track the growth of your individual installation use this submit ID, otherwise delete it:";s:4:"name";s:9:"submit_id";s:4:"size";s:5:"40,40";}}i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:14:{i:0;a:4:{s:1:"A";s:3:"140";s:3:"c10";s:4:",top";s:3:"h11";s:17:",!@last_submitted";s:3:"h12";s:6:",!@msg";}i:1;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:10:",,,country";s:5:"label";s:7:"Country";}s:1:"B";a:3:{s:4:"type";s:14:"select-country";s:4:"name";s:7:"country";s:4:"size";s:17:"International use";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"Usage";s:4:"size";s:13:",,,usage_type";}s:1:"B";a:2:{s:4:"type";s:6:"select";s:4:"name";s:10:"usage_type";}}i:4;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:15:"Number of users";s:4:"size";s:8:",,,users";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"name";s:5:"users";s:4:"help";s:22:"number of active users";s:4:"size";s:2:"-8";s:8:"readonly";s:1:"1";}}i:5;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,sessions";s:5:"label";s:21:"Sessions last 30 days";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"name";s:8:"sessions";s:4:"help";s:58:"Number of sessions / EGroupware logins in the last 30 days";s:4:"size";s:2:"-8";s:8:"readonly";s:1:"1";}}i:6;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:18:"EGroupware Version";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"version";s:4:"size";s:2:"-8";s:8:"readonly";s:1:"1";}}i:7;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:16:"Operating System";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:2:"os";s:4:"size";s:3:"-40";s:8:"readonly";s:1:"1";}}i:8;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:6:",,,php";s:5:"label";s:11:"PHP Version";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:3:"php";s:4:"size";s:3:"-20";s:8:"readonly";s:1:"1";}}i:9;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:17:"Installation Type";}s:1:"B";a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"install_type";}}i:10;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Applications";}s:1:"B";a:4:{s:4:"type";s:8:"textarea";s:4:"size";s:5:"10,40";s:4:"name";s:4:"apps";s:4:"help";s:80:"Installed applications, percentage of allowed users and total number of entries.";}}i:11;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:16:"Last submission:";}s:1:"B";a:3:{s:4:"type";s:9:"date-time";s:8:"readonly";s:1:"1";s:4:"name";s:14:"last_submitted";}}i:12;a:2:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:5:"align";s:6:"center";s:4:"name";s:3:"msg";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:13;a:2:{s:1:"A";a:5:{s:4:"type";s:6:"button";s:5:"label";s:6:"Submit";s:4:"help";s:24:"Submit to egroupware.org";s:7:"onclick";s:14:"$cont[onclick]";s:4:"name";s:6:"submit";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:6:"select";s:4:"name";s:8:"postpone";s:4:"size";s:12:"Postpone for";s:8:"onchange";i:1;}i:2;a:5:{s:4:"type";s:6:"button";s:4:"name";s:6:"cancel";s:5:"label";s:6:"Cancel";s:4:"help";s:84:"Go directly to admin menu, returning here the next time you click on administration.";s:5:"align";s:5:"right";}}}}s:4:"rows";i:13;s:4:"cols";i:2;}}','size' => '','style' => '.bold { font-weight: bold; }
fieldset.bigger legend {
font-weight: bold;
font-size: 125%;
padding-left: 5px;
padding-right: 5px;
}','modified' => '1257091720',);

View File

@ -0,0 +1,94 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="admin.statistics" template="" lang="" group="0" version="1.7.001">
<groupbox span="all" class="bigger">
<caption label="Official EGroupware usage statistic"/>
<description value="We ask for the data to improve our profile in the press and to get a better understanding of EGroupware's user base and it's needs."/>
<html label="The cumulated and anonymised data will be publically available:" id="statistic_url"/>
<description value="We hope you understand the importance for this voluntary statistic and not deny it lightly." class="bold"/>
<description value="Only below displayed information is directly submitted to %s." id="submit_host"/>
<textbox label="To allow us to track the growth of your individual installation use this submit ID, otherwise delete it:" id="submit_id" size="40" maxlength="40"/>
</groupbox>
<grid>
<columns>
<column width="140"/>
<column/>
</columns>
<rows>
<row>
<description/>
<description/>
</row>
<row>
<description options=",,,country" value="Country"/>
<menulist>
<menupopup type="select-country" id="country" options="International use"/>
</menulist>
</row>
<row>
<description value="Usage" options=",,,usage_type"/>
<menulist>
<menupopup id="usage_type"/>
</menulist>
</row>
<row>
<description value="Number of users" options=",,,users"/>
<textbox id="users" statustext="number of active users" size="-8" readonly="true"/>
</row>
<row>
<description options=",,,sessions" value="Sessions last 30 days"/>
<textbox id="sessions" statustext="Number of sessions / EGroupware logins in the last 30 days" size="-8" readonly="true"/>
</row>
<row>
<description value="EGroupware Version"/>
<textbox id="version" size="-8" readonly="true"/>
</row>
<row>
<description value="Operating System"/>
<textbox id="os" size="-40" readonly="true"/>
</row>
<row>
<description options=",,,php" value="PHP Version"/>
<textbox id="php" size="-20" readonly="true"/>
</row>
<row>
<description value="Installation Type"/>
<menulist>
<menupopup id="install_type"/>
</menulist>
</row>
<row valign="top">
<description value="Applications"/>
<textbox multiline="true" rows="10" cols="40" id="apps" statustext="Installed applications, percentage of allowed users and total number of entries."/>
</row>
<row disabled="!@last_submitted">
<description value="Last submission:"/>
<date-time readonly="true" id="last_submitted"/>
</row>
<row disabled="!@msg">
<description span="all" class="redItalic" align="center" id="msg"/>
<description/>
</row>
<row>
<button label="Submit" statustext="Submit to egroupware.org" onclick="$cont[onclick]" id="submit"/>
<hbox>
<menulist>
<menupopup id="postpone" options="Postpone for" onchange="1"/>
</menulist>
<button id="cancel" label="Cancel" statustext="Go directly to admin menu, returning here the next time you click on administration." align="right"/>
</hbox>
</row>
</rows>
</grid>
<styles>
.bold { font-weight: bold; }
fieldset.bigger legend {
font-weight: bold;
font-size: 125%;
padding-left: 5px;
padding-right: 5px;
}
</styles>
</template>
</overlay>

View File

@ -259,6 +259,8 @@ class setup_process
$current_config['install_id'] = md5($_SERVER['HTTP_HOST'].microtime(true).$GLOBALS['egw_setup']->ConfigDomain);
$current_config['postpone_statistics_submit'] = time() + 2 * 30 * 3600; // ask user in 2 month from now, when he has something to report
if ($preset_config)
{
$current_config = array_merge($current_config,$preset_config);
@ -269,7 +271,7 @@ class setup_process
$GLOBALS['egw_setup']->db->insert($GLOBALS['egw_setup']->config_table,array(
'config_value' => $value,
),array(
'config_app' => 'phpgwapi',
'config_app' => $name == 'postpone_statistics_submit' ? 'admin' : 'phpgwapi',
'config_name' => $name,
),__FILE__,__LINE__);
}