]> git.agnieray.net Git - galette.git/blob - galette/install/steps/end.php
202304fb81f41fe7ac52eee6a16bee33ff2e154f
[galette.git] / galette / install / steps / end.php
1 <?php
2
3 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4
5 /**
6 * Galette installation, da end :)
7 *
8 * PHP version 5
9 *
10 * Copyright © 2013-2014 The Galette Team
11 *
12 * This file is part of Galette (http://galette.tuxfamily.org).
13 *
14 * Galette is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation, either version 3 of the License, or
17 * (at your option) any later version.
18 *
19 * Galette is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with Galette. If not, see <http://www.gnu.org/licenses/>.
26 *
27 * @category Core
28 * @package Galette
29 *
30 * @author Johan Cwiklinski <johan@x-tnd.be>
31 * @copyright 2013-2014 The Galette Team
32 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
33 * @link http://galette.tuxfamily.org
34 * @since Available since 0.8 - 2013-01-09
35 */
36
37 use Galette\Core\Install as GaletteInstall;
38
39 $session[md5(GALETTE_ROOT)] = null;
40 unset($session[md5(GALETTE_ROOT)]);
41 ?>
42 <div class="ui segment">
43 <div class="content field">
44 <div class="ui text container">
45 <p class="ui green message">
46 <?php
47 if ($install->isInstall()) {
48 echo _T("Galette has been successfully installed!");
49 }
50 if ($install->isUpgrade()) {
51 echo _T("Galette has been successfully updated!");
52 }
53 ?>
54 </p>
55 </div>
56 </div>
57 </div>
58 <form action="<?php echo GALETTE_BASE_PATH; ?>" method="get">
59 <div class="ui mobile tablet computer reversed equal width grid">
60 <div class="right aligned column">
61 <button type="submit" class="ui right labeled icon button"><i class="home icon"></i> <?php echo _T("Homepage"); ?></button>
62 </div>
63 </div>
64 </form>