498 lines
29 KiB
PHP
498 lines
29 KiB
PHP
|
|
<?php
|
|||
|
|
if(!defined('OSTADMININC') || !$thisuser->isadmin()) die('Zugriff verweigert');
|
|||
|
|
|
|||
|
|
//Get the config info.
|
|||
|
|
$config=($errors && $_POST)?Format::input($_POST):Format::htmlchars($cfg->getConfig());
|
|||
|
|
//Basic checks for warnings...
|
|||
|
|
$warn=array();
|
|||
|
|
if($config['allow_attachments'] && !$config['upload_dir']) {
|
|||
|
|
$errors['allow_attachments']='Sie müssen ein Uploadverzeichnis einrichten.';
|
|||
|
|
}else{
|
|||
|
|
if(!$config['allow_attachments'] && $config['allow_email_attachments'])
|
|||
|
|
$warn['allow_email_attachments']='*Anhänge deaktiviert.';
|
|||
|
|
if(!$config['allow_attachments'] && ($config['allow_online_attachments'] or $config['allow_online_attachments_onlogin']))
|
|||
|
|
$warn['allow_online_attachments']='<br>*Anhänge deaktiviert.';
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
if(!$errors['enable_captcha'] && $config['enable_captcha'] && !extension_loaded('gd'))
|
|||
|
|
$errors['enable_captcha']='GD-Bibliothek wird für Captchas benötigt';
|
|||
|
|
|
|||
|
|
|
|||
|
|
//Not showing err on post to avoid alarming the user...after an update.
|
|||
|
|
if(!$errors['err'] &&!$msg && $warn )
|
|||
|
|
$errors['err']='Mögliche Fehler erkannt, überprüfen Sie bitte die folgenden Warnhinweise';
|
|||
|
|
|
|||
|
|
$gmtime=Misc::gmtime();
|
|||
|
|
$depts= db_query('SELECT dept_id,dept_name FROM '.DEPT_TABLE.' WHERE ispublic=1');
|
|||
|
|
$templates=db_query('SELECT tpl_id,name FROM '.EMAIL_TEMPLATE_TABLE.' WHERE cfg_id='.db_input($cfg->getId()));
|
|||
|
|
?>
|
|||
|
|
<div class="msg">Systemberechtigungen und Einstellungen (v<?=$config['ostversion']?>)</div>
|
|||
|
|
<table width="100%" border="0" cellspacing=0 cellpadding=0>
|
|||
|
|
<form action="admin.php?t=pref" method="post">
|
|||
|
|
<input type="hidden" name="t" value="pref">
|
|||
|
|
<tr><td>
|
|||
|
|
<table width="100%" border="0" cellspacing=0 cellpadding=2 class="tform">
|
|||
|
|
<tr class="header" ><td colspan=2>Generelle Einstellungen</td></tr>
|
|||
|
|
<tr class="subheader">
|
|||
|
|
<td colspan=2">Der Offline-Modus deaktiviert die Nutzeroberfläche und <b> nur Admins </b> ist es möglich sich im Personalbereich anzumelden</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th><b>Helpdesk Status</b></th>
|
|||
|
|
<td>
|
|||
|
|
<input type="radio" name="isonline" value="1" <?=$config['isonline']?'checked':''?> /><b>Online</b> (Aktiv)
|
|||
|
|
<input type="radio" name="isonline" value="0" <?=!$config['isonline']?'checked':''?> /><b>Offline</b> (Inaktiv)
|
|||
|
|
<font class="warn"> <?=$config['isoffline']?'osTicket offline':''?></font>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Helpdesk URL:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="text" size="40" name="helpdesk_url" value="<?=$config['helpdesk_url']?>">
|
|||
|
|
<font class="error">* <?=$errors['helpdesk_url']?></font></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Helpdesk Name/Titel:</th>
|
|||
|
|
<td><input type="text" size="40" name="helpdesk_title" value="<?=$config['helpdesk_title']?>"> </td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Standard Email Vorlagen:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="default_template_id">
|
|||
|
|
<option value=0>Standardvorlage wählen</option>
|
|||
|
|
<?
|
|||
|
|
while (list($id,$name) = db_fetch_row($templates)){
|
|||
|
|
$selected = ($config['default_template_id']==$id)?'SELECTED':''; ?>
|
|||
|
|
<option value="<?=$id?>"<?=$selected?>><?=$name?></option>
|
|||
|
|
<?
|
|||
|
|
}?>
|
|||
|
|
</select> <font class="error">* <?=$errors['default_template_id']?></font>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Standardabteilung:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="default_dept_id">
|
|||
|
|
<option value=0>Standardabteilung wählen</option>
|
|||
|
|
<?
|
|||
|
|
while (list($id,$name) = db_fetch_row($depts)){
|
|||
|
|
$selected = ($config['default_dept_id']==$id)?'SELECTED':''; ?>
|
|||
|
|
<option value="<?=$id?>"<?=$selected?>>Abteilung <?=$name?></option>
|
|||
|
|
<?
|
|||
|
|
}?>
|
|||
|
|
</select> <font class="error">* <?=$errors['default_dept_id']?></font>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Datensätze pro Seite:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="max_page_size">
|
|||
|
|
<?
|
|||
|
|
$pagelimit=$config['max_page_size'];
|
|||
|
|
for ($i = 5; $i <= 50; $i += 5) {
|
|||
|
|
?>
|
|||
|
|
<option <?=$config['max_page_size'] == $i ? 'SELECTED':''?> value="<?=$i?>"><?=$i?></option>
|
|||
|
|
<?
|
|||
|
|
}?>
|
|||
|
|
</select>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Stufe des Systemlogs:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="log_level">
|
|||
|
|
<option value=0 <?=$config['log_level'] == 0 ? 'selected="selected"':''?>>Keine (Log deaktiviert)</option>
|
|||
|
|
<option value=3 <?=$config['log_level'] == 3 ? 'selected="selected"':''?>> DEBUG</option>
|
|||
|
|
<option value=2 <?=$config['log_level'] == 2 ? 'selected="selected"':''?>> WARNUNG</option>
|
|||
|
|
<option value=1 <?=$config['log_level'] == 1 ? 'selected="selected"':''?>> FEHLER</option>
|
|||
|
|
</select>
|
|||
|
|
Lösche Protokolle nach
|
|||
|
|
<select name="log_graceperiod">
|
|||
|
|
<option value=0 selected> Nie (Deaktiviert)</option>
|
|||
|
|
<?
|
|||
|
|
for ($i = 1; $i <=12; $i++) {
|
|||
|
|
?>
|
|||
|
|
<option <?=$config['log_graceperiod'] == $i ? 'SELECTED':''?> value="<?=$i?>"><?=$i?> <?=($i>1)?'Monate':'Monat'?></option>
|
|||
|
|
<?
|
|||
|
|
}?>
|
|||
|
|
</select>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Fehlerhafte Personalanmeldungen:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="staff_max_logins">
|
|||
|
|
<?php
|
|||
|
|
for ($i = 1; $i <= 10; $i++) {
|
|||
|
|
echo sprintf('<option value="%d" %s>%d</option>',$i,(($config['staff_max_logins']==$i)?'selected="selected"':''),$i);
|
|||
|
|
}
|
|||
|
|
?>
|
|||
|
|
</select> Versuche erlaubt, bevor
|
|||
|
|
<select name="staff_login_timeout">
|
|||
|
|
<?php
|
|||
|
|
for ($i = 1; $i <= 10; $i++) {
|
|||
|
|
echo sprintf('<option value="%d" %s>%d</option>',$i,(($config['staff_login_timeout']==$i)?'selected="selected"':''),$i);
|
|||
|
|
}
|
|||
|
|
?>
|
|||
|
|
</select> Min. Sperrzeit (Sperre in Minuten)
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Sitzungsdauer Personal:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="text" name="staff_session_timeout" size=6 value="<?=$config['staff_session_timeout']?>">
|
|||
|
|
(<i>Personal max. inaktiv in Minuten. Geben Sie eine 0 ein um die Einstellung zu deaktivieren</i>)
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Sitzung an IP binden:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="checkbox" name="staff_ip_binding" <?=$config['staff_ip_binding']?'checked':''?>>
|
|||
|
|
Die Sitzung des Mitarbeiters wird an seine Anmelde-IP gebunden.
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
|
|||
|
|
<tr><th>Fehlerhafte Kundenanmeldungen:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="client_max_logins">
|
|||
|
|
<?php
|
|||
|
|
for ($i = 1; $i <= 10; $i++) {
|
|||
|
|
echo sprintf('<option value="%d" %s>%d</option>',$i,(($config['client_max_logins']==$i)?'selected="selected"':''),$i);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
?>
|
|||
|
|
</select> Versuche erlaubt, bevor
|
|||
|
|
|
|||
|
|
<select name="client_login_timeout">
|
|||
|
|
<?php
|
|||
|
|
for ($i = 1; $i <= 10; $i++) {
|
|||
|
|
echo sprintf('<option value="%d" %s>%d</option>',$i,(($config['client_login_timeout']==$i)?'selected="selected"':''),$i);
|
|||
|
|
}
|
|||
|
|
?>
|
|||
|
|
</select> Min. Sperrzeit (Sperre in Minuten)
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
|
|||
|
|
<tr><th>Sitzungsdauer Kunden:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="text" name="client_session_timeout" size=6 value="<?=$config['client_session_timeout']?>">
|
|||
|
|
(<i>Kunde max. inaktiv in Minuten. Geben Sie eine 0 ein um die Einstellung zu deaktivieren</i>)
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Klickbare URLs:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="checkbox" name="clickable_urls" <?=$config['clickable_urls']?'checked':''?>>
|
|||
|
|
URLs sind nutzbar
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Aktivieren Auto Cron:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="checkbox" name="enable_auto_cron" <?=$config['enable_auto_cron']?'checked':''?>>
|
|||
|
|
Aktiviert cron Aufrufe während der Personalaktivität
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
|
|||
|
|
<table width="100%" border="0" cellspacing=0 cellpadding=2 class="tform">
|
|||
|
|
<tr class="header"><td colspan=2>Datum & Zeit</td></tr>
|
|||
|
|
<tr class="subheader">
|
|||
|
|
<td colspan=2>Bitte beachten Sie auch die <a href="http://php.net/date" target="_blank">PHP Beschreibung</a> für unterstützte Parameter.</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Zeitformat:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="text" name="time_format" value="<?=$config['time_format']?>">
|
|||
|
|
<font class="error">* <?=$errors['time_format']?></font>
|
|||
|
|
<i><?=Format::date($config['time_format'],$gmtime,$config['timezone_offset'],$config['enable_daylight_saving'])?></i></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Datumsformat:</th>
|
|||
|
|
<td><input type="text" name="date_format" value="<?=$config['date_format']?>">
|
|||
|
|
<font class="error">* <?=$errors['date_format']?></font>
|
|||
|
|
<i><?=Format::date($config['date_format'],$gmtime,$config['timezone_offset'],$config['enable_daylight_saving'])?></i>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Datum- & Zeitformat:</th>
|
|||
|
|
<td><input type="text" name="datetime_format" value="<?=$config['datetime_format']?>">
|
|||
|
|
<font class="error">* <?=$errors['datetime_format']?></font>
|
|||
|
|
<i><?=Format::date($config['datetime_format'],$gmtime,$config['timezone_offset'],$config['enable_daylight_saving'])?></i>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Tag, Datum & Zeitformat:</th>
|
|||
|
|
<td><input type="text" name="daydatetime_format" value="<?=$config['daydatetime_format']?>">
|
|||
|
|
<font class="error">* <?=$errors['daydatetime_format']?></font>
|
|||
|
|
<i><?=Format::date($config['daydatetime_format'],$gmtime,$config['timezone_offset'],$config['enable_daylight_saving'])?></i>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Standard Zeitzone:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="timezone_offset">
|
|||
|
|
<?
|
|||
|
|
$gmoffset = date("Z") / 3600; //Server's offset.
|
|||
|
|
echo"<option value=\"$gmoffset\">Server Time (GMT $gmoffset:00)</option>"; //Default if all fails.
|
|||
|
|
$timezones= db_query('SELECT offset,timezone FROM '.TIMEZONE_TABLE);
|
|||
|
|
while (list($offset,$tz) = db_fetch_row($timezones)){
|
|||
|
|
$selected = ($config['timezone_offset'] ==$offset) ?'SELECTED':'';
|
|||
|
|
$tag=($offset)?"GMT $offset ($tz)":" GMT ($tz)";
|
|||
|
|
?>
|
|||
|
|
<option value="<?=$offset?>"<?=$selected?>><?=$tag?></option>
|
|||
|
|
<?
|
|||
|
|
}?>
|
|||
|
|
</select>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<th>Sommerzeit:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="checkbox" name="enable_daylight_saving" <?=$config['enable_daylight_saving'] ? 'checked': ''?>>Sommerzeit beachten
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
|
|||
|
|
<table width="100%" border="0" cellspacing=0 cellpadding=2 class="tform">
|
|||
|
|
<tr class="header"><td colspan=2>Ticket Optionen & Einstellungen</td></tr>
|
|||
|
|
<tr class="subheader"><td colspan=2>Wenn aktiviert, werden Tickets bei Eingaben automatisch wieder eröffnet</td></tr>
|
|||
|
|
<tr><th valign="top">Ticket IDs:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="radio" name="random_ticket_ids" value="0" <?=!$config['random_ticket_ids']?'checked':''?> /> aufsteigend
|
|||
|
|
<input type="radio" name="random_ticket_ids" value="1" <?=$config['random_ticket_ids']?'checked':''?> />zufällig (empfohlen)
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">Ticket Priorität:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="default_priority_id">
|
|||
|
|
<?
|
|||
|
|
$priorities= db_query('SELECT priority_id,priority_desc FROM '.TICKET_PRIORITY_TABLE);
|
|||
|
|
while (list($id,$tag) = db_fetch_row($priorities)){ ?>
|
|||
|
|
<option value="<?=$id?>"<?=($config['default_priority_id']==$id)?'selected':''?>><?=$tag?></option>
|
|||
|
|
<?
|
|||
|
|
}?>
|
|||
|
|
</select> Standardpriorität<br/>
|
|||
|
|
<input type="checkbox" name="allow_priority_change" <?=$config['allow_priority_change'] ?'checked':''?>>
|
|||
|
|
Berechtigt den Nutzer die Priorität zu ändern/setzen (neue Tickets über Weboberfläche)<br/>
|
|||
|
|
<input type="checkbox" name="use_email_priority" <?=$config['use_email_priority'] ?'checked':''?> >
|
|||
|
|
Benutze Priorität der Email wenn verfügbar (neue Tickets per Email)
|
|||
|
|
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Maximal <b>Offene</b> Tickets:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="text" name="max_open_tickets" size=4 value="<?=$config['max_open_tickets']?>">
|
|||
|
|
per Email. (<i>Hilft gegen Spam und Floodmails. 0 für unlimitiert</i>)
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Automatische Sperrdauer:</td>
|
|||
|
|
<td>
|
|||
|
|
<input type="text" name="autolock_minutes" size=4 value="<?=$config['autolock_minutes']?>">
|
|||
|
|
<font class="error"><?=$errors['autolock_minutes']?></font>
|
|||
|
|
(<i>Minuten die ein Ticket gesperrt ist bei Aktivität. 0 für keine Sperre</i>)
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Ticketfrist:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="text" name="overdue_grace_period" size=4 value="<?=$config['overdue_grace_period']?>">
|
|||
|
|
(<i>Stunden bevor ein Ticket als überfällig markiert wird. 0 für keine Frist.</i>)
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Wiedereröffnete Tickets:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="checkbox" name="auto_assign_reopened_tickets" <?=$config['auto_assign_reopened_tickets'] ? 'checked': ''?>>
|
|||
|
|
Autom. Zuweisung wiedereröffneter Tickest zum letzten Bearbeiter. (<i> 3 Monate</i>)
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Zugewiesene Tickets:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="checkbox" name="show_assigned_tickets" <?=$config['show_assigned_tickets']?'checked':''?>>
|
|||
|
|
Zeige zugewiesene Tickets bei der Abfrage "Offene".
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Beantwortete Tickets:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="checkbox" name="show_answered_tickets" <?=$config['show_answered_tickets']?'checked':''?>>
|
|||
|
|
Zeige beantwortete Tickets bei der Abfrage "Offene".
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Ticket Aktivitätsprotokoll:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="checkbox" name="log_ticket_activity" <?=$config['log_ticket_activity']?'checked':''?>>
|
|||
|
|
Protokolliere die Ticketaktivität als interne Notizen.
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Personalidentität:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="checkbox" name="hide_staff_name" <?=$config['hide_staff_name']?'checked':''?>>
|
|||
|
|
Verberge Mitarbeitername bei Antworten.
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>menschliche Bestätigung:</th>
|
|||
|
|
<td>
|
|||
|
|
<?php
|
|||
|
|
if($config['enable_captcha'] && !$errors['enable_captcha']) {?>
|
|||
|
|
<img src="../captcha.php" border="0" align="left">
|
|||
|
|
<?}?>
|
|||
|
|
<input type="checkbox" name="enable_captcha" <?=$config['enable_captcha']?'checked':''?>>
|
|||
|
|
Aktiviert Captchas bei neuen Tickets über die Weboberfläche. <font class="error"> <?=$errors['enable_captcha']?></font><br/>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
|
|||
|
|
</table>
|
|||
|
|
<table width="100%" border="0" cellspacing=0 cellpadding=2 class="tform">
|
|||
|
|
<tr class="header"><td colspan=2 >Email Einstellungen</td></tr>
|
|||
|
|
<tr class="subheader"><td colspan=2>Beachten Sie, dass globale Einstellungen in den Abteilungs- und Emailbereichen sichtbar sind.</td></tr>
|
|||
|
|
<tr><th valign="top"><br><b>Eingehende Emails</b>:</th>
|
|||
|
|
<td><i>Um den Mail-Abruf (POP / IMAP) zu nutzen, muss ein cron-Job eingestellt oder einfach auto-cron aktiviert werden.</i><br/>
|
|||
|
|
<input type="checkbox" name="enable_mail_fetch" value=1 <?=$config['enable_mail_fetch']? 'checked': ''?> >Aktiviere POP/IMAP Email-Abruf
|
|||
|
|
(<i>Globale Einstellung auch sichtbar im Emailbereich</i>) <br/>
|
|||
|
|
<input type="checkbox" name="enable_email_piping" value=1 <?=$config['enable_email_piping']? 'checked': ''?> > Aktiviere Emailweiterleitung
|
|||
|
|
(<i>Sie leiten weiter, wir beachten die Richtlinie</i>)<br/>
|
|||
|
|
<input type="checkbox" name="strip_quoted_reply" <?=$config['strip_quoted_reply'] ? 'checked':''?>>
|
|||
|
|
Schneide Zitate ab (<i>basiert auf die folgende Einstellung</i>)<br/>
|
|||
|
|
<input type="text" name="reply_separator" value="<?=$config['reply_separator']?>"> Antwortmarkierung
|
|||
|
|
<font class="error"> <?=$errors['reply_separator']?></font>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top"><br><b>Ausgehende Emails</b>:</th>
|
|||
|
|
<td>
|
|||
|
|
<i><b>Standard Email:</b> Gilt nur für ausgehende E-Mails ohne SMTP-Einstellungen.</i><br/>
|
|||
|
|
<select name="default_smtp_id"
|
|||
|
|
onChange="document.getElementById('overwrite').style.display=(this.options[this.selectedIndex].value>0)?'block':'none';">
|
|||
|
|
<option value=0>Bitte wählen</option>
|
|||
|
|
<option value=0 selected="selected">Keine: Nutzt PHP mail Funktion</option>
|
|||
|
|
<?
|
|||
|
|
$emails=db_query('SELECT email_id,email,name,smtp_host FROM '.EMAIL_TABLE.' WHERE smtp_active=1');
|
|||
|
|
if($emails && db_num_rows($emails)) {
|
|||
|
|
while (list($id,$email,$name,$host) = db_fetch_row($emails)){
|
|||
|
|
$email=$name?"$name <$email>":$email;
|
|||
|
|
$email=sprintf('%s (%s)',$email,$host);
|
|||
|
|
?>
|
|||
|
|
<option value="<?=$id?>"<?=($config['default_smtp_id']==$id)?'selected="selected"':''?>><?=$email?></option>
|
|||
|
|
<?
|
|||
|
|
}
|
|||
|
|
}?>
|
|||
|
|
</select> <font class="error"> <?=$errors['default_smtp_id']?></font><br/>
|
|||
|
|
<span id="overwrite" style="display:<?=($config['default_smtp_id']?'display':'none')?>">
|
|||
|
|
<input type="checkbox" name="spoof_default_smtp" <?=$config['spoof_default_smtp'] ? 'checked':''?>>
|
|||
|
|
Spoofing erm<EFBFBD>glichen (Kein Überschreiben). <font class="error"> <?=$errors['spoof_default_smtp']?></font><br/>
|
|||
|
|
</span>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>Standard System-Email:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="default_email_id">
|
|||
|
|
<option value=0 disabled>Bitte wählen</option>
|
|||
|
|
<?
|
|||
|
|
$emails=db_query('SELECT email_id,email,name FROM '.EMAIL_TABLE);
|
|||
|
|
while (list($id,$email,$name) = db_fetch_row($emails)){
|
|||
|
|
$email=$name?"$name <$email>":$email;
|
|||
|
|
?>
|
|||
|
|
<option value="<?=$id?>"<?=($config['default_email_id']==$id)?'selected':''?>><?=$email?></option>
|
|||
|
|
<?
|
|||
|
|
}?>
|
|||
|
|
</select>
|
|||
|
|
<font class="error">* <?=$errors['default_email_id']?></font></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">Standard Meldungs-Email:</th>
|
|||
|
|
<td>
|
|||
|
|
<select name="alert_email_id">
|
|||
|
|
<option value=0 disabled>Bitte wählen</option>
|
|||
|
|
<option value=0 selected="selected">Benutze Standard System-Email (obige)</option>
|
|||
|
|
<?
|
|||
|
|
$emails=db_query('SELECT email_id,email,name FROM '.EMAIL_TABLE.' WHERE email_id != '.db_input($config['default_email_id']));
|
|||
|
|
while (list($id,$email,$name) = db_fetch_row($emails)){
|
|||
|
|
$email=$name?"$name <$email>":$email;
|
|||
|
|
?>
|
|||
|
|
<option value="<?=$id?>"<?=($config['alert_email_id']==$id)?'selected':''?>><?=$email?></option>
|
|||
|
|
<?
|
|||
|
|
}?>
|
|||
|
|
</select>
|
|||
|
|
<font class="error">* <?=$errors['alert_email_id']?></font>
|
|||
|
|
<br/><i>Wird genutzt, um Meldungen und Notizen an das Personal zu senden.</i>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th>System Admin-Emailadresse:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="text" size=25 name="admin_email" value="<?=$config['admin_email']?>">
|
|||
|
|
<font class="error">* <?=$errors['admin_email']?></font></td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
|
|||
|
|
<table width="100%" border="0" cellspacing=0 cellpadding=2 class="tform">
|
|||
|
|
<tr class="header"><td colspan=2>Autom. Antworten (Globale Einstellung)</td></tr>
|
|||
|
|
<tr class="subheader"><td colspan=2">Diese globalen Einstellungen sind im Abteilungsbereich sichtbar.</td></tr>
|
|||
|
|
<tr><th valign="top">Neues Ticket:</th>
|
|||
|
|
<td><i>Automatische Antworten beinhalten die Ticket-ID, diese ist erforderlich um den Status des Tickets zu prüfen</i><br>
|
|||
|
|
<input type="radio" name="ticket_autoresponder" value="1" <?=$config['ticket_autoresponder']?'checked':''?> />Aktivieren
|
|||
|
|
<input type="radio" name="ticket_autoresponder" value="0" <?=!$config['ticket_autoresponder']?'checked':''?> />Deaktivieren
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">Neues Ticket durch Personal:</th>
|
|||
|
|
<td><i>Notiz wird erstellt, wenn Personal im Namen eines Kunden ein Ticket erstellt (Personal kann dies deaktivieren)</i><br>
|
|||
|
|
<input type="radio" name="ticket_notice_active" value="1" <?=$config['ticket_notice_active']?'checked':''?> />Aktivieren
|
|||
|
|
<input type="radio" name="ticket_notice_active" value="0" <?=!$config['ticket_notice_active']?'checked':''?> />Deaktivieren
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">Neue Nachricht:</th>
|
|||
|
|
<td><i>Nachricht wird an eine bestehende Ticketbestätigung angehangen</i><br>
|
|||
|
|
<input type="radio" name="message_autoresponder" value="1" <?=$config['message_autoresponder']?'checked':''?> />Aktivieren
|
|||
|
|
<input type="radio" name="message_autoresponder" value="0" <?=!$config['message_autoresponder']?'checked':''?> />Deaktivieren
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">Überschreitungsnotiz:</th>
|
|||
|
|
<td><i>Ticket verweigert-Hinweis wird<b> nur einmal </b>bei Grenzwertverletzung an den Benutzer gesendet.</i><br/>
|
|||
|
|
<input type="radio" name="overlimit_notice_active" value="1" <?=$config['overlimit_notice_active']?'checked':''?> />Aktivieren
|
|||
|
|
<input type="radio" name="overlimit_notice_active" value="0" <?=!$config['overlimit_notice_active']?'checked':''?> />Deaktivieren
|
|||
|
|
<br><i><b>Beachten:</b> Administratoren erhalten standardmäβig Meldungen bei ALLEN Verweigerungen.</i><br>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
<table width="100%" border="0" cellspacing=0 cellpadding=2 class="tform">
|
|||
|
|
<tr class="header"><td colspan=2> Meldungen & Notizen</td></tr>
|
|||
|
|
<tr class="subheader"><td colspan=2>
|
|||
|
|
Notices sent to user use 'No Reply Email' whereas alerts to staff use 'Alert Email' set above as FROM address respectively.<br>
|
|||
|
|
Hinweise an Benutzer zu verwenden "Nicht Antworten' in der Erwägung, Ausschreibungen zu verwenden' gesetzt E-Mail Alert" oben als FROM-Adresse bzw. Mitarbeiter.</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">Hinweis bei Neuem Ticket:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="radio" name="ticket_alert_active" value="1" <?=$config['ticket_alert_active']?'checked':''?> />Aktivieren
|
|||
|
|
<input type="radio" name="ticket_alert_active" value="0" <?=!$config['ticket_alert_active']?'checked':''?> />Deaktivieren
|
|||
|
|
<br><i>Empfänger auswählen</i> <font class="error"> <?=$errors['ticket_alert_active']?></font><br>
|
|||
|
|
<input type="checkbox" name="ticket_alert_admin" <?=$config['ticket_alert_admin']?'checked':''?>> Admin Email
|
|||
|
|
<input type="checkbox" name="ticket_alert_dept_manager" <?=$config['ticket_alert_dept_manager']?'checked':''?>> Abteilungsleiter
|
|||
|
|
<input type="checkbox" name="ticket_alert_dept_members" <?=$config['ticket_alert_dept_members']?'checked':''?>> Mitglieder der Abteilung
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">Hinweis bei neuer Nachricht:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="radio" name="message_alert_active" value="1" <?=$config['message_alert_active']?'checked':''?> />Aktivieren
|
|||
|
|
<input type="radio" name="message_alert_active" value="0" <?=!$config['message_alert_active']?'checked':''?> />Deaktivieren
|
|||
|
|
<br><i>Empfänger auswählen</i> <font class="error"> <?=$errors['message_alert_active']?></font><br>
|
|||
|
|
<input type="checkbox" name="message_alert_laststaff" <?=$config['message_alert_laststaff']?'checked':''?>> Letzter Bearbeiter
|
|||
|
|
<input type="checkbox" name="message_alert_assigned" <?=$config['message_alert_assigned']?'checked':''?>> zugewiesener Bearbeiter
|
|||
|
|
<input type="checkbox" name="message_alert_dept_manager" <?=$config['message_alert_dept_manager']?'checked':''?>> Abteilungsleiter
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">Hinweis bei neuer interner Notiz:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="radio" name="note_alert_active" value="1" <?=$config['note_alert_active']?'checked':''?> />Aktivieren
|
|||
|
|
<input type="radio" name="note_alert_active" value="0" <?=!$config['note_alert_active']?'checked':''?> />Deaktivieren
|
|||
|
|
<br><i>Empfänger auswählen</i> <font class="error"> <?=$errors['note_alert_active']?></font><br>
|
|||
|
|
<input type="checkbox" name="note_alert_laststaff" <?=$config['note_alert_laststaff']?'checked':''?>> Letzter Bearbeiter
|
|||
|
|
<input type="checkbox" name="note_alert_assigned" <?=$config['note_alert_assigned']?'checked':''?>> zugewiesener Bearbeiter
|
|||
|
|
<input type="checkbox" name="note_alert_dept_manager" <?=$config['note_alert_dept_manager']?'checked':''?>> Abteilungsleiter
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">Hinweis bei Überfälligkeit eines Tickets:</th>
|
|||
|
|
<td>
|
|||
|
|
<input type="radio" name="overdue_alert_active" value="1" <?=$config['overdue_alert_active']?'checked':''?> />Aktivieren
|
|||
|
|
<input type="radio" name="overdue_alert_active" value="0" <?=!$config['overdue_alert_active']?'checked':''?> />Deaktivieren
|
|||
|
|
<br><i>Administrtor erhä standardmäβig einen Hinweis. Wählen sie nachfolgend weitere Empfänger aus</i> <font class="error"> <?=$errors['overdue_alert_active']?></font><br>
|
|||
|
|
<input type="checkbox" name="overdue_alert_assigned" <?=$config['overdue_alert_assigned']?'checked':''?>> Zugewiesenes Personal
|
|||
|
|
<input type="checkbox" name="overdue_alert_dept_manager" <?=$config['overdue_alert_dept_manager']?'checked':''?>> Abteilungsleiter
|
|||
|
|
<input type="checkbox" name="overdue_alert_dept_members" <?=$config['overdue_alert_dept_members']?'checked':''?>> Mitglieder der Abteilung
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr><th valign="top">System-Fehler:</th>
|
|||
|
|
<td><i>Aktivieren um Fehler an den Administrator zu senden (obige Email-Einstellung)</i><br>
|
|||
|
|
<input type="checkbox" name="send_sys_errors" <?=$config['send_sys_errors']?'checked':'checked'?> disabled>Systemfehler
|
|||
|
|
<input type="checkbox" name="send_sql_errors" <?=$config['send_sql_errors']?'checked':''?>>SQL-Fehler
|
|||
|
|
<input type="checkbox" name="send_login_errors" <?=$config['send_login_errors']?'checked':''?>>Unzulässige Anmeldeversuche
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
|
|||
|
|
</table>
|
|||
|
|
</td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="padding:10px 0 10px 240px;">
|
|||
|
|
<input class="button" type="submit" name="submit" value="Änderungen speichern">
|
|||
|
|
<input class="button" type="reset" name="reset" value="Änderungen zurücksetzen">
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</form>
|
|||
|
|
</table>
|