System Administrator
Yönetici
İleti: 4153
Teşekkür Sayısı: 339
Çevrimdışı
Cinsiyet: 
|
 |
« : 28 Ocak 2011, 21:40:39 » |
|
Paket kurulum konusu;Linkleri goruntulemenize izin verilmiyor.
Kayit olun veya Giris yapinTemanız/index.template.php de bul; ?>değiştir; function anotherlinktree() { global $context, $settings, $options, $txt, $scripturl; // display the user info panel echo ' <br /> <table width="100%" cellspacing="1" cellpadding="6" class="tborder" border="0" align="center"> <tr>'; echo ' <td align="left" valign="middle" class="windowbg2">'; // Folder style or inline? Inline has a smaller font. echo '<span class="nav-tree">'; echo '<img src="' . $settings['default_theme_url'] . '/images/folder_open.gif" alt="+" border="0" /> '; // Each tree item has a URL and name. Some may have extra_before and extra_after. foreach ($context['linktree'] as $link_num => $tree) { // Show something before the link? if (isset($tree['extra_before'])) echo $tree['extra_before']; if (($link_num == count($context['linktree']) - 1) && count($context['linktree'])>1) echo '<br /> <img src="' . $settings['default_theme_url'] . '/images/linktree_side.gif" alt="|-" border="0" /> '; // Show the link, including a URL if it should have one. echo '', $settings['linktree_link'] && isset($tree['url']) ? '<a href="' . $tree['url'] . '" class="nav-tree">' . $tree['name'] . '</a>' : $tree['name'], ''; // Show something after the link...? if (isset($tree['extra_after'])) echo $tree['extra_after']; // Don't show a separator for the last one. if ($link_num < count($context['linktree']) - 2) echo ' » '; } echo '</span> </td> <td align="left" valign="middle" width="250" class="windowbg2">'; // Show the total time logged in? if ($context['user']['is_logged']) { echo ' <ul class="reset"> <li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li> <li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li> <li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
// Is the forum in maintenance mode? if ($context['in_maintenance'] && $context['user']['is_admin']) echo ' <li class="notice">', $txt['maintain_mode_on'], '</li>';
// Are there any members waiting for approval? if (!empty($context['unapproved_members'])) echo ' <li>', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=admin;area=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '</li>';
if (!empty($context['open_mod_reports']) && $context['show_open_reports']) echo ' <li><a href="', $scripturl, '?action=moderate;area=reports">', sprintf($txt['mod_reports_waiting'], $context['open_mod_reports']), '</a></li>';
echo ' <li>', $context['current_time'], '</li> </ul>'; } else{ echo ' <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script> <form id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '> <div class="info">', $txt['login_or_register'], '</div> <input type="text" name="user" size="10" class="input_text" /> <input type="password" name="passwrd" size="10" class="input_password" /> <select name="cookielength"> <option value="60">', $txt['one_hour'], '</option> <option value="1440">', $txt['one_day'], '</option> <option value="10080">', $txt['one_week'], '</option> <option value="43200">', $txt['one_month'], '</option> <option value="-1" selected="selected">', $txt['forever'], '</option> </select> <input type="submit" value="', $txt['login'], '" class="button_submit" /><br /> <div class="info">', $txt['quick_login_dec'], '</div>';
if (!empty($modSettings['enableOpenID'])) echo ' <br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />';
echo ' <input type="hidden" name="hash_passwrd" value="" /> </form>'; } echo ' </td> </tr> </table>'; echo' <br />';
} ?>bul; theme_linktree();değiştir; anotherlinktree();Not: Ekte verdiğim folder_open.gif ve linktree_side.gif'i temanızın /images klasörüne atın.
|