diff --git a/adm/admin.head.php b/adm/admin.head.php index dddb2bac7..9c35b557c 100644 --- a/adm/admin.head.php +++ b/adm/admin.head.php @@ -3,6 +3,20 @@ if (!defined('_GNUBOARD_')) exit; $begin_time = get_microtime(); +$files = glob(G5_ADMIN_PATH.'/css/admin_extend_*'); +if (is_array($files)) { + foreach ((array) $files as $k=>$css_file) { + + $fileinfo = pathinfo($css_file); + $ext = $fileinfo['extension']; + + if( $ext !== 'css' ) continue; + + $css_file = str_replace(G5_ADMIN_PATH, G5_ADMIN_URL, $css_file); + add_stylesheet('', $k); + } +} + include_once(G5_PATH.'/head.sub.php'); function print_menu1($key, $no='') @@ -124,7 +138,7 @@ function imageview(id, w, h) $button_title = $menu['menu'.$key][0][1]; ?>
  • - +

    diff --git a/adm/css/admin.css b/adm/css/admin.css index a2071f79f..c030ac5df 100644 --- a/adm/css/admin.css +++ b/adm/css/admin.css @@ -58,18 +58,18 @@ h2{font-size: 1.083em;font-weight: bold;margin:10px 0} #gnb .gnb_ul{position:relative;height:100%;background:#ebebeb;width:50px} #gnb .gnb_li{border-bottom:1px solid #ddd } #gnb .gnb_li button{background-color: #ebebeb;border:0;width:50px;height:50px;text-indent:-999px;overflow:hidden;} -#gnb .gnb_li .menu-1{background:url(../img/menu-1-1.png) 50% 50% no-repeat #ebebeb } -#gnb .on .menu-1{background:url(../img/menu-1.png) 50% 50% no-repeat #fff} -#gnb .gnb_li .menu-2{background:url(../img/menu-2-1.png) 50% 50% no-repeat #ebebeb } -#gnb .on .menu-2{background:url(../img/menu-2.png) 50% 50% no-repeat #fff} -#gnb .gnb_li .menu-3{background:url(../img/menu-3-1.png) 50% 50% no-repeat #ebebeb } -#gnb .on .menu-3{background:url(../img/menu-3.png) 50% 50% no-repeat #fff} -#gnb .gnb_li .menu-4{background:url(../img/menu-7-1.png) 50% 50% no-repeat #ebebeb } -#gnb .on .menu-4{background:url(../img/menu-7.png) 50% 50% no-repeat #fff} -#gnb .gnb_li .menu-5{background:url(../img/menu-6-1.png) 50% 50% no-repeat #ebebeb } -#gnb .on .menu-5{background:url(../img/menu-6.png) 50% 50% no-repeat #fff} -#gnb .gnb_li .menu-6{background:url(../img/menu-4-1.png) 50% 50% no-repeat #ebebeb } -#gnb .on .menu-6{background:url(../img/menu-4.png) 50% 50% no-repeat #fff} +#gnb .gnb_li .menu-100{background:url(../img/menu-1-1.png) 50% 50% no-repeat #ebebeb } +#gnb .on .menu-100{background:url(../img/menu-1.png) 50% 50% no-repeat #fff} +#gnb .gnb_li .menu-200{background:url(../img/menu-2-1.png) 50% 50% no-repeat #ebebeb } +#gnb .on .menu-200{background:url(../img/menu-2.png) 50% 50% no-repeat #fff} +#gnb .gnb_li .menu-300{background:url(../img/menu-3-1.png) 50% 50% no-repeat #ebebeb } +#gnb .on .menu-300{background:url(../img/menu-3.png) 50% 50% no-repeat #fff} +#gnb .gnb_li .menu-400{background:url(../img/menu-7-1.png) 50% 50% no-repeat #ebebeb } +#gnb .on .menu-400{background:url(../img/menu-7.png) 50% 50% no-repeat #fff} +#gnb .gnb_li .menu-500{background:url(../img/menu-6-1.png) 50% 50% no-repeat #ebebeb } +#gnb .on .menu-500{background:url(../img/menu-6.png) 50% 50% no-repeat #fff} +#gnb .gnb_li .menu-900{background:url(../img/menu-4-1.png) 50% 50% no-repeat #ebebeb } +#gnb .on .menu-900{background:url(../img/menu-4.png) 50% 50% no-repeat #fff} #gnb .gnb_li button:hover{background-color:#f3f3f3} #gnb .gnb_oparea{display:none;position:absolute;top:0;left:50px;background:#fff;height:100%;width:170px;padding:20px;border-right:1px solid #dbdbdb; -webkit-box-shadow: 2px 0 2px rgba(150,150,150,100.1);