mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
42 lines
1.2 KiB
PHP
42 lines
1.2 KiB
PHP
<?php
|
|
require_once dirname(__FILE__) . '/../../../videos/configuration.php';
|
|
|
|
$videos_id = intval($_REQUEST['videos_id']);
|
|
|
|
if (empty($videos_id)) {
|
|
forbiddenPage('Videos ID is required');
|
|
}
|
|
|
|
if (!Video::canEdit($videos_id)) {
|
|
forbiddenPage('You cannot edit this video');
|
|
}
|
|
|
|
$video = Video::getVideoLight($videos_id);
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="<?php echo $_SESSION['language']; ?>">
|
|
<head>
|
|
<title><?php echo $config->getWebSiteTitle(); ?> :: Move Storage</title>
|
|
<?php
|
|
include $global['systemRootPath'] . 'view/include/head.php';
|
|
?>
|
|
</head>
|
|
<body class="<?php echo $global['bodyClass']; ?>">
|
|
<?php
|
|
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
?>
|
|
<div class="container-fluid">
|
|
<?php
|
|
$isMoving = CDNStorage::isMoving($videos_id);
|
|
if (!empty($isMoving)) {
|
|
include './panelIsMoving.php';
|
|
} else {
|
|
include './panelMove.php';
|
|
}
|
|
?>
|
|
</div>
|
|
<?php
|
|
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
?>
|
|
</body>
|
|
</html>
|