[Kos-cvs] kos-web/admin admin.php,1.1,1.2 index.php,1.2,1.3
thomas at kos.enix.org
thomas at kos.enix.org
Thu Dec 30 02:01:31 CET 2004
- Previous message: [Kos-cvs] kos-web/include en.php,1.1,1.2 fr.php,1.3,1.4
- Next message: [Kos-cvs] kos-web/include header.php, 1.12, 1.13 main.php, 1.6,
1.7 toc.php, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/kos/kos-web/admin
In directory the-doors:/tmp/cvs-serv15457/admin
Modified Files:
admin.php index.php
Log Message:
Accès à l'interface d'administration
Index: admin.php
===================================================================
RCS file: /var/cvs/kos/kos-web/admin/admin.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- admin.php 9 Jul 2002 15:58:15 -0000 1.1
+++ admin.php 30 Dec 2004 01:01:29 -0000 1.2
@@ -1,56 +1,4 @@
<?
-function put_header($title)
-{
- echo "<html><head><title>KOS Web site administration [$title]</title>";
- echo "<style type=\"text/css\">
- a.other_topic {
- font-weight: bold;
- }
- a.current_topic {
- color: black;
- }";
- echo "</style>\n";
-
- echo "</head>";
- echo "<body bgcolor=\"White\" text=\"Black\" link=\"#1A6170\" vlink=\"#1A6170\" alink=\"Black\">";
- echo "<center><img src=\"../images/kosmain1.jpg\"><br><br>";
- echo "<h1>KOS Administration [$title]</h1></center>";
-
- /* Beginning of the huge table */
- echo "\n<table width=\"100%\" border=0 cellspacing=0 cellpading=0 bgcolor=\"White\">\n";
- echo "<tr>";
-}
-
-function put_footer()
-{
- echo "</table>\n";
- echo "</td></tr></table>\n";
- echo "</body></html>";
-}
-
-function start_content_section($title)
-{
- global $kos_color;
- global $space;
-
- echo "<tr><td bgcolor=$kos_color width=\"100%\">\n";
- echo "<font color=\"White\" size=3 face=\"Arial,Helvetica,Clean\">\n";
- echo "<strong>$title</strong>\n";
- echo $space;
- echo "</td></tr>\n";
- echo "<tr><td width=\"100%\">\n";
- echo "<font><p>\n";
-}
-
-
-function end_content_section()
-{
- global $bigspace;
-
- echo "</font></td>\n</tr>\n";
- echo $bigspace;
-}
-
function make_passwd($passwd)
{
@@ -166,7 +114,7 @@
"KOS Site" =>
array ( array ("Revenir au site",
"",
- "../index.php",
+ "index.php",
"")
)
);
Index: index.php
===================================================================
RCS file: /var/cvs/kos/kos-web/admin/index.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- index.php 9 Jul 2002 15:57:12 -0000 1.2
+++ index.php 30 Dec 2004 01:01:29 -0000 1.3
@@ -2,15 +2,20 @@
$topsrcdir="..";
include("admin.php");
+include("$topsrcdir/include/header.php");
+include("$topsrcdir/include/footer.php");
include("$topsrcdir/include/toc.php");
+include("$topsrcdir/include/main.php");
-put_header("Accueil");
+put_header("HOME", array ("fr" => "Administration : Accueil") );
put_toc("HOME");
start_content_section("Administration du site KOS");
?>
-Cette partie du site à accès restreint permet de gérer l'ensemble du site officiel du projet KOS, et notamment de :<br>
+<p>Cette partie du site à accès restreint permet de gérer l'ensemble
+du site officiel du projet KOS, et notamment de :</p>
+
<ul>
<li>Ajouter et modifer des news</li>
<li>Ajouter et modifier des docs</li>
@@ -18,7 +23,6 @@
<li>Ajouter et modifier des références de livres</li>
</ul>
-
<?
end_content_section();
- Previous message: [Kos-cvs] kos-web/include en.php,1.1,1.2 fr.php,1.3,1.4
- Next message: [Kos-cvs] kos-web/include header.php, 1.12, 1.13 main.php, 1.6,
1.7 toc.php, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Kos-cvs
mailing list