public function parse_skintypehelp()
{
$nowSkinType = strtolower(trim(requestVar('type')));
-
- /* TODO: use Skin class */
- $regularType = array(
- 'index',
- 'item',
- 'archivelist',
- 'archive',
- 'search',
- 'error',
- 'member',
- 'imagepopup'
- );
+ $pageAction = strtolower(trim(requestVar('action')));
+ if ( preg_match('/^admin.*/', $pageAction) )
+ {
+ $regularType = self::$default_skin_types;
+ unset($regularType['memberedit']);
+ unset($regularType['login']);
+ $regularType = array_keys($regularType);
+ }
+ else
+ {
+ /* TODO: use Skin class */
+ $regularType = array(
+ 'index',
+ 'item',
+ 'archivelist',
+ 'archive',
+ 'search',
+ 'error',
+ 'member',
+ 'imagepopup'
+ );
+ }
if ( in_array($nowSkinType, $regularType) )
{