preferences.php valide en xhtml et css
authorx2000habouzit <x2000habouzit>
Thu, 12 Feb 2004 01:42:45 +0000 (01:42 +0000)
committerx2000habouzit <x2000habouzit>
Thu, 12 Feb 2004 01:42:45 +0000 (01:42 +0000)
htdocs/css/default.css
include/xorg.page.inc.php
plugins/insert.mkStats.php
templates/skin/common.header.tpl
templates/skin/default.tpl

index 2390a74..552802f 100644 (file)
@@ -172,7 +172,7 @@ table.tinybicol td.info, table.bicol td.info {
 
 #suid {
     color: red;
-    background: pink;
+    background: #ffc0cb;
     width: 100%;
     font-weight: bold;
 }
@@ -248,4 +248,4 @@ table.tinybicol td.info, table.bicol td.info {
     vertical-align: top;
 }
 /* vim: set et ts=4 sts=4 sw=4: */
-/* $Id: default.css,v 1.15 2004-02-11 20:00:37 x2000habouzit Exp $ */
+/* $Id: default.css,v 1.16 2004-02-12 01:42:45 x2000habouzit Exp $ */
index 63db33a..dfaa902 100644 (file)
@@ -49,7 +49,7 @@ class XorgPage extends DiogenesCorePage {
           $this->caching=false;
       $id = $this->make_id($append_to_id);
       if($site_dev) {
-          $this->assign('validate', "http://validator.w3.org/check?uri=".urlencode($baseurl.'/valid.html'));
+          $this->assign('validate', urlencode($baseurl.'/valid.html'));
           if($this->_page_type == POPUP)
               $result = $this->fetch('skin/'.$_SESSION['skin_popup'], $id);
           else
index f8d4b2f..4f9b16a 100644 (file)
@@ -41,9 +41,9 @@ function smarty_insert_mkStats($params, &$smarty)
         <table class="bicol"
           style="font-weight:normal;text-align:center; border-left:0px; border-right:0px; margin-top:0.5em; width:100%; margin-left: 0; font-size: smaller;">
         <tr>
-          <th width="33%">Valid</th>
-          <th width="33%">Bugs</th>
-          <th width="33%">Todo</th>
+          <th style="width:33%">Valid</th>
+          <th style="width:33%">Bugs</th>
+          <th style="width:33%">Todo</th>
         </tr>
         <tr class="impair">
           <td><a href="$rel/admin/valider.php">$stats_req</a></td>
index b0f4036..0579258 100644 (file)
@@ -1,4 +1,4 @@
-{* $Id: common.header.tpl,v 1.6 2004-02-11 21:02:42 x2000habouzit Exp $ *}
+{* $Id: common.header.tpl,v 1.7 2004-02-12 01:42:46 x2000habouzit Exp $ *}
 
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
     <meta name="description" content="Le Portail des Polytechniciens" />
@@ -19,9 +19,9 @@
     <title>
       Anciens eleves Polytechnique, annuaire email, Alumni
     </title>
-    <script language="JavaScript" type="text/javascript" src="{"javascript/getnow.js"|url}"></script>
+    <script type="text/javascript" src="{"javascript/getnow.js"|url}"></script>
 {if $popup_enable}
-    <script language="javascript" type="text/javascript" src="{"javascript/popwin.js.php"|url}"> </script>
+    <script type="text/javascript" src="{"javascript/popwin.js.php"|url}"> </script>
 {/if}
 
 {* vim:set et sw=2 sts=2 sws=2: *}
index e43d8f0..fe67ec4 100644 (file)
@@ -1,4 +1,4 @@
-{* $Id: default.tpl,v 1.8 2004-02-12 01:26:50 x2000habouzit Exp $ *}
+{* $Id: default.tpl,v 1.9 2004-02-12 01:42:46 x2000habouzit Exp $ *}
 <?xml version="1.0" encoding="iso-8859-1"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <body>
     
 {if $validate}
-    <table style="width: 100%; background: cyan; color: blue;">
+    <table style="width: 100%; background: #00ffff; color: blue;">
       <tr>
         <td>
-          <a href="{$validate}" target="_new">VALIDER !!!</a>
+          [<a href="http://validator.w3.org/check?uri={$validate}">VALIDER XHTML !!!</a>]
+          &nbsp;&nbsp;
+          [<a href="http://jigsaw.w3.org/css-validator/validator?uri={$validate}">VALIDER CSS !!!</a>]
         </td>
       </tr>
     </table>
@@ -47,7 +49,7 @@
         <table>
         <tr>
           <td class="date-heure">
-          <script language="JavaScript" type="text/javascript">
+          <script type="text/javascript">
           <!--
             document.write(getNow());
           //-->