diff options
| author | Nigel Osborne <kiwi3685@me.com> | 2011-02-10 00:13:54 +0000 |
|---|---|---|
| committer | Nigel Osborne <kiwi3685@me.com> | 2011-02-10 00:13:54 +0000 |
| commit | 7e741e35b08757d0036f4e7b7b9f86c2cb440cc7 (patch) | |
| tree | 4fff35e1bc01d332f96b6f14a5ca529f10bcc5d0 /admin_users.php | |
| parent | b3ca2a10426c96df38d8c1728b209c8dc5ad4b9d (diff) | |
| download | webtrees-7e741e35b08757d0036f4e7b7b9f86c2cb440cc7.tar.gz webtrees-7e741e35b08757d0036f4e7b7b9f86c2cb440cc7.tar.bz2 webtrees-7e741e35b08757d0036f4e7b7b9f86c2cb440cc7.zip | |
1-css styling for in-line editing elements in admin_site_config.php and admin_users.php
2-use WT_JS_START/END in admin_trees_config.php
3-add delete icon to admin_users.php
Diffstat (limited to 'admin_users.php')
| -rw-r--r-- | admin_users.php | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/admin_users.php b/admin_users.php index 35377649a5..ff436c4e79 100644 --- a/admin_users.php +++ b/admin_users.php @@ -201,8 +201,8 @@ case 'load1row': // Generate an AJAX response for datatables to load expanded row $user_id=(int)safe_GET('user_id'); header('Content-type: text/html; charset=UTF-8'); - echo '<h1>', WT_I18N::translate('Details'), '</h1>'; echo '<dl>'; + echo '<h2>', WT_I18N::translate('Details'), '</h2>'; echo '<dt>', WT_I18N::translate('Administrator'), '</dt>'; echo '<dd>', edit_field_yes_no_inline('user_setting-canadmin-'.$user_id, get_user_setting($user_id, 'canadmin')), '</dd>'; @@ -233,12 +233,13 @@ case 'load1row': echo '<dt>', WT_I18N::translate('Date'), '</dt>'; echo '<dd>', edit_field_inline('user_setting-commentexp-'.$user_id, get_user_setting($user_id, 'admin_comment')), '</dd>'; echo '</dd>'; - - echo '<h1>', WT_I18N::translate('Family tree access and settings'), '</h1>'; + echo '</dl>'; // Column One - details echo + '<div id="access">', + '<h2>', WT_I18N::translate('Family tree access and settings'), '</h2>', '<table><tr>', '<th>', WT_I18N::translate('Family tree'), '</th>', '<th>', WT_I18N::translate('Pedigree chart root person'), help_link('useradmin_rootid'), '</th>', @@ -283,7 +284,7 @@ case 'load1row': } echo '</table>'; - echo '</td></tr></table>'; + echo '</td></tr></table></div>'; exit; } @@ -707,7 +708,7 @@ default: '<table id="list">', '<thead>', '<tr>', - '<th style="margin:0 -2px 1px 1px; padding:3px 0 4px;"> </th>', + '<th style="margin:0 -2px 1px 1px; padding:6px 0 5px;"> </th>', '<th> user-id </th>', '<th>', WT_I18N::translate('User name'), '</th>', '<th>', WT_I18N::translate('Real name'), '</th>', @@ -720,7 +721,7 @@ default: '<th>', WT_I18N::translate('Last logged in'), '</th>', '<th>', WT_I18N::translate('Verified'), '</th>', '<th>', WT_I18N::translate('Approved'), '</th>', - '<th> </th>', + '<th style="margin:0 -2px 1px 1px; padding:3px 0 4px;"> </th>', '</tr>', '</thead>', '<tbody>', @@ -764,9 +765,9 @@ default: /* registered */ { iDataSort:7 }, /* last_login (sort) */ { bVisible:false }, /* last_login */ { iDataSort:9 }, - /* verified */ null, - /* approved */ null, - /* delete */ { bSortable:false } + /* verified */ { sClass:"center" }, + /* approved */ { sClass:"center" }, + /* delete */ { bSortable:false, sClass:"icon-delete" } ] }); |
