From 1269889704386de951d7f91eb169eb1e1bb36cc0 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 30 Jun 2018 11:10:17 +0200 Subject: Sous-dossier app entre old4 et old5 --- .../app/include/ludo/html_elements.inc.php | 138 +++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 appli_3_alpha_old/app/include/ludo/html_elements.inc.php (limited to 'appli_3_alpha_old/app/include/ludo/html_elements.inc.php') diff --git a/appli_3_alpha_old/app/include/ludo/html_elements.inc.php b/appli_3_alpha_old/app/include/ludo/html_elements.inc.php new file mode 100644 index 0000000..4275653 --- /dev/null +++ b/appli_3_alpha_old/app/include/ludo/html_elements.inc.php @@ -0,0 +1,138 @@ +'."\n" +?> + + + + AWOR - $title\n"; ?> + + + + +' . "\n"; + echo ' ' . "\n"; +?> + + + +

AWOR

+ +' . "\n

?

\n" . "\n"; + echo '
' . "\n

Aide

\n"; + readfile($help_file); + echo "
\n"; + } +} + +function generate_html_div_errmsg($errmsg) +{ + echo '
' . "\n" . '' . $errmsg . "\n"; + require_once('config.inc.php'); + if ( isset( $CONFIG['adminMail'] ) && ( ! isset($_REQUEST['debug'] ) ) ) + { + echo 'Si le problème persiste, vous pouvez contacter l\'administrateur par email à l\'adresse suivante : '; + echo '' . $CONFIG['adminMail'] . "\n"; + } + echo "
\n"; +} + +function generate_html_div_css_chooser() +{ + // TODO : fonction JS qui fait ce qu'il faut !! (a mettre dans le head ??) + require_once('config.inc.php'); + if ( ! is_array($CONFIG['CSS']['CHOOSER_LIST']) ) { return false; } + + if ( isset($_COOKIE['awor']['custom_css'] ) ) { $css_selected=$_COOKIE['awor']['custom_css']; }; + echo '
' . "\n"; + echo ' '. "\n"; + echo '
'. "\n"; +} + +function generate_html_div_deconnect() +{ + echo '
Deconnexion
'."\n"; +} +function generate_html_div_back() +{ + echo '
Retour
'."\n"; +} + +function generate_html_dispo_inconnu($idP, $idC) +{ + echo 'Inconnu' . "\n"; +} + +function generate_html_dispo_oui($idP, $idC) +{ + echo 'Disponible' . "\n"; +} + +function generate_html_dispo_non($idP, $idC) +{ + echo 'Non disponible' . "\n"; +} + +function generate_html_dispo_dire_oui($idR, $idC) +{ + //~ echo 'Dire que je suis disponible' . "\n"; + echo ""; + echo 'Dire que je suis disponible' . "\n"; +} + +function generate_html_dispo_dire_non($idR, $idC) +{ + echo ""; + echo 'Dire que je suis pas disponible' . "\n"; +} + +function generate_html_reunion_detail_button($idR) +{ + echo 'Détails'; +} -- cgit v1.2.3