Example #1
0
if (osc_is_writable($dir_fs_document_root) && osc_is_writable($dir_fs_document_root . 'admin')) {
    ?>
      <tr>
        <td class="inputField"><?php 
    echo 'Verzeichnis Administrationsbereich<br />' . osc_draw_input_field('CFG_ADMIN_DIRECTORY', 'admin', 'class="text"');
    ?>
</td>
<td class="inputDescription">Das Verzeichnis, in dem der Administrationsbereich installiert wird. Aus Sicherheitsgr&uuml;nden sollte das Verzeichnis unbedingt ge&auml;ndert werden.</td>
      </tr>
<?php 
}
if (PHP_VERSION >= '5.2') {
    ?>
      <tr>
        <td class="inputField"><?php 
    echo 'Zeitzone<br />' . osc_draw_time_zone_select_menu('CFG_TIME_ZONE');
    ?>
</td>
        <td class="inputDescription">Zeitzone</td>
      </tr>
<?php 
}
?>

    </table>

    <p><?php 
echo osc_draw_button('Weiter', 'triangle-1-e', null, 'primary');
?>
</p>
        <div class="col-xs-9">
          <?php 
    echo osc_draw_input_field('CFG_ADMIN_DIRECTORY', 'admin', 'required aria-required="true" id="adminDir"');
    ?>
          <span class="fa fa-asterisk form-control-feedback inputRequirement"></span>
          <span class="help-block">This is the directory where the administration section will be installed. You should change this for security reasons.</span>
        </div>
      </div>
<?php 
}
?>
      <div class="form-group has-feedback">
        <label for="Zulu" class="control-label col-xs-3">Time Zone</label>
        <div class="col-xs-9">
          <?php 
echo osc_draw_time_zone_select_menu('CFG_TIME_ZONE');
?>
          <span class="fa fa-asterisk form-control-feedback inputRequirement"></span>
          <span class="help-block">The time zone to base the date and time on.</span>
        </div>
      </div>

      <p><?php 
echo osc_draw_button('Continue To Step 4', 'triangle-1-e', null, 'primary', null, 'btn-success btn-block');
?>
</p>

      <?php 
foreach ($_POST as $key => $value) {
    if ($key != 'x' && $key != 'y') {
        echo osc_draw_hidden_field($key, $value);