This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/includes/smarty/plugins/function.ab_version.php

20 lines
401 B
PHP
Raw Normal View History

<?php
/*
* Smarty plugin
* -------------------------------------------------------------
* Type: function
* Name: ab_version
* Purpose: display current AB version
* -------------------------------------------------------------
*/
function smarty_function_ab_version($params, &$smarty)
{
include_once(PATH_CORE.'version.inc.php');
$ver = new CORE_version;
$ver->smarty();
}
?>