b2evolution PHP Cross Reference Blogging Systems

Source: /skins/_sitemap.disp.php - 86 lines - 2777 bytes - Text - Print

Description: This is the template that displays the site map (the real one, not the XML thing) for a blog

   1  <?php
   2  /**
   3   * This is the template that displays the site map (the real one, not the XML thing) for a blog
   4   *
   5   * This file is not meant to be called directly.
   6   * It is meant to be called by an include in the main.page.php template.
   7   * To display the archive directory, you should call a stub AND pass the right parameters
   8   * For example: /blogs/index.php?disp=postidx
   9   *
  10   * b2evolution - {@link http://b2evolution.net/}
  11   * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  12   * @copyright (c)2003-2014 by Francois Planque - {@link http://fplanque.com/}
  13   *
  14   * @package evoskins
  15   */
  16  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  17  
  18  // Note: this is a very imperfect sitemap, but it's a start :)
  19  
  20  echo '<h3>'.T_('Common links').'</h3>';
  21  // --------------------------------- START OF COMMON LINKS --------------------------------
  22  skin_widget( array(
  23          // CODE for the widget:
  24          'widget' => 'coll_common_links',
  25          // Optional display params
  26          'block_start' => '',
  27          'block_end' => '',
  28          'block_display_title' => false,
  29          'show_recently' => 1,
  30          'show_postidx' => 0,
  31          'show_archives' => 1,
  32          'show_categories' => 0,
  33          'show_mediaidx' => 1,
  34          'show_latestcomments' => 1,
  35          'show_owneruserinfo' => 1,
  36          'show_ownercontact' => 1,
  37          'show_sitemap' => 0,
  38      ) );
  39  // ---------------------------------- END OF COMMON LINKS ---------------------------------
  40  
  41  
  42  echo '<h3>'.T_('Pages').'</h3>';
  43  // --------------------------------- START OF PAGE LIST --------------------------------
  44  skin_widget( array(
  45          // CODE for the widget:
  46          'widget' => 'coll_page_list',
  47          // Optional display params
  48          'block_start' => '',
  49          'block_end' => '',
  50          'block_display_title' => false,
  51          'order_by' => 'title',
  52          'order_dir' => 'ASC',
  53          'limit' => NULL,
  54      ) );
  55  // ---------------------------------- END OF PAGE LIST ---------------------------------
  56  
  57  
  58  echo '<h3>'.T_('Categories').'</h3>';
  59  // --------------------------------- START OF CATEGORY LIST --------------------------------
  60  skin_widget( array(
  61          // CODE for the widget:
  62          'widget' => 'coll_category_list',
  63          // Optional display params
  64          'block_start' => '',
  65          'block_end' => '',
  66          'block_display_title' => false,
  67      ) );
  68  // ---------------------------------- END OF CATEGORY LIST ---------------------------------
  69  
  70  
  71  echo '<h3>'.T_('Posts').'</h3>';
  72  // --------------------------------- START OF POST LIST --------------------------------
  73  skin_widget( array(
  74          // CODE for the widget:
  75          'widget' => 'coll_post_list',
  76          // Optional display params
  77          'block_start' => '',
  78          'block_end' => '',
  79          'block_display_title' => false,
  80          'order_by' => 'title',
  81          'order_dir' => 'ASC',
  82          'limit' => NULL,
  83      ) );
  84  // ---------------------------------- END OF POST LIST ---------------------------------
  85  
  86  ?>

title

Description

title

Description

title

Description

title

title

Body