News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Paragraph in New line

Started by flowerweb, July 22, 2005, 03:48:54 AM

Previous topic - Next topic

flowerweb

In the inde.template i have this code:
// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '<br />
', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=regcenter">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'];

// Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']))
{
echo '
<br />', $txt['totalTimeLogged1'];

// If days is just zero, don't bother to show it.
if ($context['user']['total_time_logged_in']['days'] > 0)
echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];


I want to go in the new paragraph before the total time passed in the forum. You explain like is made to me please?

Advertisement: