1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

Page title separator is ready to be handled in configuration

This commit is contained in:
SiZiOUS 2020-12-29 15:08:35 +01:00
parent 439fa72fa6
commit 8496425705
81 changed files with 89 additions and 84 deletions

View file

@ -173,7 +173,7 @@ switch ($_GET['page']) {
<!DOCTYPE html>
<html lang="<?php echo $config->getLanguage(); ?>">
<head>
<title><?php echo __("Administration"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Administration") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
if (!empty($includeHead) && file_exists($includeHead)) {

View file

@ -50,7 +50,7 @@ sort($vars);
<!DOCTYPE html>
<html lang="<?php echo $config->getLanguage(); ?>">
<head>
<title><?php __("Translate AVideo"); ?> :: <?php echo $config->getWebSiteTitle();?></title>
<title><?php __("Translate AVideo") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';

View file

@ -499,5 +499,10 @@ require_once \$global['systemRootPath'].'objects/include_config.php';
function setEncoderURL($encoderURL) {
$this->encoderURL = $encoderURL;
}
function getPageTitleSeparator() {
define("PAGE_TITLE_SEPARATOR", "::"); // This is ready to be configurable, if needed
return " " . PAGE_TITLE_SEPARATOR . " ";
}
}

View file

@ -57,7 +57,7 @@ if (!(!empty($_GET['user']) && !empty($_GET['recoverpass']))) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Recover Password"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Recover Password") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("VAST"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("VAST") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'plugin/AD_Server/index_head.php';

View file

@ -20,7 +20,7 @@ $reflector = new ReflectionClass('API');
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("API"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("API") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -9,7 +9,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Audit"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Audit") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -14,7 +14,7 @@ $order = new BlockonomicsOrder($order_id);
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Invoice"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Invoice") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -9,7 +9,7 @@ $obj = AVideoPlugin::getObjectData("BulkEmbed");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Bulk Embed"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Bulk Embed") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -14,7 +14,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Clone Site"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Clone Site") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ require_once $global['systemRootPath'] . 'plugin/CombineSites/Objects/CombineSit
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Combine Sites"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Combine Sites") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ $imgh = 720;
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Confirm Rating"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Confirm Rating") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ $imgh = 720;
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Confirm Password"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Confirm Password") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -67,11 +67,11 @@ if(!empty($video)){
$metaDescription = " ".$video['id'];
// make sure the www has a different title and description than non www
if(strrpos($_SERVER['HTTP_HOST'], 'www.')=== false){
$siteTitle .= " :: ".__("Home");
$metaDescription .= " :: ".__("Home");
$siteTitle .= $config->getPageTitleSeparator() . __("Home");
$metaDescription .= $config->getPageTitleSeparator() . __("Home");
}
} else {
$siteTitle .= (!empty($siteTitle) ? " :: " : "") . __("Video Not Available");
$siteTitle .= (!empty($siteTitle) ? $config->getPageTitleSeparator() : "") . __("Video Not Available");
}
$siteTitle .= " :: " . $config->getWebSiteTitle();
$siteTitle .= $config->getPageTitleSeparator() . $config->getWebSiteTitle();

View file

@ -75,7 +75,7 @@ if (!empty($chat2) && !empty($chat2->useStaticLayout)) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Live"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Live") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<link href="<?php echo $global['webSiteRootURL']; ?>js/video.js/video-js.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>css/player.css" rel="stylesheet" type="text/css"/>
<?php

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Live"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Live") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'plugin/Live/view/{$classname}/index_head.php';

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Live"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Live") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'plugin/Live/View/{$classname}/index_head.php';

View file

@ -5,7 +5,7 @@ AVideoPlugin::loadPlugin("Live");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Live"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Live") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -69,7 +69,7 @@ if (empty($sideAd) && !AVideoPlugin::loadPluginIfEnabled("Chat2")) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo $liveTitle; ?> :: <?php echo __("Live"); ?> - <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo $liveTitle . $config->getPageTitleSeparator() . __("Live") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<link href="<?php echo $global['webSiteRootURL']; ?>js/video.js/video-js.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>css/player.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>js/webui-popover/jquery.webui-popover.min.css" rel="stylesheet" type="text/css"/>

View file

@ -5,7 +5,7 @@ require_once '../../videos/configuration.php';
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Live Chat"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Live Chat") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -11,7 +11,7 @@ if (empty($plugin) || !$plugin->canAddLinks()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Live Links"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Live Links") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -60,7 +60,7 @@ if (empty($sideAd) && !AVideoPlugin::loadPluginIfEnabled("Chat2")) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo $t['title']; ?> :: <?php echo __("Live Links"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo $t['title'] . $config->getPageTitleSeparator() . __("Live Links") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<link href="<?php echo $global['webSiteRootURL']; ?>js/video.js/video-js.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>js/videojs-contrib-ads/videojs.ads.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>css/player.css" rel="stylesheet" type="text/css"/>

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Login Control"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Login Control") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'plugin/LoginControl/View/{$classname}/index_head.php';

View file

@ -5,7 +5,7 @@ AVideoPlugin::loadPlugin("LoginControl");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Login Control"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Login Control") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Meet"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Meet") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'plugin/Meet/View/{$classname}/index_head.php';

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Meet"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Meet") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'plugin/Meet/View/{$classname}/index_head.php';

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Meet"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Meet") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'plugin/Meet/View/{$classname}/index_head.php';

View file

@ -5,7 +5,7 @@ AVideoPlugin::loadPlugin("Meet");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Meet"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Meet") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -31,7 +31,7 @@ $timeouts = 2000;
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Check Meet Servers"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Check Meet Servers") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -16,7 +16,7 @@ $photo = User::getPhoto($meet->getUsers_id());
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Confirm Meet Password"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Confirm Meet Password") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -24,7 +24,7 @@ if (User::isAdmin() && !empty($_GET['newServer'])) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Meet"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Meet") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Permissions"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Permissions") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'plugin/Permissions/View/{$classname}/index_head.php';

View file

@ -5,7 +5,7 @@ AVideoPlugin::loadPlugin("Permissions");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Permissions"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Permissions") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("PlayLists"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("PlayLists") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'plugin/PlayLists/View/{$classname}/index_head.php';

View file

@ -5,7 +5,7 @@ AVideoPlugin::loadPlugin("PlayLists");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("PlayLists"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("PlayLists") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -6,7 +6,7 @@ if (!isset($global['systemRootPath'])) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("EPG"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("EPG") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php include $global['systemRootPath'] . 'view/include/head.php'; ?>
</head>

View file

@ -52,7 +52,7 @@ if (!empty($video['id'])) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo $playListObj->getName(); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo $playListObj->getName() . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<link href="<?php echo $global['webSiteRootURL']; ?>view/js/video.js/video-js.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>view/css/player.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>view/css/social.css" rel="stylesheet" type="text/css"/>

View file

@ -22,7 +22,7 @@ foreach (glob($dir . '*.css') as $file) {
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="view/img/favicon.ico">
<title><?php echo __("Player Sample"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Player Sample") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<link href="<?php echo $global['webSiteRootURL']; ?>view/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>view/js/video.js/video-js.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>view/css/player.css" rel="stylesheet" type="text/css"/>

View file

@ -15,7 +15,7 @@ $o = AVideoPlugin::getObjectData("PredefinedCategory");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Predefined Category"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Predefined Category") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -13,7 +13,7 @@ if (!empty($_GET['subscription_id'])) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Stripe Subscription"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Stripe Subscription") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -9,7 +9,7 @@ $url = $menuItem->getUrl();
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo $menuItem->getTitle(); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo $menuItem->getTitle() . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -17,7 +17,7 @@ $groups = UserGroups::getAllUsersGroups();
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Top Menu"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Top Menu") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -10,7 +10,7 @@ $o = AVideoPlugin::getObjectData("VideoLogoOverlay");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Customize"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Customize") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Tags"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Tags") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -17,7 +17,7 @@ if(empty($obj)){
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("WWBN"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("WWBN") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -13,7 +13,7 @@ if(empty($obj)){
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("WWBN"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("WWBN") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -17,7 +17,7 @@ unset($_SESSION['addFunds_Fail']);
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Add Funds"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Add Funds") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -14,7 +14,7 @@ $obj = $plugin->getDataObject();
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Support Author"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Support Author") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -16,7 +16,7 @@ $wallet->setUsers_id(User::getId());
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Configuration"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Configuration") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -18,7 +18,7 @@ if (!empty($_GET['users_id'])) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("History"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("History") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -14,7 +14,7 @@ $options = json_decode($obj->addFundsOptions);
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Add Funds"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Add Funds") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -14,7 +14,7 @@ $options = json_decode($obj->withdrawFundsOptions);
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Withdraw Funds"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Withdraw Funds") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -11,7 +11,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Pending Requests"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Pending Requests") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ $obj = AVideoPlugin::getObjectDataIfEnabled("YPTWallet");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Transfer Funds"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Transfer Funds") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -8,7 +8,7 @@ $metaDescription = "About Page";
<!DOCTYPE html>
<html lang="<?php echo $config->getLanguage(); ?>">
<head>
<title><?php echo __("About") . getSEOComplement(); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("About") . getSEOComplement() . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -29,7 +29,7 @@ $metaDescription = " Channel - {$_GET['channelName']}";
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo @$_GET['channelName'].getSEOComplement(); ?> :: <?php echo __("Channel"); ?> :: <?php echo $config->getWebSiteTitle(); ?> </title>
<title><?php echo @$_GET['channelName'] . getSEOComplement() . $config->getPageTitleSeparator() . __("Channel") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?> </title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'view/channelHead.php';

View file

@ -39,7 +39,7 @@ $playListsObj = AVideoPlugin::getObjectData("PlayLists");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Program"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Program") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -33,7 +33,7 @@ $metaDescription = __("Channels");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Channels") . getSEOComplement(); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Channels") . getSEOComplement() . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -8,7 +8,7 @@ if(!isset($global['systemRootPath'])){
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Dashboard"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Dashboard") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'view/charts_head.php';

View file

@ -11,7 +11,7 @@ require_once $global['systemRootPath'] . 'admin/functions.php';
<!DOCTYPE html>
<html lang="<?php echo $config->getLanguage(); ?>">
<head>
<title><?php echo __("Configuration"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Configuration") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'view/configurations_head.php';

View file

@ -13,7 +13,7 @@ $metaDescription = " Contact Form";
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Contact"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Contact") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -16,7 +16,7 @@ function isYoutubeDl() {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("User"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("User") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -6,7 +6,7 @@ $global['isForbidden'] = true;
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Forbidden"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Forbidden") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -8,7 +8,7 @@ require_once $global['systemRootPath'] . 'plugin/AVideoPlugin.php';
<!DOCTYPE html>
<html lang="<?php echo $config->getLanguage(); ?>">
<head>
<title><?php echo __("Help"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Help") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -63,7 +63,7 @@ if(empty($iframeURL)){
<!DOCTYPE html>
<html lang="<?php echo $config->getLanguage(); ?>">
<head>
<title><?php echo $titleTag . " :: " . $config->getWebSiteTitle(); ?></title>
<title><?php echo $titleTag . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -10,7 +10,7 @@ if (!User::canUpload() || !empty($advancedCustom->doNotShowImportMP4Button)) {
<!DOCTYPE html>
<html lang="<?php echo $config->getLanguage(); ?>">
<head>
<title><?php echo __("Import"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Import") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -129,7 +129,7 @@ $outputText .= $collapsibleClose;
<!DOCTYPE html>
<html>
<head>
<title><?php echo __("Logs") . " " . date("Y-M-d H:i:s"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Logs") . " " . date("Y-M-d H:i:s") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<link rel="stylesheet" href="<?php echo $global['webSiteRootURL']; ?>view/css/terminal.min.css" />
<style>
html {

View file

@ -13,7 +13,7 @@ if (!Category::canCreateCategory()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Categories"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Categories") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';

View file

@ -13,7 +13,7 @@ require_once $global['systemRootPath'] . 'objects/comment.php';
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Comments"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Comments") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';

View file

@ -11,7 +11,7 @@ if (!User::isAdmin()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Plugins"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Plugins") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'view/managerPlugins_head.php';

View file

@ -12,7 +12,7 @@ if (!User::canUpload()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Subscribes"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Subscribes") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -12,7 +12,7 @@ if (!Permissions::canAdminUsers()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Users"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Users") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'view/managerUsers_head.php';

View file

@ -11,7 +11,7 @@ if (!Permissions::canAdminUserGroups()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("UserGroups"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("UserGroups") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';

View file

@ -24,7 +24,7 @@ if(!empty($_GET['iframe'])){
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Audios and Videos"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Audios and Videos") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
include $global['systemRootPath'] . 'view/managerVideos_head.php';

View file

@ -14,7 +14,7 @@ if (!User::canUpload()) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Upload your file"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Upload your file") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';

View file

@ -326,8 +326,8 @@ $metaDescription = " {$video['id']}";
$titleTag = $video['title'];
$titleTag = (strlen($titleTag) > 50) ? (substr($titleTag, 0, 48) . " &hellip;") : $titleTag;
$seoComplement = getSEOComplement();
$titleTag .= !empty($seoComplement) ? " :: " . $seoComplement : "";
$titleTag .= " :: " . $config->getWebSiteTitle();
$titleTag .= !empty($seoComplement) ? $config->getPageTitleSeparator() . $seoComplement : "";
$titleTag .= $config->getPageTitleSeparator() . $config->getWebSiteTitle();
$titleTag = (strlen($titleTag) > 70) ? (substr($titleTag, 0, 68) . " &hellip;") : $titleTag;
if (!empty($video['users_id']) && User::hasBlockedUser($video['users_id'])) {

View file

@ -22,7 +22,7 @@ if(!empty($_GET['siteRedirectUri'])){
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Sign Up"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Sign Up") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -37,7 +37,7 @@ $metaDescription = __("Trending");
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Trending") . getSEOComplement(); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Trending") . getSEOComplement() . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php include $global['systemRootPath'] . 'view/include/head.php'; ?>
<link href="<?php echo $global['webSiteRootURL']; ?>plugin/Gallery/style.css" rel="stylesheet" type="text/css"/>
</head>

View file

@ -22,7 +22,7 @@ if (!empty($_POST['updateFile'])) {
<!DOCTYPE html>
<html lang="<?php echo $config->getLanguage(); ?>">
<head>
<title><?php echo __("Update AVideo System"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("Update AVideo System") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -19,7 +19,7 @@ foreach ($tags as $value) {
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("My Account"); ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo __("My Account") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>

View file

@ -166,7 +166,7 @@ if (User::hasBlockedUser($video['users_id'])) {
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="<?php echo $config->getFavicon(); ?>">
<title><?php echo $video['title']; ?> :: <?php echo $config->getWebSiteTitle(); ?></title>
<title><?php echo $video['title'] . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<link href="<?php echo $global['webSiteRootURL']; ?>view/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $global['webSiteRootURL']; ?>view/js/video.js/video-js.min.css" rel="stylesheet" type="text/css"/>