[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
1 <?php 2 /** 3 * This file implements the UI view for the skin selection when creating a blog. 4 * 5 * This file is part of the b2evolution/evocms project - {@link http://b2evolution.net/}. 6 * See also {@link http://sourceforge.net/projects/evocms/}. 7 * 8 * @copyright (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}. 9 * 10 * @license http://b2evolution.net/about/license.html GNU General Public License (GPL) 11 * 12 * @package admin 13 * 14 * @version $Id: _coll_sel_skin.view.php,v 1.1 2007/06/25 11:01:35 fplanque Exp $ 15 */ 16 if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); 17 18 global $kind; 19 20 echo '<h2>'.sprintf( T_('New %s'), Blog::kind_name($kind) ).':</h2>'; 21 22 echo '<h3>'.T_('Pick a skin:').'</h3>'; 23 24 $SkinCache = & get_Cache( 'SkinCache' ); 25 $SkinCache->load_all(); 26 27 // TODO: this is like touching private parts :> 28 foreach( $SkinCache->cache as $Skin ) 29 { 30 if( $Skin->type != 'normal' ) 31 { // This skin cannot be used here... 32 continue; 33 } 34 35 // Display skinshot: 36 Skin::disp_skinshot( $Skin->folder, 'pick', false, '?ctrl=collections&action=new-name&kind='.$kind.'&skin_ID='.$Skin->ID ); 37 } 38 39 echo '<div class="clear"></div>'; 40 41 /* 42 * $Log: _coll_sel_skin.view.php,v $ 43 * Revision 1.1 2007/06/25 11:01:35 fplanque 44 * MODULES (refactored MVC) 45 * 46 */ 47 48 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |