Initial Commit of AgileBill Open Source
This commit is contained in:
10
includes/smarty/plugins/modifier.bool.php
Normal file
10
includes/smarty/plugins/modifier.bool.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
function smarty_modifier_bool($string, $format="", $default_date=null)
|
||||
{
|
||||
if($string)
|
||||
echo translate("true");
|
||||
else
|
||||
echo translate("false");
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user