Code style fixes ('<?php Lang::out(' -> '<?= Lang::get(').
This commit is contained in:
parent
2a3adf25af
commit
8a29f5aefe
24 changed files with 123 additions and 125 deletions
|
|
@ -7,7 +7,7 @@ $user = $this->getUser();
|
|||
?>
|
||||
<div class="clearfix" style="margin-bottom: 20px;">
|
||||
<div class="pull-right btn-group">
|
||||
<a class="btn btn-success" href="<?= APP_URL; ?>user/add"><?php Lang::out('add_user'); ?></a>
|
||||
<a class="btn btn-success" href="<?= APP_URL; ?>user/add"><?= Lang::get('add_user'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -18,9 +18,9 @@ $user = $this->getUser();
|
|||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php Lang::out('email_address'); ?></th>
|
||||
<th><?php Lang::out('name'); ?></th>
|
||||
<th><?php Lang::out('is_admin'); ?></th>
|
||||
<th><?= Lang::get('email_address'); ?></th>
|
||||
<th><?= Lang::get('name'); ?></th>
|
||||
<th><?= Lang::get('is_admin'); ?></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -47,12 +47,12 @@ $user = $this->getUser();
|
|||
<td>
|
||||
<?php if($user->getIsAdmin()): ?>
|
||||
<div class="btn-group btn-group-right">
|
||||
<a class="btn btn-default btn-sm" href="<?= APP_URL; ?>user/edit/<?= $user->getId(); ?>"><?php Lang::out('edit'); ?></a>
|
||||
<a class="btn btn-default btn-sm" href="<?= APP_URL; ?>user/edit/<?= $user->getId(); ?>"><?= Lang::get('edit'); ?></a>
|
||||
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="<?= APP_URL; ?>user/delete/<?= $user->getId(); ?>" class="delete-user"><?php Lang::out('delete_user'); ?></a></li>
|
||||
<li><a href="<?= APP_URL; ?>user/delete/<?= $user->getId(); ?>" class="delete-user"><?= Lang::get('delete_user'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ use PHPCensor\Helper\Lang;
|
|||
|
||||
?>
|
||||
<?php if (isset($updated)): ?>
|
||||
<p class="alert alert-success"><?php Lang::out('your_details_updated'); ?></p>
|
||||
<p class="alert alert-success"><?= Lang::get('your_details_updated'); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title"><?php Lang::out('update_your_details'); ?></h3>
|
||||
<h3 class="box-title"><?= Lang::get('update_your_details'); ?></h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<?= $form; ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue