Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
兼容0.8, 0.9, 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chekun committed Nov 28, 2014
1 parent 8df166d commit bf870e2
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 51 deletions.
4 changes: 2 additions & 2 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function activate()
}

//创建菜单和路由
Helper::addPanel(3, 'AppStore/market.php', '应用商店', '应用商店', 'administrator');
Helper::addPanel(1, 'AppStore/market.php', '应用商店', '应用商店', 'administrator');
Helper::addRoute('app.store.market', __TYPECHO_ADMIN_DIR__.'app-store/market', 'AppStore_Action', 'market');
Helper::addRoute('app.store.install', __TYPECHO_ADMIN_DIR__.'app-store/install', 'AppStore_Action', 'install');
}
Expand All @@ -59,7 +59,7 @@ public static function deactivate()
}

//移除菜单和路由
Helper::removePanel(3, 'AppStore/market.php');
Helper::removePanel(1, 'AppStore/market.php');
Helper::removeRoute('app.store.market');
Helper::removeRoute('app.store.install');

Expand Down
11 changes: 11 additions & 0 deletions static/css/pure.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bf870e2

Please sign in to comment.