How do you change what's in the {1} {2} etc?
![]() |
They're passed to the method call MyLanguage::sprintf(). The first argument is the language key and the ones that follow are what the placeholders will be replaced with.
Example:
$totaltime is {1}, $querycount is {2}, and so on.
No longer involved in the MyBB project.
(2013-06-16, 10:15 PM)Nathan Malcolm Wrote: They're passed to the method call MyLanguage::sprintf(). The first argument is the language key and the ones that follow are what the placeholders will be replaced with. So where would that be at? (2013-06-16, 10:20 PM)MYBB GHOST Wrote:(2013-06-16, 10:15 PM)Nathan Malcolm Wrote: They're passed to the method call MyLanguage::sprintf(). The first argument is the language key and the ones that follow are what the placeholders will be replaced with. Wherever you want it to be. ![]()
Please don't PM me for support.
![]() |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)