fixes #2345 create piwigo standard pages

create new theme standard pages with tpl, css, js and images
update backend to handle pages
add config use_standard_pages
on update set config to false, on install set config to true
add standard pages to no be ingored in git
This commit is contained in:
HWFord
2025-03-18 16:46:41 +01:00
parent d44ac01a48
commit f88472fa9c
23 changed files with 1273 additions and 29 deletions

View File

@@ -175,7 +175,7 @@ $lang['Photo title, A → Z'] = 'Photo title, A → Z';
$lang['Photo title, Z → A'] = 'Photo title, Z → A';
$lang['Link: %s'] = 'Link: %s';
$lang['Links'] = 'Links';
$lang['Login'] = 'Login';
$lang['Login'] = 'Sign in';
$lang['Logout'] = 'Logout';
$lang['Manage this user comment: %s'] = 'Manage this user comment: %s';
$lang['Manual sort order'] = 'Manual sort order';

View File

@@ -205,7 +205,7 @@ $lang['letters'] = "letters";
$lang['Links'] = "Links";
$lang['login mustn\'t end with a space character'] = "login must not end with a space character";
$lang['login mustn\'t start with a space character'] = "login must not start with a space character";
$lang['Login'] = "Login";
$lang['Login'] = "Sign in";
$lang['Logout'] = "Logout";
$lang['mail address must be like xxx@yyy.eee (example : jack@altern.org)'] = 'mail address must be like xxx@yyy.eee (example: jack@altern.org)';
$lang['Manage this user comment: %s'] = 'Manage this user comment: %s';
@@ -455,3 +455,20 @@ $lang['There are no tags available for the photos currently filtered'] = 'There
$lang['There are no creation dates available for the photos currently filtered'] = 'There are no creation dates available for the photos currently filtered';
$lang['There are no authors available for the photos currently filtered'] = 'There are no authors available for the photos currently filtered';
$lang['Set your password below.'] = 'Set your password below.';
$lang['Use standard Piwigo template for common pages.'] = 'Use standard Piwigo template for common pages.';
$lang['When enabled, a common template is used for the login and registration pages, regardless of the theme.'] = 'When enabled, a common template is used for the login and registration pages, regardless of the theme.';
$lang['Don\'t have an account yet ?'] = 'Don\'t have an account yet ?';
$lang['Create an account'] = 'Create an account';
$lang['Return to the gallery'] = 'Return to the gallery';
$lang['Already have an account ?'] = 'Already have an account ?';
$lang['An email has been sent with a link to reset your password'] = 'An email has been sent with a link to reset your password';
$lang['Check your inbox'] = 'Check your inbox';
$lang['Your password was successfully set'] = 'Your password was successfully set';
$lang['Your password was successfully reset'] = 'Your password was successfully reset';
$lang['An error has occured please got back to <a href="identification.php" title="Sign in">Sign in</a> or <a href="register.php">Register</a>'] = 'An error has occured please got back to <a href="identification.php" title="Sign in">Sign in</a> or <a href="register.php">Register</a>';
$lang['Return to <a href="identification.php" title="Sign in">Sign in</a>'] = 'Return to <a href="identification.php" title="Sign in">Sign in</a>';
$lang['Hello <em>%s</em>, enter your new password below.'] = 'Hello <em>%s</em>, enter your new password below.';
$lang['Confirm my new password'] = 'Confirm my new password';
$lang['Confirm Password'] = 'Confirm Password';
$lang['Confirm new password'] = 'Confirm new password';
$lang['Set my password'] = 'Set my password';

View File

@@ -455,3 +455,20 @@ $lang['There are no tags available for the photos currently filtered'] = 'Aucun
$lang['There are no creation dates available for the photos currently filtered'] = 'Aucune date de création n\'est disponible pour les photos actuellement filtrées';
$lang['There are no authors available for the photos currently filtered'] = 'Aucun auteur n\'est disponible pour les photos actuellement filtrées';
$lang['Set your password below.'] = 'Définissez votre mot de passe ci-dessous.';
$lang['Use standard Piwigo template for common pages.'] = 'Utiliser le modèle standard de Piwigo pour les pages courantes.';
$lang['When enabled, a common template is used for the login and registration pages, regardless of the theme.'] = 'Lorsqu\'elle est activée, un modèle commun est utilisé pour les pages de connexion, d\'inscription et de mot de passe oublié, quel que soit le thème. Certains thèmes peuvent utiliser ces modèles même si vous décochez cette option.';
$lang['Don\'t have an account yet ?'] = 'Vous n\'avez pas encore de compte?';
$lang['Create an account'] = 'Créez un compte';
$lang['Return to the gallery'] = 'Retour à la galerie';
$lang['Already have an account ?'] = 'Vous avez déjà un compte ?';
$lang['An error has occured please got back to <a href="identification.php" title="Sign in">Sign in</a> or <a href="register.php">Register</a>'] = 'Une erreur est survenue, veuillez retourner à la page <a href="identification.php" title="Connexion">Connexion</a> ou <a href="register.php">Inscription</a>.';
$lang['Return to <a href="identification.php" title="Sign in">Sign in</a>'] ='Retour à la page <a href="identification.php" title="Connexion">Connexion</a>';
$lang['An email has been sent with a link to reset your password'] = 'Un e-mail a été envoyé avec un lien pour réinitialiser votre mot de passe.';
$lang['Check your inbox.'] = 'Vérifiez votre boîte de réception.';
$lang['Hello <em>%s</em>, enter your new password below.'] = 'Bonjour <em>%s</em>, saisissez votre nouveau mot de passe ci-dessous.';
$lang['Confirm my new password'] = 'Confirmer mon nouveau mot de passe';
$lang['Confirm Password'] = 'Confirmer le mot de passe';
$lang['Confirm new password'] = 'Confirmer le nouveau mot de passe';
$lang['Set my password'] = 'Définir mon mot de passe';
$lang['Your password was successfully set'] = 'Votre mot de passe a été défini avec succès';
$lang['Your password was successfully reset'] = 'Votre mot de passe a été réinitialisé avec succès';