From 5dac82f52f45ad27f16ec2ff63ee75e2f39ef942 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 30 Jun 2018 11:37:30 +0200 Subject: Renommage pour diff de beta_old1 vers beta_accents --- .../app/include/ludo/html_elements.inc.php | 185 +++++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 beta_accents/app/include/ludo/html_elements.inc.php (limited to 'beta_accents/app/include/ludo/html_elements.inc.php') diff --git a/beta_accents/app/include/ludo/html_elements.inc.php b/beta_accents/app/include/ludo/html_elements.inc.php new file mode 100644 index 0000000..b845f28 --- /dev/null +++ b/beta_accents/app/include/ludo/html_elements.inc.php @@ -0,0 +1,185 @@ +'."\n" +?> + + + + AWOR - $title\n"; ?> + + + + +' . "\n"; + echo ' ' . "\n"; + + if ( isset($CONFIG['CSS']['CHOOSER_LIST']) ) + { + foreach ( $CONFIG['CSS']['CHOOSER_LIST'] as $cssname => $cssfile ) + { + if ( $cssfile != $cssfilemain ) + { + echo ' ' . "\n"; + echo ' ' . "\n"; + } + } + } +?> + + + +

AWOR

+ +' . "\n

?

\n" . "\n"; + echo '
' . "\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() +{ + @include 'include/ludo/config.inc.php'; + @include 'config.inc.php'; + + if ( ! is_array($CONFIG['CSS']['CHOOSER_LIST']) ) { return false; } + + if ( isset($_COOKIE['aworcustom_css'] ) ) { $css_selected=$_COOKIE['aworcustom_css']; }else{$css_selected='';}; + echo '
' . "\n"; + //print_r($_COOKIE); + echo ' '. "\n"; + echo '
'. "\n"; +} + +function generate_html_div_footer() +{ +?> + +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