- Separated the smartTrim into two methods. - Rewrote the right-ellipsizing routine to use clearer syntax and to take   advantage of new PHP 5 features.
- Separated the smartTrim into two methods.
- Rewrote the right-ellipsizing routine to use clearer syntax and to take
  advantage of new PHP 5 features.


svn commit r938

silverorange/swat,silverorange/swat