/** * Affiche l'étape 0 d'installation : écran d'accueil. * * @uses info_copyright() **/ function install_etape__dist() { utiliser_langue_visiteur(); $menu_langues = menu_langues('var_lang_ecrire'); if (!$menu_langues) { redirige_url_ecrire('install', "etape=chmod"); } else { include_spip('inc/presentation'); // pour info_copyright $res = "<div class='petit-centre'><img alt='SPIP' src='" . chemin_image('logo-spip2.gif') . "' />\n" . "<p class='small'>" . info_copyright() . "</p></div>\n" . "<p>" . _T('install_select_langue') . "</p>" . "<div>" . $menu_langues . "</div>\n" . generer_form_ecrire('install', "<input type='hidden' name='etape' value='chmod' />" . bouton_suivant()); echo minipres('AUTO', $res); } }
function fin_page() { global $spip_display; return debut_grand_cadre(true) . (($spip_display == 4) ? ("<div><a href='" . generer_action_auteur('preferer','display:2', self('&')) . "'>" . _T("access_interface_graphique") . "</a></div>") : ("<div style='text-align: right; ' class='verdana1 spip_xx-small'>" . info_copyright() . "<br />" . info_maj_spip() . _T('info_copyright_doc', array('spipnet' => $GLOBALS['home_server'] . '/' . $GLOBALS['spip_lang'])) . '</div>')) . fin_grand_cadre(true) . "</div>\n" // cf. div centered ouverte dans conmmencer_page() . $GLOBALS['rejoue_session'] . '<div style="background-image: url(\'' . generer_url_action('cron') . '\');"></div>' . (defined('_TESTER_NOSCRIPT') ? _TESTER_NOSCRIPT : '') . "</body></html>\n"; }