cvs: php-gtk-web /include shared-manual.inc /manual add-note.php browse.php

[email protected] ("Colin Viebrock") Thu, 09 Aug 2001 21:03:55 -0000
Newsgroups php.gtk
Message-ID <cvscmv997391035@cvsserver>
cmv		Thu Aug  9 17:03:55 2001 EDT

  Modified files:              
    /php-gtk-web/include	shared-manual.inc 
    /php-gtk-web/manual	add-note.php browse.php 
  Log:
  some minor aesthetic stuff
  
Index: php-gtk-web/include/shared-manual.inc
diff -u php-gtk-web/include/shared-manual.inc:1.15 php-gtk-web/include/shared-manual.inc:1.16
--- php-gtk-web/include/shared-manual.inc:1.15	Thu Aug  9 16:25:58 2001
+++ php-gtk-web/include/shared-manual.inc	Thu Aug  9 17:03:55 2001
@@ -258,6 +258,8 @@
 		$cur='en';
 	}
 
+	echo "<BR>\n\n";
+
 	echo '<table border="0" cellpadding="4" cellspacing="0" width="100%">';
 
 	$notes = manualGetUserNotes($title, $id);
Index: php-gtk-web/manual/add-note.php
diff -u php-gtk-web/manual/add-note.php:1.5 php-gtk-web/manual/add-note.php:1.6
--- php-gtk-web/manual/add-note.php:1.5	Thu Aug  9 14:56:00 2001
+++ php-gtk-web/manual/add-note.php	Thu Aug  9 17:03:55 2001
@@ -64,8 +64,7 @@
 	}
 
 	echo '<P>You can <A href="' . $redirect. '">go back</A> from whence you came,' .
-		'or you can <A href="http://www.php.net/manual/">browse the manual with the ' .
-		'on-line notes</A>.</P>';
+		'or you can <A href="http://gtk.php.net/manual/">go to the front of the manual</A>.</P>';
 
 } else {
 
@@ -140,13 +139,13 @@
 <input type="hidden" name="sect" value="<?echo $sect;?>">
 <input type="hidden" name="redirect" value="<?echo $redirect;?>">
 <input type="hidden" name="lang" value="<?echo $lang;?>">
-<table border="0" cellpadding="5" cellspacing="0" bgcolor="#d0d0d0">
-<TR VALIGN=top>
-<TD><B>Your email address:</B></TD>
+<table border="0" cellpadding="5" cellspacing="0" bgcolor="#e0e0e0">
+<TR VALIGN="top">
+<TD ALIGN="right">Your email address:<BR></TD>
 <td><input type="text" name="user" size="40" maxlength="40" value="<?echo htmlspecialchars(stripslashes($user))?>"></td>
 </TR>
-<TR VALIGN=top>
-<TD><B>Your notes:</B></TD>
+<TR VALIGN="top">
+<TD ALIGN="right">Your note:<BR></TD>
 <td><textarea name="note" rows="6" cols="40" wrap="virtual"><?echo htmlspecialchars(stripslashes($note))?></textarea><br>
 </TD>
 </TR>
Index: php-gtk-web/manual/browse.php
diff -u php-gtk-web/manual/browse.php:1.2 php-gtk-web/manual/browse.php:1.3
--- php-gtk-web/manual/browse.php:1.2	Thu Aug  9 15:59:32 2001
+++ php-gtk-web/manual/browse.php	Thu Aug  9 17:03:55 2001
@@ -34,7 +34,7 @@
 echo $jumpbar;
 
 if(!$let) {
-	$let = $fl ? $fl : 'a';
+	$let = $fl;
 }
 
 echo '<table border="0" cellpadding="4" cellspacing="0" width="100%">';
@@ -51,6 +51,10 @@
 		}
 		makeEntry($row['my_when'], $row['user'], $row['note'], $row['id'] );
 	}
+
+} else if (!$fl) {
+
+	echo '<TR><TD COLSPAN="2">No entries for any section</B>.<BR></TD></TR>';
 
 } else {