Zikula_Template_Plugins
[ class tree: Zikula_Template_Plugins ] [ index: Zikula_Template_Plugins ] [ all elements ]

Procedural File: function.previewimage.php

Source Location: /system/Theme/plugins/function.previewimage.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.title.php 22138 2007-06-01 10:19:14Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








smarty_function_previewimage [line 33]

string smarty_function_previewimage( array $params, object &$smarty)

Smarty function to display a preview image from a theme

available parameters:

  • name name of the theme to display the preview image for
  • name if set, the id assigned to the image
  • size if set, the size of the image to use from small, medium, large (optional: default 'medium')
  • assign if set, the title will be assigned to this variable
Example <!--[previewimage name=andreas08 size=large]-->




Tags:

return:  the markup to display the theme image
author:  Mark West
see:  function.title.php::smarty_function_previewimage()
since:  30/01/08


Parameters

array   $params   All attributes passed to this function from the template
object   &$smarty   Reference to the Smarty object
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:46:13 +0200 by phpDocumentor 1.4.1