/var/www/lighttpd/fcp.website/website.php File Reference

Go to the source code of this file.

Functions

if($CSS===null) else if(!is_array($CSS))
if($NEWSFEED===null) else if(!is_array($NEWSFEED)) 
page_view ($path, $tpl_vars)
 sitemap_view ($path, $tpl_vars)
 nav_box ($location, $tpl_vars)
 peers_box ($location, $tpl_vars)
 Render list of pages on the same level as the current page.
 header_box ($location, $tpl_vars)
 footer_box ($location, $tpl_vars)
 meta_box ($location, $tpl_vars)
 page_list ($dir)
 Generate list of pages on the specified level; uses caching.
 page_list2html ($pages, $active, $location=array())
 html_sitemap ($location=array())
 website ($settings)
 parse_location ($default_view)
 to_template_var ($str)
 Return $str with template variable delimiters.
 render ($template, $tpl_vars)
 error_page ($tpl_vars)

Variables

 $SITE_NAME = 'My Website'
 Name of your website; will appear in the title bar and as default header.
 $CONTENT_DIR = 'content'
 Where are your HTML files located? Default is current directory.
 $CSS = null
 URL of external stylesheet, if any.
 $HEADER = null
 File to include as header, if any.
 $FOOTER = null
 File to include as footer, if any.
 $NEWSFEED = null
 URL of companion newsfeed script, if installed and desired.
 $TPL_FILE = null
 External template file, if any.
 $BOXES = array()
 Declare extra boxes, if any.
 $TEMPLATE
 $tpl_vars
 $settings

Function Documentation

if ($CSS===null) else if (!is_array($CSS)) if ($NEWSFEED===null) else if (!is_array($NEWSFEED)) page_view ( path,
tpl_vars 
)

Definition at line 143 of file website.php.

References $CONTENT_DIR, $CSS, $filename, $NEWSFEED, $pages, $tpl_vars, and page_list().

Here is the call graph for this function:

sitemap_view ( path,
tpl_vars 
)

Definition at line 167 of file website.php.

References $tpl_vars, and html_sitemap().

Here is the call graph for this function:


Variable Documentation

$BOXES = array()

Declare extra boxes, if any.

Definition at line 46 of file website.php.

$CONTENT_DIR = 'content'

Where are your HTML files located? Default is current directory.

Definition at line 34 of file website.php.

Referenced by breadcrumbs_box(), html_sitemap(), nav_box(), page_view(), peers_box(), sitemap(), subpages_box(), and uplevel_box().

$CSS = null

URL of external stylesheet, if any.

Definition at line 36 of file website.php.

Referenced by meta_box(), and page_view().

$FOOTER = null

File to include as footer, if any.

Definition at line 40 of file website.php.

Referenced by footer_box().

$HEADER = null

File to include as header, if any.

Definition at line 38 of file website.php.

Referenced by header_box().

$NEWSFEED = null

URL of companion newsfeed script, if installed and desired.

Definition at line 42 of file website.php.

Referenced by meta_box(), and page_view().

$settings
Initial value:
 array(
             'tpl-vars' => $tpl_vars,
             'template' => $tpl_text,
             'default_view' => 'page',
             'boxes' => array_merge(
                          array('nav', 'peers', 'header', 'footer', 'meta'),
                          $BOXES))

Definition at line 124 of file website.php.

Referenced by website().

print $SITE_NAME = 'My Website'

Name of your website; will appear in the title bar and as default header.

Definition at line 32 of file website.php.

$TEMPLATE

Definition at line 50 of file website.php.

$TPL_FILE = null

External template file, if any.

Definition at line 44 of file website.php.

$tpl_vars
Initial value:
 array(
             'self' => $_SERVER['SCRIPT_NAME'],
             'app-dir' => $app_dir,
             'site-name' => $SITE_NAME)

Definition at line 119 of file website.php.

Referenced by breadcrumbs_box(), error_page(), footer_box(), header_box(), page_view(), render(), and sitemap_view().


Generated on 10 Oct 2009 for Fcp.Website by  doxygen 1.6.1