Removing short open tags and replacing with print statements.
This commit is contained in:
parent
9ea3a22864
commit
fa7ad2f45d
9 changed files with 38 additions and 39 deletions
|
|
@ -40,19 +40,19 @@
|
|||
break;
|
||||
}
|
||||
?>
|
||||
<tr class="<?= $cls; ?>">
|
||||
<td><a href="/user/edit/<?= $user->getId(); ?>"><?= $user->getEmail(); ?></a></td>
|
||||
<td><?= $user->getName(); ?></td>
|
||||
<td><?= $status; ?></td>
|
||||
<tr class="<?php print $cls; ?>">
|
||||
<td><a href="/user/edit/<?php print $user->getId(); ?>"><?php print $user->getEmail(); ?></a></td>
|
||||
<td><?php print $user->getName(); ?></td>
|
||||
<td><?php print $status; ?></td>
|
||||
<td>
|
||||
<?php if($this->User()->getIsAdmin()): ?>
|
||||
<div class="btn-group">
|
||||
<a class="btn" href="/user/edit/<?= $user->getId(); ?>">Edit</a>
|
||||
<a class="btn" href="/user/edit/<?php print $user->getId(); ?>">Edit</a>
|
||||
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="javascript:confirmDelete('/user/delete/<?= $user->getId(); ?>');">Delete User</a></li>
|
||||
<li><a href="javascript:confirmDelete('/user/delete/<?php print $user->getId(); ?>');">Delete User</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue