Revision [15939]

This is an old revision of DanWest made by DanWest on 2007-01-19 03:26:08.

 

Dan West

FormattingRules

Just wanted a userid to look at stuff you need a userid to look at.... Huh?

antelopesoccer.com home page Uses wikka

Some "Extensions" I did.

I know this has been done, the it's another twist.
File header.php
  1. $NavPage = $this->LoadPage("NavigationLinks");
  2. if(ereg(":" . $this->page["tag"] . ": ([^\n]*)\n", $NavPage['body'], $match)) {
  3. ~ echo $this->Format($match[1] . (($this->GetUser())? " [[AdminPage Admin]]" : " "));
  4. } else if ($this->GetUser()) {
  5. ~ echo $this->config["logged_in_navigation_links"] ? $this->Format($this->config["logged_in_navigation_links"])."" : "";
  6. } else {
  7. ~ echo $this->config["navigation_links"] ? $this->Format($this->config["navigation_links"]) : "";
  8. }


Admin Registration

There are 2 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki