![]() |
|
|
#1 (permalink) |
![]() Status: Üye
Üyelik tarihi: Sep 2008
Mesajlar: 78
Tecrübe Puanı: 4
![]() |
Tema dizinde BoardIndex.template.php aç.
Bul: Kod:
// If they are logged in, but SP1 style information is off... show a personal message bar. Kod:
// Users online today
echo '
<tr>
<td class="catbg" colspan="2"><b>', $txt['uot_users_online_today_title'], ' (', $context['num_users_online_today'], ')</b></td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], ' ', $txt['uot_users_online_today_title'], '" border="0" />
</td>
<td class="windowbg2" width="100%">';
echo '
<div class="smalltext">';
echo $context['num_users_online_today'] == 1 ? $txt['uot_user_online_today'] : $txt['uot_users_online_today'];
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online_today']))
echo ':<br />', implode(', ', $context['list_users_online_today']);
echo '
<br />', $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>';
Bul: Kod:
?> Kod:
$txt['uot_users_online_today_title']='Bugün Online Olan Üyeler'; $txt['uot_user_online_today']='Bugün Online Olan Üyeler'; $txt['uot_users_online_today']='Bugün Online Olan Üyeler'; $txt['uot_total_users_online_today']='Bugün Online Olan Toplam Üye Sayısı'; $txt['uot_yesterday']='Dün '; http://custom.simplemachines.org/mods/index.php?mod=217 |
|
|
|
![]() |
| Etiketler |
| 100, 158, alt, bar, bugün, bunu, center, dizini, ekle, gif, icons, link, mod, modu, olan, olanlar, online, php, smf, style, tema, template, text, turkish, url |
| Seçenekler | |
| Stil | |
|
|