@@ -1,22 +1,22 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * List all categories in the admin section. |
|
4 | - * |
|
5 | - * PHP Version 5.5 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @copyright 2003-2015 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * |
|
17 | - * @link http://www.phpmyfaq.de |
|
18 | - * @since 2003-12-20 |
|
19 | - */ |
|
3 | + * List all categories in the admin section. |
|
4 | + * |
|
5 | + * PHP Version 5.5 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @copyright 2003-2015 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * |
|
17 | + * @link http://www.phpmyfaq.de |
|
18 | + * @since 2003-12-20 |
|
19 | + */ |
|
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -321,19 +321,19 @@ discard block |
||
321 | 321 | |
322 | 322 | if ($cat['lang'] == $lang) { |
323 | 323 | // add sub category (if current language) |
324 | - printf(' |
|
324 | + printf(' |
|
325 | 325 | <a class="btn btn-info btn-sm" href="?action=addcategory&cat=%s&lang=%s"><span title="%s" class="fa fa-plus fa-fw"></span></a> ', |
326 | - $cat['id'], |
|
327 | - $cat['lang'], |
|
328 | - $PMF_LANG['ad_quick_category'] |
|
329 | - ); |
|
326 | + $cat['id'], |
|
327 | + $cat['lang'], |
|
328 | + $PMF_LANG['ad_quick_category'] |
|
329 | + ); |
|
330 | 330 | |
331 | - // rename (sub) category (if current language) |
|
332 | - printf(' |
|
331 | + // rename (sub) category (if current language) |
|
332 | + printf(' |
|
333 | 333 | <a class="btn btn-info btn-sm" href="?action=editcategory&cat=%s"><span title="%s" class="fa fa-edit fa-fw"></a> ', |
334 | - $cat['id'], |
|
335 | - $PMF_LANG['ad_kateg_rename'] |
|
336 | - ); |
|
334 | + $cat['id'], |
|
335 | + $PMF_LANG['ad_kateg_rename'] |
|
336 | + ); |
|
337 | 337 | } |
338 | 338 | |
339 | 339 | // translate category (always) |
@@ -357,20 +357,20 @@ discard block |
||
357 | 357 | |
358 | 358 | if ($cat['lang'] == $lang) { |
359 | 359 | // cut category (if current language) |
360 | - printf( |
|
361 | - '<a class="btn btn-warning btn-sm" href="?action=cutcategory&cat=%s"><span title="%s" class="fa fa-cut fa-fw"></a> ', |
|
362 | - $cat['id'], |
|
363 | - $PMF_LANG['ad_categ_cut'] |
|
364 | - ); |
|
360 | + printf( |
|
361 | + '<a class="btn btn-warning btn-sm" href="?action=cutcategory&cat=%s"><span title="%s" class="fa fa-cut fa-fw"></a> ', |
|
362 | + $cat['id'], |
|
363 | + $PMF_LANG['ad_categ_cut'] |
|
364 | + ); |
|
365 | 365 | |
366 | 366 | if ($category->numParent($cat['parent_id']) > 1) { |
367 | 367 | // move category (if current language) AND more than 1 category at the same level) |
368 | - printf( |
|
369 | - '<a class="btn btn-warning btn-sm" href="?action=movecategory&cat=%s&parent_id=%s"><span title="%s" class="fa fa-sort fa-fw"></a> ', |
|
370 | - $cat['id'], |
|
371 | - $cat['parent_id'], |
|
372 | - $PMF_LANG['ad_categ_move'] |
|
373 | - ); |
|
368 | + printf( |
|
369 | + '<a class="btn btn-warning btn-sm" href="?action=movecategory&cat=%s&parent_id=%s"><span title="%s" class="fa fa-sort fa-fw"></a> ', |
|
370 | + $cat['id'], |
|
371 | + $cat['parent_id'], |
|
372 | + $PMF_LANG['ad_categ_move'] |
|
373 | + ); |
|
374 | 374 | } |
375 | 375 | } |
376 | 376 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | <i class="fa fa-plus fa-fw"></i> <?php echo $PMF_LANG['ad_kateg_add']; ?> |
37 | 37 | </a> |
38 | 38 | <a class="btn btn-info" href="?action=showcategory"> |
39 | - <i class="fa fa-th fa-fw"></i> <?php echo $PMF_LANG['ad_categ_show'];?> |
|
39 | + <i class="fa fa-th fa-fw"></i> <?php echo $PMF_LANG['ad_categ_show']; ?> |
|
40 | 40 | </a> |
41 | 41 | </div> |
42 | 42 | </h2> |
@@ -1,22 +1,22 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Select a category to move. |
|
4 | - * |
|
5 | - * PHP Version 5.5 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @copyright 2004-2015 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * |
|
17 | - * @link http://www.phpmyfaq.de |
|
18 | - * @since 2004-04-29 |
|
19 | - */ |
|
3 | + * Select a category to move. |
|
4 | + * |
|
5 | + * PHP Version 5.5 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @copyright 2004-2015 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * |
|
17 | + * @link http://www.phpmyfaq.de |
|
18 | + * @since 2004-04-29 |
|
19 | + */ |
|
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -1,23 +1,23 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * build table of all categories in all languages. |
|
4 | - * |
|
5 | - * PHP Version 5.5 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @author Rudi Ferrari <[email protected]> |
|
15 | - * @copyright 2006-2015 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * |
|
18 | - * @link http://www.phpmyfaq.de |
|
19 | - * @since 2006-09-18 |
|
20 | - */ |
|
3 | + * build table of all categories in all languages. |
|
4 | + * |
|
5 | + * PHP Version 5.5 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @author Rudi Ferrari <[email protected]> |
|
15 | + * @copyright 2006-2015 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * |
|
18 | + * @link http://www.phpmyfaq.de |
|
19 | + * @since 2006-09-18 |
|
20 | + */ |
|
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | $protocol = 'http'; |
23 | 23 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -99,14 +99,14 @@ discard block |
||
99 | 99 | print '<td>'; |
100 | 100 | if ($cat['lang'] != $LANGCODE) { |
101 | 101 | // translate category |
102 | - printf( |
|
103 | - '<a href="%s?action=translatecategory&cat=%s&trlang=%s" title="%s"><span title="%s" class="fa fa-share"></span></a></a>', |
|
104 | - $currentLink, |
|
105 | - $cat['id'], |
|
106 | - $LANGCODE, |
|
107 | - $PMF_LANG['ad_categ_translate'], |
|
108 | - $PMF_LANG['ad_categ_translate'] |
|
109 | - ); |
|
102 | + printf( |
|
103 | + '<a href="%s?action=translatecategory&cat=%s&trlang=%s" title="%s"><span title="%s" class="fa fa-share"></span></a></a>', |
|
104 | + $currentLink, |
|
105 | + $cat['id'], |
|
106 | + $LANGCODE, |
|
107 | + $PMF_LANG['ad_categ_translate'], |
|
108 | + $PMF_LANG['ad_categ_translate'] |
|
109 | + ); |
|
110 | 110 | } |
111 | 111 | printf(' %s<strong>%s</strong>', |
112 | 112 | $indent, |
@@ -51,7 +51,7 @@ |
||
51 | 51 | 'parent_id' => $parent_id, |
52 | 52 | 'name' => PMF_Filter::filterInput(INPUT_POST, 'name', FILTER_SANITIZE_STRING), |
53 | 53 | 'description' => PMF_Filter::filterInput(INPUT_POST, 'description', FILTER_SANITIZE_STRING), |
54 | - 'user_id' => PMF_Filter::filterInput(INPUT_POST, 'user_id', FILTER_VALIDATE_INT), ); |
|
54 | + 'user_id' => PMF_Filter::filterInput(INPUT_POST, 'user_id', FILTER_VALIDATE_INT),); |
|
55 | 55 | |
56 | 56 | // translate.category only returns non-existent languages to translate too |
57 | 57 | if ($category->addCategory($category_data, $parent_id, $category_data['id'])) { |
@@ -68,9 +68,11 @@ |
||
68 | 68 | <?php if ($faqConfig->get('security.permLevel') !== 'basic'): ?> |
69 | 69 | <input type="hidden" name="restricted_groups" value="<?php print $group_permission[0]; |
70 | 70 | ?>" /> |
71 | - <?php else: ?> |
|
71 | + <?php else { |
|
72 | + : ?> |
|
72 | 73 | <input type="hidden" name="restricted_groups" value="-1" /> |
73 | 74 | <?php endif; |
75 | +} |
|
74 | 76 | ?> |
75 | 77 | <input type="hidden" name="restricted_users" value="<?php print $user_permission[0]; |
76 | 78 | ?>" /> |
@@ -1,23 +1,23 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Translates a category. |
|
4 | - * |
|
5 | - * PHP Version 5.5 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @author Rudi Ferrari <[email protected]> |
|
15 | - * @copyright 2006-2015 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * |
|
18 | - * @link http://www.phpmyfaq.de |
|
19 | - * @since 2006-09-10 |
|
20 | - */ |
|
3 | + * Translates a category. |
|
4 | + * |
|
5 | + * PHP Version 5.5 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @author Rudi Ferrari <[email protected]> |
|
15 | + * @copyright 2006-2015 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * |
|
18 | + * @link http://www.phpmyfaq.de |
|
19 | + * @since 2006-09-10 |
|
20 | + */ |
|
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | $protocol = 'http'; |
23 | 23 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -1,23 +1,23 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The main configuration frontend. |
|
4 | - * |
|
5 | - * PHP Version 5.5 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @author Matteo Scaramuccia <[email protected]> |
|
15 | - * @copyright 2005-2015 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * |
|
18 | - * @link http://www.phpmyfaq.de |
|
19 | - * @since 2005-12-26 |
|
20 | - */ |
|
3 | + * The main configuration frontend. |
|
4 | + * |
|
5 | + * PHP Version 5.5 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @author Matteo Scaramuccia <[email protected]> |
|
15 | + * @copyright 2005-2015 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * |
|
18 | + * @link http://www.phpmyfaq.de |
|
19 | + * @since 2005-12-26 |
|
20 | + */ |
|
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | $protocol = 'http'; |
23 | 23 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -190,7 +190,7 @@ |
||
190 | 190 | $getJson = PMF_Filter::filterInput(INPUT_POST, 'getJson', FILTER_SANITIZE_STRING); |
191 | 191 | if (!is_null($getJson) && 'verify' === $getJson) { |
192 | 192 | set_error_handler( |
193 | - function ($severity, $message, $file, $line) { |
|
193 | + function($severity, $message, $file, $line) { |
|
194 | 194 | throw new ErrorException($message, $severity, $severity, $file, $line); |
195 | 195 | } |
196 | 196 | ); |
@@ -38,8 +38,11 @@ |
||
38 | 38 | <a href="?action=config"> |
39 | 39 | <?php if ($faqConfig->get('main.maintenanceMode')): ?> |
40 | 40 | <span class="label label-important"><?php print $PMF_LANG['msgMaintenanceMode']; ?></span> |
41 | - <?php else: ?> |
|
42 | - <span class="label label-success"><?php print $PMF_LANG['msgOnlineMode']; ?></span> |
|
41 | + <?php else { |
|
42 | + : ?> |
|
43 | + <span class="label label-success"><?php print $PMF_LANG['msgOnlineMode']; |
|
44 | +} |
|
45 | +?></span> |
|
43 | 46 | <?php endif; ?> |
44 | 47 | </a> |
45 | 48 | </div> |
@@ -1,23 +1,23 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * XML, XHTML and PDF export - main page. |
|
4 | - * |
|
5 | - * PHP Version 5.5 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @author Matteo Scaramuccia <[email protected]> |
|
15 | - * @copyright 2003-2015 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * |
|
18 | - * @link http://www.phpmyfaq.de |
|
19 | - * @since 2003-04-17 |
|
20 | - */ |
|
3 | + * XML, XHTML and PDF export - main page. |
|
4 | + * |
|
5 | + * PHP Version 5.5 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @author Matteo Scaramuccia <[email protected]> |
|
15 | + * @copyright 2003-2015 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * |
|
18 | + * @link http://www.phpmyfaq.de |
|
19 | + * @since 2003-04-17 |
|
20 | + */ |
|
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | $protocol = 'http'; |
23 | 23 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -1,23 +1,23 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Footer of the admin area. |
|
4 | - * |
|
5 | - * PHP Version 5.5 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @author Matteo Scaramuccia <[email protected]> |
|
15 | - * @copyright 2003-2015 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * |
|
18 | - * @link http://www.phpmyfaq.de |
|
19 | - * @since 2003-02-26 |
|
20 | - */ |
|
3 | + * Footer of the admin area. |
|
4 | + * |
|
5 | + * PHP Version 5.5 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @author Matteo Scaramuccia <[email protected]> |
|
15 | + * @copyright 2003-2015 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * |
|
18 | + * @link http://www.phpmyfaq.de |
|
19 | + * @since 2003-02-26 |
|
20 | + */ |
|
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | $protocol = 'http'; |
23 | 23 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | <iframe id="keepPMFSessionAlive" src="session.keepalive.php?lang=<?php echo $LANGCODE; |
61 | 61 | ?>" width="0" height="0"></iframe> |
62 | 62 | <?php |
63 | - if (isset($auth) && (('takequestion' == $action) || ('editentry' == $action) || ('editpreview' == $action) || |
|
63 | + if (isset($auth) && (('takequestion' == $action) || ('editentry' == $action) || ('editpreview' == $action) || |
|
64 | 64 | ('addnews' == $action) || ('editnews' == $action) || ('copyentry' == $action))) { |
65 | 65 | if ($faqConfig->get('main.enableWysiwygEditor') == true) { |
66 | 66 | ?> |
@@ -165,9 +165,11 @@ |
||
165 | 165 | // Submit the form by an ajax request |
166 | 166 | <?php if (isset($faqData['id']) && $faqData['id'] == 0): ?> |
167 | 167 | var data = {action: "ajax", ajax: 'recordAdd'}; |
168 | - <?php else: ?> |
|
168 | + <?php else { |
|
169 | + : ?> |
|
169 | 170 | var data = {action: "ajax", ajax: 'recordSave'}; |
170 | 171 | <?php endif; |
172 | +} |
|
171 | 173 | ?> |
172 | 174 | var id = $('#answer')[0].parentNode.parentNode.id; |
173 | 175 | $.each($('#' + id).serialize[], function(i, field) { |
@@ -1,22 +1,22 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Displays a form to add a glossary item. |
|
4 | - * |
|
5 | - * PHP Version 5.5 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @copyright 2005-2015 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * |
|
17 | - * @link http://www.phpmyfaq.de |
|
18 | - * @since 2005-09-15 |
|
19 | - */ |
|
3 | + * Displays a form to add a glossary item. |
|
4 | + * |
|
5 | + * PHP Version 5.5 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @copyright 2005-2015 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * |
|
17 | + * @link http://www.phpmyfaq.de |
|
18 | + * @since 2005-09-15 |
|
19 | + */ |
|
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |