Permalink
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 189 Bytes
<?php
/**
* Vytahne hodnotu formularoveho pole.
*
* {$form|field_value:"firstname"}
*/
function smarty_modifier_field_value($form, $field){
$value = $form->data[$field];
return $value;
}