b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Procedural File: _functions_template.php

Source Location: /blogs/b2evocore/_functions_template.php

Page Details

Misc Functions to be called from the template

b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html

Author:  This file built upon code from original b2 - http://cafelog.com/
Copyright:  (c)2003-2005 by Francois PLANQUE - http://fplanque.net/
Filesource:  Source Code for this file
Includes
require_once (dirname(__FILE__).'/_functions_blogs.php') [line 18]
[ Top ]

require_once (dirname(__FILE__).'/_functions_comments.php') [line 20]
[ Top ]

require_once (dirname(__FILE__).'/_functions_trackback.php') [line 21]
[ Top ]

require_once (dirname(__FILE__).'/_functions_pingback.php') [line 22]
[ Top ]

require_once (dirname(__FILE__).'/_functions_bposts.php') [line 19]
[ Top ]

require_once (dirname(__FILE__).'/_functions_cats.php') [line 17]

Includes:

[ Top ]


Functions
arcdir_title  [line 94]

void arcdir_title( [string $prefix = ' '], [mixed $display = 'htmlbody']  )

Display "Archive Directory" title if it has been requested

Parameters:
string   $prefix:  Prefix to be displayed if something is going to be displayed
mixed   $display:  Output format, see format_to_output() or false to return value instead of displaying it


[ Top ]
archive_link  [line 122]

void archive_link( string $year, string $month, [string $day = ''], [string $week = ''], [boolean $show = true], [string $file = ''], [string $params = '']  )

Create a link to archive

Parameters:
string   $year:  year
string   $month:  month
string   $day:  day
string   $week:  week
boolean   $show:  show or return
string   $file:  link, instead of blogurl
string   $params:  GET params for 'file'


[ Top ]
imgbase  [line 30]

void imgbase( )

Template function: output base URL to b2evo's image folder



[ Top ]
single_month_title  [line 47]

void single_month_title( [string $prefix = '#'], [string $display = 'htmlbody'], [boolean $linktoyeararchive = true], [ $blogurl = ''], [ $params = '']  )

single_month_title(-)

fplanque: 0.8.3: changed defaults

Parameters:
string   $prefix:  prefix to display, default is 'Archives for: '
string   $display:  format to output, default 'htmlbody'
boolean   $linktoyeararchive:  show the year as link to year's archive (in monthly mode)
   $blogurl: 
   $params: 

Information Tags:
Todo:  Respect locales datefmt

[ Top ]


Documentation generated on Tue, 20 May 2008 01:55:03 +0200 by phpDocumentor 1.4.2