diff --git a/settings/css/settings.css b/settings/css/settings.css index e79029ddbfabafd09f3ee737dcc646191f65b90e..7bd7d5f7f062ea66eca28db7280d65de046fb76f 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -22,14 +22,14 @@ form { display:inline; } table:not(.nostyle) th { height:2em; color:#999; } table:not(.nostyle) th, table:not(.nostyle) td { border-bottom:1px solid #ddd; padding:0 .5em; padding-left:.8em; text-align:left; font-weight:normal; } td.name, td.password { padding-left:.8em; } -td.password>img, td.remove>img, td.quota>img { visibility:hidden; } +td.password>img, td.remove>a, td.quota>img { visibility:hidden; } td.password, td.quota { width:12em; cursor:pointer; } td.password>span, td.quota>span { margin-right: 1.2em; color: #C7C7C7; } td.remove { width:1em; padding-right:1em; } tr:hover>td.password>span { margin:0; cursor:pointer; } -tr:hover>td.remove>img, tr:hover>td.password>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; } -tr:hover>td.remove>img { float:right; } +tr:hover>td.remove>a, tr:hover>td.password>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; } +tr:hover>td.remove>a { float:right; } li.selected { background-color:#ddd; } #content>table:not(.nostyle) { margin-top:3em; } table:not(.nostyle) { width:100%; } diff --git a/settings/js/users.js b/settings/js/users.js index 43b726fbfc87203b89f53a9b4f9534ec8b2b8478..a6b1b659978f7e4f272536165ac2756ebd977320 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -170,7 +170,7 @@ $(document).ready(function(){ applyMultiplySelect($(element)); }); - $('td.remove>img').live('click',function(event){ + $('td.remove>a').live('click',function(event){ var uid = $(this).parent().parent().data('uid'); diff --git a/settings/templates/users.php b/settings/templates/users.php index 9b64696547f219ce81fb32d9ff052297f1ef2743..d8200bf2022f844da5e0303e83d186272b776be8 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -141,9 +141,12 @@ var isadmin = <?php echo $_['isadmin']?'true':'false'; ?>; </select> <input class='quota-other'></input> </div> </td> - <td class="remove"><?php if($user['name']!=OC_User::getUser()):?> <img - alt="Delete" title="<?php echo $l->t('Delete')?>" class="svg action" - src="<?php echo image_path('core','actions/delete.svg') ?>" /> <?php endif;?> + <td class="remove"> + <?php if($user['name']!=OC_User::getUser()):?> + <a href="#" class="action delete" original-title="<?php echo $l->t('Delete')?>"> + <img src="<?php echo image_path('core','actions/delete.svg') ?>" /> + </a> + <?php endif;?> </td> </tr> <?php endforeach; ?>