First, look at template supplied with installation (Download). You can find here some PHP code, let's see:
<?php render("menu") ?>
renders data from pages/menu.html subdirectory. The same for:
<?php render("sidebar") ?>
And there are main page body:
<?php echo($pageBody); ?>
<a href="edit.php?page=<?=$page?>">edit</a>
<a href="edit.php?page=<?=$page?>">edit</a>
Above code fragment renders main body of a page and places edit link on bottom.
How to change default theme? It's simple:
- Copy your theme files on your server
- Modify config.TEMPLATE constant to your html template
- Insert links similar to above in apropriate places in a file
- And THAT'S ALL!
Note: remember about Security.