[ticket/246] Fix misspellings in portal files
B3P-246
This commit is contained in:
@@ -175,7 +175,7 @@ class main
|
||||
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 (file_exists("{$this->includes_path}modules/portal_{$row['module_classname']}{$this->php_ext}"))
|
||||
|
||||
6
ext.php
6
ext.php
@@ -2,14 +2,12 @@
|
||||
/**
|
||||
*
|
||||
* @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
|
||||
*
|
||||
*/
|
||||
|
||||
// this file is not really needed, when empty it can be ommitted
|
||||
// however you can override the default methods and add custom
|
||||
// installation logic
|
||||
// This file is needed for phpBB3 to properly register the extension
|
||||
|
||||
namespace board3\portal;
|
||||
|
||||
|
||||
@@ -453,7 +453,7 @@ function generate_portal_pagination($base_url, $num_items, $per_page, $start_ite
|
||||
break;
|
||||
|
||||
default:
|
||||
// this shouldn't happend @todo: use trigger_error()
|
||||
// this shouldn't happen but default to announcements
|
||||
$pagination_type = 'ap';
|
||||
$anker = '#a';
|
||||
}
|
||||
|
||||
@@ -322,7 +322,7 @@ class portal_upload
|
||||
|
||||
/**
|
||||
* @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 $mode - CHMOD the new dir to these permissions
|
||||
* @return bool
|
||||
|
||||
@@ -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
|
||||
* Exp: <markup>text<markup2>
|
||||
|
||||
Reference in New Issue
Block a user