Login   Register  
PHP Classes
elePHPant
Icontem

File: sidebar.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Abbey Sparrow  >  Datalus  >  sidebar.php  >  Download  
File: sidebar.php
Role: Example script
Content type: text/plain
Description: example 'sidebar' script
Class: Datalus
Build Web applications from XML definitions
Author: By
Last change:
Date: 2006-11-07 19:11
Size: 967 bytes
 

Contents

Class file image Download
<?php

    $this
->wrapperStaticContentXML(getSideSidebar());
    
$this->wrapperStaticContentXML(getInfoSidebar());
    
    function 
getSideSidebar(){
        
$result "";
        
$result .= "<fixed name =\"Sidebars!\">";
        
$result .= "Make sure to edit your own sidebars using sidebar.php, or add in your own scripts using 'datalus.properties'.";
        
$result .= "</fixed>";
        return 
$result;
    }
    
    function 
getInfoSidebar(){
        
$result "";
        
$result .= "<fixed name =\"My Todo list\">";
        
$result .= "<ul>";
        
$result .= "<li>Make Objects</li>";
        
$result .= "<li>Make Static Pages</li>";
        
$result .= "<li>Login: Admin/Admin</li>";
        
$result .= "<li>Edit user accounts</li>";
        
$result .= "<li>Edit your Menus</li>";
        
$result .= "<li>Make your CSS</li>";
        
$result .= "<li>Party</li>";
        
$result .= "</ul>";
        
$result .= "</fixed>";
        return 
$result;
    }
?>