Ajoute un lien vers la Mailing-List pour l'admin AlternC
This commit is contained in:
		
							parent
							
								
									78bbe0ee1b
								
							
						
					
					
						commit
						41feeb943b
					
				| 
						 | 
				
			
			@ -88,19 +88,24 @@ if($admin->enabled) {
 | 
			
		|||
    echo "<h2>" . _("Expired or about to expire accounts") . "</h2>\n";
 | 
			
		||||
    echo "<table cellspacing=\"2\" cellpadding=\"4\">\n";
 | 
			
		||||
    echo "<tr><th>"._("uid")."</th><th>"._("Last name, surname")."</th><th>"._("Expiry")."</th></tr>\n";
 | 
			
		||||
  if (is_array($expiring)) {
 | 
			
		||||
    if (is_array($expiring)) {
 | 
			
		||||
	    foreach($expiring as $account) {
 | 
			
		||||
      echo "<tr class=\"exp{$account['status']}\"><td>{$account['uid']}</td>";
 | 
			
		||||
      if($admin->checkcreator($account['uid']))
 | 
			
		||||
	echo "<td><a href=\"adm_edit.php?uid={$account['uid']}\">{$account['nom']}, {$account['prenom']}</a></td>";
 | 
			
		||||
      else
 | 
			
		||||
	echo "<td>{$account['nom']}, {$account['prenom']}</td>";
 | 
			
		||||
      echo "<td>{$account['expiry']}</td></tr>\n";
 | 
			
		||||
        echo "<td>{$account['expiry']}</td></tr>\n";
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
    echo "</table>\n";
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
  echo "<hr/><p>";
 | 
			
		||||
  __("You are using the AlternC Panel. You can contact the AlternC community for informations or feedback by joigning the mailing-list");
 | 
			
		||||
  echo " <a target=_blank href='http://lists.alternc.org/listinfo/users'>users@alternc.org</a>";
 | 
			
		||||
  echo "</p>";
 | 
			
		||||
} // if $admin->enabled
 | 
			
		||||
 | 
			
		||||
$c = $admin->get($cuid);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue