[ticket/246] Fix misspellings in portal files

B3P-246
This commit is contained in:
Marc Alexander
2014-06-08 23:45:11 +02:00
parent 1ac06334b0
commit c4ab45ade1
6 changed files with 7 additions and 9 deletions

View File

@@ -175,7 +175,7 @@ class main
continue; continue;
} }
// Do not try to load non-existant modules // Do not try to load non-existent modules
if (!isset($this->modules[$row['module_classname']])) if (!isset($this->modules[$row['module_classname']]))
{ {
if (file_exists("{$this->includes_path}modules/portal_{$row['module_classname']}{$this->php_ext}")) if (file_exists("{$this->includes_path}modules/portal_{$row['module_classname']}{$this->php_ext}"))

View File

@@ -2,14 +2,12 @@
/** /**
* *
* @package Board3 Portal v2.1 * @package Board3 Portal v2.1
* @copyright (c) 2013 Board3 Group ( www.board3.de ) * @copyright (c) 2014 Board3 Group ( www.board3.de )
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* *
*/ */
// this file is not really needed, when empty it can be ommitted // This file is needed for phpBB3 to properly register the extension
// however you can override the default methods and add custom
// installation logic
namespace board3\portal; namespace board3\portal;

View File

@@ -453,7 +453,7 @@ function generate_portal_pagination($base_url, $num_items, $per_page, $start_ite
break; break;
default: default:
// this shouldn't happend @todo: use trigger_error() // this shouldn't happen but default to announcements
$pagination_type = 'ap'; $pagination_type = 'ap';
$anker = '#a'; $anker = '#a';
} }

View File

@@ -322,7 +322,7 @@ class portal_upload
/** /**
* @author Michal Nazarewicz (from the php manual) * @author Michal Nazarewicz (from the php manual)
* Creates all non-existant directories in a path * Creates all non-existent directories in a path
* @param $path - path to create * @param $path - path to create
* @param $mode - CHMOD the new dir to these permissions * @param $mode - CHMOD the new dir to these permissions
* @return bool * @return bool

View File

@@ -351,7 +351,7 @@ class phpbb_trim_message_bbcodes
} }
/** /**
* Get the length of the content (substract code for smilie and url parsing) * Get the length of the content (subtract code for smilie and url parsing)
* *
* @param string $content Message to get the content length from * @param string $content Message to get the content length from
* Exp: <markup>text<markup2> * Exp: <markup>text<markup2>