mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Merge pull request #755 from Flatta/use-css
Use CSS rather than tricky string manipulation
This commit is contained in:
commit
379aae6979
25 changed files with 27 additions and 27 deletions
|
@ -2,9 +2,9 @@
|
|||
<div class="l-sort clearfix noselect">
|
||||
<?php
|
||||
if ($user == 'admin') {
|
||||
echo '<a class="l-sort__create-btn" href="/add/user/" title="'.str_replace(' ', ' ', __('Add User')).'"></a>';
|
||||
echo '<a class="l-sort__create-btn" href="/add/user/" title="'.__('Add User').'"></a>';
|
||||
} else {
|
||||
echo '<a class="l-sort__create-btn" href="/add/web/" title="'.str_replace(' ', ' ', __('Add Web Domain')).'"></a>';
|
||||
echo '<a class="l-sort__create-btn" href="/add/web/" title="'.__('Add Web Domain').'"></a>';
|
||||
}
|
||||
?>
|
||||
<ul class="context-menu sort-order" style="display:none;">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue