Changeset 221

Show
Ignore:
Timestamp:
11/28/07 23:39:48 (13 months ago)
Author:
jonas
Message:

exp. internal domain forward

Location:
trunk
Files:
2 added
9 modified

Legend:

Unmodified
Added
Removed
  • trunk/includes/config.inc.default.php

    r214 r221  
    8484         "autoresponder_send", "email_options","fetchmail", 
    8585         "mailarchive","mailfilter","spamassassin","spamassassin_learn","autoresponder_xheader"); 
    86 $config['cpves_version']="0.10"; 
     86$config['cpves_version']="0.11-SVN"; 
    8787require_once(ROOT . '/includes/func.inc.php'); 
    8888?> 
  • trunk/includes/func.inc.php

    r219 r221  
    3636    die($db->getMessage()); 
    3737} 
     38 
     39function do_fwd_get_fwd_domain($did) { 
     40        global $db; 
     41        $sql=sprintf("SELECT a.to_domain, b.dnsname,b.id,a.id AS do_id FROM domains_forward AS a LEFT JOIN domains AS b ON b.id=a.to_domain WHERE a.fr_domain='%s'", 
     42                $db->escapeSimple($did)); 
     43        $result=&$db->query($sql); 
     44        if ($result->numRows() == 1) { 
     45                $data=$result->fetchrow(DB_FETCHMODE_ASSOC); 
     46                return $data; 
     47        } 
     48        else { 
     49                return false; 
     50        } 
     51} 
     52 
    3853function check_whitelist_addr($addr) { 
    3954        if (preg_match('/^@/', $addr)) { //addr is an domain 
  • trunk/includes/sites/domain_view.php

    r218 r221  
    153153} // superadmin END 
    154154 
     155// del domain_forward from domains_forward 
     156if (isset($_GET['sub'])&& $_GET['sub']=="do_fwd" && isset($_GET['act']) && $_GET['act']=="del" && 
     157        isset($_GET['do_fwd_id']) && is_numeric($_GET['do_fwd_id'])) { 
     158        $sql=sprintf("DELETE FROM domains_forward WHERE id='%s' AND fr_domain='%s'", 
     159                $db->escapeSimple($_GET['do_fwd_id']), 
     160                $db->escapeSimple($_GET['did'])); 
     161        $db->query($sql); 
     162} 
     163 
    155164//Domain features veraendern ANFANG 
    156165if (isset($_SESSION['superadmin']) && $_SESSION['superadmin']=='1' && isset($_GET['fstate'])&& isset($_GET['f'])) 
     
    208217$smarty->assign('forwardings', get_forem_domain($_GET['did'],'forwardings', $db)); 
    209218 
     219//get forward domain 
     220if (do_fwd_get_fwd_domain($_GET['did'])== false) { 
     221        $smarty->assign('domain_fwd',0); 
     222} 
     223else { 
     224        $smarty->assign('domain_fwd', do_fwd_get_fwd_domain($_GET['did'])); 
     225} 
    210226 
    211227//FIXME: deleted email addresses!!! 
  • trunk/templates/cont_headline.tpl

    r156 r221  
    1111{elseif $template == "domain_add.tpl" } 
    1212        {t}Superadmin: add new domain{/t} 
     13{elseif $template == "domain_forward.tpl"} 
     14        {$dnsname}: {t}create internal domainforward{/t} 
    1315{elseif $template == "domain_view.tpl"} 
    1416        {$dnsname}: {t}summary{/t} 
  • trunk/templates/domain_view.tpl

    r220 r221  
    2525 
    2626 <td style="width:300px;"><div style="float:left;"> 
    27 {if $row.autoresponder eq "1"}<img src="img/icons/autoresponder.png" align="middle" title="{t}vacation active!{/t}" />{/if} 
     27{if $row.autoresponder eq "1"}<img src="img/icons/autoresponder.png" alt="" align="middle" title="{t}vacation active!{/t}" />{/if} 
    2828<a href="?module=email_view&#038;id={$row.id}&amp;did={$did}">{$row.email}</a></div> 
    2929<div style="float:right;padding:0px;"> 
    3030        <a class="tooltip" href="#"> 
    31         <img src="img/icons/help.png" title="" align="middle"/> 
     31        <img src="img/icons/help.png" alt="" title="" align="middle"/> 
    3232        <span>{t}information{/t}:<br/> </span></a> 
    3333</div></td> 
     
    4141 <td style="text-align:right;vertical-align:middle;"> 
    4242 {if $row.access == '1' } 
    43  <a href="?module=domain_view&#038;did={$did}&#038;type=email&#038;state=disable&#038;eid={$row.id}"><img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate emailaddress{/t}"/></a> 
    44  {else} 
    45  <a  href="?module=domain_view&#038;did={$did}&#038;type=email&#038;state=enable&#038;eid={$row.id}"><img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate emailaddress{/t}"/></a> 
     43 <a href="?module=domain_view&#038;did={$did}&#038;type=email&#038;state=disable&#038;eid={$row.id}"><img src="img/icons/button_ok.png" alt="" style="border:0px;" title="{t}deactivate emailaddress{/t}"/></a> 
     44 {else} 
     45 <a  href="?module=domain_view&#038;did={$did}&#038;type=email&#038;state=enable&#038;eid={$row.id}"><img src="img/icons/button_cancel.png" alt="" style="border:0px;" title="{t}activate emailaddress{/t}"/></a> 
    4646 {/if}</td> 
    4747  <td style="text-align:right;vertical-align:middle;"> 
    48   <a href="?module=email_del&#038;did={$row.did}&#038;id={$row.id}"><img src="img/icons/delete.png" style="border:0px;" title="{t}delete emailaddress{/t}" /> 
     48  <a href="?module=email_del&#038;did={$row.did}&#038;id={$row.id}"><img src="img/icons/delete.png" style="border:0px;" alt="" title="{t}delete emailaddress{/t}" /> 
    4949  </a> 
    5050</td> 
     
    6868<tr bgcolor="{cycle values="$color1,$color2"}"> 
    6969 <td style="width:300px;"><a href="?module=forward_view&#038;id={$row.id}&amp;did={$did}">{$row.from}</a></td> 
    70  <td style="width:300px;">{if $row.if_multif eq 'y' }<img src="img/icons/multi_fwd.png"  style="border:0px;" title="{t}forwarding to more addresses.{/t}" /> {/if }{$row.to}</td> 
     70 <td style="width:300px;">{if $row.if_multif eq 'y' }<img src="img/icons/multi_fwd.png"  style="border:0px;" alt="" title="{t}forwarding to more addresses.{/t}" /> {/if }{$row.to}</td> 
    7171 <td style="text-align:right;vertical-align:middle;"> 
    7272 {if $row.access == '1'} 
    73   <a href="?module=domain_view&#038;did={$did}&#038;type=forward&#038;state=disable&#038;eid={$row.id}"><img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate forwarding.{/t}"/></a> 
     73  <a href="?module=domain_view&#038;did={$did}&#038;type=forward&#038;state=disable&#038;eid={$row.id}"><img src="img/icons/button_ok.png" alt="" style="border:0px;" title="{t}deactivate forwarding.{/t}"/></a> 
    7474  
    7575 {else} 
    76  <a href="?module=domain_view&#038;did={$did}&#038;type=forward&#038;state=enable&#038;eid={$row.id}"><img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate forwarding.{/t}"/></a> 
     76 <a href="?module=domain_view&#038;did={$did}&#038;type=forward&#038;state=enable&#038;eid={$row.id}"><img src="img/icons/button_cancel.png" alt="" style="border:0px;" title="{t}activate forwarding.{/t}"/></a> 
    7777 {/if}</td> 
    7878  <td style="text-align:right;vertical-align:middle;"> 
    79   <a href="?module=forward_del&#038;did={$did}&#38;id={$row.id}" ><img src="img/icons/delete.png" style="border:0px;" title="{t}delete forwarding.{/t}"/></a> 
     79  <a href="?module=forward_del&#038;did={$did}&#38;id={$row.id}" ><img src="img/icons/delete.png" style="border:0px;" title="{t}delete forwarding.{/t}" alt="" /></a> 
    8080  </td> 
    8181</tr> 
     
    9898 <td style="text-align:right;vertical-align:middle;"> 
    9999 {if $row.access == '1' } 
    100  <a href="?module=domain_view&#038;did={$did}&#038;type=list&#038;state=disable&#038;eid={$row.id}"><img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate mailinglist.{/t}"/></a> 
    101  {else} 
    102  <a  href="?module=domain_view&#038;did={$did}&#038;type=list&#038;state=enable&#038;eid={$row.id}"><img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate mailinglist.{/t}"/></a> 
     100 <a href="?module=domain_view&#038;did={$did}&#038;type=list&#038;state=disable&#038;eid={$row.id}"><img src="img/icons/button_ok.png" alt="" style="border:0px;" title="{t}deactivate mailinglist.{/t}"/></a> 
     101 {else} 
     102 <a  href="?module=domain_view&#038;did={$did}&#038;type=list&#038;state=enable&#038;eid={$row.id}"><img src="img/icons/button_cancel.png" alt="" style="border:0px;" title="{t}activate mailinglist.{/t}"/></a> 
    103103 {/if}</td> 
    104104 <td style="text-align:right;vertical-align:middle;"> 
    105   <a href="?module=list_del&#038;did={$did}&#38;id={$row.id}" ><img src="img/icons/delete.png" style="border:0px;" title="{t}delete mailinglist.{/t}"/></a> 
     105  <a href="?module=list_del&#038;did={$did}&#38;id={$row.id}" ><img src="img/icons/delete.png" style="border:0px;" title="{t}delete mailinglist.{/t}" alt="" /></a> 
    106106 </td> 
    107107</tr>  
     
    129129   
    130130  {if $catchall_access == '1'} 
    131   <a href="?module=domain_view&#038;did={$did}&#038;state=disable&#038;type=forward&#038;eid={$catchall_id}"><img src="img/icons/button_ok.png" title="{t}deactivate catchall entry.{/t}" style="border:0px;" /></a>   
     131  <a href="?module=domain_view&#038;did={$did}&#038;state=disable&#038;type=forward&#038;eid={$catchall_id}"><img src="img/icons/button_ok.png" alt="" title="{t}deactivate catchall entry.{/t}" style="border:0px;" /></a>   
    132132   
    133133  {else} 
    134   <a href="?module=domain_view&#038;did={$did}&#038;state=enable&#038;type=forward&#038;eid={$catchall_id}"><img src="img/icons/button_cancel.png" title="{t}activate catchall entry.{/t}" style="border:0px;" /></a> 
     134  <a href="?module=domain_view&#038;did={$did}&#038;state=enable&#038;type=forward&#038;eid={$catchall_id}"><img src="img/icons/button_cancel.png" title="{t}activate catchall entry.{/t}" alt="" style="border:0px;" /></a> 
    135135  {/if}</form></td> 
    136136  <td style="text-align:right;vertical-align:middle;"> 
    137   <a href="?module=domain_view&#038;did={$did}&#038;type=catchall&#038;state=delete&#038;eid={$catchall_id}" title="{t}delete catchall entry.{/t}"><img src="img/icons/delete.png" style="border:0px;" /></a> 
     137  <a href="?module=domain_view&#038;did={$did}&#038;type=catchall&#038;state=delete&#038;eid={$catchall_id}" title="{t}delete catchall entry.{/t}"><img src="img/icons/delete.png" alt="" style="border:0px;" /></a> 
    138138 </td> 
    139139  {/if} 
     
    145145</tr> 
    146146<tr> 
    147 {if $domain_forward_active==0} 
     147{if $domain_fwd==0} 
    148148<td colspan="4"> 
    149 {t 1=$dnsname}no internal domainforward for %1 configured.{/t}<br/><a href="?module=domain_forward&#038;did={$did}&#038;new=yes">{t}click here to configure an domainfoward.{/t}</a> 
     149{t 1=$dnsname}no internal domainforward for %1 configured.{/t}<br/><a href="?module=domain_forward&#038;did={$did}">{t}click here to configure an domainfoward.{/t}</a> 
    150150</td> 
    151151</tr> 
     
    157157</tr> 
    158158<tr> 
    159         <td style="padding-right:15px;">{$dnsname}</td> 
    160         <td><a href="?module=domain_view&#038;did={$to_domain_id}">{$to_domain_name}</a></td> 
    161         <td style="text-align:right;vertical-align:middle;"><img src="img/icons/delete.png" style="border:0px;" /></td> 
     159        <td style="padding-right:15px;">@{$dnsname}</td> 
     160        <td><a href="?module=domain_view&#038;did={$domain_fwd.id}">@{$domain_fwd.dnsname}</a></td> 
     161        <td style="text-align:right;vertical-align:middle;"><a href="?module=domain_view&#038;did={$did}&#038;sub=do_fwd&#038;act=del&#038;do_fwd_id={$domain_fwd.do_id}"><img src="img/icons/delete.png" style="border:0px;" alt="" /></a></td> 
    162162</tr> 
    163163 
     
    174174 {if $domain.p_imap == 0  } 
    175175 <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=imap"> 
    176  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate IMAP.{/t}" /></a> 
     176 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate IMAP.{/t}" alt="" /></a> 
    177177 {else} 
    178178 <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=imap"> 
    179  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate IMAP.{/t}" /></a> 
     179 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate IMAP.{/t}" alt="" /></a> 
    180180 {/if}</td> 
    181181</tr> 
     
    186186 {if $domain.p_pop3 == 0 } 
    187187  <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=pop3"> 
    188  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate POP3.{/t}" /></a> 
     188 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate POP3.{/t}" alt="" /></a> 
    189189 {else} 
    190190  <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=pop3"> 
    191  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate POP3.{/t}" /></a> 
     191 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate POP3.{/t}" alt="" /></a> 
    192192 {/if}</td> 
    193193</tr> 
     
    198198 {if $domain.p_webmail ==  0 } 
    199199   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=webmail"> 
    200  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate webmail.{/t}" /></a> 
     200 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate webmail.{/t}" alt="" /></a> 
    201201 {else} 
    202202   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=webmail"> 
    203  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate webmail.{/t}" /></a> 
     203 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate webmail.{/t}" alt="" /></a> 
    204204 {/if}</td> 
    205205</tr> 
     
    211211 {if $domain.p_mlists ==  0 } 
    212212   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=mlists"> 
    213  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate mailinglists.{/t}" /></a> 
     213 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate mailinglists.{/t}" alt="" /></a> 
    214214 {else} 
    215215   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=mlists"> 
    216  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate mailinglists.{/t}" /></a> 
     216 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate mailinglists.{/t}" alt="" /></a> 
    217217 {/if}</td> 
    218218</tr> 
     
    225225 {if $domain.p_check_polw ==  0 } 
    226226   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=check_polw"> 
    227  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate policyd-weight.{/t}" /></a> 
     227 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate policyd-weight.{/t}" alt="" /></a> 
    228228 {else} 
    229229   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=check_polw"> 
    230  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate policyd-weight.{/t}" /></a> 
     230 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate policyd-weight.{/t}" alt="" /></a> 
    231231 {/if}</td> 
    232232</tr> 
     
    239239 {if $domain.p_check_grey ==  0 } 
    240240   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=check_grey"> 
    241  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate greylisting.{/t}" /></a> 
     241 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate greylisting.{/t}" alt="" /></a> 
    242242 {else} 
    243243   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=check_grey"> 
    244  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate greylisting.{/t}" /></a> 
     244 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate greylisting.{/t}" alt="" /></a> 
    245245 {/if}</td> 
    246246</tr> 
     
    252252 {if $domain.p_webinterface == 0  } 
    253253 <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=webinterface"> 
    254  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate CpVES webinterface.{/t}" /></a> 
     254 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate CpVES webinterface.{/t}" alt="" /></a> 
    255255 {else} 
    256256 <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=webinterface"> 
    257  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate CpVES webinterface.{/t}" /></a> 
     257 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate CpVES webinterface.{/t}" alt="" /></a> 
    258258 {/if}</td> 
    259259</tr> 
     
    264264 {if $domain.p_autores_xheader == 0  } 
    265265 <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=autores_xheader"> 
    266  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate vacation X-Header feature.{/t}" /></a> 
     266 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate vacation X-Header feature.{/t}" alt="" /></a> 
    267267 {else} 
    268268 <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=autores_xheader"> 
    269  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate vacation X-Header feature.{/t}" /></a> 
     269 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate vacation X-Header feature.{/t}" alt="" /></a> 
    270270 {/if}</td> 
    271271</tr> 
     
    276276 {if $domain.p_fetchmail ==  0 } 
    277277   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=fetchmail"> 
    278  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate fetchmail{/t}:" /></a> 
     278 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate fetchmail{/t}:" alt="" /></a> 
    279279 {else} 
    280280   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=fetchmail"> 
    281  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate fetchmail.{/t}" /></a> 
     281 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate fetchmail.{/t}" alt="" /></a> 
    282282 {/if}</td> 
    283283</tr> 
     
    288288 {if $domain.p_spamassassin == 0 } 
    289289   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=spamassassin"> 
    290  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate spamassassin.{/t}" /></a> 
     290 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate spamassassin.{/t}" alt="" /></a> 
    291291 {else} 
    292292   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=spamassassin"> 
    293  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate spamassassin.{/t}" /></a> 
     293 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate spamassassin.{/t}" alt="" /></a> 
    294294 {/if}</td>  
    295295</tr> 
     
    300300 {if $domain.p_sa_learn == 0 } 
    301301   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=sa_learn"> 
    302  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate ham/spam learning.{/t}" /></a> 
     302 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate ham/spam learning.{/t}" alt="" /></a> 
    303303 {else} 
    304304   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=sa_learn"> 
    305  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate ham/spam learning.{/t}" /></a> 
     305 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate ham/spam learning.{/t}" alt="" /></a> 
    306306 {/if}</td>  
    307307</tr> 
     
    313313 {if $domain.p_spam_del == 0 } 
    314314   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=spam_del"> 
    315  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate delete spam.{/t}" /></a> 
     315 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate delete spam.{/t}" alt="" /></a> 
    316316 {else} 
    317317   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=spam_del"> 
    318  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate delete spam.{/t}" /></a> 
     318 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate delete spam.{/t}" alt="" /></a> 
    319319 {/if}</td>  
    320320</tr> 
     
    326326 {if $domain.p_spam_fwd == 0 } 
    327327   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=spam_fwd"> 
    328  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate forward spam.{/t}" /></a> 
     328 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate forward spam.{/t}" alt="" /></a> 
    329329 {else} 
    330330   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=spam_fwd"> 
    331  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate forward spam.{/t}" /></a> 
     331 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate forward spam.{/t}" alt="" /></a> 
    332332 {/if}</td>  
    333333</tr> 
     
    339339 {if $domain.p_bogofilter == 0 } 
    340340   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=bogofilter"> 
    341  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate bogofilter.{/t}" /></a> 
     341 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate bogofilter.{/t}" alt="" /></a> 
    342342 {else} 
    343343   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=bogofilter"> 
    344  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate bogofilter.{/t}" /></a> 
     344 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate bogofilter.{/t}" alt="" /></a> 
    345345 {/if}</td>  
    346346</tr> 
     
    352352 {if $domain.p_mailarchive == 0 } 
    353353   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=mailarchive"> 
    354  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate archivemail.{/t}" /></a> 
     354 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate archivemail.{/t}" alt="" /></a> 
    355355 {else} 
    356356   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=mailarchive"> 
    357  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate archivemail.{/t}" /></a> 
     357 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate archivemail.{/t}" alt="" /></a> 
    358358 {/if}</td>  
    359359</tr> 
     
    364364 {if $domain.p_sa_wb_listing == 0 } 
    365365   <a href="?module=domain_view&#038;did={$did}&#038;fstate=1&#038;f=sa_wb_listing"> 
    366  <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate whitelisting.{/t}" /></a> 
     366 <img src="img/icons/button_cancel.png" style="border:0px;" title="{t}activate whitelisting.{/t}" alt="" /></a> 
    367367 {else} 
    368368   <a href="?module=domain_view&#038;did={$did}&#038;fstate=0&#038;f=sa_wb_listing"> 
    369  <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate whitelisting.{/t}" /></a> 
     369 <img src="img/icons/button_ok.png" style="border:0px;" title="{t}deactivate whitelisting.{/t}" alt="" /></a> 
    370370 {/if}</td>  
    371371</tr> 
  • trunk/templates/error_messages.tpl

    r218 r221  
    1717{elseif $if_error_password_empty == 'y'} 
    1818{t}password is empty!{/t} 
     19{elseif $if_error_to_domain_not_exists == 'y'} 
     20{t}the selected domains does not exists!{/t} 
     21{elseif $if_error_domain_forwarded_already == 'y'} 
     22{t}the domain is already forwarded to another domain.{/t}<br/> 
     23{t}please return to domain overview!{/t} 
    1924{elseif $if_error_password_old_wrong == 'y'} 
    2025{t}old password is wrong!{/t} 
  • trunk/templates/success_messages.tpl

    r171 r221  
    2727{elseif $if_salearn_saved == 'y'} 
    2828{t}changes are saved.{/t} 
     29{elseif $domain_forward_saved =='y'} 
     30{t}the domain forward was saved.{/t}<br> 
     31{t}you will be forwarded to domain overview{/t} 
     32<meta http-equiv="refresh" content="1; URL=?module=domain_view&#038;did={$did}"> 
    2933{/if} 
  • trunk/web/css/thickbox.css

    r102 r221  
    3131        top: 0px; 
    3232        left: 0px; 
    33         background-color:#000; 
     33        background-color:#000000; 
    3434        filter:alpha(opacity=75); 
    3535        -moz-opacity: 0.75; 
  • trunk/web/index.php

    r199 r221  
    6161                $site="domain_del"; 
    6262                break; 
     63        case 'domain_forward': 
     64                $site="domain_forward"; 
     65                break; 
    6366        case 'list_add': 
    6467                $site="list_add";