@@ -1,25 +1,25 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The main admin backend index file |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
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 | - * @package Administraion |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @author Bastian Poettner <[email protected]> |
|
15 | - * @author Meikel Katzengreis <[email protected]> |
|
16 | - * @author Minoru TODA <[email protected]> |
|
17 | - * @author Matteo Scaramuccia <[email protected]> |
|
18 | - * @copyright 2002-2016 phpMyFAQ Team |
|
19 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
20 | - * @link http://www.phpmyfaq.de |
|
21 | - * @since 2002-09-16 |
|
22 | - */ |
|
3 | + * The main admin backend index file |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
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 | + * @package Administraion |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @author Bastian Poettner <[email protected]> |
|
15 | + * @author Meikel Katzengreis <[email protected]> |
|
16 | + * @author Minoru TODA <[email protected]> |
|
17 | + * @author Matteo Scaramuccia <[email protected]> |
|
18 | + * @copyright 2002-2016 phpMyFAQ Team |
|
19 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
20 | + * @link http://www.phpmyfaq.de |
|
21 | + * @since 2002-09-16 |
|
22 | + */ |
|
23 | 23 | |
24 | 24 | define('PMF_ROOT_DIR', dirname(__DIR__)); |
25 | 25 |
@@ -1,22 +1,22 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * AJAX: lists the complete configuration items as text/html |
|
4 | - * |
|
5 | - * PHP 5.2 |
|
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 | - * @package Administration |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @author Thomas Zeithaml <[email protected]> |
|
15 | - * @copyright 2005-2016 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * @link http://www.phpmyfaq.de |
|
18 | - * @since 2005-12-26 |
|
19 | - */ |
|
3 | + * AJAX: lists the complete configuration items as text/html |
|
4 | + * |
|
5 | + * PHP 5.2 |
|
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 | + * @package Administration |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @author Thomas Zeithaml <[email protected]> |
|
15 | + * @copyright 2005-2016 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * @link http://www.phpmyfaq.de |
|
18 | + * @since 2005-12-26 |
|
19 | + */ |
|
20 | 20 | |
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | $protocol = 'http'; |
@@ -98,8 +98,8 @@ discard block |
||
98 | 98 | echo PMF_Language::languageOptions( |
99 | 99 | str_replace( |
100 | 100 | array( |
101 | - 'language_', |
|
102 | - '.php' |
|
101 | + 'language_', |
|
102 | + '.php' |
|
103 | 103 | ), |
104 | 104 | '', |
105 | 105 | $faqConfig->get('main.language') |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | } else { |
111 | 111 | echo '<option value="language_en.php">English</option>'; |
112 | 112 | } |
113 | - break; |
|
113 | + break; |
|
114 | 114 | |
115 | 115 | case 'records.orderby': |
116 | 116 | echo PMF_Configuration::sortingOptions($faqConfig->get($key)); |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | ? ' selected="selected"' |
148 | 148 | : ''; |
149 | 149 | printf('<option value="%d"%s>%s</option>', |
150 | - $i, $selected, $item); |
|
150 | + $i, $selected, $item); |
|
151 | 151 | } |
152 | 152 | break; |
153 | 153 |
@@ -1,22 +1,22 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Adds a new (sub-)category, a new sub-category inherits the permissions from |
|
4 | - * its parent category. |
|
5 | - * |
|
6 | - * PHP Version 5.3 |
|
7 | - * |
|
8 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
9 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
10 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
11 | - * |
|
12 | - * @category phpMyFAQ |
|
13 | - * @package Administration |
|
14 | - * @author Thorsten Rinne <[email protected]> |
|
15 | - * @copyright 2003-2016 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * @link http://www.phpmyfaq.de |
|
18 | - * @since 2003-12-20 |
|
19 | - */ |
|
3 | + * Adds a new (sub-)category, a new sub-category inherits the permissions from |
|
4 | + * its parent category. |
|
5 | + * |
|
6 | + * PHP Version 5.3 |
|
7 | + * |
|
8 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
9 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
10 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
11 | + * |
|
12 | + * @category phpMyFAQ |
|
13 | + * @package Administration |
|
14 | + * @author Thorsten Rinne <[email protected]> |
|
15 | + * @copyright 2003-2016 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * @link http://www.phpmyfaq.de |
|
18 | + * @since 2003-12-20 |
|
19 | + */ |
|
20 | 20 | |
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | $protocol = 'http'; |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Sessionbrowser |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
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 | - * @package Administration |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @copyright 2003-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2003-02-24 |
|
18 | - */ |
|
3 | + * Sessionbrowser |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
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 | + * @package Administration |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @copyright 2003-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2003-02-24 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Shows the admin search frontend for FAQs |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
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 | - * @package Administration |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @copyright 2011-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2011-09-29 |
|
18 | - */ |
|
3 | + * Shows the admin search frontend for FAQs |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
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 | + * @package Administration |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @copyright 2011-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2011-09-29 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
@@ -1,21 +1,21 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Autosave handler. |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
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 | - * @package Administration |
|
13 | - * @author Anatoliy Belsky <[email protected]> |
|
14 | - * @copyright 2003-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2012-07-07 |
|
18 | - */ |
|
3 | + * Autosave handler. |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
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 | + * @package Administration |
|
13 | + * @author Anatoliy Belsky <[email protected]> |
|
14 | + * @copyright 2003-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2012-07-07 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | $dateEnd = PMF_Filter::filterInput(INPUT_POST, 'dateEnd', FILTER_SANITIZE_STRING); |
41 | 41 | $question = PMF_Filter::filterInput(INPUT_POST, 'question', FILTER_SANITIZE_STRING); |
42 | 42 | $categories = PMF_Filter::filterInputArray(INPUT_POST, array('rubrik' => array('filter' => FILTER_VALIDATE_INT, |
43 | - 'flags' => FILTER_REQUIRE_ARRAY))); |
|
43 | + 'flags' => FILTER_REQUIRE_ARRAY))); |
|
44 | 44 | $record_lang = PMF_Filter::filterInput(INPUT_POST, 'lang', FILTER_SANITIZE_STRING); |
45 | 45 | $tags = PMF_Filter::filterInput(INPUT_POST, 'tags', FILTER_SANITIZE_STRING); |
46 | 46 | $active = PMF_Filter::filterInput(INPUT_POST, 'active', FILTER_SANITIZE_STRING); |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Displays a form to edit an existing glossary item |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
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 | - * @package Administration |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @copyright 2005-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2005-09-15 |
|
18 | - */ |
|
3 | + * Displays a form to edit an existing glossary item |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
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 | + * @package Administration |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @copyright 2005-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2005-09-15 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
@@ -1,30 +1,30 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * AJAX: verifyurl |
|
4 | - * |
|
5 | - * Usage: |
|
6 | - * index.php?uin=<uin>&action=ajax&ajax=verifyURL&id=<id>&artlang=<lang> |
|
7 | - * |
|
8 | - * Performs link verification when entries are shown in record.show.php |
|
9 | - * |
|
10 | - * PHP Version 5.3 |
|
11 | - * |
|
12 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
13 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
14 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
15 | - * |
|
16 | - * The Initial Developer of the Original Code is released for external use |
|
17 | - * with permission from NetJapan, Inc. IT Administration Group. |
|
18 | - * |
|
19 | - * @category phpMyFAQ |
|
20 | - * @package Administration |
|
21 | - * @author Minoru TODA <[email protected]> |
|
22 | - * @author Thorsten Rinne <[email protected]> |
|
23 | - * @copyright 2005-2016 NetJapan, Inc. and phpMyFAQ Team |
|
24 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
25 | - * @link http://www.phpmyfaq.de |
|
26 | - * @since 2005-09-30 |
|
27 | - */ |
|
3 | + * AJAX: verifyurl |
|
4 | + * |
|
5 | + * Usage: |
|
6 | + * index.php?uin=<uin>&action=ajax&ajax=verifyURL&id=<id>&artlang=<lang> |
|
7 | + * |
|
8 | + * Performs link verification when entries are shown in record.show.php |
|
9 | + * |
|
10 | + * PHP Version 5.3 |
|
11 | + * |
|
12 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
13 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
14 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
15 | + * |
|
16 | + * The Initial Developer of the Original Code is released for external use |
|
17 | + * with permission from NetJapan, Inc. IT Administration Group. |
|
18 | + * |
|
19 | + * @category phpMyFAQ |
|
20 | + * @package Administration |
|
21 | + * @author Minoru TODA <[email protected]> |
|
22 | + * @author Thorsten Rinne <[email protected]> |
|
23 | + * @copyright 2005-2016 NetJapan, Inc. and phpMyFAQ Team |
|
24 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
25 | + * @link http://www.phpmyfaq.de |
|
26 | + * @since 2005-09-30 |
|
27 | + */ |
|
28 | 28 | |
29 | 29 | if (!defined('IS_VALID_PHPMYFAQ')) { |
30 | 30 | $protocol = 'http'; |
@@ -1,22 +1,22 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Shows the list of records ordered by categories |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
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 | - * @package Administration |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @author Minoru TODA <[email protected]> |
|
15 | - * @copyright 2003-2016 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * @link http://www.phpmyfaq.de |
|
18 | - * @since 2003-02-23 |
|
19 | - */ |
|
3 | + * Shows the list of records ordered by categories |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
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 | + * @package Administration |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @author Minoru TODA <[email protected]> |
|
15 | + * @copyright 2003-2016 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * @link http://www.phpmyfaq.de |
|
18 | + * @since 2003-02-23 |
|
19 | + */ |
|
20 | 20 | |
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | $protocol = 'http'; |