-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavgoco-install.xml
21 lines (20 loc) · 1.18 KB
/
navgoco-install.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Navgoco Menus Simple Portal jQuery Plugin
- Copyright 2014 ~ Underdog @ http://webdevelop.comli.com
- This software package is distributed under the terms of its CC BY 4.0 License: http://creativecommons.org/licenses/by/4.0/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>underdog:navgoco</id>
<name>Navgoco Menus</name>
<version>1.3</version>
<file name="$sourcedir/PortalAdminBlocks.php">
<operation>
<search position="before"><![CDATA[ $context['SPortal']['is_new'] = empty($_REQUEST['block_id']);]]></search>
<add><![CDATA[
// navgoco menu unique input filters
$_POST = (!empty($_POST['block_type'])) && $_POST['block_type'] === 'sp_navgoco' ? navgoco_filter($_POST) : (!empty($_POST) ? $_POST : array());]]></add>
</operation>
</file>
</modification>