mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Rebranding
This commit is contained in:
parent
0421f5ad2f
commit
400ab5d239
254 changed files with 707 additions and 698 deletions
|
@ -47,7 +47,7 @@ $obj->msg = array();
|
|||
$obj->playListId = 0;
|
||||
|
||||
|
||||
$objo = YouPHPTubePlugin::getObjectDataIfEnabled('BulkEmbed');
|
||||
$objo = AVideoPlugin::getObjectDataIfEnabled('BulkEmbed');
|
||||
if (empty($objo) || ($objo->onlyAdminCanBulkEmbed && !User::isAdmin())) {
|
||||
$obj->msg[] = __("Permission denied");
|
||||
$obj->msg[] = "Plugin disabled";
|
||||
|
@ -99,9 +99,9 @@ if (empty($objo) || ($objo->onlyAdminCanBulkEmbed && !User::isAdmin())) {
|
|||
$playList->addVideo($resp, true);
|
||||
}
|
||||
|
||||
YouPHPTubePlugin::afterNewVideo($resp);
|
||||
AVideoPlugin::afterNewVideo($resp);
|
||||
|
||||
YouPHPTubePlugin::saveVideosAddNew($_POST, $resp);
|
||||
AVideoPlugin::saveVideosAddNew($_POST, $resp);
|
||||
|
||||
$obj->msg[] = Video::getVideoLight($resp);
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ if (!User::isLogged()) {
|
|||
header("Location: {$global['webSiteRootURL']}?error=" . __("You can not do this"));
|
||||
exit;
|
||||
}
|
||||
$obj = YouPHPTubePlugin::getObjectData("BulkEmbed");
|
||||
$obj = AVideoPlugin::getObjectData("BulkEmbed");
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?php echo $_SESSION['language']; ?>">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue