Changeset 193
- Timestamp:
- 09/13/07 21:04:27 (16 months ago)
- Location:
- trunk
- Files:
-
- 6 modified
-
includes/config.inc.default.php (modified) (1 diff)
-
includes/func.inc.php (modified) (1 diff)
-
includes/sites/domain_view.php (modified) (1 diff)
-
includes/sites/email_view.php (modified) (2 diffs)
-
templates/domain_view.tpl (modified) (3 diffs)
-
templates/email_view.tpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/config.inc.default.php
r191 r193 54 54 $config['company_title'] = "Some Company"; 55 55 56 // use the postfix per recipient classes with policyd-weight 57 $config['recipient_classes_polw']=1; 58 59 // use the postfix per recipient classes with greylisting 60 $config['recipient_classes_grey']=0; 61 56 62 $ar_spam=array("cbl.abuseat.org","multi.surbl.org","sbl-xbl.spamhaus.org"); 57 63 -
trunk/includes/func.inc.php
r192 r193 24 24 $smarty->assign('display_mb_size',$config['display_mb_size']); 25 25 $smarty->assign('cpves_version', $config['cpves_version']); 26 $smarty->assign('config', $config); 26 27 /* 27 28 mailfilter prios: -
trunk/includes/sites/domain_view.php
r192 r193 183 183 } 184 184 else { 185 if ($_GET['f'] == 'check_polw' && $config['recipient_classes_polw']==0) { 186 } 187 elseif($_GET['f'] == 'check_grey' && $config['recipient_classes_grey']==0) { 188 } 189 else { 185 190 change_domain_feature($_GET['did'],$_GET['f'],$_GET['fstate']); 191 } 186 192 } 187 193 -
trunk/includes/sites/email_view.php
r192 r193 493 493 $autores_xheader=0; 494 494 } 495 if (isset($_POST['check_polw']) && $_POST['check_polw'] == "enable" && check_domain_feature($_GET['did'], 'p_check_polw') ) {495 if (isset($_POST['check_polw']) && $_POST['check_polw'] == "enable" && check_domain_feature($_GET['did'], 'p_check_polw') && $config['recipient_classes_polw']) { 496 496 $check_polw=1; 497 497 } … … 499 499 $check_polw=0; 500 500 } 501 if (isset($_POST['check_grey']) && $_POST['check_grey'] == "enable" && check_domain_feature($_GET['did'], 'p_check_grey') ) {501 if (isset($_POST['check_grey']) && $_POST['check_grey'] == "enable" && check_domain_feature($_GET['did'], 'p_check_grey') && $config['recipient_classes_grey']) { 502 502 $check_grey=1; 503 503 } -
trunk/templates/domain_view.tpl
r192 r193 173 173 {/if}</td> 174 174 </tr> 175 {if $config.recipient_classes_polw == 1} 175 176 <tr> 176 177 <td>{t}Policyd-Weight{/t}:</td> … … 185 186 {/if}</td> 186 187 </tr> 188 {/if} 189 {if $config.recipient_classes_grey == 1} 187 190 <tr> 188 191 <td>{t}Greylisting{/t}:</td> … … 197 200 {/if}</td> 198 201 </tr> 202 {/if} 199 203 <tr> 200 204 <td>{t}access to CpVES webinterface{/t}:</td> -
trunk/templates/email_view.tpl
r192 r193 53 53 </tr> 54 54 {/if} 55 {if $if_check_polw == 1 }55 {if $if_check_polw == 1 && $config.recipient_classes_polw == 1} 56 56 <tr> 57 57 <td>{t}policyd-weight available{/t}:</td> … … 66 66 </tr> 67 67 {/if} 68 {if $if_check_grey == 1 }68 {if $if_check_grey == 1 && $config.recipient_classes_grey } 69 69 <tr> 70 70 <td>{t}greylisting available{/t}:</td>
