blog_page

Versions
4.6 – 5
blog_page($a = NULL, $b = NULL)

Menu callback; displays a Drupal page containing recent blog entries.

Code

modules/blog.module, line 100

<?php
function blog_page($a = NULL, $b = NULL) {

  if (is_numeric($a)) { // $a is a user ID
    if ($b == 'feed') {
      blog_feed_user($a);
    }
    else {
      blog_page_user($a);
    }
  }
  else if ($a == 'feed') {
    blog_feed_last();
  }
  else {
    blog_page_last();
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.