diff --git a/modules/admin/admin.admin.view.php b/modules/admin/admin.admin.view.php index 4817c90b3..fc50da38a 100644 --- a/modules/admin/admin.admin.view.php +++ b/modules/admin/admin.admin.view.php @@ -348,11 +348,26 @@ class adminAdminView extends admin } } + $site_module_info = Context::get('site_module_info'); + $oAddonAdminModel = getAdminModel('addon'); + $counterAddonActivated = $oAddonAdminModel->isActivatedAddon('counter', $site_module_info->site_srl ); + if(!$counterAddonActivated) + { + $columnList = array('member_srl', 'nick_name', 'user_name', 'user_id', 'email_address'); + $args = new stdClass; + $args->page = 1; + $args->list_count = 5; + $output = executeQuery('member.getMemberList', $args, $columnList); + Context::set('latestMemberList', $output->data); + unset($args, $output, $columnList); + } + Context::set('module_list', $module_list); Context::set('needUpdate', $isUpdated); Context::set('addTables', $addTables); Context::set('needUpdate', $needUpdate); Context::set('newVersionList', $needUpdateList); + Context::set('counterAddonActivated', $counterAddonActivated); $oSecurity = new Security(); $oSecurity->encodeHTML('module_list..', 'module_list..author..', 'newVersionList..'); diff --git a/modules/admin/tpl/_dashboard_counter.html b/modules/admin/tpl/_dashboard_counter.html new file mode 100644 index 000000000..66d7f2002 --- /dev/null +++ b/modules/admin/tpl/_dashboard_counter.html @@ -0,0 +1,169 @@ +
+
+

{$lang->uv}

+
+ +
+
+

{$lang->pv}

+
+ +
+ +
+ +
+
+

{$lang->latest_documents}

+ +

{$lang->more}

+
+
+

{$lang->latest_comments}

+ +

{$lang->more}

+
+
+ + diff --git a/modules/admin/tpl/_dashboard_default.html b/modules/admin/tpl/_dashboard_default.html new file mode 100644 index 000000000..1028cc468 --- /dev/null +++ b/modules/admin/tpl/_dashboard_default.html @@ -0,0 +1,66 @@ +
+
+

{$lang->member}

+ + +
+
+ +
+
+

{$lang->latest_documents}

+ + +
+
+

{$lang->latest_comments}

+ +

{$lang->more}

+
+
+ diff --git a/modules/admin/tpl/css/admin.css b/modules/admin/tpl/css/admin.css index 03ca63172..026d24cd9 100644 --- a/modules/admin/tpl/css/admin.css +++ b/modules/admin/tpl/css/admin.css @@ -1421,6 +1421,9 @@ body>.x, .x .dashboard>div>.status dl a { color: #767676; } +.x .dashboard>div>.member>h2:before { + background-position: -168px 0px; +} .x .dashboard>div>.document>h2:before { background-position: -264px -48px; } @@ -1439,6 +1442,32 @@ body>.x, .x .dashboard>div>section>.more i { font: 12px Tahoma, Geneva, sans-serif; } +.x .dashboard>div>section>.more dl { + color: #767676; + display: inline-block; + *display: inline; + zoom: 1; + margin: 0 8px 0 0; + padding: 1px 8px 0; + font: 11px/1 돋움, Dotum, Arial, Helvetica, sans-serif; + background: #fff; + box-shadow: 0 0 3px #999 inset; + border-radius: 3px; + min-width: 60px; + text-align: center; +} +.x .dashboard>div>section>.more dt { + display: inline; + font-weight: normal; +} +.x .dashboard>div>section>.more dd { + display: inline; + margin: 0; +} +.x .dashboard>div>section>.more dl a { + color: #767676; +} + .x .dashboard>div>section ul { list-style: none; margin: 10px; diff --git a/modules/admin/tpl/index.html b/modules/admin/tpl/index.html index c36e15882..787967079 100644 --- a/modules/admin/tpl/index.html +++ b/modules/admin/tpl/index.html @@ -48,173 +48,13 @@
-
-
-

{$lang->uv}

-
- -
-
-

{$lang->pv}

-
- -
- -
-
-
-

{$lang->latest_documents}

- -

{$lang->more}

-
-
-

{$lang->latest_comments}

- -

{$lang->more}

-
-
+ + + + + +
-