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/modifier.bool.php

11 lines
162 B
PHP
Raw Normal View History

<?php
function smarty_modifier_bool($string, $format="", $default_date=null)
{
if($string)
echo translate("true");
else
echo translate("false");
}
?>