Search found 1 match

by Dan Kehn
Sat Sep 13, 2014 6:52 pm
Forum: [3.x] Discussion
Topic: [Define New Theme] 17. Completely remove all generated HTML from the core.
Replies: 15
Views: 9045

Re: [Define New Theme] 17. Completely remove all generated HTML from the core.

"Page <strong>%d</strong> of <strong>%d</strong>" is an obvious example. You can't split it up, because it might not be in the same order in different languages. You can use sprintf and argument position indicators. See "argument swapping" here: http://php.net/manual/en/function.sprintf.php . For e...