Skip to content

Commit

Permalink
Fix tabs and cleanup extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
syncguru committed Aug 29, 2014
1 parent 111f6ea commit 5f385ea
Show file tree
Hide file tree
Showing 56 changed files with 831 additions and 972 deletions.
14 changes: 7 additions & 7 deletions account_delete.php
Expand Up @@ -99,13 +99,13 @@
layout_page_begin();
?>

<div class="col-md-12 col-xs-12">
<div class="space-10"></div>
<?php
echo lang_get( 'account_removed_msg' ) . '<br />';
print_button( config_get( 'logout_redirect_page' ), lang_get( 'proceed' ));
?>
</div>
<div class="col-md-12 col-xs-12">
<div class="space-10"></div>
<?php
echo lang_get( 'account_removed_msg' ) . '<br />';
print_button( config_get( 'logout_redirect_page' ), lang_get( 'proceed' ));
?>
</div>

<?php
layout_page_end();
27 changes: 11 additions & 16 deletions account_page.php
Expand Up @@ -136,7 +136,7 @@
?>

<div class="col-md-12 col-xs-12">
<div class="space-10"></div>
<div class="space-10"></div>

<div id="account-update-div" class="form-container">
<form id="account-update-form" method="post" action="account_update.php">
Expand All @@ -154,7 +154,6 @@
<table class="table table-bordered table-condensed table-striped">

<fieldset>

<?php echo form_security_field( 'account_update' );

if( !helper_call_custom_function( 'auth_can_change_password', array() ) ) {
Expand All @@ -168,17 +167,14 @@
<?php echo string_display_line( $u_username ) ?>
</td>
</tr>

<tr>
<td class="category">
<?php echo lang_get( 'password' ) ?>
</td>
<td>
<?php echo lang_get( 'no_password_change' ) ?>
</td>
</tr>

<?php
</tr><?php
} else {
# Without LDAP
$t_show_update_button = true;
Expand All @@ -190,21 +186,20 @@
<td>
<?php echo string_display_line( $u_username ) ?>
</td>
</tr>
<?php
</tr><?php
# When verifying account, set a token and don't display current password
if( $t_account_verification ) {
token_set( TOKEN_ACCOUNT_VERIFY, true, TOKEN_EXPIRY_AUTHENTICATED, $u_id );
} else {
?>
<tr>
<td class="category">
<span class="required"><?php if( $t_force_pw_reset ) { ?> * <?php } ?></span> <?php echo lang_get( 'current_password' ) ?>
</td>
<td>
<input class="input-sm" id="password-current" type="password" name="password_current" size="32" maxlength="<?php echo auth_get_password_max_size(); ?>" />
</td>
</tr>
<tr>
<td class="category">
<span class="required"><?php if( $t_force_pw_reset ) { ?> * <?php } ?></span> <?php echo lang_get( 'current_password' ) ?>
</td>
<td>
<input class="input-sm" id="password-current" type="password" name="password_current" size="32" maxlength="<?php echo auth_get_password_max_size(); ?>" />
</td>
</tr>
<?php
} ?>
<tr>
Expand Down

0 comments on commit 5f385ea

Please sign in to comment.