Saturday, 15 May 2010

php - I want just to run a line of code without t() -


How can I run code without this t ??

  $ ($ Severity) = $ ($ severity) = t ('@ description', array ('@ description' = & gt; drupal_ucfirst ($ severity),  < / Pre> 

You only need to remove the t function and check_plain .

@description variable drupal_ucfirst ($ severity) has been replaced, so you can only encode special characters.

  $ severity_options [$ severity] = check_plain (drupal_ucfirst) ($ severity))  

No comments:

Post a Comment