Zaawansowany
Postów: 1372 Pomógł: 5
Data rejestracji: 02.07.2006 16:56
|
Edytuj theme_config.php
Oto kod jaki powinieneś tam wkleić:
<?php
if (!defined("IN_REVISION")) { header("Location: ../../index.php"); exit; }
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Revision Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: UworldIRC - Riadi © 2006 |
| web: http://www.uworldirc.com/ |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/* PHP Fusion theme default configurations */
$body_text = "#444444";
$body_bg = "#DAE2E3";
$theme_width = 900;
$theme_panels_exclude = array("/forum/");
$theme_panels_width = 170;
// keep the width of the panels the same so it does not compress the tables
$theme_width_r = $theme_panels_width;
$theme_width_l = $theme_panels_width;
/* Revision Theme configurations */
# for support and explanation about these configurations please go to http://www.uworldirc.com/support/revision
// Navigation Bar
$rtNavbar->newmenu[color=red][b]('Home','Home')[/b][/color];
$rtNavbar->submenu[color=red][b]('Home', 'Front Page', 'index.php', 1)[/b][/color];
$rtNavbar->submenu[color=red][b]('Articles', 'Articles', 'articles.php', 0)[/b][/color];
$rtNavbar->submenu[color=red][b]('News Categories', 'News Categories', 'news_cats.php', 1)[/b][/color];
$rtNavbar->submenu[color=red][b]('Search', 'Search this site', 'search.php', 0)[/b][/color];
$rtNavbar->newmenu[color=red][b]('Community','Community')[/b][/color];
$rtNavbar->submenu[color=red][b]('Contact Us', 'Contact Us', 'contact.php', 0)[/b][/color];
$rtNavbar->submenu[color=red][b]('Forums', 'Discussions', 'forum/index.php', 0)[/b][/color];
$rtNavbar->submenu[color=red][b]('Web Links', 'Site Links', 'weblinks.php', 0)[/b][/color];
$rtNavbar->newmenu[color=red][b]('Members','Members')[/b][/color];
$rtNavbar->submenu[color=red][b]('Members List', 'Members List', 'members.php', 1)[/b][/color];
if (iMEMBER) {
$rtNavbar->submenu[color=red][b]('View Profile', 'View your profile', 'profile.php?lookup='.$userdata['user_id'], 0)[/b][/color];
$rtNavbar->submenu[color=red][b]('Edit Profile', 'Edit your profile', 'edit_profile.php', 1)[/b][/color];
$rtNavbar->submenu[color=red][b]('Private Messages', 'View your private messages', 'messages.php', 1)[/b][/color];
$rtNavbar->submenu[color=red][b]('Logout', 'Logout', 'setuser.php?logout=yes', 0)[/b][/color];
} else {
$rtNavbar->submenu[color=red][b]('Login', 'Login', 'login.php', 0)[/b][/color];
$rtNavbar->submenu[color=red][b]('Register', 'Register an Account', 'register.php', 0)[/b][/color];
}
if ((iADMIN) && ($userdata['user_rights'] != "")) {
$rtNavbar->newmenu[color=red][b]('Administration','Administration')[/b][/color];
$rtNavbar->submenu[color=red][b]('Write a News Item', 'Write a News Item', 'administration/news.php'.$aidlink, 0)[/b][/color];
$rtNavbar->submenu[color=red][b]('Write an Article', 'Write an Article', 'administration/articles.php'.$aidlink, 1)[/b][/color];
$rtNavbar->submenu[color=red][b]('Control Panel', 'Control Panel', 'administration/index.php'.$aidlink, 0)[/b][/color];
}
?>
W sekcji "Navigation Bar" (w tym samym pliku) można edytować tekst w menu rozwijalnym. Zaznaczyłam to w kodzie na czerwono. |