I don't understand how language variables work.
If you will find a grammar error on this page, please select it with your mouse and press Ctrl+Enter. Thank you.
Name:
msalist
Help me, please.
For example, I have this code in the template header.tpl:
<div id="welcome"> <?php if (!$logged) { ?> <?php echo $text_welcome; ?> <?php } else { ?> <?php echo $text_logged; ?> <?php } ?> </div>
I know that language variables are in the language file:
$_['text_welcome'] = '<a href="%s">Login</a> or <a href="%s">register</a>';
But I don't understand how '%s' becomes a link.
Add new comment