use h1
authorx2000habouzit <x2000habouzit>
Sun, 24 Oct 2004 14:38:49 +0000 (14:38 +0000)
committerx2000habouzit <x2000habouzit>
Sun, 24 Oct 2004 14:38:49 +0000 (14:38 +0000)
article.php
css/style.css
index.php
install.d/config.inc.php
post.php
subscribe.php
thread.php

index d20c0a1..e638459 100644 (file)
@@ -52,9 +52,9 @@ if (!$post) {
 $ndx = $spool->getndx($id);
 
 ?>
-<div class="<?php echo $css['title']?>">
+<h1>
   <?php echo $locale['article']['message'];?>
-</div>
+</h1>
 
 <?php
 if (isset($_GET['type']) && ($_GET['type']=='cancel') && (checkcancel($post->headers))) {
index 4be67a2..373865d 100644 (file)
@@ -18,7 +18,7 @@ a:link    { color: blue; background: inherit; }
 a:visited { color: blue; background: inherit; }
 a:hover   { color: blue; background: inherit; text-decoration: underline; }
 
-div.title {
+h1 {
   font-size: 200%;
   text-align: center;
   padding-bottom: 1em;
index 20b296c..a7c520b 100644 (file)
--- a/index.php
+++ b/index.php
@@ -33,9 +33,9 @@ if (!count($groups->overview)) $groups=new groups($nntp,2);
 $newgroups = new groups($nntp,1);
 ?>
 
-<div class="<?php echo $css["title"];?>">
+<h1>
   <?php echo $locale['index']['title'];?>
-</div>
+</h1>
 
 <?php
 if (!sizeof($groups->overview)) error("nntpgroups");
index cf198c4..2375e73 100644 (file)
@@ -68,7 +68,6 @@ $news['customhdr'] = "Content-Type: text/plain; charset=iso-8859-15\n"
 
 $css = array(
  'bananashortcuts' => 'bananashortcuts',
- 'title' => 'title',
  'bicol' => 'bicol',
  'bicoltitre' => 'bicoltitre',
  'bicolvpadd' => 'bicolvpadd',
index 01ec8b3..2f02382 100644 (file)
--- a/post.php
+++ b/post.php
@@ -68,9 +68,9 @@ if (isset($group) && isset($id) && isset($_REQUEST['type']) &&
 
 $nntp->quit();
 ?>
-<div class="<?php echo $css['title']?>">
+<h1>
   <?php echo $locale['post']['title'];?>
-</div>
+</h1>
 <?php
 
 displayshortcuts();
index da684e1..d09b26f 100644 (file)
@@ -31,9 +31,9 @@ if ($news['user']!="anonymous") {
 $groups = new groups($nntp,2);
 ?>
 
-<div class="<?php echo $css["title"];?>">
+<h1>
   <?php echo $locale['subscribe']['title'];?>
-</div>
+</h1>
 
 <?php
 
index 5bf0e94..982c5f3 100644 (file)
@@ -137,10 +137,10 @@ if (isset($_REQUEST['action']) && (isset($_REQUEST['type'])) &&
 
 
 ?>
-<div class="<?php echo $css['title']?>">
+<h1>
   <?php echo $locale['thread']['group_b'].$group
     .$locale['thread']['group_a'];?>
-</div>
+</h1>
 <?php
 if (isset($text)) {
     echo $text;