@@ -1,20 +1,20 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Linkverifier Helper class for phpMyFAQ. |
|
| 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 | - * @author Thorsten Rinne <[email protected]> |
|
| 13 | - * @copyright 2012-2016 phpMyFAQ Team |
|
| 14 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 15 | - * @link http://www.phpmyfaq.de |
|
| 16 | - * @since 2012-09-03 |
|
| 17 | - */ |
|
| 3 | + * Linkverifier Helper class for phpMyFAQ. |
|
| 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 | + * @author Thorsten Rinne <[email protected]> |
|
| 13 | + * @copyright 2012-2016 phpMyFAQ Team |
|
| 14 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 15 | + * @link http://www.phpmyfaq.de |
|
| 16 | + * @since 2012-09-03 |
|
| 17 | + */ |
|
| 18 | 18 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 19 | 19 | exit(); |
| 20 | 20 | } |
@@ -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,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The FAQ record editor. |
|
| 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-23 |
|
| 19 | - */ |
|
| 3 | + * The FAQ record editor. |
|
| 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-23 |
|
| 19 | + */ |
|
| 20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 21 | 21 | $protocol = 'http'; |
| 22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -623,12 +623,15 @@ discard block |
||
| 623 | 623 | <input type="radio" name="active" value="no" |
| 624 | 624 | <?php if (isset($sul)) { echo $sul; } ?>> |
| 625 | 625 | <?php echo $PMF_LANG['ad_gen_no'] ?> |
| 626 | - <?php else: ?> |
|
| 626 | + <?php else { |
|
| 627 | + : ?> |
|
| 627 | 628 | <br> |
| 628 | 629 | <input type="radio" name="active" value="no" checked> |
| 629 | 630 | <?php echo $PMF_LANG['ad_gen_no'] ?> |
| 630 | 631 | |
| 631 | - <?php endif; ?> |
|
| 632 | + <?php endif; |
|
| 633 | +} |
|
| 634 | +?> |
|
| 632 | 635 | </label> |
| 633 | 636 | </div> |
| 634 | 637 | </div> |
@@ -689,9 +692,12 @@ discard block |
||
| 689 | 692 | </div> |
| 690 | 693 | </div> |
| 691 | 694 | </div> |
| 692 | - <?php else: ?> |
|
| 695 | + <?php else { |
|
| 696 | + : ?> |
|
| 693 | 697 | <input type="hidden" name="grouppermission" value="all"> |
| 694 | - <?php endif; ?> |
|
| 698 | + <?php endif; |
|
| 699 | +} |
|
| 700 | +?> |
|
| 695 | 701 | <div class="panel-heading"> |
| 696 | 702 | <?php echo $PMF_LANG['ad_entry_userpermission']; ?> |
| 697 | 703 | </div> |
@@ -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,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') { |
@@ -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 | - * Header 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 | - * @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-26 |
|
| 19 | - */ |
|
| 3 | + * Header 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 | + * @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-26 |
|
| 19 | + */ |
|
| 20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 21 | 21 | $protocol = 'http'; |
| 22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |