Changeset 1726


Ignore:
Timestamp:
08/12/06 02:04:12 (8 years ago)
Author:
anarcat
Message:

experimental feature: a harsh mass-redirection script that can be used to
temporarly turn off (by redirecting them) a user's subdomains (all of them)

temporarly, because a SQL dump is showed to allow the admin to restore the
previous state.

experimental, because the SQL dump should probably be hidden from the admin and
that this whole thing should probably be called something else than
"deactivate" and might be better somewhere else than in adm_list.php.

harsh, because there could be other ways to deal with evil users. this is the
best solution I have found for accounts that are victims of spambots.

Location:
alternc/trunk/bureau/admin
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/bureau/admin/adm_list.php

    r1662 r1726  
    7474?> 
    7575<table cellspacing="0" cellpadding="4"> 
    76 <tr><th colspan="4">&nbsp;</th><th><?php __("Username"); ?></th><th><?php echo _("Surname")." "._("First Name")."<br />("._("Email address").")"; ?></th><th><?php __("Account type") ?></th><th><?php __("Last login"); ?></th><th><?php __("Last fail"); ?></th><th><?php __("Last ip"); ?><th><?php __('Expiry') ?></th></tr> 
     76<tr><th colspan="5">&nbsp;</th><th><?php __("Username"); ?></th><th><?php echo _("Surname")." "._("First Name")."<br />("._("Email address").")"; ?></th><th><?php __("Account type") ?></th><th><?php __("Last login"); ?></th><th><?php __("Last fail"); ?></th><th><?php __("Last ip"); ?><th><?php __('Expiry') ?></th></tr> 
    7777<?php 
    7878reset($r); 
     
    9595                <td align="center"><a href="adm_edit.php?uid=<?php echo $val["uid"] ?>"><?php __("Edit"); ?></a></td> 
    9696                <td align="center"><a href="adm_quotaedit.php?uid=<?php echo $val["uid"] ?>"><?php __("Quotas"); ?></a></td> 
     97                <td align="center"><a href="adm_deactivate.php?uid=<?php echo $val["uid"] ?>"><?php __("Deactivate"); ?></a></td> 
    9798                <td align="center"><?php 
    9899                if (!$val["enabled"]) 
     
    105106                    <?php 
    106107                    } else {  
    107                       echo "<td colspan=\"4\"></td>";  
     108                      echo "<td colspan=\"5\"></td>";  
    108109                    } 
    109110 ?> 
Note: See TracChangeset for help on using the changeset viewer.