Skip to content
Snippets Groups Projects
Select Git revision
  • c1b6ef5375b5186ee9539257da524d22e26d3bd5
  • main default protected
  • studip-rector
  • ci-opt
  • course-members-export-as-word
  • data-vue-app
  • pipeline-improvements
  • webpack-optimizations
  • rector
  • icon-renewal
  • http-client-and-factories
  • jsonapi-atomic-operations
  • vueify-messages
  • tic-2341
  • 135-translatable-study-areas
  • extensible-sorm-action-parameters
  • sorm-configuration-trait
  • jsonapi-mvv-routes
  • docblocks-for-magic-methods
19 results

mysql.php

Blame
  • Forked from Stud.IP / Stud.IP
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    mysql.php 1.49 KiB
    <p>
        <?= _('In diesem Schritt verbinden Sie Ihre Stud.IP-Installation mit Ihrer '
            . 'bestehenden Datenbank.') ?>
    </p>
    
    <h3><?= _('Verbindungsdaten für die Datenbank') ?></h3>
    <div class="type-text required">
        <label for="host"><?= _('Datenbank-Host') ?></label>
        <input required type="text" id="host" name="host" value="<?= htmlReady(Request::get('host', $_SESSION['STUDIP_INSTALLATION']['database']['host'])) ?>">
    </div>
    
    <div class="type-text required">
        <label for="user"><?= _('Datenbank-Nutzer') ?></label>
        <input type="text" id="user" name="user" value="<?= htmlReady(Request::get('user', $_SESSION['STUDIP_INSTALLATION']['database']['user'])) ?>">
    </div>
    
    <div class="type-text">
        <label for="password"><?= _('Datenbank-Passwort') ?></label>
        <input type="password" id="password" name="password" value="<?= htmlReady(Request::get('password', $_SESSION['STUDIP_INSTALLATION']['database']['password'])) ?>">
    </div>
    
    <div class="type-text required">
        <label for="database"><?= _('Name der Datenbank') ?></label>
        <input required type="text" id="database" name="database" value="<?= htmlReady(Request::get('database', $_SESSION['STUDIP_INSTALLATION']['database']['database'])) ?>">
    </div>
    
    <div class="type-checkbox">
        <input type="checkbox" name="create" id="create" value="1" checked>
        <label for="create">
            <?= _('Versuche Datenbank anzulegen, falls sie noch nicht existiert') ?>
        </label>
    </div>
    
    <?php $button_label = $valid ? '' : _('Verbindung prüfen'); ?>