cvs: phpweb / sitewide.css /manual add-note.php

From: Date: Thu, 21 Aug 2003 07:39:12 +0000
Subject: cvs: phpweb / sitewide.css /manual add-note.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-20515@lists.php.net to get a copy of this message
goba Thu Aug 21 03:39:12 2003 EDT Modified files: /phpweb sitewide.css /phpweb/manual add-note.php Log: Apply user note table changes to the add-note page too Index: phpweb/sitewide.css diff -u phpweb/sitewide.css:1.22 phpweb/sitewide.css:1.23 --- phpweb/sitewide.css:1.22 Sun Aug 17 14:29:01 2003 +++ phpweb/sitewide.css Thu Aug 21 03:39:11 2003 @@ -337,3 +337,33 @@ padding-left: 15px; list-style-type: square; } + +/* User notes on manual pages --------------------------------------------- */ +div#usernotes { + background-color: #e0e0e0; + color; inherit; +} +div#usernotes div.head, div#usernotes div.foot { + background-color: #d0d0d0; + color: inherit; + padding: 4px; +} +div#usernotes div.foot { + text-align: right; +} +div#usernotes div.foot a, div#usernotes div.head a { + color: black; + background-color: transparent; +} +div#usernotes span.action { + float: right; +} +div#usernotes div.note { + padding: 4px; +} +div#usernotes div.text { + background-color: #f0f0f0; + color: inherit; + padding: 2px; + margin-top: 4px; +} Index: phpweb/manual/add-note.php diff -u phpweb/manual/add-note.php:1.54 phpweb/manual/add-note.php:1.55 --- phpweb/manual/add-note.php:1.54 Fri Aug 15 17:45:49 2003 +++ phpweb/manual/add-note.php Thu Aug 21 03:39:11 2003 @@ -1,10 +1,10 @@ <?php -// $Id: add-note.php,v 1.54 2003/08/15 21:45:49 goba Exp $ +// $Id: add-note.php,v 1.55 2003/08/21 07:39:11 goba Exp $ $_SERVER['BASE_PAGE'] = 'manual/add-note.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/posttohost.inc'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; -site_header("Manual Notes"); +site_header("Add Manual Note"); // Copy over "sect" and "redirect" from GET to POST if (!isset($_POST['sect']) && isset($_GET['sect'])) { @@ -125,9 +125,9 @@ // Print out preview of note echo '<p>This is what your entry will look like, roughly:</p>'; - echo '<table border="0" cellpadding="0" cellspacing="0" width="100%">'; + echo '<div id="usernotes">'; manual_note_display(time(), stripslashes($user), stripslashes($note), FALSE); - echo '</table><br /><br />'; + echo '</div><br /><br />'; } }

« previous php.mirrors (#20515) next »