Files
Piwigo/admin/people.php
T
Linty 2a1d30d3f1 issue #2560 merge people, selection mode, toasts..
..delete confirmation and dark mode on the People page
2026-10-22 13:02:13 +02:00

47 lines
2.0 KiB
PHP

<?php
// +-----------------------------------------------------------------------+
// | This file is part of Piwigo. |
// | |
// | For copyright and license information, please view the COPYING.txt |
// | file that was distributed with this source code. |
// +-----------------------------------------------------------------------+
if (!defined('PHPWG_ROOT_PATH'))
{
die('Hacking attempt!');
}
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
// +-----------------------------------------------------------------------+
// | Check Access and exit when user status is not ok |
// +-----------------------------------------------------------------------+
check_status(ACCESS_ADMINISTRATOR);
// +-----------------------------------------------------------------------+
// | tabs |
// +-----------------------------------------------------------------------+
$page['tab'] = 'people';
include(PHPWG_ROOT_PATH.'admin/include/people_tab.inc.php');
// +-----------------------------------------------------------------------+
// | template initialization |
// +-----------------------------------------------------------------------+
$template->set_filename('people', 'people.tpl');
$template->assign('ADMIN_PAGE_TITLE', l10n('People'));
// +-----------------------------------------------------------------------+
// | sending html code |
// +-----------------------------------------------------------------------+
$template->assign(array(
'PWG_TOKEN' => get_pwg_token(),
// toaster of the standard pages, reused here
'PWG_TOASTER_TPL' => realpath(PHPWG_ROOT_PATH.'themes/standard_pages/template/toaster.tpl'),
));
$template->assign_var_from_handle('ADMIN_CONTENT', 'people');