Commit d503ca06806295164d1b8c899b264b6d0eef089a
- Diff rendering mode:
- inline
- side by side
index.php
(2 / 1)
|   | |||
| 221 | 221 | } | |
| 222 | 222 | ||
| 223 | 223 | function getCSSURL() { | |
| 224 | return getThemeDir() . "/style.css"; | ||
| 224 | global $BASE_URL; | ||
| 225 | return "$BASE_URL/" . getThemeDir() . "/style.css"; | ||
| 225 | 226 | } | |
| 226 | 227 | ||
| 227 | 228 | function getThemeDir() { |
themes/default/edit.php
(4 / 7)
|   | |||
| 6 | 6 | </head> | |
| 7 | 7 | <body> | |
| 8 | 8 | <div id="navigation"> | |
| 9 | <p><a href="<?php print getHomeURL() ?>">Home</a></p> | ||
| 9 | <p><a href="<?php print getHomeURL() ?>">Home</a> | ||
| 10 | | <a href="<?php print getGlobalHistoryURL() ?>">History</a> | ||
| 11 | <?php if (getUser() != "") { ?>| Logged in as <?php print getUser(); } ?> | ||
| 12 | </p> | ||
| 10 | 13 | </div> | |
| 11 | 14 | ||
| 12 | 15 | <div id="header"> | |
| … | … | ||
| 21 | 21 | <p><textarea name="data" cols="80" rows="20" style="width: 100%"><?php print $wikiData; ?></textarea></p> | |
| 22 | 22 | <p><input type="submit" value="publish" /></p> | |
| 23 | 23 | </form> | |
| 24 | </div> | ||
| 25 | |||
| 26 | <div id="footer"> | ||
| 27 | <?php if (getUser() != "") { ?> | ||
| 28 | <p>Logged in as <?php print getUser(); ?></p> | ||
| 29 | <?php } ?> | ||
| 30 | 24 | </div> | |
| 31 | 25 | ||
| 32 | 26 | </body> |

