mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Bootstrap5 tweaks. Added support for Brazilian Portuguese.
This commit is contained in:
parent
a4e380d6a1
commit
072c2a129a
@ -2951,6 +2951,7 @@ class e107
|
||||
$core_path = e_CORE.'templates/'.$id.'_template.php'; // default
|
||||
$core_path_legacy = e_CORE.'templates/legacy/'.$id.'_template.php';
|
||||
$core_path_bs4 = e_CORE.'templates/bootstrap4/'.$id.'_template.php';
|
||||
$core_path_bs5 = e_CORE.'templates/bootstrap5/'.$id.'_template.php';
|
||||
|
||||
if($override_path && is_readable($override_path)) // v2 override template.
|
||||
{
|
||||
@ -2968,6 +2969,10 @@ class e107
|
||||
{
|
||||
return $core_path_bs4;
|
||||
}
|
||||
elseif(defset('BOOTSTRAP') === 5 && is_readable($core_path_bs5))
|
||||
{
|
||||
return $core_path_bs5;
|
||||
}
|
||||
|
||||
return $core_path;
|
||||
}
|
||||
|
@ -31,6 +31,7 @@ class language{
|
||||
*/
|
||||
protected $lanlist = null; // null is important!!!
|
||||
|
||||
// code / folder.
|
||||
protected $list = array(
|
||||
"aa" => "Afar",
|
||||
"ab" => "Abkhazian",
|
||||
@ -48,7 +49,9 @@ class language{
|
||||
"bi" => "Bislama",
|
||||
"bo" => "Tibetan",
|
||||
"bs" => "Bosnian",
|
||||
"br" => "Breton",
|
||||
|
||||
"br" => "Brazilian",
|
||||
|
||||
"bg" => "Bulgarian",
|
||||
"my" => "Burmese",
|
||||
"ca" => "Catalan",
|
||||
@ -145,6 +148,7 @@ class language{
|
||||
"pi" => "Pali",
|
||||
"pl" => "Polish",
|
||||
"pt" => "Portuguese",
|
||||
|
||||
"ps" => "Pushto",
|
||||
"qu" => "Quechua",
|
||||
"ro" => "Romanian",
|
||||
@ -230,6 +234,7 @@ class language{
|
||||
"Norwegian" => "Norsk",
|
||||
"Persian" => "فارسي",
|
||||
"Portuguese" => "Português",
|
||||
"Brazilian" => "Português do Brasil",
|
||||
"Polish" => "Polski",
|
||||
"Romanian" => "Română",
|
||||
"Russian" => "Pусский",
|
||||
|
@ -61,7 +61,7 @@ class pm_shortcodes extends e_shortcode
|
||||
$urlOutbox = e107::url('pm','index','', array('query'=>array('mode'=>'outbox')));
|
||||
$urlCompose = e107::url('pm','index','', array('query'=>array('mode'=>'send')));
|
||||
|
||||
return '<a class="dropdown-toggle" data-toggle="dropdown" href="#">'.$icon.$count.'</a>
|
||||
return '<a class="dropdown-toggle" data-toggle="dropdown" data-bs-toggle="dropdown" href="#">'.$icon.$count.'</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user