<?php
/************************************************************************
- * MXChange v0.2.1 Start: 10/01/2008 *
- * =============== Last change: 10/01/2008 *
+ * Mailer v0.2.1-FINAL Start: 10/01/2008 *
+ * =================== Last change: 10/01/2008 *
* *
* -------------------------------------------------------------------- *
* File : removeip_functions.php *
// Adds informations about anonymity/privacy to the menu
function addAnonymityLevel () {
// "Base-privacy" is by default low (we add more later)
- $anonymity = 0;
+ $anonymity = '0';
// Is some data anonymized?
if (getConfig('removeip_anon_ip') == 'Y') $anonymity++;
// Set constant name suffix depending on that level
$suffix = 'unsupported_' . $level;
switch ($level) {
- case 0:
+ case '0':
$suffix = 'none';
break;
- case 1:
+ case '1':
$suffix = 'low';
break;
- case 2:
+ case '2':
$suffix = 'medium';
break;
- case 3: // High level
+ case '3': // High level
$suffix = 'high';
break;
} // END - while