1
+ <?php if ( ! defined ('BASEPATH ' )) exit ('No direct script access allowed ' );
2
+ /**
3
+ * $config file for CI3-Navigation-Library and Zurb Foundation.
4
+ * User: danielwaghorn
5
+ * Date: 11/06/15
6
+ * Time: 11:23
7
+ *
8
+ * @var navigation_open:
9
+ * Contains the open tag e.g. <ul class="nav">
10
+ * @var navigation_close:
11
+ * Contains the closing tag e.g. </ul>
12
+ * @var item_open:
13
+ * Contains the open tag for a nav item e.g. <li>
14
+ * @var item_open_active:
15
+ * Contains the open tag for an active item e.g.
16
+ * <li class="active">
17
+ * @var item_close:
18
+ * Contains the close tag for an item e.g. </li>
19
+ * @var anchor:
20
+ * Contains the template for an anchor in an item
21
+ * e.g. <a href="{$url}" {$extra}>{$text}</a>
22
+ * where $url is the link to the item,
23
+ * $extra is any additional attributes e.g. class="main"
24
+ * and $text is the text to be held in the anchor.
25
+ * @var dropdown_open:
26
+ * Contains the open tag for a dropdown e.g. <ul class="dropdown">
27
+ * @var dropdown_close:
28
+ * Contains the close tag for a dropdown e.g. </ul>
29
+ */
30
+
31
+
32
+ $ config ['navigation_open ' ] = '<ul class="right"> ' ;
33
+
34
+ $ config ['navigation_close ' ] = '</ul> ' ;
35
+
36
+ $ config ['item_open ' ] = '<li> ' ;
37
+
38
+ $ config ['item_open_active ' ] = '<li class="active"> ' ;
39
+
40
+ $ config ['item_close ' ] = '</li> ' ;
41
+
42
+ $ config ['anchor ' ] = '<a href="{$url}" {$extra}>{$text}</a> ' ;
43
+
44
+ $ config ['dropdown_open ' ] = '<ul class="has-dropdown"> ' ;
45
+
46
+ $ config ['dropdown_close ' ] = '</ul> ' ;
0 commit comments