b2evolution PHP Cross Reference Blogging Systems

Source: /inc/collections/views/_coll_sel_type.view.php - 46 lines - 1662 bytes - Text - Print

Description: This file implements the UI view for the General blog properties.

   1  <?php
   2  /**
   3   * This file implements the UI view for the General blog properties.
   4   *
   5   * b2evolution - {@link http://b2evolution.net/}
   6   * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
   7   * @copyright (c)2003-2014 by Francois Planque - {@link http://fplanque.com/}
   8   *
   9   * {@internal Open Source relicensing agreement:
  10   * }}
  11   *
  12   * @package admin
  13   * {@internal Below is a list of authors who have contributed to design/coding of this file: }}
  14   * @author fplanque: Francois PLANQUE.
  15   *
  16   * @version $Id: _coll_sel_type.view.php 6136 2014-03-08 07:59:48Z manuel $
  17   */
  18  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  19  
  20  echo '<h2>'.T_('What kind of blog would you like to create?').get_manual_link('collection-type').'</h2>';
  21  
  22  echo '<table class="coll_kind">';
  23  
  24  if( $blog_kinds = get_collection_kinds() )
  25  {
  26      foreach( $blog_kinds as $kind => $info )
  27      {
  28          echo '<tr>';
  29              echo '<td class="coll_kind"><h3><a href="?ctrl=collections&amp;action=new-selskin&amp;kind='.$kind.'">'.$info['name'].' &raquo;</a></h3></td>';
  30              echo '<td>'.$info['desc'].'<td>';
  31          echo '</tr>';
  32      }
  33  }
  34  else
  35  {
  36      echo '<tr>';
  37          echo '<td class="coll_kind"><h3><a href="?ctrl=collections&amp;action=new-selskin&amp;kind=std">'.T_('Standard').' &raquo;</a></h3></td>';
  38          echo '<td>'.T_('A standard blog with the most common features.').'<td>';
  39      echo '</tr>';
  40  }
  41  
  42  echo '</table>';
  43  
  44  echo '<p>'.T_('Your selection here will pre-configure your blog in order to optimize it for a particular use. Nothing is final though. You can change all the settings at any time and any kind of blog can be transformed into any other at any time.').'</p>';
  45  
  46  ?>

title

Description

title

Description

title

Description

title

title

Body