-
Notifications
You must be signed in to change notification settings - Fork 4
/
modify_tag.php
38 lines (31 loc) · 934 Bytes
/
modify_tag.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
*
* @category modules
* @package news_img
* @author WBCE Community
* @copyright 2004-2009, Ryan Djurovich
* @copyright 2009-2010, Website Baker Org. e.V.
* @copyright 2019-, WBCE Community
* @link https://www.wbce.org/
* @license http://www.gnu.org/licenses/gpl.html
* @platform WBCE
*
*/
require_once __DIR__.'/functions.inc.php';
// Include WB admin wrapper script
require(WB_PATH.'/modules/admin.php');
$tag_id = $admin->checkIDKEY('tag_id', 0, 'GET');
if (!$tag_id){
$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']
.' (IDKEY) '.__FILE__.':'.__LINE__,
ADMIN_URL.'/pages/index.php');
$admin->print_footer();
exit();
}
$FTAN = $admin->getFTAN();
// Get header and footer
$tag = mod_nwi_get_tag($tag_id);
include __DIR__.'/templates/default/modify_tag.phtml';
// Print admin footer
$admin->print_footer();