c12c27e9e8e26e877e005c8aa2e01901e7bb39ab
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php   1) <?php
modules/vmail/edit.php   2) 
modules/vmail/edit.php   3) require_once('inc/debug.php');
modules/vmail/edit.php   4) require_once('inc/security.php');
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php   5) require_once('inc/icons.php');
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php   6) 
modules/vmail/edit.php   7) require_once('vmail.php');
modules/vmail/edit.php   8) 
bernd Alles in das email-modul ve...

bernd authored 16 years ago

modules/email/edit.php   9) $section = 'email_vmail';
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php  10) require_role(array(ROLE_SYSTEMUSER, ROLE_VMAIL_ACCOUNT));
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php  11) 
bernd huch, was macht das denn da...

bernd authored 16 years ago

modules/vmail/edit.php  12) $account = empty_account();
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 14 years ago

modules/email/edit.php  13) $id = (isset($_GET['id']) ? (int) $_GET['id'] : 0);
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php  14) 
modules/vmail/edit.php  15) if ($id != 0)
modules/vmail/edit.php  16)   $account = get_account_details($id);
modules/vmail/edit.php  17) 
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php  18) $accountlogin = false;
modules/email/edit.php  19) if ($_SESSION['role'] == ROLE_VMAIL_ACCOUNT) {
bernd Index-Blöcke werden jetzt v...

bernd authored 12 years ago

modules/email/edit.php  20)   $section = 'email_edit';
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php  21)   $id = get_vmail_id_by_emailaddr($_SESSION['mailaccount']);
modules/email/edit.php  22)   $account = get_account_details($id, false);
modules/email/edit.php  23)   $accountlogin = true;
modules/email/edit.php  24)   $accountname = filter_input_general($_SESSION['mailaccount']);
modules/email/edit.php  25) }
modules/email/edit.php  26) 
modules/email/edit.php  27) 
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php  28) DEBUG($account);
modules/vmail/edit.php  29) if ($id == 0) {
bernd Benutze überall title() sta...

bernd authored 13 years ago

modules/email/edit.php  30)   title("E-Mail-Adresse anlegen");
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php  31) }
modules/vmail/edit.php  32) else {
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php  33)   if ($accountlogin) {
modules/email/edit.php  34)     title("Einstellungen für {$accountname}");
modules/email/edit.php  35)   } else {
modules/email/edit.php  36)     title("E-Mail-Adresse bearbeiten");
modules/email/edit.php  37)   }
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php  38) }
modules/vmail/edit.php  39) 
modules/vmail/edit.php  40) 
bernd Bugfix: Fehler bei neu erst...

bernd authored 12 years ago

modules/email/edit.php  41) $is_autoresponder = is_array($account['autoresponder']) && $account['autoresponder']['valid_from'] != NULL;
bernd Anpassung auf neues Interface

bernd authored 16 years ago

modules/vmail/edit.php  42) $is_forward = (count($account['forwards']) > 0);
modules/vmail/edit.php  43) $is_mailbox = ($account['password'] != NULL  ||  $id == 0);
modules/vmail/edit.php  44) $numforwards = max(count($account['forwards']), 1);
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php  45) 
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  46) output("<script type=\"text/javascript\">
modules/vmail/edit.php  47)   
bernd Anpassung auf neues Interface

bernd authored 16 years ago

modules/vmail/edit.php  48)   var numForwards = {$numforwards};
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php  49)   var forwardsCounter = {$numforwards};
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  50) 
modules/vmail/edit.php  51)   function moreForward()
modules/vmail/edit.php  52)   {
modules/vmail/edit.php  53)     numForwards += 1;
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php  54)     forwardsCounter += 1;
modules/email/edit.php  55) 
modules/email/edit.php  56)     if ( document.getElementById('vmail_forward_' + forwardsCounter) ) {
modules/email/edit.php  57)       document.getElementById('vmail_forward_' + forwardsCounter).style.display = ''
modules/email/edit.php  58)     }
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  59) 
bernd Neues Design für VMail-Edit...

bernd authored 16 years ago

modules/vmail/edit.php  60)     P1 = document.createElement('p');
modules/vmail/edit.php  61) 
modules/vmail/edit.php  62)     TXT1 = document.createTextNode('Weiterleiten an ');
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  63) 
modules/vmail/edit.php  64)     INPUT = document.createElement('input');
modules/vmail/edit.php  65)     INPUT.type = 'text';
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php  66)     INPUT.name = 'forward_to_' + forwardsCounter;
modules/email/edit.php  67)     INPUT.id = 'forward_to_' + forwardsCounter;
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  68)     INPUT.value = '';
modules/vmail/edit.php  69) 
bernd Neues Design für VMail-Edit...

bernd authored 16 years ago

modules/vmail/edit.php  70)     P1.appendChild(TXT1);
modules/vmail/edit.php  71)     P1.appendChild(INPUT);
modules/vmail/edit.php  72) 
modules/vmail/edit.php  73)     P2 = document.createElement('p');
modules/vmail/edit.php  74) 
modules/vmail/edit.php  75)     TXT2 = document.createTextNode('Spam-Mails an diese Adresse ');
modules/vmail/edit.php  76) 
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  77)     SELECT = document.createElement('select');
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php  78)     SELECT.id = 'spamfilter_action_' + forwardsCounter;
modules/email/edit.php  79)     SELECT.name = 'spamfilter_action_' + forwardsCounter;
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  80) 
bernd Formulierung

bernd authored 16 years ago

modules/vmail/edit.php  81)     SELECT.options[0] = new Option('nicht filtern', 'none', 1);
bernd kein Filter ist default für...

bernd authored 16 years ago

modules/vmail/edit.php  82)     SELECT.options[1] = new Option('markieren und zustellen', 'tag', 0);
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  83)     SELECT.options[2] = new Option('nicht zustellen', 'delete', 0);
modules/vmail/edit.php  84) 
bernd Neues Design für VMail-Edit...

bernd authored 16 years ago

modules/vmail/edit.php  85)     P2.appendChild(TXT2);
modules/vmail/edit.php  86)     P2.appendChild(SELECT);
modules/vmail/edit.php  87) 
modules/vmail/edit.php  88)     DIV = document.createElement('div');
modules/vmail/edit.php  89)     DIV.className = 'vmail-forward';
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php  90)     DIV.id = 'vmail_forward_' + forwardsCounter;
modules/email/edit.php  91) 
modules/email/edit.php  92)     DELETE = document.getElementById('vmail_forward_1').getElementsByTagName('div')[0].cloneNode(true);
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  93) 
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php  94)     DIV.appendChild(DELETE);
bernd Neues Design für VMail-Edit...

bernd authored 16 years ago

modules/vmail/edit.php  95)     DIV.appendChild(P1);
modules/vmail/edit.php  96)     DIV.appendChild(P2);
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php  97) 
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php  98)     parent = document.getElementById('forward_entries');
bernd Neues Design für VMail-Edit...

bernd authored 16 years ago

modules/vmail/edit.php  99)     parent.appendChild(DIV);
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php 100)   }
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 101) 
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php 102)   function removeForward(elem) 
modules/email/edit.php 103)   {
modules/email/edit.php 104)     div_id = elem.parentNode.parentNode.id;
modules/email/edit.php 105)     div = document.getElementById(div_id);
modules/email/edit.php 106)     input = div.getElementsByTagName('input')[0];
modules/email/edit.php 107)     input.value = '';
modules/email/edit.php 108)     select = div.getElementsByTagName('select')[0];
modules/email/edit.php 109)     select.options[0].selected = 'selected';
modules/email/edit.php 110)     if (numForwards >= 1) {
modules/email/edit.php 111)       numForwards -= 1;
modules/email/edit.php 112)     }
modules/email/edit.php 113)     if (numForwards >= 1) {
modules/email/edit.php 114)       div.style.display = 'none';
modules/email/edit.php 115)       document.getElementById('forward_entries').removeChild(div);
modules/email/edit.php 116)     }
modules/email/edit.php 117)   }
modules/email/edit.php 118) 
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 119)   function toggleDisplay(checkbox_id, item_id) 
modules/email/edit.php 120)   {
modules/email/edit.php 121)     if (document.getElementById(checkbox_id).checked == true) {
modules/email/edit.php 122)       document.getElementById(item_id).style.display = 'block';
modules/email/edit.php 123)     } else {
modules/email/edit.php 124)       document.getElementById(item_id).style.display = 'none';
modules/email/edit.php 125)     }
modules/email/edit.php 126)   }
modules/email/edit.php 127) 
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php 128) </script>
modules/vmail/edit.php 129) ");
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php 130) 
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php 131) $form = '';
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php 132) 
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php 133) if ($accountlogin) {
modules/email/edit.php 134)   $form.= "<p class=\"spamfilter_options\">Unerwünschte E-Mails (Spam, Viren) in diesem Postfach ".html_select('spamfilter_action', array("none" => 'nicht filtern', "folder" => 'in Unterordner »Spam« ablegen', "tag" => 'markieren und zustellen', "delete" => 'nicht zustellen (löschen)'), $account['spamfilter'])."</p>";
modules/email/edit.php 135) } else {
modules/email/edit.php 136)   $form .= "
modules/email/edit.php 137)     <p><strong>E-Mail-Adresse:</strong>&#160;<input type=\"text\" name=\"local\" id=\"local\" size=\"10\" value=\"{$account['local']}\" /><strong style=\"font-size: 1.5em;\">&#160;@&#160;</strong>".domainselect($account['domain'])."</p>";
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php 138) 
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php 139)   $password_message = '';
modules/email/edit.php 140)   $password_value = '';
modules/email/edit.php 141)   if ($is_mailbox and ($account['password'] != ''))
modules/email/edit.php 142)   {
modules/email/edit.php 143)     $password_message = '<span style="font-size: 80%"><br /><em>Sie haben bereits ein Passwort gesetzt. Wenn Sie dieses Feld nicht ändern, wird das bisherige Passwort beibehalten.</em></span>';
modules/email/edit.php 144)     $password_value = '**********';
modules/email/edit.php 145)   } 
modules/email/edit.php 146)   
modules/email/edit.php 147)   $form .= "
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 148)     <p><input onchange=\"toggleDisplay('mailbox', 'mailbox_options')\" type=\"checkbox\" id=\"mailbox\" name=\"mailbox\" value=\"yes\" ".($is_mailbox ? 'checked="checked" ' : '')." /><label for=\"mailbox\">&#160;<strong>In Mailbox speichern</strong></label></p>
modules/email/edit.php 149)     <div style=\"margin-left: 2em;".($is_mailbox ? '' : ' display: none;')."\" id=\"mailbox_options\">
modules/email/edit.php 150)     <p>Passwort für Abruf:&#160;<input type=\"password\" id=\"password\" name=\"password\" value=\"{$password_value}\" />{$password_message}</p>";
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php 151) 
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php 152)   $form.= "<p class=\"spamfilter_options\">Unerwünschte E-Mails (Spam, Viren) in diesem Postfach ".html_select('spamfilter_action', array("none" => 'nicht filtern', "folder" => 'in Unterordner »Spam« ablegen', "tag" => 'markieren und zustellen', "delete" => 'nicht zustellen (löschen)'), $account['spamfilter'])."</p>";
bernd Mailaccount-Quota auch bei...

bernd authored 12 years ago

modules/email/edit.php 153) 
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php 154)   $quota = config('vmail_basequota');
modules/email/edit.php 155)   if ($is_mailbox and $account['quota']) {
modules/email/edit.php 156)     $quota = $account['quota'];
modules/email/edit.php 157)   }
modules/email/edit.php 158)   $form .= "<p class=\"quota_options\">Größe des Postfachs: <input type=\"text\" id=\"quota\" name=\"quota\" value=\"{$quota}\" /> MB<br /><span style=\"font-size: 80%\"><em>Hinweis: Die Differenz zwischen dem hier gesetzten Wert und dem Sockelbetrag von ".config('vmail_basequota')." MB wird vom Speicherplatz Ihres Benutzer-Kontos abgezogen.</em></span></p>";
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 159) 
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php 160)   $quota_notify = ($account['quota_threshold'] >= 0) ? ' checked="checked" ' : '';
modules/email/edit.php 161)   $quota_threshold = ($account['quota_threshold'] >= 0) ? $account['quota_threshold'] : '';
modules/email/edit.php 162)   $form .= "<p class=\"quota_options\"><input type=\"checkbox\" id=\"quota_notify\" name=\"quota_notify\" value=\"1\" {$quota_notify} /><label for=\"quota_notify\">Benachrichtigung wenn weniger als</label> <input type=\"text\" name=\"quota_threshold\" id=\"quota_threshold\" value=\"{$quota_threshold}\" /> MB Speicherplatz zur Verfügung stehen.</p>";
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 163) 
bernd VMail-User können ihre Eins...

bernd authored 12 years ago

modules/email/edit.php 164)   $form .= "</div>";
modules/email/edit.php 165) }
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 166) 
bernd Mailaccount-Quota auch bei...

bernd authored 12 years ago

modules/email/edit.php 167) 
modules/email/edit.php 168) 
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 169) $form .= "<p><input onchange=\"toggleDisplay('autoresponder', 'autoresponder_config')\" type=\"checkbox\" id=\"autoresponder\" name=\"autoresponder\" value=\"yes\" ".($is_autoresponder ? 'checked="checked" ' : '')." /><label for=\"autoresponder\">&#160;<strong>Automatische Antwort versenden</strong></label></p>";
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php 170) 
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 171) $form .= "<div style=\"margin-left: 2em;".($is_autoresponder ? '' : ' display: none;')."\" id=\"autoresponder_config\">";
modules/email/edit.php 172) 
modules/email/edit.php 173) $ar = $account['autoresponder'];
modules/email/edit.php 174) if (! $ar) {
modules/email/edit.php 175)   $ar = empty_autoresponder_config();
modules/email/edit.php 176) }
modules/email/edit.php 177) 
modules/email/edit.php 178) if ($ar['valid_until'] != NULL && $ar['valid_until'] < date('Y-m-d')) {
modules/email/edit.php 179)   // Daten sind Restbestand von einem früheren Einsatz des Autoresponders
modules/email/edit.php 180)   $ar['valid_from'] = NULL;
modules/email/edit.php 181)   $ar['valid_until'] = NULL;
modules/email/edit.php 182) }
modules/email/edit.php 183) $valid_from_now_checked = ($ar['valid_from'] <= date('Y-m-d H:i:s') || $ar['valid_from'] == NULL) ? ' checked="checked"' : '';
modules/email/edit.php 184) $valid_from_future_checked = ($ar['valid_from'] > date('Y-m-d H:i:s')) ? ' checked="checked"' : '';
modules/email/edit.php 185) $startdate = $ar['valid_from'];
bernd Datums-Check und Daten in u...

bernd authored 12 years ago

modules/email/edit.php 186) if (! $startdate || $startdate <= date('Y-m-d')) {
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 187)   $startdate = date('Y-m-d', time() + 1*24*60*60);
modules/email/edit.php 188) }
modules/email/edit.php 189) $form .= "<p><input type=\"radio\" name=\"ar_valid_from\" value=\"now\" id=\"ar_valid_from_now\"{$valid_from_now_checked} /> <label for=\"ar_valid_from_now\">Ab sofort</label><br />".
modules/email/edit.php 190)   "<input type=\"radio\" name=\"ar_valid_from\" value=\"future\" id=\"ar_valid_from_future\"{$valid_from_future_checked} /> <label for=\"ar_valid_from_future\">Erst ab dem </label>".
modules/email/edit.php 191)   html_datepicker("ar_valid_from", strtotime($startdate))."</p>";
modules/email/edit.php 192) 
modules/email/edit.php 193) $valid_until_infinity_checked = ($ar['valid_until'] == NULL) ? ' checked="checked"' : '';
modules/email/edit.php 194) $valid_until_date_checked = ($ar['valid_until'] != NULL) ? ' checked="checked"' : '';
modules/email/edit.php 195) $enddate = $ar['valid_until'];
modules/email/edit.php 196) if (! $enddate) {
modules/email/edit.php 197)   $enddate = date('Y-m-d', time() + 7*24*60*60);
modules/email/edit.php 198) }
modules/email/edit.php 199) $form .= "<h4>Deaktivierung</h4>";
modules/email/edit.php 200) $form .= "<p><input type=\"radio\" name=\"ar_valid_until\" value=\"infinity\" id=\"ar_valid_until_infinity\"{$valid_until_infinity_checked} /> <label for=\"ar_valid_until_infinity\">Unbefristet</label><br />".
modules/email/edit.php 201)   "<input type=\"radio\" name=\"ar_valid_until\" value=\"date\" id=\"ar_valid_until_date\"{$valid_until_date_checked} /> <label for=\"ar_valid_until_date\">Keine Antworten mehr versenden ab dem </label>".
modules/email/edit.php 202)   html_datepicker("ar_valid_until", strtotime($enddate))."</p>";
modules/email/edit.php 203) 
modules/email/edit.php 204) 
modules/email/edit.php 205) $subject = $ar['subject'];
modules/email/edit.php 206) if ($subject == NULL)
modules/email/edit.php 207)   $subject = '';
modules/email/edit.php 208) $ar_subject_default_checked = ($subject == NULL) ? ' checked="checked"' : '';
modules/email/edit.php 209) $ar_subject_custom_checked = ($subject) ? ' checked="checked"' : '';
modules/email/edit.php 210) $form .= "<h4>Betreffzeile der automatischen Antwort</h4>".
modules/email/edit.php 211)   "<p><input type=\"radio\" name=\"ar_subject\" value=\"default\" id=\"ar_subject_default\"{$ar_subject_default_checked} /> ".
modules/email/edit.php 212)   "<label for=\"ar_subject_default\">Automatisch (Re: <em>&lt;Betreff der Originalnachricht&gt;</em>)</label><br />".
modules/email/edit.php 213)   "<input type=\"radio\" name=\"ar_subject\" value=\"custom\" id=\"ar_subject_custom\"{$ar_subject_custom_checked} /> ".
modules/email/edit.php 214)   "<label for=\"ar_subject_custom\">Anderer Betreff:</label> <input type=\"text\" name=\"ar_subject_value\" id=\"ar_subject_value\" value=\"{$subject}\"/></p>";
modules/email/edit.php 215) 
modules/email/edit.php 216) $message = $ar['message'];
modules/email/edit.php 217) $form .= "<h4>Inhalt der automatischen Antwort</h4>".
modules/email/edit.php 218)   "<p><textarea cols=\"80\" rows=\"10\" name=\"ar_message\" id=\"ar_message\">".$ar['message']."</textarea></p>";
modules/email/edit.php 219) $quote = $ar['quote'];
modules/email/edit.php 220) if (! $quote) 
modules/email/edit.php 221)   $quote = 'none';
modules/email/edit.php 222) $form .= "<p><label for=\"ar_quote\">Originalnachricht des Absenders </label>".
modules/email/edit.php 223)   html_select('ar_quote', array("none" => 'nicht in Antwort einschließen', 
modules/email/edit.php 224)                                 "inline" => 'zitieren (max. 50 Zeilen)', 
modules/email/edit.php 225)                                 "attach" => 'vollständig als Anhang beifügen'), $quote)."</p>";
modules/email/edit.php 226) 
modules/email/edit.php 227) 
modules/email/edit.php 228) $ar_from_default_checked = ($ar['fromname'] == NULL) ? ' checked="checked"' : '';
modules/email/edit.php 229) $ar_from_custom_checked = ($ar['fromname'] != NULL) ? ' checked="checked"' : '';
modules/email/edit.php 230) $fromname = $ar['fromname'];
modules/email/edit.php 231) $form .= "<h4>Absender der automatischen Antwort</h4>".
modules/email/edit.php 232)   "<p><input type=\"radio\" name=\"ar_from\" value=\"default\" id=\"ar_from_default\"{$ar_from_default_checked} /> <label for=\"ar_from_default\">Nur E-Mail-Adresse</label><br />".
modules/email/edit.php 233)   "<input type=\"radio\" name=\"ar_from\" value=\"custom\" id=\"ar_from_custom\"{$ar_from_custom_checked} /> <label for=\"ar_from_custom\">Mit Name: </label> ".
modules/email/edit.php 234)   "<input type=\"text\" name=\"ar_fromname\" id=\"ar_fromname\" value=\"{$fromname}\"/></p>";
bernd Neues Design für VMail-Edit...

bernd authored 16 years ago

modules/vmail/edit.php 235) 
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 236) 
modules/email/edit.php 237) 
modules/email/edit.php 238) 
modules/email/edit.php 239) $form .= '</div>';
modules/email/edit.php 240) 
modules/email/edit.php 241) 
modules/email/edit.php 242) 
modules/email/edit.php 243) 
modules/email/edit.php 244) 
modules/email/edit.php 245) $form .= "<p><input onchange=\"toggleDisplay('forward', 'forward_config')\" type=\"checkbox\" id=\"forward\" name=\"forward\" value=\"yes\" ".($is_forward ? 'checked="checked" ' : '')." /><label for=\"forward\">&#160;<strong>Weiterleitung an andere E-Mail-Adressen</strong></label></p>";
modules/email/edit.php 246) 
modules/email/edit.php 247) 
modules/email/edit.php 248) $form .= "<div style=\"margin-left: 2em;".($is_forward ? '' : ' display: none;')."\" id=\"forward_config\">";
bernd Neues VMail-Interface (funk...

bernd authored 16 years ago

modules/vmail/edit.php 249) 
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php 250) $form .= '<div id="forward_entries">
modules/email/edit.php 251) ';
modules/email/edit.php 252) if (! isset($account['forwards'][0])) {
modules/email/edit.php 253)   $account['forwards'][0] = array('destination' => '', 'spamfilter' => 'none');
bernd Anpassung auf neues Interface

bernd authored 16 years ago

modules/vmail/edit.php 254) }
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php 255) for ($i = 0 ; $i < $numforwards ; $i++)
bernd Anpassung auf neues Interface

bernd authored 16 years ago

modules/vmail/edit.php 256) {
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php 257)   $num = $i+1;
modules/email/edit.php 258)   $form .= "<div class=\"vmail-forward\" id=\"vmail_forward_{$num}\">
modules/email/edit.php 259)   <div style=\"float: right;\"><a href=\"#\" onclick=\"removeForward(this);\">".icon_delete("Diese Weiterleitung entfernen")."</a></div>
modules/email/edit.php 260)   <p>Weiterleiten an <input type=\"text\" id=\"forward_to_{$num}\" name=\"forward_to_{$num}\" value=\"{$account['forwards'][$i]['destination']}\" /></p>
modules/email/edit.php 261)   <p>Spam-Mails an diese Adresse ".html_select('spamfilter_action_'.$num, array("none" => 'nicht filtern', "tag" => 'markieren und zustellen', "delete" => 'nicht zustellen'), $account['forwards'][$i]['spamfilter'])."</p>
modules/email/edit.php 262)   </div>\n";
bernd Anpassung auf neues Interface

bernd authored 16 years ago

modules/vmail/edit.php 263) }
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php 264) $form .= '</div>';
bernd Anpassung auf neues Interface

bernd authored 16 years ago

modules/vmail/edit.php 265) 
bernd JavaScript-Erweiterungen: U...

bernd authored 12 years ago

modules/email/edit.php 266) $form .= '<p><a href="#" onclick="moreForward();">'.icon_add().' Weiteren Empfänger hinzufügen</a></p>
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 267) </div>';
bernd Neues Design für VMail-Edit...

bernd authored 16 years ago

modules/vmail/edit.php 268) 
bernd Konfiguration des Autorespo...

bernd authored 12 years ago

modules/email/edit.php 269) $form .= '<p><input type="submit" value="Speichern" />&#160;&#160;&#160;&#160;'.internal_link('vmail', 'Abbrechen').'</p>';
bernd Erste Version des vmail-Modul

bernd authored 16 years ago

modules/vmail/edit.php 270) 
bernd eliminate .php extensions f...

bernd authored 15 years ago

modules/email/edit.php 271) output(html_form('vmail_edit_mailbox', 'save', 'action=edit'.($id != 0 ? '&id='.$id : ''), $form));