Thread: Something Else
View Single Post
  #1  
Old 8th May 2016, 17:45
BamBam0077 BamBam0077 is offline
Banned
 
Join Date: Jul 2013
P2P
Posts: 410
Post Something Else
Hello Community,

I am thinking or working on updating TT208 just curious that is all

E.G
PHP Code:
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title> <?php echo $site_title?> </title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
<meta name="author" content="TorrentTrader" />
<meta name="generator" content="TorrentTrader 2.08" />
<meta name="description" content="TorrentTrader is a feature packed and highly customisable PHP/MySQL Based BitTorent tracker. Featuring intergrated forums, and plenty of administration options. Please visit www.torrenttrader.org for the support forums." />
<meta name="keywords" content="http://www.torrenttrader.org" />
<link rel="shortcut icon" href="../themes/default/images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="../themes/default/css/bootstrap/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="../themes/default/css/animate/animate.min.css" />
<link rel="stylesheet" type="text/css" href="../themes/default/css/theme.min.css" />
</head>
<body>

<!-- NavBar v2 -->
<header class="navbar navbar-inverse navbar-fixed-top">
     <div class="conatainer">
         <a href="index.php" class="navbar-brand">TorrentTrader</a>
         <ul class="nav navbar-nav navbar-left">
             <li><a href="#"><?php echo T_("HOME"); ?></a></li>
             <li><a href="#"><?php echo T_("FORUMS"); ?></a></li>
             <li><a href="#"><?php echo T_("UPLOAD_TORRENT"); ?></a></li>
             <li><a href="#"><?php echo T_("BROWSE_TORRENTS"); ?></a></li>             
         </ul>
         <ul class="nav navbar-nav navbar-right">
             <li><a href="#"><?php echo T_("ACCOUNT"); ?></a></li>
             <li><a href="#"><?php echo T_("LOGOUT"); ?></a></li>  
         </ul>
     </div>     
</header>
<!-- End NavBar v2 -->

<!-- Start Content -->
<div class="container">
<?php if ($site_config["LEFTNAV"]) { ?>
     <div style="margin-top: 70px;margin-left: -15px;width: 20%;"> 
     <?php leftblocks(); ?>  
     </div>
<?php ?>
Update $Title

Edit functions.php

line 230 - 233
PHP Code:
    if ($title == "")
        
$title $site_config['SITENAME'];
    else
        
$title $site_config['SITENAME']. " : "htmlspecialchars($title); 
Too:
PHP Code:
 if ($site_title == "" ) {

   
$site_title $site_config['SITENAME'];
 } else {
   
  
$site_title $site_config['SITENAME'] . "::" htmlspecialchars($site_title);

Thanks,
BamBam0077

Last edited by BamBam0077; 9th May 2016 at 16:25.
Reply With Quote