Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 function $lang->sprintf()
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: function $lang->sprintf()
Unfortunately you can't - in general Template Conditionals doesn't allow member calls.
You could try using str_replace as an alternative:

Code:
<setvar lastuserl>str_replace('{1}', $tplvars['lastuser'], $lang->stats_newestuser)</setvar>


My Blog
08-22-2012 07:26 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
function $lang->sprintf() - Steeep - 08-21-2012, 10:48 PM
RE: function $lang->sprintf() - ZiNgA BuRgA - 08-22-2012 07:26 AM

 Standard Tools
Forum Jump: