Changeset 678 for trunk/index.php

Show
Ignore:
Timestamp:
10/03/07 22:05:23 (15 months ago)
Author:
michiel
Message:

allow an index-alt.php to overwrite the default mvblog index page stuff.
This makes it easier to keep mvblog up-to-date with svn and not missing any updates
while running a totally custom index page.

Done for Nieke so she can redo the table etc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r593 r678  
    2121$mvblog = new MvBlog(); 
    2222$mvblog->html_header(); 
     23if (file_exists("index-alt.php")) { 
     24        require("index-alt.php"); 
     25} else { 
    2326        ?> 
    2427        <div id="if_container"> 
     
    7376 
    7477                        </tr></table> 
    75 <?php $mvblog->html_footer(); ?> 
     78        <?php  
     79        $mvblog->html_footer(); 
     80} 
     81?> 
     82</body> 
     83</html>