mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
hide the "Import Local Videos" option
This commit is contained in:
parent
0a767f30da
commit
34d77ab3ef
2 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ class CustomizeAdvanced extends PluginAbstract {
|
|||
$obj = new stdClass();
|
||||
$obj->doNotShowUploadMP4Button = true;
|
||||
$obj->doNotShowImportMP4Button = false;
|
||||
$obj->doNotShowImportLocalVideosButton = false;
|
||||
$obj->doNotShowEncoderButton = false;
|
||||
$obj->doNotShowEmbedButton = false;
|
||||
$obj->doNotShowEncoderResolutionLow = false;
|
||||
|
|
|
@ -110,7 +110,7 @@ $updateFiles = getUpdatesFilesArray();
|
|||
</li>
|
||||
<?php
|
||||
}
|
||||
if (empty($advancedCustom->doNotShowImportMP4Button)) {
|
||||
if (empty($advancedCustom->doNotShowImportLocalVideosButton)) {
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $global['webSiteRootURL']; ?>view/import.php" >
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue