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

Refactor.

This commit is contained in:
Caleb Mazalevskis 2022-01-06 21:44:07 +08:00
parent 343eb5e2cc
commit 27a7925b98
No known key found for this signature in database
GPG key ID: 082E6BC1046FAB95
316 changed files with 54291 additions and 53534 deletions

View file

@ -1,15 +1,15 @@
<?php
$filter = array(
'disableNativeSignUp'=>__('This is useful if you want to use our LDAP plugin or maybe only allow authentication from Social Networks'),
'disableNativeSignIn'=>__('This is useful if you want to use our LDAP plugin or maybe only allow authentication from Social Networks'),
'disablePersonalInfo'=>__('Disable the My Account personal info like: First and Last Name and address'),
'newUsersCanStream'=>__('Automatic allow new users to use your Livestream Platform'),
'doNotIndentifyByEmail'=>__('Do not show user\'s email on the site'),
'doNotIndentifyByName'=>__('Do not show user\'s name on the site'),
'doNotIndentifyByUserName'=>__('Do not show user\'s username on the site'),
'unverifiedEmailsCanNOTLogin'=>__('Users must verify their emails before login'),
'onlyVerifiedEmailCanUpload'=>__('Users must verify their emails before upload/submit videos'),
'sendVerificationMailAutomatic'=>__('After sign up we will automatic send a verification email'),
'userMustBeLoggedIn'=>__('Hide the website to non logged users')
);
createTable("CustomizeUser", $filter);
<?php
$filter = [
'disableNativeSignUp'=>__('This is useful if you want to use our LDAP plugin or maybe only allow authentication from Social Networks'),
'disableNativeSignIn'=>__('This is useful if you want to use our LDAP plugin or maybe only allow authentication from Social Networks'),
'disablePersonalInfo'=>__('Disable the My Account personal info like: First and Last Name and address'),
'newUsersCanStream'=>__('Automatic allow new users to use your Livestream Platform'),
'doNotIndentifyByEmail'=>__('Do not show user\'s email on the site'),
'doNotIndentifyByName'=>__('Do not show user\'s name on the site'),
'doNotIndentifyByUserName'=>__('Do not show user\'s username on the site'),
'unverifiedEmailsCanNOTLogin'=>__('Users must verify their emails before login'),
'onlyVerifiedEmailCanUpload'=>__('Users must verify their emails before upload/submit videos'),
'sendVerificationMailAutomatic'=>__('After sign up we will automatic send a verification email'),
'userMustBeLoggedIn'=>__('Hide the website to non logged users'),
];
createTable("CustomizeUser", $filter);