diff --git a/Themes/default/index.template.php b/Themes/default/index.template.php index 04f791d..a0b5185 100644 --- a/Themes/default/index.template.php +++ b/Themes/default/index.template.php @@ -30,16 +30,23 @@ function template_main_above() - + '; +/* +*/ + echo' - - + + '; + if (! defined('MOBILE')) + echo ' + '; + echo ' @@ -74,7 +81,7 @@ function template_main_above() } echo ' - '; + '; // Show all the relative links, such as help, search, contents, and the like. echo ' @@ -146,12 +153,12 @@ function template_main_above() // This part is the logo and forum name. You should be able to change this to whatever you want... echo ' - На главную страница форума'; + Российский рок-портал'; echo ' - Главная - Новости - Тексты песен - Рецензии - Чат - Хостинг для картинок
+ Главная - Новости - Тексты песен - Рецензии - Чат - Хостинг для картинок
'; ?> diff --git a/index.php b/index.php index d1d71ed..718dd93 100644 --- a/index.php +++ b/index.php @@ -196,12 +196,14 @@ function smf_main() if (empty($board) && empty($topic)) { require_once($sourcedir . '/BoardIndex.php'); + pinba_script_name_set("/forum/BoardIndex.php"); return 'BoardIndex'; } // Topic is empty, and action is empty.... MessageIndex! elseif (empty($topic)) { require_once($sourcedir . '/MessageIndex.php'); + pinba_script_name_set("/forum/MessageIndex.php"); return 'MessageIndex'; } // Board is not empty... topic is not empty... action is empty.. Display! @@ -209,6 +211,7 @@ function smf_main() { require_once($sourcedir . '/Subs-Post.php'); require_once($sourcedir . '/Display.php'); + pinba_script_name_set("/forum/Display.php"); return 'Display'; } } @@ -358,6 +361,7 @@ function smf_main() return 'BoardIndex'; } + pinba_script_name_set("/forum/{$actionArray[$_REQUEST['action']][0]}/{$actionArray[$_REQUEST['action']][1]}"); # . isset($_REQUEST['sa']) ? "/{$_REQUEST['sa']}/" : ""); // Otherwise, it was set - so let's go to that action. require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]); return $actionArray[$_REQUEST['action']][1];