blob: dc2c7943b150434f25feef51536d5355c31d115a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
/**
* Elgg categories plugin category saver
*
* @package ElggCategories
*/
$categories = get_input('categories');
$categories = string_to_tag_array($categories);
$site = $CONFIG->site;
$site->categories = $categories;
system_message(elgg_echo("categories:save:success"));
elgg_delete_admin_notice('categories_admin_notice_no_categories');
forward(REFERER);
|