Nucleus CMS日本語版SVNをgit-svnしたもの。リポジトリの変換作業用
Revision | 9ff8444cbfe9e4d50f73cd909f2579eb1fa762dd (tree) |
---|---|
Zeit | 2011-01-19 17:47:40 |
Autor | sakamocchi <sakamocchi@1ca2...> |
Commiter | sakamocchi |
Replace some of 'isBlogAdmin' to 'blogAdminRights' for giving rights for Super-Admin always.
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1096 1ca29b6e-896d-4ea0-84a5-967f57386b96
@@ -1,7 +1,7 @@ | ||
1 | 1 | <?php |
2 | 2 | /* |
3 | 3 | * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/) |
4 | - * Copyright (C) 2002-2010 The Nucleus Group | |
4 | + * Copyright (C) 2002-2011 The Nucleus Group | |
5 | 5 | * |
6 | 6 | * This program is free software; you can redistribute it and/or |
7 | 7 | * modify it under the terms of the GNU General Public License |
@@ -17,7 +17,7 @@ | ||
17 | 17 | * SKIN::getAllowedActionsForType($type) method |
18 | 18 | * |
19 | 19 | * @license http://nucleuscms.org/license.txt GNU General Public License |
20 | - * @copyright Copyright (C) 2002-2010 The Nucleus Group | |
20 | + * @copyright Copyright (C) 2002-2011 The Nucleus Group | |
21 | 21 | * @version $Id$ |
22 | 22 | * @version $NucleusJP: ACTIONS.php,v 1.8 2007/04/19 06:05:55 kimitake Exp $ |
23 | 23 | */ |
@@ -251,7 +251,7 @@ class ACTIONS extends BaseActions { | ||
251 | 251 | // use current blog |
252 | 252 | $blogid = $blog->getID(); |
253 | 253 | |
254 | - return $member->isBlogAdmin($blogid); | |
254 | + return $member->blogAdminRights($blogid); | |
255 | 255 | } |
256 | 256 | |
257 | 257 | /** |
@@ -427,9 +427,7 @@ class ACTIONS extends BaseActions { | ||
427 | 427 | */ |
428 | 428 | function parse_addlink() { |
429 | 429 | global $CONF, $member, $blog; |
430 | - if ($member->isLoggedIn() && $member->isTeamMember($blog->blogid) ) { | |
431 | 430 | echo $CONF['AdminURL'].'bookmarklet.php?blogid='.$blog->blogid; |
432 | - } | |
433 | 431 | } |
434 | 432 | |
435 | 433 | /** |