mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
parent
584416ab28
commit
4572f869e7
6 changed files with 1184 additions and 446 deletions
|
@ -1,20 +1,4 @@
|
|||
<?php
|
||||
|
||||
function rrmdir($dir) {
|
||||
if (is_dir($dir)) {
|
||||
$objects = scandir($dir);
|
||||
foreach ($objects as $object) {
|
||||
if ($object != "." && $object != "..") {
|
||||
if (is_dir($dir . "/" . $object))
|
||||
rrmdir($dir . "/" . $object);
|
||||
else
|
||||
unlink($dir . "/" . $object);
|
||||
}
|
||||
}
|
||||
rmdir($dir);
|
||||
}
|
||||
}
|
||||
|
||||
header('Content-Type: application/json');
|
||||
global $global, $config;
|
||||
if(!isset($global['systemRootPath'])){
|
||||
|
|
|
@ -1599,7 +1599,7 @@ function combineFiles($filesArray, $extension = "js") {
|
|||
}
|
||||
file_put_contents($cacheDir . $md5FileName, $str);
|
||||
}
|
||||
return $global['webSiteRootURL'] . 'videos/cache/' . $extension . "/" . $md5FileName."?". filectime($cacheDir . $md5FileName);
|
||||
return $global['webSiteRootURL'] . 'videos/cache/' . $extension . "/" . $md5FileName . "?" . filectime($cacheDir . $md5FileName);
|
||||
}
|
||||
|
||||
function local_get_contents($path) {
|
||||
|
@ -1611,11 +1611,11 @@ function local_get_contents($path) {
|
|||
}
|
||||
}
|
||||
|
||||
function url_get_contents($Url, $ctx = "", $timeout=0) {
|
||||
function url_get_contents($Url, $ctx = "", $timeout = 0) {
|
||||
global $global, $mysqlHost, $mysqlUser, $mysqlPass, $mysqlDatabase, $mysqlPort;
|
||||
$session = $_SESSION;
|
||||
session_write_close();
|
||||
if(!empty($timeout)){
|
||||
if (!empty($timeout)) {
|
||||
ini_set('default_socket_timeout', $timeout);
|
||||
}
|
||||
$global['mysqli']->close();
|
||||
|
@ -1627,9 +1627,9 @@ function url_get_contents($Url, $ctx = "", $timeout=0) {
|
|||
"allow_self_signed" => true,
|
||||
),
|
||||
);
|
||||
if(!empty($timeout)){
|
||||
if (!empty($timeout)) {
|
||||
ini_set('default_socket_timeout', $timeout);
|
||||
$opts['http']=array('timeout' => $timeout);
|
||||
$opts['http'] = array('timeout' => $timeout);
|
||||
}
|
||||
$context = stream_context_create($opts);
|
||||
} else {
|
||||
|
@ -1658,9 +1658,9 @@ function url_get_contents($Url, $ctx = "", $timeout=0) {
|
|||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
if(!empty($timeout)){
|
||||
curl_setopt($ch,CURLOPT_TIMEOUT,$timeout);
|
||||
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout+10);
|
||||
if (!empty($timeout)) {
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
|
||||
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout + 10);
|
||||
}
|
||||
$output = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
|
@ -1965,9 +1965,7 @@ function allowOrigin() {
|
|||
header("Access-Control-Allow-Credentials: true");
|
||||
}
|
||||
|
||||
if (!function_exists("rrmdir")) {
|
||||
|
||||
function rrmdir($dir) {
|
||||
function rrmdir($dir) {
|
||||
if (is_dir($dir)) {
|
||||
$objects = scandir($dir);
|
||||
foreach ($objects as $object) {
|
||||
|
@ -1980,8 +1978,6 @@ if (!function_exists("rrmdir")) {
|
|||
}
|
||||
rmdir($dir);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2087,21 +2083,22 @@ function getAdsSideRectangle() {
|
|||
}
|
||||
}
|
||||
|
||||
function isToHidePrivateVideos(){
|
||||
function isToHidePrivateVideos() {
|
||||
$obj = YouPHPTubePlugin::getObjectDataIfEnabled("Gallery");
|
||||
if(!empty($obj)){
|
||||
if (!empty($obj)) {
|
||||
return $obj->hidePrivateVideos;
|
||||
}
|
||||
$obj = YouPHPTubePlugin::getObjectDataIfEnabled("YouPHPFlix2");
|
||||
if(!empty($obj)){
|
||||
if (!empty($obj)) {
|
||||
return $obj->hidePrivateVideos;
|
||||
}
|
||||
$obj = YouPHPTubePlugin::getObjectDataIfEnabled("YouTube");
|
||||
if(!empty($obj)){
|
||||
if (!empty($obj)) {
|
||||
return $obj->hidePrivateVideos;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function getOpenGraph($videos_id) {
|
||||
global $global, $config;
|
||||
echo "<!-- OpenGraph -->";
|
||||
|
@ -2166,6 +2163,7 @@ function getOpenGraph($videos_id) {
|
|||
<meta property="duration" content="<?php echo Video::getItemDurationSeconds($video['duration']); ?>" />
|
||||
<?php
|
||||
}
|
||||
|
||||
function getLdJson($videos_id) {
|
||||
global $global, $config;
|
||||
echo "<!-- ld+json -->";
|
||||
|
@ -2210,9 +2208,9 @@ function getLdJson($videos_id) {
|
|||
$img = $images->poster;
|
||||
}
|
||||
|
||||
$description = str_replace(array('"', "\n", "\r"), array('', ' ' , ' '), empty(trim($video['description']))?$video['title']:$video['description']);
|
||||
$description = str_replace(array('"', "\n", "\r"), array('', ' ', ' '), empty(trim($video['description'])) ? $video['title'] : $video['description']);
|
||||
$duration = Video::getItemPropDuration($video['duration']);
|
||||
if($duration=="PT0H0M0S"){
|
||||
if ($duration == "PT0H0M0S") {
|
||||
$duration = "PT0H0M1S";
|
||||
}
|
||||
?>
|
||||
|
@ -2300,9 +2298,9 @@ function getItemprop($videos_id) {
|
|||
$img = $images->poster;
|
||||
}
|
||||
|
||||
$description = str_replace(array('"', "\n", "\r"), array('', ' ' , ' '), empty(trim($video['description']))?$video['title']:$video['description']);
|
||||
$description = str_replace(array('"', "\n", "\r"), array('', ' ', ' '), empty(trim($video['description'])) ? $video['title'] : $video['description']);
|
||||
$duration = Video::getItemPropDuration($video['duration']);
|
||||
if($duration=="PT0H0M0S"){
|
||||
if ($duration == "PT0H0M0S") {
|
||||
$duration = "PT0H0M1S";
|
||||
}
|
||||
?>
|
||||
|
|
765
sitemap.xml
765
sitemap.xml
|
@ -6,49 +6,735 @@
|
|||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||
<!-- Main Page -->
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>always</changefreq>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/help</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/help</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.50</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/about</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/about</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.50</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/contact</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/contact</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.50</priority>
|
||||
</url>
|
||||
|
||||
<!-- Channels -->
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/channels</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/channels</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/channel/5c4dfa2965b0e</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d964d32402cc</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/channel/5c4fbd79b9247</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d7eee21062</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5da767c49b6d4</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5c519418465d4</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5c51942726bdb</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867c0339c</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867c17905</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867c2c09f</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867c40706</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867ae8750</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867b234b2</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867b4feaa</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867b7c964</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867baa6bc</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867bce8d8</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867be3002</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867a07bc3</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867a2071f</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867a38e43</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867a5156b</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867a69e6c</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867a823dc</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867a9abb4</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867ab3353</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867acba37</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8679052c2</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867937d32</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867958cea</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86796f356</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867987a11</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8679a0281</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8679bce83</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8679e3718</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86788f40b</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8678a3a88</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8678b8013</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8678d25f8</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867802bf9</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867817007</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867836166</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8678521ca</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867866812</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86787aee6</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8677025a7</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86771aee6</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86773b3a0</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86777239f</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86778aaf7</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86779f0f0</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8677b37b9</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8677c7d7f</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8677e273b</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8675e77f1</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86760bcf0</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86762449d</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86764d1c1</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8676658e1</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86768a371</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8676a2af8</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8676c555a</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8676ddd56</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867501303</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8675199d4</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86754617a</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867565096</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867585a69</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86759e19e</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8675b685b</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8675cf170</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86740468b</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867418de7</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86743714b</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867451ebc</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86746652c</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86747aba0</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86749375c</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8674abf60</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8674c457e</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8674dcd17</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867307fbd</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86731c69f</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86733b1f3</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867355709</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867369daf</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86737e53f</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867392a04</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8673a7145</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8673bb67e</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8673cfd9d</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8673e43a6</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8672057a3</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86721de74</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86723f375</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d86725f2ac</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d867277bb2</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8672900ef</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8672a88c0</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8672bef1e</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8672d3651</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/channel/5d4d8672e7c00</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.70</priority>
|
||||
</url>
|
||||
|
@ -56,36 +742,57 @@
|
|||
<!-- Categories -->
|
||||
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/cat/default</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/cat/teste-sdaf-sfad</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/cat/default</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/cat/-5c6aabccb1467</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/cat/-sd</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://gdrive.local/YouPHPTube/cat/-</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<!-- Videos -->
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/video/video-automatically-booked</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/video/tk-kravitz-featuring-jacquees-ocean</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/video/creating-images</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/video/video-de-teste</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/video/youphptubeintro</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>http://192.168.25.16/YouPHPTube/video/-marvel-avengers-the-key</loc>
|
||||
<lastmod>2019-02-16T02:27:59+00:00</lastmod>
|
||||
<loc>http://gdrive.local/YouPHPTube/video/video</loc>
|
||||
<lastmod>2019-10-23T09:05:42+00:00</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
|
|
@ -44,8 +44,10 @@ if (User::isAdmin()) {
|
|||
</ul>
|
||||
<div class="tab-content clearfix">
|
||||
<div class="tab-pane" id="tabTheme">
|
||||
<fieldset>
|
||||
<legend><?php echo __("Themes"); ?></legend>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h2><?php echo __("Themes"); ?></h2></div>
|
||||
<div class="panel-body">
|
||||
|
||||
<h1 class="alert alert-warning">
|
||||
<span class="fa fa-warning"></span>
|
||||
<?php echo __("Do not forget to save after choose your theme"); ?>
|
||||
|
@ -80,7 +82,10 @@ if (User::isAdmin()) {
|
|||
<?php
|
||||
}
|
||||
?>
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="tab-pane" id="tabCompatibility">
|
||||
<div class="alert alert-success">
|
||||
|
@ -237,38 +242,13 @@ if (User::isAdmin()) {
|
|||
|
||||
</div>
|
||||
<div class="tab-pane active" id="tabRegular">
|
||||
<fieldset>
|
||||
<legend><?php echo __("Update the site configuration"); ?></legend>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">
|
||||
<?php echo __("Your Logo"); ?> (250x70)
|
||||
</label>
|
||||
<div class="col-md-8 ">
|
||||
<div id="croppieLogo"></div>
|
||||
<a id="logo-btn" class="btn btn-default btn-xs btn-block"><?php echo __("Choose a logo"); ?></a>
|
||||
</div>
|
||||
<input type="file" id="logo" value="Choose a Logo" accept="image/*" style="display: none;" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">
|
||||
<?php echo __("Favicon"); ?> (64x64)
|
||||
</label>
|
||||
<div class="col-md-8 ">
|
||||
<div id="croppieFavicon"></div>
|
||||
<a id="favicon-btn" class="btn btn-default btn-xs btn-block"><?php echo __("Choose a favicon"); ?></a>
|
||||
</div>
|
||||
<input type="file" id="favicon" value="Choose a favicon" accept="image/*" style="display: none;" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label"><?php echo __("Web site title"); ?></label>
|
||||
<div class="col-md-8 inputGroupContainer">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-globe"></i></span>
|
||||
<input id="inputWebSiteTitle" placeholder="<?php echo __("Web site title"); ?>" class="form-control" type="text" value="<?php echo $config->getWebSiteTitle(); ?>" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h2><?php echo __("Basic"); ?></h2></div>
|
||||
<div class="panel-body">
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label"><?php echo __("Language"); ?></label>
|
||||
<div class="col-md-8 inputGroupContainer">
|
||||
|
@ -344,19 +324,68 @@ if (User::isAdmin()) {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h2><?php echo __("Logo and Title"); ?></h2></div>
|
||||
<div class="panel-body">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label"><?php echo __("Web site title"); ?></label>
|
||||
<div class="col-md-8 inputGroupContainer">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-globe"></i></span>
|
||||
<input id="inputWebSiteTitle" placeholder="<?php echo __("Web site title"); ?>" class="form-control" type="text" value="<?php echo $config->getWebSiteTitle(); ?>" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">
|
||||
<?php echo __("Your Logo"); ?> (250x70)
|
||||
</label>
|
||||
<div class="col-md-8 ">
|
||||
<div id="croppieLogo"></div>
|
||||
<a id="logo-btn" class="btn btn-default btn-xs btn-block"><?php echo __("Choose a logo"); ?></a>
|
||||
</div>
|
||||
<input type="file" id="logo" value="Choose a Logo" accept="image/*" style="display: none;" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">
|
||||
<?php echo __("Favicon"); ?> (64x64)
|
||||
</label>
|
||||
<div class="col-md-8 ">
|
||||
<div id="croppieFavicon"></div>
|
||||
<a id="favicon-btn" class="btn btn-default btn-xs btn-block"><?php echo __("Choose a favicon"); ?></a>
|
||||
</div>
|
||||
<input type="file" id="favicon" value="Choose a favicon" accept="image/*" style="display: none;" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane" id="tabAdvanced">
|
||||
<?php
|
||||
if (empty($global['disableAdvancedConfigurations'])) {
|
||||
?>
|
||||
<fieldset>
|
||||
<legend><?php echo __("Advanced configuration"); ?></legend>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h2><?php echo __("Advanced configuration"); ?></h2></div>
|
||||
<div class="panel-body">
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-12">
|
||||
<button class="btn btn-danger" id="clearCache"><i class="fa fa-trash"></i> <?php echo __("Clear Cache Directory"); ?></button>
|
||||
<button class="btn btn-primary" id="generateSiteMap"><i class="fa fa-sitemap"></i> <?php echo __("Generate Sitemap"); ?></button>
|
||||
<button class="btn btn-danger" id="clearCache">
|
||||
<i class="fa fa-trash"></i> <?php echo __("Clear Cache Directory"); ?>
|
||||
</button>
|
||||
<button class="btn btn-primary" id="generateSiteMap">
|
||||
<i class="fa fa-sitemap"></i> <?php echo __("Generate Sitemap"); ?>
|
||||
</button>
|
||||
<?php
|
||||
if (!is_writable($sitemapFile)) {
|
||||
?>
|
||||
|
@ -370,8 +399,8 @@ if (User::isAdmin()) {
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("Encoder URL"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("Encoder URL"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<input id="encoder_url" aria-describedby="encoder_urlHelp" class="form-control" type="url" value="<?php echo $config->_getEncoderURL(); ?>" >
|
||||
<small id="encoder_urlHelp" class="form-text text-muted">
|
||||
<?php echo __("You need to set up an encoder server"); ?><br>
|
||||
|
@ -382,16 +411,16 @@ if (User::isAdmin()) {
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("Session Timeout in seconds"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("Session Timeout in seconds"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<input id="session_timeout" class="form-control" type="number" value="<?php echo $config->getSession_timeout(); ?>" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("Disable YouPHPTube Google Analytics"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("Disable YouPHPTube Google Analytics"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<div class="material-switch">
|
||||
<input data-toggle="toggle" type="checkbox" name="disable_analytics" id="disable_analytics" value="1" <?php
|
||||
if (!empty($config->getDisable_analytics())) {
|
||||
|
@ -405,8 +434,8 @@ if (User::isAdmin()) {
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("Disable Youtube-Upload"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("Disable Youtube-Upload"); ?></label>
|
||||
<div class="col-md-8">
|
||||
|
||||
<div class="material-switch">
|
||||
<input data-toggle="toggle" type="checkbox" name="disable_youtubeupload" id="disable_youtubeupload" value="1" <?php
|
||||
|
@ -420,8 +449,8 @@ if (User::isAdmin()) {
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("Allow download video"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("Allow download video"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<div class="material-switch">
|
||||
<input data-toggle="toggle" type="checkbox" name="disable_rightclick" id="allow_download" value="1" <?php
|
||||
if (!empty($config->getAllow_download())) {
|
||||
|
@ -433,21 +462,28 @@ if (User::isAdmin()) {
|
|||
<small id="allow_downloadHelp" class="form-text text-muted"><?php echo __("This creates a download-button under your video, suggest you title.mp4 as download-name."); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"></label>
|
||||
<div class="col-md-10">
|
||||
<div class="alert alert-info">
|
||||
<h1>Email Configuration</h1>
|
||||
If you are not sure how to configure your email,
|
||||
please try <a href="https://github.com/YouPHPTube/YouPHPTube/wiki/Setting-up-YouPHPTube-to-send-emails">this help</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h1><i class="fas fa-at"></i> Email Configuration</h1></div>
|
||||
<div class="panel-body">
|
||||
|
||||
<div class="alert alert-warning">
|
||||
<h3>
|
||||
<i class="fas fa-info-circle"></i>
|
||||
If you are not sure how to configure your email,
|
||||
please try <a href="https://github.com/YouPHPTube/YouPHPTube/wiki/Setting-up-YouPHPTube-to-send-emails" target="_blank">this help</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("Enable SMTP"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("Enable SMTP"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<div class="material-switch">
|
||||
<input data-toggle="toggle" type="checkbox" name="enableSmtp" id="enableSmtp" value="1" <?php
|
||||
if (!empty($config->getSmtp())) {
|
||||
|
@ -459,8 +495,8 @@ if (User::isAdmin()) {
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("Enable SMTP Auth"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("Enable SMTP Auth"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<div class="material-switch">
|
||||
<input data-toggle="toggle" type="checkbox" name="enableSmtpAuth" id="enableSmtpAuth" value="1" <?php
|
||||
if (!empty($config->getSmtpAuth())) {
|
||||
|
@ -473,49 +509,54 @@ if (User::isAdmin()) {
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("SMTP Secure"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("SMTP Secure"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<input id="smtpSecure" class="form-control" type="text" value="<?php echo $config->getSmtpSecure(); ?>" placeholder="tls OR ssl" aria-describedby="smtpSecureHelp" >
|
||||
<small id="smtpSecureHelp" class="form-text text-muted"><?php echo __("Use tls OR ssl"); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("SMTP Port"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("SMTP Port"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<input id="smtpPort" class="form-control" type="number" value="<?php echo $config->getSmtpPort(); ?>" placeholder="465 OR 587" aria-describedby="smtpPortHelp" >
|
||||
<small id="smtpPortHelp" class="form-text text-muted"><?php echo __("465 OR 587"); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("SMTP Host"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("SMTP Host"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<input id="smtpHost" class="form-control" type="text" value="<?php echo $config->getSmtpHost(); ?>" placeholder="smtp.gmail.com" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("SMTP Username"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("SMTP Username"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<input id="smtpUsername" class="form-control" type="text" value="<?php echo $config->getSmtpUsername(); ?>" placeholder="email@gmail.com" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("SMTP Password"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<label class="col-md-4 control-label"><?php echo __("SMTP Password"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<input id="smtpPassword" class="form-control" type="password" value="<?php echo $config->getSmtpPassword(); ?>" >
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4"><?php echo __("Test your email"); ?></label>
|
||||
<label class="col-md-4 control-label"><?php echo __("Test your email"); ?></label>
|
||||
<div class="col-md-8">
|
||||
<span class="btn btn-warning btn-lg" id="testEmail" ><?php echo __("Test Email"); ?> <span class="glyphicon glyphicon-send"></span></span>
|
||||
<span class="btn btn-warning btn-block" id="testEmail" ><?php echo __("Test Email"); ?> <span class="glyphicon glyphicon-send"></span></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
|
@ -525,11 +566,8 @@ if (User::isAdmin()) {
|
|||
?>
|
||||
</div>
|
||||
<div class="tab-pane" id="tabHead">
|
||||
<fieldset>
|
||||
<legend><?php echo __("Script Code"); ?></legend>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("Head Code"); ?></label>
|
||||
<label class="col-md-2 control-label"><?php echo __("Head Code"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<textarea id="head" class="form-control" type="text" rows="20" ><?php echo $config->getHead(); ?></textarea>
|
||||
<small>For Google Analytics code: <a href='https://analytics.google.com' target="_blank">https://analytics.google.com</a></small><br>
|
||||
|
@ -537,7 +575,7 @@ if (User::isAdmin()) {
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2"><?php echo __("Google Ad Sense"); ?></label>
|
||||
<label class="col-md-2 control-label"><?php echo __("Google Ad Sense"); ?></label>
|
||||
<div class="col-md-10">
|
||||
<input type="hidden" value="" id="adsense"/>
|
||||
<div class="alert alert-info">
|
||||
|
@ -545,8 +583,6 @@ if (User::isAdmin()) {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -638,38 +674,6 @@ if (User::isAdmin()) {
|
|||
$('#favicon').trigger("click");
|
||||
});
|
||||
|
||||
$('#clearCache').on('click', function (ev) {
|
||||
ev.preventDefault();
|
||||
modal.showPleaseWait();
|
||||
$.ajax({
|
||||
url: '<?php echo $global['webSiteRootURL']; ?>objects/configurationClearCache.json.php',
|
||||
success: function (response) {
|
||||
if (!response.error) {
|
||||
swal("<?php echo __("Congratulations!"); ?>", "<?php echo __("Your cache has been cleared!"); ?>", "success");
|
||||
} else {
|
||||
swal("<?php echo __("Sorry!"); ?>", "<?php echo __("Your cache has NOT been cleared!"); ?>", "error");
|
||||
}
|
||||
modal.hidePleaseWait();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#generateSiteMap').on('click', function (ev) {
|
||||
ev.preventDefault();
|
||||
modal.showPleaseWait();
|
||||
$.ajax({
|
||||
url: '<?php echo $global['webSiteRootURL']; ?>objects/configurationGenerateSiteMap.json.php',
|
||||
success: function (response) {
|
||||
if (!response.error) {
|
||||
swal("<?php echo __("Congratulations!"); ?>", "<?php echo __("File created!"); ?>", "success");
|
||||
} else {
|
||||
swal("<?php echo __("Sorry!"); ?>", "<?php echo __("File NOT created!"); ?>", "error");
|
||||
}
|
||||
modal.hidePleaseWait();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#logo-result-btn').on('click', function (ev) {
|
||||
logoCrop.croppie('result', {
|
||||
type: 'canvas',
|
||||
|
|
|
@ -810,6 +810,16 @@ if (((empty($advancedCustomUser->userMustBeLoggedIn) && empty($advancedCustom->d
|
|||
<?php echo __("Plugins"); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="clearCacheButton">
|
||||
<i class="fa fa-trash"></i> <?php echo __("Clear Cache Directory"); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="generateSiteMapButton">
|
||||
<i class="fa fa-sitemap"></i> <?php echo __("Generate Sitemap"); ?>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php
|
||||
|
|
|
@ -47,7 +47,8 @@ try {
|
|||
}
|
||||
});
|
||||
}
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
var pleaseWaitIsINUse = false;
|
||||
$(document).ready(function () {
|
||||
|
@ -171,6 +172,40 @@ $(document).ready(function () {
|
|||
$(this).addClass("selected");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('#clearCache, .clearCacheButton').on('click', function (ev) {
|
||||
ev.preventDefault();
|
||||
modal.showPleaseWait();
|
||||
$.ajax({
|
||||
url: webSiteRootURL + 'objects/configurationClearCache.json.php',
|
||||
success: function (response) {
|
||||
if (!response.error) {
|
||||
swal("Congratulations!", "Your cache has been cleared!", "success");
|
||||
} else {
|
||||
swal("Sorry!", "Your cache has NOT been cleared!", "error");
|
||||
}
|
||||
modal.hidePleaseWait();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#generateSiteMap, .generateSiteMapButton').on('click', function (ev) {
|
||||
ev.preventDefault();
|
||||
modal.showPleaseWait();
|
||||
$.ajax({
|
||||
url: webSiteRootURL + 'objects/configurationGenerateSiteMap.json.php',
|
||||
success: function (response) {
|
||||
if (!response.error) {
|
||||
swal("Congratulations!", "File created!", "success");
|
||||
} else {
|
||||
swal("Sorry!", "File NOT created!", "error");
|
||||
}
|
||||
modal.hidePleaseWait();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function removeTracks() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue