CMS MADE SIMPLE FORGE

PRoot

 
Notice: This project is marked as stale. This means that it may work fine, but it has no file releases or repository commits in over a year. Use your own discretion when using this project.

PRoot

A Smarty Modifier Plugin that will check to see if the string is wrapped in

tags. If not, it adds the tags. It will also replace br tags with

and strip white space and multiple line returns. Example: {$string|proot} will wrap the string in

tags if they do not exist. You can specify the root element with the optional parameter. Example: {$string|proot:"div"} will use div instead of p tags. Could be used to display php code for example: Example: {$string|proot:"pre"} will wrap in

 tags.  
  

Latest Release

Proot

Proot.0.1
2012-06-11 Release History
 
Subscribe to the Latest Files RSS

Project Summary

  • Type: Plugin
  • Created: 2012-06-11 (165 months ago)
  • Last Release Date: 2012-06-11 (165 months ago)
  • Last Commit Date: None