Location: PHPKode > projects > Jcow SNS > modules/photos/photos.install.php
<?php
/* ############################################################ *\
 ----------------------------------------------------------------
@package	Jcow Social Networking Script.
@copyright	Copyright (C) 2009 - 2010 jcow.net.  All Rights Reserved.
@license	see http://jcow.net/license
 ----------------------------------------------------------------
\* ############################################################ */

function photos_menu() {
	$items = array();
	$items['photos'] = array(
		'name'=>'Photos',
		'type'=>'community'
	);
	$items['photos/mine'] = array(
		'name'=>'Photos',
		'tab_name'=>'My photos',
		'type'=>'personal'
	);
	$items['photos/following'] = array(
		'name'=>'Following',
		'type'=>'tab',
		'parent'=>'photos/mine'
	);
	$items['photos/friends'] = array(
		'name'=>'Friends',
		'type'=>'tab',
		'parent'=>'photos/mine'
	);
	return $items;
}


?>
Return current item: Jcow SNS