|
Revision 2104, 2.5 kB
(checked in by anarcat, 9 months ago)
|
Standardisation de l'interface web d'AlternC, qui passe maintenant la
validation du w3c
Refonte de certains styles et couleurs, tel que discuté sur la liste de
discussion.
Des modifications locales peuvent maintenant être faites dans
styles/custom.css qui n'est pas distribué avec AlternC et donc jamais
remplacé.
Contribution de Marc Angles
Sponsorisé par Koumbit
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
require_once("../class/config.php"); |
|---|
| 31 |
|
|---|
| 32 |
if (!$admin->enabled) { |
|---|
| 33 |
__("This page is restricted to authorized staff"); |
|---|
| 34 |
exit(); |
|---|
| 35 |
} |
|---|
| 36 |
|
|---|
| 37 |
$id = $_GET['id']; |
|---|
| 38 |
|
|---|
| 39 |
if (!$admin->checkcreator($id)) { |
|---|
| 40 |
__("This page is restricted to authorized staff"); |
|---|
| 41 |
exit(); |
|---|
| 42 |
} |
|---|
| 43 |
|
|---|
| 44 |
if (!$r=$admin->get($id)) { |
|---|
| 45 |
$error=$err->errstr(); |
|---|
| 46 |
} else { |
|---|
| 47 |
|
|---|
| 48 |
if (!$mem->setid($id)) { |
|---|
| 49 |
$error=$err->errstr(); |
|---|
| 50 |
include("index.php"); |
|---|
| 51 |
exit(); |
|---|
| 52 |
} |
|---|
| 53 |
|
|---|
| 54 |
?> |
|---|
| 55 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> |
|---|
| 56 |
<html> |
|---|
| 57 |
<head> |
|---|
| 58 |
<title><?php __("AlternC Desktop"); ?></title> |
|---|
| 59 |
<link rel="stylesheet" href="styles/base.css" type="text/css" /> |
|---|
| 60 |
<link rel="stylesheet" href="styles/custom.css" type="text/css" /> |
|---|
| 61 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
|---|
| 62 |
</head> |
|---|
| 63 |
<frameset cols="225px,*"> |
|---|
| 64 |
<frame src="menu.php" name="left" /> |
|---|
| 65 |
<frame src="main.php" name="right" /> |
|---|
| 66 |
<noframes> |
|---|
| 67 |
<body> |
|---|
| 68 |
<p> |
|---|
| 69 |
Votre navigateur doit supporter les cadres.<br /> |
|---|
| 70 |
Your browser must support frames |
|---|
| 71 |
</p> |
|---|
| 72 |
</body> |
|---|
| 73 |
</noframes> |
|---|
| 74 |
</frameset> |
|---|
| 75 |
</html> |
|---|
| 76 |
<?php |
|---|
| 77 |
exit(); |
|---|
| 78 |
} |
|---|
| 79 |
include("head.php"); |
|---|
| 80 |
?> |
|---|
| 81 |
</head> |
|---|
| 82 |
<body> |
|---|
| 83 |
<h3><?php __("Member login"); ?></h3> |
|---|
| 84 |
<?php |
|---|
| 85 |
if ($error) { |
|---|
| 86 |
echo "<p class=\"error\">$error</p></body></html>"; |
|---|
| 87 |
exit(); |
|---|
| 88 |
} |
|---|
| 89 |
?> |
|---|
| 90 |
</body> |
|---|
| 91 |
</html> |
|---|
| 92 |
|
|---|
| 93 |
|
|---|
| 94 |
|
|---|