Guest User

Untitled

a guest
Apr 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. function libelle_format($value, $class = '')
  2. {
  3. $value = trim($value);
  4. if(strlen($value) > 0)
  5. {
  6. if($class != '')
  7. {
  8. $value = "<span class=\"$class\">$value</span>";
  9. }
  10. $value .= '<br />';
  11. }
  12. return $value;
  13. }
Add Comment
Please, Sign In to add comment