2 /***********************************************************************/
4 /***********************************************************************/
5 /* Copyright (c) 2002-2010 */
6 /* Inclusive Design Institute */
9 /* This program is free software. You can redistribute it and/or */
10 /* modify it under the terms of the GNU General Public License */
11 /* as published by the Free Software Foundation. */
12 /***********************************************************************/
14 define('AT_INCLUDE_PATH', '../../../../include/');
15 require (AT_INCLUDE_PATH.'vitals.inc.php');
16 admin_authenticate(AT_ADMIN_PRIV_PHOTO_ALBUM);
20 //printer header iff this is not a POST request
21 //a hack to avoid 'header already sent...' error.
22 if (!isset($_POST['submit']) && !isset($_POST['cancel'])){
23 //$_custom_css = $_base_path . AT_PA_BASENAME . 'module.css'; // use a custom stylesheet
24 require(AT_INCLUDE_PATH.'header.inc.php');
27 require(AT_PA_INCLUDE.'edit_photos.inc.php');
28 require(AT_INCLUDE_PATH.'footer.inc.php');