Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

Commit

Permalink
Some small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
remko committed Jul 20, 2008
1 parent 03c6da7 commit d503ca0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
3 changes: 2 additions & 1 deletion index.php
Expand Up @@ -221,7 +221,8 @@ function getPage() {
}

function getCSSURL() {
return getThemeDir() . "/style.css";
global $BASE_URL;
return "$BASE_URL/" . getThemeDir() . "/style.css";
}

function getThemeDir() {
Expand Down
11 changes: 4 additions & 7 deletions themes/default/edit.php
Expand Up @@ -6,7 +6,10 @@
</head>
<body>
<div id="navigation">
<p><a href="<?php print getHomeURL() ?>">Home</a></p>
<p><a href="<?php print getHomeURL() ?>">Home</a>
| <a href="<?php print getGlobalHistoryURL() ?>">History</a>
<?php if (getUser() != "") { ?>| Logged in as <?php print getUser(); } ?>
</p>
</div>

<div id="header">
Expand All @@ -20,11 +23,5 @@
</form>
</div>

<div id="footer">
<?php if (getUser() != "") { ?>
<p>Logged in as <?php print getUser(); ?></p>
<?php } ?>
</div>

</body>
</html>

0 comments on commit d503ca0

Please sign in to comment.