mirror of
https://github.com/e107inc/e107.git
synced 2025-09-02 19:02:39 +02:00
administration cleanup/minor improvements
This commit is contained in:
@@ -88,7 +88,6 @@ ul,ol { list-style:none; }
|
||||
.adminlist { width:100%; border:1px solid #ddd;}
|
||||
.adminlist th { padding: 5px; border-bottom:1px solid #ddd; border-right: 1px solid #ddd; font-weight: bold; white-space:nowrap; }
|
||||
.adminlist td { padding: 5px; border-bottom:1px solid #ddd; border-right: 1px solid #ddd; }
|
||||
|
||||
.adminlist th.last,
|
||||
.adminlist td.last { border-right: 0px solid;}
|
||||
.adminlist tr.last td{ border-bottom: 0px solid;}
|
||||
@@ -329,6 +328,7 @@ input.action.edit {}
|
||||
.admin-page-body { padding: 20px 15px 0; }
|
||||
.admin-footer {}
|
||||
legend { font-size: 14px; font-weight: bold; padding: 5px; }
|
||||
.admin-help p { margin-bottom: 10px } /* help side menu */
|
||||
|
||||
/******** Layout */
|
||||
.main-table { width: 100%; border: 0 none; }
|
||||
|
@@ -43,6 +43,8 @@ function theme_head() {
|
||||
|
||||
function tablestyle($caption, $text, $mod) {
|
||||
global $style;
|
||||
$class = '';
|
||||
if(is_string($mod) && $mod == 'admin_help') $class = ' '.str_replace('_', '-', $mod);
|
||||
switch($style) {
|
||||
|
||||
case 'admin_menu' :
|
||||
@@ -56,7 +58,7 @@ function tablestyle($caption, $text, $mod) {
|
||||
|
||||
case 'site_info' :
|
||||
echo '
|
||||
<div class="block">
|
||||
<div class="block'.$class.'">
|
||||
<h4 class="caption">'.$caption.'</h4>
|
||||
<div class="block-text">
|
||||
'.$text.'
|
||||
|
Reference in New Issue
Block a user