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. ...@@ -30,6 +30,14 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
class auth { class auth {
public function is_admin() {
if($_SESSION['s']['user']['typ'] == 'admin') {
return true;
} else {
return false;
}
}
public function has_clients($userid) { public function has_clients($userid) {
global $app, $conf; global $app, $conf;
......
<?php <?php
$wb['1001'] = 'Username oder Passwort ist leer.';
$wb[1001] = "Username oder Passwort ist leer."; $wb['1002'] = 'Username oder Passwort ist falsch.';
$wb[1002] = "Username oder Passwort ist falsch."; ?>
?>
\ No newline at end of file
<?php <?php
$wb["jobname_txt"] = 'Name'; $wb['jobname_txt'] = 'Name';
$wb["jobname_err"] = 'Es wurde kein Name fr diese Aufgabe angegeben.'; $wb['jobname_err'] = 'Es wurde kein Name für diese Aufgabe angegeben.';
$wb["sync_interval_minutes_txt"] = 'Intervall (Min.)'; $wb['sync_interval_minutes_txt'] = 'Intervall (Min.)';
$wb["db_type_txt"] = 'DB Typ'; $wb['db_type_txt'] = 'DB Typ';
$wb["db_host_txt"] = 'DB Host'; $wb['db_host_txt'] = 'DB Host';
$wb["db_name_txt"] = 'DB Name'; $wb['db_name_txt'] = 'DB Name';
$wb["db_username_txt"] = 'DB User'; $wb['db_username_txt'] = 'DB User';
$wb["db_password_txt"] = 'DB Passwort'; $wb['db_password_txt'] = 'DB Passwort';
$wb["db_tables_txt"] = 'Tabellen'; $wb['db_tables_txt'] = 'Tabellen';
$wb["empty_datalog_txt"] = 'Datalog nach Synchronistaion lschen.'; $wb['empty_datalog_txt'] = 'Datalog nach Synchronistaion löschen.';
$wb["sync_datalog_external_txt"] = 'Externes Datalog fllen.'; $wb['sync_datalog_external_txt'] = 'Externes Datalog füllen.';
$wb["active_txt"] = 'active'; $wb['active_txt'] = 'active';
?> ?>
\ No newline at end of file
<?php <?php
$wb["jobname_txt"] = 'Name'; $wb['jobname_txt'] = 'Name';
$wb["jobname_err"] = 'Es wurde kein Name fr diese Aufgabe angegeben.'; $wb['jobname_err'] = 'Es wurde kein Name für diese Aufgabe angegeben.';
$wb["sync_interval_minutes_txt"] = 'Intervall (Min.)'; $wb['sync_interval_minutes_txt'] = 'Intervall (Min.)';
$wb["ftp_host_txt"] = 'FTP Host'; $wb['ftp_host_txt'] = 'FTP Host';
$wb["ftp_path_txt"] = 'FTP Pfad'; $wb['ftp_path_txt'] = 'FTP Pfad';
$wb["ftp_username_txt"] = 'FTP User'; $wb['ftp_username_txt'] = 'FTP User';
$wb["ftp_password_txt"] = 'FTP Passwort'; $wb['ftp_password_txt'] = 'FTP Passwort';
$wb["local_path_txt"] = 'Lokaler Pfad'; $wb['local_path_txt'] = 'Lokaler Pfad';
$wb["wput_options_txt"] = 'Wput Optionen'; $wb['wput_options_txt'] = 'Wput Optionen';
$wb["active_txt"] = 'Aktiv'; $wb['active_txt'] = 'Aktiv';
?> ?>
\ No newline at end of file
<?php <?php
$wb["username_txt"] = 'Username'; $wb['username_txt'] = 'Username';
$wb["username_err"] = 'username_err'; $wb['username_err'] = 'Der Username enthält ungültige Zeichen.';
$wb["passwort_txt"] = 'Passwort'; $wb['passwort_txt'] = 'Passwort';
$wb["modules_txt"] = 'Module'; $wb['modules_txt'] = 'Module';
$wb["startmodule_txt"] = 'Startmodul'; $wb['startmodule_txt'] = 'Startmodul';
$wb["app_theme_txt"] = 'Design'; $wb['app_theme_txt'] = 'Design';
$wb["typ_txt"] = 'Typ'; $wb['typ_txt'] = 'Typ';
$wb["active_txt"] = 'Aktiv'; $wb['active_txt'] = 'Aktiv';
$wb["language_txt"] = 'Sprache'; $wb['language_txt'] = 'Sprache';
$wb["name_txt"] = 'Name'; $wb['name_txt'] = 'Name';
$wb["vorname_txt"] = 'Vorname'; $wb['vorname_txt'] = 'Vorname';
$wb["unternehmen_txt"] = 'Unternehmen'; $wb['unternehmen_txt'] = 'Unternehmen';
$wb["strasse_txt"] = 'Strasse'; $wb['strasse_txt'] = 'Strasse';
$wb["ort_txt"] = 'Ort'; $wb['ort_txt'] = 'Ort';
$wb["plz_txt"] = 'Plz'; $wb['plz_txt'] = 'Plz';
$wb["land_txt"] = 'Land'; $wb['land_txt'] = 'Land';
$wb["email_txt"] = 'Email'; $wb['email_txt'] = 'Email';
$wb["url_txt"] = 'Url'; $wb['url_txt'] = 'Url';
$wb["telefon_txt"] = 'Telefon'; $wb['telefon_txt'] = 'Telefon';
$wb["fax_txt"] = 'Fax'; $wb['fax_txt'] = 'Fax';
$wb["groups_txt"] = 'Gruppen'; $wb['groups_txt'] = 'Gruppen';
$wb["default_group_txt"] = 'Standard Gruppe'; $wb['default_group_txt'] = 'Standard Gruppe';
?> ?>
\ No newline at end of file
...@@ -23,7 +23,7 @@ $module['nav'][] = array( 'title' => 'CP Users', ...@@ -23,7 +23,7 @@ $module['nav'][] = array( 'title' => 'CP Users',
'items' => $items); 'items' => $items);
// aufr�umen // cleanup
unset($items); unset($items);
$items[] = array( 'title' => 'Add group', $items[] = array( 'title' => 'Add group',
...@@ -40,7 +40,7 @@ $module['nav'][] = array( 'title' => 'Groups', ...@@ -40,7 +40,7 @@ $module['nav'][] = array( 'title' => 'Groups',
'items' => $items); 'items' => $items);
// aufr�umen // cleanup
unset($items); unset($items);
/* /*
$items[] = array( 'title' => 'Add server', $items[] = array( 'title' => 'Add server',
...@@ -65,7 +65,7 @@ $module['nav'][] = array( 'title' => 'Servers', ...@@ -65,7 +65,7 @@ $module['nav'][] = array( 'title' => 'Servers',
'items' => $items); 'items' => $items);
// aufr�umen // cleanup
unset($items); unset($items);
$items[] = array( 'title' => 'Add user', $items[] = array( 'title' => 'Add user',
...@@ -86,6 +86,32 @@ $module['nav'][] = array( 'title' => 'DB Sync.', ...@@ -86,6 +86,32 @@ $module['nav'][] = array( 'title' => 'DB Sync.',
'items' => $items); '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 // aufr�umen
unset($items); unset($items);
......
<?php <?php
$wb['recipient_id_txt'] = 'recipient_id'; $wb['recipient_id_txt'] = 'Recipient ID';
$wb['sender_id_txt'] = 'sender_id'; $wb['sender_id_txt'] = 'Sender ID';
$wb['subject_txt'] = 'subject'; $wb['subject_txt'] = 'Subject';
$wb['message_txt'] = 'message'; $wb['message_txt'] = 'Message';
$wb['tstamp_txt'] = 'tstamp'; $wb['tstamp_txt'] = 'Timestamp';
$wb['btn_save_txt'] = 'Save'; $wb['btn_save_txt'] = 'Save';
$wb['btn_cancel_txt'] = 'Cancel'; $wb['btn_cancel_txt'] = 'Cancel';
?> ?>
\ No newline at end of file
...@@ -282,6 +282,14 @@ textarea,input.text,select,option{ ...@@ -282,6 +282,14 @@ textarea,input.text,select,option{
border: 1px solid #CC0000; border: 1px solid #CC0000;
text-decoration: none; text-decoration: none;
}
.msg {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
border: 1px solid #00CC00;
text-decoration: none;
} }
INPUT { INPUT {
border: 1px solid #BFCBD9; 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