Smartysize the maintenance page

This commit is contained in:
Olivier PEREZ 2015-04-07 21:32:21 +02:00
parent 593d39c9cb
commit 4a83c2192a
6 changed files with 29 additions and 14 deletions

View File

@ -54,6 +54,11 @@
"Schedule an event": "Termin finden",
"Make a classic poll": "Klassische Umfrage"
},
"Maintenance": {
"The application": "die Anwendung",
"is currently under maintenance.": "wird gerade gewartet.",
"Thank you for your understanding.": "Danke für Ihr Verständnis."
},
"1st section": {
"What is that?": "Was ist das?",
"Framadate is an online service for planning an appointment or make a decision quickly and easily. No registration is required.": "Framadate ist ein Online-Dienst, das Ihnen hilft, Termine zu finden oder Entscheidungen schnell und einfach zu treffen. Keine Registrierung ist erforderlich. ",

View File

@ -50,6 +50,11 @@
"Select the language": "Select the language",
"Change the language": "Change the language"
},
"Maintenance": {
"The application": "The application",
"is currently under maintenance.": "is currently under maintenance.",
"Thank you for your understanding.": "Thank you for your understanding."
},
"Homepage": {
"Schedule an event": "Schedule an event",
"Make a classic poll": "Make a classic poll"

View File

@ -54,6 +54,11 @@
"Schedule an event": "Encuesta para planificar un evento",
"Make a classic poll": "ES_Créer un sondage classique"
},
"Maintenance": {
"The application": "ES_L'application",
"is currently under maintenance.": "ES_est en cours de maintenance.",
"Thank you for your understanding.": "ES_Merci de votre compréhension."
},
"1st section": {
"What is that?": "ES_Prise en main",
"Framadate is an online service for planning an appointment or make a decision quickly and easily. No registration is required.": "ES_Framadate est un service en ligne permettant de planifier un rendez-vous ou prendre des décisions rapidement et simplement. Aucune inscription préalable nest nécessaire.",

View File

@ -54,6 +54,11 @@
"Schedule an event": "Créer un sondage spécial dates",
"Make a classic poll": "Créer un sondage classique"
},
"Maintenance": {
"The application": "L'application",
"is currently under maintenance.": "est en cours de maintenance.",
"Thank you for your understanding.": "Merci de votre compréhension."
},
"1st section": {
"What is that?": "Prise en main",
"Framadate is an online service for planning an appointment or make a decision quickly and easily. No registration is required.": "Framadate est un service en ligne permettant de planifier un rendez-vous ou prendre des décisions rapidement et simplement. Aucune inscription préalable nest nécessaire.",

View File

@ -16,20 +16,7 @@
* Auteurs de STUdS (projet initial) : Guilhem BORGHESI (borghesi@unistra.fr) et Raphaël DROZ
* Auteurs de Framadate/OpenSondage : Framasoft (https://github.com/framasoft)
*/
namespace Framadate;
include_once __DIR__ . '/app/inc/init.php';
include_once('bandeaux.php');
Utils::print_header ( _('Maintenance') );
bandeau_titre( _('Maintenance') );
echo '
<div class="alert alert-warning">
<h2>'. _('The application') .NOMAPPLICATION . _('is currently under maintenance. ') . '</h2>'
'<p>' . _('Thank you for your understanding.') . '</p>
</div>'."\n";
// Affichage du bandeau de pied
bandeau_pied();
$smarty->display('maintenance.tpl');

8
tpl/maintenance.tpl Normal file
View File

@ -0,0 +1,8 @@
{extends file='page.tpl'}
{block name=main}
<div class="alert alert-warning text-center">
<h2>{__('Maintenance', 'The application')} {$APPLICATION_NAME} {__('Maintenance', 'is currently under maintenance.')}</h2>
<p>{__('Maintenance', 'Thank you for your understanding.')}</p>
</div>
{/block}