svn: /web/php/trunk/ include/shared-manual.inc styles/theme.css

[email protected] (Hannes Magnusson)
Newsgroups php.webmaster
Message-ID <[email protected]>
bjori                                    Sun, 02 Jan 2011 20:39:57 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=307001

Log:
Fix note editing links

Changed paths:
    U   web/php/trunk/include/shared-manual.inc
    U   web/php/trunk/styles/theme.css

Modified: web/php/trunk/include/shared-manual.inc
===================================================================
--- web/php/trunk/include/shared-manual.inc	2011-01-02 18:29:56 UTC (rev 307000)
+++ web/php/trunk/include/shared-manual.inc	2011-01-02 20:39:57 UTC (rev 307001)
@@ -457,7 +457,7 @@
     // If the viewer is logged in, show admin options
     if (isset($_COOKIE['MAGIC_COOKIE']) && $id) {

-        $admin = "\n  <span class=\"action\">\n   " .
+        $admin = "\n  <span class=\"admin\">\n   " .

         make_popup_link(
             'https://master.php.net/manage/user-notes.php?action=edit+' . $id,
@@ -484,7 +484,7 @@

     echo <<<USER_NOTE_TEXT

- {$anchor}<div class="note">{$admin}{$name}{$datestr}
+ {$anchor}<div class="note">{$name}{$datestr}{$admin}
   <div class="text">
 {$text}
   </div>

Modified: web/php/trunk/styles/theme.css
===================================================================
--- web/php/trunk/styles/theme.css	2011-01-02 18:29:56 UTC (rev 307000)
+++ web/php/trunk/styles/theme.css	2011-01-02 20:39:57 UTC (rev 307001)
@@ -217,14 +217,14 @@
     border-top: 3px solid #ddd;
 }

-#usernotes .user, #usernotes .date {
+#usernotes .user, #usernotes .date, #usernotes .admin {
     display: block;
     width: 50%;
     float: left;
     margin-bottom: 0.6em;
 }

-#usernotes .date {
+#usernotes .date, #usernotes .admin {
     float:right;
     text-align: right;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.