Ejemplo n.º 1
0
</label>
      <div class="col-xs-9">
        <?php 
echo HTML::passwordField('password_new', NULL, 'required aria-required="true" id="inputPassword" placeholder="' . ENTRY_PASSWORD_NEW_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
    <div class="form-group has-feedback">
      <label for="inputConfirmation" class="control-label col-xs-3"><?php 
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</label>
      <div class="col-xs-9">
        <?php 
echo HTML::passwordField('password_confirmation', NULL, 'required aria-required="true" id="inputConfirmation" placeholder="' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>

  </div>

  <div class="row">
    <div class="col-sm-6 text-right pull-right"><?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, 'primary', null, 'btn-success');
?>
</div>
    <div class="col-sm-6"><?php 
echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', OSCOM::link('account.php', '', 'SSL'));
?>
Ejemplo n.º 2
0
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::passwordField('password', NULL, 'minlength="' . ENTRY_PASSWORD_MIN_LENGTH . '" required aria-required="true" id="inputPassword" placeholder="' . ENTRY_PASSWORD_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
    <div class="form-group has-feedback">
      <label for="inputConfirmation" class="control-label col-sm-3"><?php 
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::passwordField('confirmation', NULL, 'minlength="' . ENTRY_PASSWORD_MIN_LENGTH . '" required aria-required="true" id="inputConfirmation" placeholder="' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
  </div>

  <div class="text-right">
    <?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-user', null, 'primary', null, 'btn-success btn-block');
?>
  </div>
</div>

</form>
Ejemplo n.º 3
0
</label>
      <div class="col-xs-8">
        <?php 
echo HTML::inputField('email_address', NULL, 'autofocus="autofocus" required aria-required="true" id="inputEmail" placeholder="' . ENTRY_EMAIL_ADDRESS_TEXT . '"', 'email');
?>
      </div>
    </div>

    <div class="form-group">
      <label for="inputPassword" class="control-label col-xs-4"><?php 
echo ENTRY_PASSWORD;
?>
</label>
      <div class="col-xs-8">
        <?php 
echo HTML::passwordField('password', NULL, 'required aria-required="true" id="inputPassword" placeholder="' . ENTRY_PASSWORD_TEXT . '"');
?>
      </div>
    </div>

    <p class="text-right"><?php 
echo HTML::button(IMAGE_BUTTON_LOGIN, 'glyphicon glyphicon-log-in', null, 'primary', null, 'btn-success btn-block');
?>
</p>

    </form>
    
    <hr>
    
    <p><?php 
echo '<a href="' . OSCOM::link('password_forgotten.php', '', 'SSL') . '">' . MODULE_CONTENT_LOGIN_TEXT_PASSWORD_FORGOTTEN . '</a>';
Ejemplo n.º 4
0
        <?php 
echo HTML::passwordField('password', NULL, 'required aria-required="true" autofocus="autofocus" id="inputPassword" autocomplete="new-password" placeholder="' . OSCOM::getDef('entry_password_text') . '"', 'password');
?>
        <?php 
echo OSCOM::getDef('form_required_input');
?>
      </div>
    </div>
    <div class="form-group has-feedback">
      <label for="inputConfirm" class="control-label col-sm-3"><?php 
echo OSCOM::getDef('entry_password_confirmation');
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::passwordField('confirmation', NULL, 'required aria-required="true" id="inputConfirm" autocomplete="new-password" placeholder="' . OSCOM::getDef('entry_password_confirmation_text') . '"', 'password');
?>
        <?php 
echo OSCOM::getDef('form_required_input');
?>
      </div>
    </div>
  </div>

  <div class="buttonSet">
    <div class="text-right"><?php 
echo HTML::button(OSCOM::getDef('image_button_continue'), 'fa fa-angle-right', null, null, 'btn-success');
?>
</div>
  </div>
</div>
Ejemplo n.º 5
0
                    case 'delete':
                        $heading[] = array('text' => HTML::outputProtected($aInfo->user_name));
                        $contents = array('form' => HTML::form('administrator', OSCOM::link(FILENAME_ADMINISTRATORS, 'aID=' . $aInfo->id . '&action=deleteconfirm')));
                        $contents[] = array('text' => OSCOM::getDef('text_info_delete_intro'));
                        $contents[] = array('text' => '<strong>' . HTML::outputProtected($aInfo->user_name) . '</strong>');
                        $contents[] = array('text' => HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', null, null, 'btn-danger') . HTML::button(OSCOM::getDef('image_cancel'), null, OSCOM::link(FILENAME_ADMINISTRATORS), null, 'btn-link'));
                        break;
                }
            }
        }
    } else {
        $heading[] = array('text' => OSCOM::getDef('text_info_heading_new_administrator'));
        $contents = array('form' => HTML::form('administrator', OSCOM::link(FILENAME_ADMINISTRATORS, 'action=insert'), 'post', 'autocomplete="off"'));
        $contents[] = array('text' => OSCOM::getDef('text_info_insert_intro'));
        $contents[] = array('text' => OSCOM::getDef('text_info_username') . '<br />' . HTML::inputField('username'));
        $contents[] = array('text' => OSCOM::getDef('text_info_password') . '<br />' . HTML::passwordField('password'));
        $contents[] = array('text' => HTML::button(OSCOM::getDef('image_save'), 'fa fa-save', null, null, 'btn-success') . HTML::button(OSCOM::getDef('image_cancel'), null, OSCOM::link(FILENAME_ADMINISTRATORS), null, 'btn-link'));
    }
    if (tep_not_null($heading) && tep_not_null($contents)) {
        $show_listing = false;
        echo HTML::panel($heading, $contents, ['type' => 'info']);
    }
}
if ($show_listing === true) {
    ?>

<table class="oscom-table table table-hover">
  <thead>
    <tr class="info">
      <th><?php 
    echo OSCOM::getDef('table_heading_administrators');
Ejemplo n.º 6
0
      <div class="form-group has-feedback">
        <label for="userName" class="control-label col-xs-3">Username</label>
        <div class="col-xs-9">
          <?php 
echo HTML::inputField('DB_SERVER_USERNAME', null, 'required aria-required="true" id="userName" placeholder="Username"');
?>
          <span class="glyphicon glyphicon-asterisk form-control-feedback inputRequirement"></span>
          <span class="help-block">The username used to connect to the database server.</span>
        </div>
      </div>

      <div class="form-group has-feedback">
        <label for="passWord" class="control-label col-xs-3">Password</label>
        <div class="col-xs-9">
          <?php 
echo HTML::passwordField('DB_SERVER_PASSWORD', null, 'required aria-required="true" id="passWord"');
?>
          <span class="glyphicon glyphicon-asterisk form-control-feedback inputRequirement"></span>
          <span class="help-block">The password that is used together with the username to connect to the database server.</span>
        </div>
      </div>

      <div class="form-group has-feedback">
        <label for="dbName" class="control-label col-xs-3">Database Name</label>
        <div class="col-xs-9">
          <?php 
echo HTML::inputField('DB_DATABASE', null, 'required aria-required="true" id="dbName" placeholder="Database"');
?>
          <span class="glyphicon glyphicon-asterisk form-control-feedback inputRequirement"></span>
          <span class="help-block">The name of the database to hold the data in.</span>
        </div>
Ejemplo n.º 7
0
?>
        <span class="help-block">The address of the database server in the form of a hostname or IP address.</span>
      </div>

      <div class="form-group has-feedback">
        <label for="username">Username</label>
        <?php 
echo HTML::inputField('DB_SERVER_USERNAME', null, 'required aria-required="true" id="username"');
?>
        <span class="help-block">The username used to connect to the database server.</span>
      </div>

      <div class="form-group">
        <label for="password">Password</label>
        <?php 
echo HTML::passwordField('DB_SERVER_PASSWORD', null, 'id="password"');
?>
        <span class="help-block">The password that is used together with the username to connect to the database server.</span>
      </div>

      <div class="form-group has-feedback">
        <label for="dbName">Database Name</label>
        <?php 
echo HTML::inputField('DB_DATABASE', null, 'required aria-required="true" id="dbName"');
?>
        <span class="help-block">The name of the database to hold the data in.</span>
      </div>

      <div class="form-group">
        <label for="dbTablePrefix">Table Prefix</label>
        <?php