add('properties', l10n('Properties'), $admin_photo_base_url.'-properties'); $tabsheet->add('coi', l10n('Center of interest'), $admin_photo_base_url.'-coi'); $tabsheet->select($page['tab']); $tabsheet->assign(); // +-----------------------------------------------------------------------+ // | 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'); } else { include(PHPWG_ROOT_PATH.'admin/photo_'.$page['tab'].'.php'); } ?>