@@ -1,30 +1,30 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The main phpMyFAQ Setup. |
|
| 4 | - * |
|
| 5 | - * This script checks the complete environment, writes the database connection |
|
| 6 | - * parameters into the file config/database.php and the configuration into the database. |
|
| 7 | - * |
|
| 8 | - * PHP Version 5.5 |
|
| 9 | - * |
|
| 10 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
| 11 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
| 12 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
| 13 | - * |
|
| 14 | - * @category phpMyFAQ |
|
| 15 | - * |
|
| 16 | - * @author Thorsten Rinne <[email protected]> |
|
| 17 | - * @author Tom Rochester <[email protected]> |
|
| 18 | - * @author Johannes Schlüter <[email protected]> |
|
| 19 | - * @author Uwe Pries <[email protected]> |
|
| 20 | - * @author Matteo Scaramuccia <[email protected]> |
|
| 21 | - * @author Florian Anderiasch <[email protected]> |
|
| 22 | - * @copyright 2002-2016 phpMyFAQ Team |
|
| 23 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 24 | - * |
|
| 25 | - * @link http://www.phpmyfaq.de |
|
| 26 | - * @since 2002-08-20 |
|
| 27 | - */ |
|
| 3 | + * The main phpMyFAQ Setup. |
|
| 4 | + * |
|
| 5 | + * This script checks the complete environment, writes the database connection |
|
| 6 | + * parameters into the file config/database.php and the configuration into the database. |
|
| 7 | + * |
|
| 8 | + * PHP Version 5.5 |
|
| 9 | + * |
|
| 10 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
| 11 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
| 12 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
| 13 | + * |
|
| 14 | + * @category phpMyFAQ |
|
| 15 | + * |
|
| 16 | + * @author Thorsten Rinne <[email protected]> |
|
| 17 | + * @author Tom Rochester <[email protected]> |
|
| 18 | + * @author Johannes Schlüter <[email protected]> |
|
| 19 | + * @author Uwe Pries <[email protected]> |
|
| 20 | + * @author Matteo Scaramuccia <[email protected]> |
|
| 21 | + * @author Florian Anderiasch <[email protected]> |
|
| 22 | + * @copyright 2002-2016 phpMyFAQ Team |
|
| 23 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 24 | + * |
|
| 25 | + * @link http://www.phpmyfaq.de |
|
| 26 | + * @since 2002-08-20 |
|
| 27 | + */ |
|
| 28 | 28 | define('COPYRIGHT', '© 2001-2015 <a href="http://www.phpmyfaq.de/">phpMyFAQ Team</a> | Follow us on <a href="http://twitter.com/phpMyFAQ">Twitter</a> | All rights reserved.'); |
| 29 | 29 | define('PMF_ROOT_DIR', dirname(dirname(__FILE__))); |
| 30 | 30 | define('PMF_INCLUDE_DIR', PMF_ROOT_DIR.'/inc'); |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The import function to import the phpMyFAQ backups. |
|
| 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-2016 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-02-24 |
|
| 19 | - */ |
|
| 3 | + * The import function to import the phpMyFAQ backups. |
|
| 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-2016 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-02-24 |
|
| 19 | + */ |
|
| 20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 21 | 21 | $protocol = 'http'; |
| 22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -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-2016 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-2016 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') { |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The main multi-site instances 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 | - * @copyright 2012-2016 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 2012-03-16 |
|
| 19 | - */ |
|
| 3 | + * The main multi-site instances 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 | + * @copyright 2012-2016 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 2012-03-16 |
|
| 19 | + */ |
|
| 20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 21 | 21 | $protocol = 'http'; |
| 22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -1,22 +1,22 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Shows all comments in the categories and provides a link to delete comments. |
|
| 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 2007-2016 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 2007-03-04 |
|
| 19 | - */ |
|
| 3 | + * Shows all comments in the categories and provides a link to delete comments. |
|
| 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 2007-2016 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 2007-03-04 |
|
| 19 | + */ |
|
| 20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 21 | 21 | $protocol = 'http'; |
| 22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -80,9 +80,9 @@ discard block |
||
| 80 | 80 | <?php print $date->format(date('Y-m-d H:i', $faqcomment['date'])); |
| 81 | 81 | ?> | |
| 82 | 82 | <a href="<?php printf('../?action=artikel&cat=%d&id=%d&artlang=%s', |
| 83 | - $faqcomment['category_id'], |
|
| 84 | - $faqcomment['record_id'], |
|
| 85 | - $LANGCODE); |
|
| 83 | + $faqcomment['category_id'], |
|
| 84 | + $faqcomment['record_id'], |
|
| 85 | + $LANGCODE); |
|
| 86 | 86 | ?>"> |
| 87 | 87 | <?php print $faq->getRecordTitle($faqcomment['record_id']); |
| 88 | 88 | ?> |
@@ -1,23 +1,23 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The reporting 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 Gustavo Solt <[email protected]> |
|
| 14 | - * @author Thorsten Rinne <[email protected]> |
|
| 15 | - * @copyright 2011-2016 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 2011-01-12 |
|
| 20 | - */ |
|
| 3 | + * The reporting 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 Gustavo Solt <[email protected]> |
|
| 14 | + * @author Thorsten Rinne <[email protected]> |
|
| 15 | + * @copyright 2011-2016 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 2011-01-12 |
|
| 20 | + */ |
|
| 21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 22 | 22 | $protocol = 'http'; |
| 23 | 23 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Frontend to edit an instance. |
|
| 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 2012-2016 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 2012-04-16 |
|
| 19 | - */ |
|
| 3 | + * Frontend to edit an instance. |
|
| 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 2012-2016 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 2012-04-16 |
|
| 19 | + */ |
|
| 20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 21 | 21 | $protocol = 'http'; |
| 22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -1,29 +1,29 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * AJAX: onDemandURL. |
|
| 4 | - * |
|
| 5 | - * Usage: |
|
| 6 | - * index.php?action=ajax&ajax=onDemandURL&id=<id>&artlang=<lang>[&lookup=1] |
|
| 7 | - * |
|
| 8 | - * Performs link verification at demand of the user. |
|
| 9 | - * |
|
| 10 | - * PHP Version 5.5 |
|
| 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 | - * @author Minoru TODA <[email protected]> |
|
| 21 | - * @author Thorsten Rinne <[email protected]> |
|
| 22 | - * @copyright 2005-2016 NetJapan, Inc. |
|
| 23 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 24 | - * @link http://www.phpmyfaq.de |
|
| 25 | - * @since 2005-09-30 |
|
| 26 | - */ |
|
| 3 | + * AJAX: onDemandURL. |
|
| 4 | + * |
|
| 5 | + * Usage: |
|
| 6 | + * index.php?action=ajax&ajax=onDemandURL&id=<id>&artlang=<lang>[&lookup=1] |
|
| 7 | + * |
|
| 8 | + * Performs link verification at demand of the user. |
|
| 9 | + * |
|
| 10 | + * PHP Version 5.5 |
|
| 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 | + * @author Minoru TODA <[email protected]> |
|
| 21 | + * @author Thorsten Rinne <[email protected]> |
|
| 22 | + * @copyright 2005-2016 NetJapan, Inc. |
|
| 23 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 24 | + * @link http://www.phpmyfaq.de |
|
| 25 | + * @since 2005-09-30 |
|
| 26 | + */ |
|
| 27 | 27 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 28 | 28 | $protocol = 'http'; |
| 29 | 29 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Frontend for Backup and Restore. |
|
| 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-2016 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-02-24 |
|
| 19 | - */ |
|
| 3 | + * Frontend for Backup and Restore. |
|
| 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-2016 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-02-24 |
|
| 19 | + */ |
|
| 20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 21 | 21 | $protocol = 'http'; |
| 22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |