From 19cdd5e2fde57d53f05570cd50f5ffd223182566 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 30 Jun 2018 11:26:37 +0200 Subject: Renommage pour diff entre appli_3_alpha_old et beta_old1 --- beta_old1/app/include/ludo/html_elements.inc.php | 183 +++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 beta_old1/app/include/ludo/html_elements.inc.php (limited to 'beta_old1/app/include/ludo/html_elements.inc.php') diff --git a/beta_old1/app/include/ludo/html_elements.inc.php b/beta_old1/app/include/ludo/html_elements.inc.php new file mode 100644 index 0000000..41fd812 --- /dev/null +++ b/beta_old1/app/include/ludo/html_elements.inc.php @@ -0,0 +1,183 @@ +'."\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

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