<?php
/***********************************************************************/
/* ATutor															   */
/***********************************************************************/
/* Copyright (c) 2002-2010                                             */
/* Inclusive Design Institute	                                       */
/* http://atutor.ca													   */
/*																	   */
/* This program is free software. You can redistribute it and/or	   */
/* modify it under the terms of the GNU General Public License		   */
/* as published by the Free Software Foundation.					   */
/***********************************************************************/
// $Id: constants.inc.php 10055 2010-06-29 20:30:24Z cindy $

//Photo Album base variables
define('AT_PA_BASENAME',	'mods/_standard/photos/');
define('AT_PA_BASE',		AT_INCLUDE_PATH.'../mods/_standard/photos/');
define('AT_PA_INCLUDE',		AT_PA_BASE.'include/');
define('AT_PA_CONTENT_DIR',	AT_CONTENT_DIR.'photos/');
define('AT_PA_PHOTOS_PER_PAGE',			28);	//max # of photos to display
define('AT_PA_ALBUMS_PER_PAGE',			5);		//max # of albums to display on index.php
define('AT_PA_ADMIN_ALBUMS_PER_PAGE',	50);	//max # of albums to display on index.php
define('AT_PA_PAGE_WINDOW',				2);		//max # of photos to display

//Image sizes
define('AT_PA_IMAGE',		604);		//default maximum width/height for images
define('AT_PA_IMAGE_THUMB',	130);		//default maximum width/height for thumbnails

//Album types
define('AT_PA_TYPE_ALL_ALBUM',			-1);//all albums
define('AT_PA_TYPE_MY_ALBUM',			1);	//my album
define('AT_PA_TYPE_COURSE_ALBUM',		2);	//course album
define('AT_PA_TYPE_PERSONAL',			3); //personal album
define('AT_PA_TYPE_GROUP_ALBUM',		4);	//group album
define('AT_PA_TYPE_SOCIAL_GROUP_ALBUM',	5);	//social group album

//Album permissions
define('AT_PA_PRIVATE_ALBUM',			0);	//private album, default
define('AT_PA_SHARED_ALBUM',			1);	//shared album

//Search 
define('AT_PA_PHOTO_SEARCH_PER_PAGE',	20); //display this many photos on search result
define('AT_PA_PHOTO_SEARCH_LIMIT',		250); //search results are limited to this number
define('AT_PA_ALBUM_PIC_WIDTH',			147); //album pic width
define('AT_PA_PHOTO_PIC_WIDTH',			146); //photo pic width
define('AT_PA_SEARCH_MIN_ALBUM',		4); //numbers of album to show without having to show the next/prev keys

?>
