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.7.2.5.2.2 2007/05/02 20:38:27 fplanque Exp $ |
| Copyright: | (c)2003-2007 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 253]
|
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 62]
|
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) |
| string | $blogurl: | params for archive link |
| boolean | $params: | do we want to display title for single posts |
| default | $disp_single_title: | text to display if nothing else |
| $default: |
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 ]
