Commit a6efc78e authored by tbrehm's avatar tbrehm

Updated several scripts and language files.

Added a helper script for updates from SVN.
parent 9abbe8f7
#!/bin/bash
cd /tmp
svn export svn://svn.ispconfig.org/ispconfig3/trunk/
cd trunk/install
php -q update.php
cd /tmp
rm -rf /tmp/trunk
\ No newline at end of file
......@@ -30,6 +30,14 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
class auth {
public function is_admin() {
if($_SESSION['s']['user']['typ'] == 'admin') {
return true;
} else {
return false;
}
}
public function has_clients($userid) {
global $app, $conf;
......
<?php
$wb[1001] = "Username oder Passwort ist leer.";
$wb[1002] = "Username oder Passwort ist falsch.";
?>
\ No newline at end of file
$wb['1001'] = 'Username oder Passwort ist leer.';
$wb['1002'] = 'Username oder Passwort ist falsch.';
?>
<?php
$wb["jobname_txt"] = 'Name';
$wb["jobname_err"] = 'Es wurde kein Name fr diese Aufgabe angegeben.';
$wb["sync_interval_minutes_txt"] = 'Intervall (Min.)';
$wb["db_type_txt"] = 'DB Typ';
$wb["db_host_txt"] = 'DB Host';
$wb["db_name_txt"] = 'DB Name';
$wb["db_username_txt"] = 'DB User';
$wb["db_password_txt"] = 'DB Passwort';
$wb["db_tables_txt"] = 'Tabellen';
$wb["empty_datalog_txt"] = 'Datalog nach Synchronistaion lschen.';
$wb["sync_datalog_external_txt"] = 'Externes Datalog fllen.';
$wb["active_txt"] = 'active';
?>
\ No newline at end of file
<?php
$wb['jobname_txt'] = 'Name';
$wb['jobname_err'] = 'Es wurde kein Name für diese Aufgabe angegeben.';
$wb['sync_interval_minutes_txt'] = 'Intervall (Min.)';
$wb['db_type_txt'] = 'DB Typ';
$wb['db_host_txt'] = 'DB Host';
$wb['db_name_txt'] = 'DB Name';
$wb['db_username_txt'] = 'DB User';
$wb['db_password_txt'] = 'DB Passwort';
$wb['db_tables_txt'] = 'Tabellen';
$wb['empty_datalog_txt'] = 'Datalog nach Synchronistaion löschen.';
$wb['sync_datalog_external_txt'] = 'Externes Datalog füllen.';
$wb['active_txt'] = 'active';
?>
<?php
$wb["jobname_txt"] = 'Name';
$wb["jobname_err"] = 'Es wurde kein Name fr diese Aufgabe angegeben.';
$wb["sync_interval_minutes_txt"] = 'Intervall (Min.)';
$wb["ftp_host_txt"] = 'FTP Host';
$wb["ftp_path_txt"] = 'FTP Pfad';
$wb["ftp_username_txt"] = 'FTP User';
$wb["ftp_password_txt"] = 'FTP Passwort';
$wb["local_path_txt"] = 'Lokaler Pfad';
$wb["wput_options_txt"] = 'Wput Optionen';
$wb["active_txt"] = 'Aktiv';
?>
\ No newline at end of file
$wb['jobname_txt'] = 'Name';
$wb['jobname_err'] = 'Es wurde kein Name für diese Aufgabe angegeben.';
$wb['sync_interval_minutes_txt'] = 'Intervall (Min.)';
$wb['ftp_host_txt'] = 'FTP Host';
$wb['ftp_path_txt'] = 'FTP Pfad';
$wb['ftp_username_txt'] = 'FTP User';
$wb['ftp_password_txt'] = 'FTP Passwort';
$wb['local_path_txt'] = 'Lokaler Pfad';
$wb['wput_options_txt'] = 'Wput Optionen';
$wb['active_txt'] = 'Aktiv';
?>
<?php
$wb["username_txt"] = 'Username';
$wb["username_err"] = 'username_err';
$wb["passwort_txt"] = 'Passwort';
$wb["modules_txt"] = 'Module';
$wb["startmodule_txt"] = 'Startmodul';
$wb["app_theme_txt"] = 'Design';
$wb["typ_txt"] = 'Typ';
$wb["active_txt"] = 'Aktiv';
$wb["language_txt"] = 'Sprache';
$wb["name_txt"] = 'Name';
$wb["vorname_txt"] = 'Vorname';
$wb["unternehmen_txt"] = 'Unternehmen';
$wb["strasse_txt"] = 'Strasse';
$wb["ort_txt"] = 'Ort';
$wb["plz_txt"] = 'Plz';
$wb["land_txt"] = 'Land';
$wb["email_txt"] = 'Email';
$wb["url_txt"] = 'Url';
$wb["telefon_txt"] = 'Telefon';
$wb["fax_txt"] = 'Fax';
$wb["groups_txt"] = 'Gruppen';
$wb["default_group_txt"] = 'Standard Gruppe';
?>
\ No newline at end of file
$wb['username_txt'] = 'Username';
$wb['username_err'] = 'Der Username enthält ungültige Zeichen.';
$wb['passwort_txt'] = 'Passwort';
$wb['modules_txt'] = 'Module';
$wb['startmodule_txt'] = 'Startmodul';
$wb['app_theme_txt'] = 'Design';
$wb['typ_txt'] = 'Typ';
$wb['active_txt'] = 'Aktiv';
$wb['language_txt'] = 'Sprache';
$wb['name_txt'] = 'Name';
$wb['vorname_txt'] = 'Vorname';
$wb['unternehmen_txt'] = 'Unternehmen';
$wb['strasse_txt'] = 'Strasse';
$wb['ort_txt'] = 'Ort';
$wb['plz_txt'] = 'Plz';
$wb['land_txt'] = 'Land';
$wb['email_txt'] = 'Email';
$wb['url_txt'] = 'Url';
$wb['telefon_txt'] = 'Telefon';
$wb['fax_txt'] = 'Fax';
$wb['groups_txt'] = 'Gruppen';
$wb['default_group_txt'] = 'Standard Gruppe';
?>
......@@ -23,7 +23,7 @@ $module['nav'][] = array( 'title' => 'CP Users',
'items' => $items);
// aufr�umen
// cleanup
unset($items);
$items[] = array( 'title' => 'Add group',
......@@ -40,7 +40,7 @@ $module['nav'][] = array( 'title' => 'Groups',
'items' => $items);
// aufr�umen
// cleanup
unset($items);
/*
$items[] = array( 'title' => 'Add server',
......@@ -65,7 +65,7 @@ $module['nav'][] = array( 'title' => 'Servers',
'items' => $items);
// aufr�umen
// cleanup
unset($items);
$items[] = array( 'title' => 'Add user',
......@@ -86,6 +86,32 @@ $module['nav'][] = array( 'title' => 'DB Sync.',
'items' => $items);
// cleanup
unset($items);
$items[] = array( 'title' => 'Languages',
'target' => 'content',
'link' => 'admin/language_list.php');
$items[] = array( 'title' => 'New Language',
'target' => 'content',
'link' => 'admin/language_add.php');
$items[] = array( 'title' => 'Export',
'target' => 'content',
'link' => 'admin/language_export.php');
$items[] = array( 'title' => 'Import',
'target' => 'content',
'link' => 'admin/language_import.php');
$module['nav'][] = array( 'title' => 'Language Editor',
'open' => 1,
'items' => $items);
// aufr�umen
unset($items);
......
<?php
$wb['recipient_id_txt'] = 'recipient_id';
$wb['sender_id_txt'] = 'sender_id';
$wb['subject_txt'] = 'subject';
$wb['message_txt'] = 'message';
$wb['tstamp_txt'] = 'tstamp';
$wb['btn_save_txt'] = 'Save';
$wb['btn_cancel_txt'] = 'Cancel';
?>
\ No newline at end of file
<?php
$wb['recipient_id_txt'] = 'Recipient ID';
$wb['sender_id_txt'] = 'Sender ID';
$wb['subject_txt'] = 'Subject';
$wb['message_txt'] = 'Message';
$wb['tstamp_txt'] = 'Timestamp';
$wb['btn_save_txt'] = 'Save';
$wb['btn_cancel_txt'] = 'Cancel';
?>
......@@ -282,6 +282,14 @@ textarea,input.text,select,option{
border: 1px solid #CC0000;
text-decoration: none;
}
.msg {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
border: 1px solid #00CC00;
text-decoration: none;
}
INPUT {
border: 1px solid #BFCBD9;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment