0byt3m1n1
Path:
/
data
/
applications
/
aps
/
b2evolution
/
4.0.5-0
/
standard
/
htdocs
/
inc
/
skins
/
views
/
[
Home
]
File: _coll_sel_skin.view.php
<?php /** * This file implements the UI view for the skin selection when creating a blog. * * This file is part of the b2evolution/evocms project - {@link http://b2evolution.net/}. * See also {@link http://sourceforge.net/projects/evocms/}. * * @copyright (c)2003-2010 by Francois PLANQUE - {@link http://fplanque.net/}. * * @license http://b2evolution.net/about/license.html GNU General Public License (GPL) * * @package admin * * @version $Id: _coll_sel_skin.view.php,v 1.7 2010/02/08 17:54:42 efy-yury Exp $ */ if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); global $kind; echo '<h2>'.sprintf( T_('New %s'), Blog::kind_name($kind) ).':</h2>'; echo '<h3>'.T_('Pick a skin:').'</h3>'; $SkinCache = & get_SkinCache(); $SkinCache->load_all(); // TODO: this is like touching private parts :> foreach( $SkinCache->cache as $Skin ) { if( $Skin->type != 'normal' ) { // This skin cannot be used here... continue; } // Display skinshot: Skin::disp_skinshot( $Skin->folder, $Skin->name, 'pick', false, '?ctrl=collections&action=new-name&kind='.$kind.'&skin_ID='.$Skin->ID ); } echo '<div class="clear"></div>'; /* * $Log: _coll_sel_skin.view.php,v $ */ ?>