install/includes/stages/confirm.php
changeset 851 b98798f6572d
parent 801 eb8b23f11744
child 1022 06debbf8dd75
equal deleted inserted replaced
850:ccedb36dd929 851:b98798f6572d
    24            <h3><?php echo $lang->get('confirm_title'); ?></h3>
    24            <h3><?php echo $lang->get('confirm_title'); ?></h3>
    25             <p><?php echo $lang->get('confirm_body'); ?></p>
    25             <p><?php echo $lang->get('confirm_body'); ?></p>
    26             <p style="font-size: smaller;"><b><?php echo $lang->get('confirm_info_aes_title'); ?></b>
    26             <p style="font-size: smaller;"><b><?php echo $lang->get('confirm_info_aes_title'); ?></b>
    27                <?php echo $lang->get('confirm_info_aes_body', array('aes_bits' => AES_BITS)); ?>
    27                <?php echo $lang->get('confirm_info_aes_body', array('aes_bits' => AES_BITS)); ?>
    28                </p>
    28                </p>
       
    29             <?php
       
    30             if ( $installer_version['type'] !== 'stable' )
       
    31             {
       
    32               echo '<div class="sysreqs_error">';
       
    33               echo '<h3>' . $lang->get('confirm_msg_installing_unstable_title') . '</h3>';
       
    34               echo '<p>' . $lang->get('confirm_msg_installing_unstable_body') . '</p>';
       
    35               echo '</div>';
       
    36             }
       
    37             ?>
    29             <form action="install.php?stage=install" method="post" name="install_login" onsubmit="return ( verify() && submit_encrypt() );"><?php
    38             <form action="install.php?stage=install" method="post" name="install_login" onsubmit="return ( verify() && submit_encrypt() );"><?php
    30   foreach ( $_POST as $key => &$value )
    39   foreach ( $_POST as $key => &$value )
    31   {
    40   {
    32     if ( !preg_match('/^[a-z0-9_]+$/', $key) )
    41     if ( !preg_match('/^[a-z0-9_]+$/', $key) )
    33       die('You idiot hacker...');
    42       die('You idiot hacker...');