set_id('photo'); $tabsheet->select($page['tab']); $tabsheet->assign(); $template->assign( array( 'ADMIN_PAGE_TITLE' => l10n('Edit photo').' #'.$_GET['image_id'].'', ) ); // +-----------------------------------------------------------------------+ // | Load the tab | // +-----------------------------------------------------------------------+ if ('properties' == $page['tab']) { include(PHPWG_ROOT_PATH.'admin/picture_modify.php'); } elseif ('coi' == $page['tab']) { include(PHPWG_ROOT_PATH.'admin/picture_coi.php'); } elseif ('formats' == $page['tab'] && $conf['enable_formats']) { include(PHPWG_ROOT_PATH.'admin/picture_formats.php'); } else { include(PHPWG_ROOT_PATH.'admin/photo_'.$page['tab'].'.php'); } ?>