Skip to content
Snippets Groups Projects
update_welcome_view.php 1.52 KiB
Newer Older
  • Learn to ignore specific revisions
  • /**
    * Copyright Maarch since 2008 under licence GPLv3.
    * See LICENCE.txt file at the root folder for more details.
    * This file is part of Maarch software.
    
    *
    */
    
    /**
    * @brief class of install tools
    *
    * @file
    * @author Arnaud Veber
    * @date $date$
    * @version $Revision$
    * @ingroup install
    */
    
    if ($_SESSION['user']['UserId'] <> 'superadmin') {
        header('location: ' . $_SESSION['config']['businessappurl']
            . 'index.php?page=update_control&admin=update_control');
        exit();
    }
    
    ?>
    <div class="blockWrapper">
        <div class="titleBlock">
            <h2 onClick="slide('welcome');" style="cursor: pointer;">
                <?php echo _UPDATE_WELCOME_INSTALL;?>
            </h2>
        </div>
        <div class="contentBlock" id="welcome">
            <p>
                <?php echo _UPDATE_DESC_INSTALL;?>
            </p>
        </div>
    </div>
    <br />
    <div class="blockWrapper">
        <div class="contentBlock" id="welcome">
            <p>
                <div id="buttons">
    
                    <div style="float: left;" class="previousButton" id="previous">
    
                        <a href="#" onClick="goTo('index.php?step=update_language');">
                            <?php echo _PREVIOUS_INSTALL;?>
                        </a>
    
                    <div style="float: right;" class="nextButton" id="next">
                        <a href="#" onClick="goTo('index.php?step=update_backup');">
                            <?php echo _NEXT_INSTALL;?>
                        </a>
                    </div>
                </div>
                <br />
                <br />
            </p>
        </div>
    </div>