Procedural File: _template.funcs.php
Source Location: /blogs/inc/_misc/_template.funcs.php
Page Details
This file implements misc functions to be called from the templates.
This file is part of the evoCore framework - http://evocore.net/ See also http://sourceforge.net/projects/evocms/.
| Author: | blueyed: Daniel HAHLER. |
| Author: | cafelog (team) |
| Author: | fplanque: Francois PLANQUE. |
| Version: | $Id: _template.funcs.php,v 1.6.2.3 2006/06/16 21:20:09 fplanque Exp $ |
| Copyright: | (c)2003-2006 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2004-2006 by Daniel HAHLER - http://thequod.de/contact. |
| Filesource: | Source Code for this file |
Functions
archive_link [line 245]
|
Create a link to archive, using either params or extra path info.
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 ]
request_title [line 59]
|
Display a global title matching filter params
Outputs the title of the category when you load the page with
- ?cat=
| string | $prefix: | prefix to display if a title is generated |
| string | $suffix: | suffix to display if a title is generated |
| string | $glue: | glue to use if multiple title elements are generated |
| string | $format: | format to output, default 'htmlbody' |
| boolean | $display: | display title? (if false: return) |
| boolean | $linktoyeararchive: | show the year as link to year's archive (in monthly mode) |
| $blogurl: | ||
| $params: |
Information Tags:
| Todo: | single month: Respect locales datefmt |
| Todo: | single post: posts do no get proper checking (wether they are in the requested blog or wether their permissions match user rights, thus the title sometimes gets displayed even when it should not. We need to pre-query the ItemList instead!! |
| Todo: | make it complete with all possible params! |
[ Top ]
