mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-24 07:05:47 -07:00
r424
Не много SEO. По умолчанию пока выключил. git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@424 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
3b51ac2533
commit
ffc423bea6
3 changed files with 83 additions and 77 deletions
|
@ -56,8 +56,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.5 Beta';
|
||||
$bb_cfg['tp_release_state'] = 'R423';
|
||||
$bb_cfg['tp_release_date'] = '27-05-2012';
|
||||
$bb_cfg['tp_release_state'] = 'R424';
|
||||
$bb_cfg['tp_release_date'] = '30-05-2012';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
@ -525,3 +525,6 @@ $bb_cfg['captcha'] = array(
|
|||
'img_url' => './images/captcha/', # without '/'
|
||||
'img_path' => BB_PATH .'/images/captcha/', # without '/'
|
||||
);
|
||||
|
||||
// SEO
|
||||
$bb_cfg['seo_link_home_page'] = false;
|
|
@ -166,7 +166,10 @@ else $report_list = '';
|
|||
// Report [END]
|
||||
|
||||
$template->assign_vars(array(
|
||||
'SEO_LINK_HOME_PAGE' => ($bb_cfg['seo_link_home_page']) ? ((preg_match('/index\.php/', $_SERVER['SCRIPT_NAME'])) ? false : true) : true,
|
||||
|
||||
'SIMPLE_HEADER' => !empty($gen_simple_header),
|
||||
|
||||
'IN_ADMIN' => defined('IN_ADMIN'),
|
||||
'QUIRKS_MODE' => !empty($page_cfg['quirks_mode']),
|
||||
'SHOW_ADS' => (!$logged_in || isset($bb_cfg['show_ads_users'][$user->id]) || (!($is_admin || $is_mod) && $user->show_ads)),
|
||||
|
|
|
@ -319,7 +319,7 @@ function go_to_page ()
|
|||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="nowrap">
|
||||
<a href="{U_INDEX}"><b>{L_HOME}</b></a><span style="color:#CDCDCD;">|</span>
|
||||
<!-- IF SEO_LINK_HOME_PAGE --><a href="{U_INDEX}"><b>{L_HOME}</b></a><span style="color:#CDCDCD;">|</span><!-- ENDIF -->
|
||||
<a href="{U_TRACKER}"><b>{L_TRACKER}</b></a><span style="color:#CDCDCD;">|</span>
|
||||
<!-- IF LOGGED_IN && $bb_cfg['gallery_enabled'] --><a href="{U_GALLERY}"><b>{L_GALLERY}</b></a><span style="color:#CDCDCD;">|</span><!-- ENDIF -->
|
||||
<a href="{U_SEARCH}"><b>{L_SEARCH}</b></a><span style="color:#CDCDCD;">|</span>
|
||||
|
@ -346,7 +346,7 @@ function go_to_page ()
|
|||
<div id="logo">
|
||||
<!--<h1>{SITENAME}</h1>
|
||||
<h6>{SITE_DESCRIPTION}</h6> -->
|
||||
<a href="{U_INDEX}"><img src="images/logo/logo.png" alt="{SITENAME}" /></a>
|
||||
<!-- IF SEO_LINK_HOME_PAGE --><a href="{U_INDEX}"><!-- ENDIF --><img src="images/logo/logo.png" alt="{SITENAME}" /><!-- IF SEO_LINK_HOME_PAGE --></a><!-- ENDIF -->
|
||||
</div>
|
||||
<!--/logo-->
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue