PageIndex Notes patch



Wikka version: 1.1.6.2
 


This patch displays page notes in the output of the PageIndex action.

actions/pageindex.php
===================================================================
RCS file: RCS/pageindex.php,v
retrieving revision 1.1
diff -u -r1.1 pageindex.php
--- pageindex.php       2007/02/02 05:38:50     1.1
+++ pageindex.php       2007/02/02 05:44:25
@@ -62,6 +62,10 @@
								$character_changed = false;
						}
						$index_output .= $this->Link($page['tag']);
+                       if($page['note']) {
+                               $note = ' <span class="pagenote">['.$this->htmls
pecialchars_ent($page['note']).']</span>';
+                               $index_output .= $note;
+                       }
 
						if ($cached_username == $page_owner) {                  
	 
								$index_output .= '*';
@@ -79,4 +83,4 @@
 } else {
		echo ERROR_NO_PAGES_FOUND;
 }


CategoryUserContributions
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki