Skip to content

Commit

Permalink
Merge branch 'staging' into jroute-workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Aug 8, 2019
2 parents 2838df3 + 8756a48 commit 74e9ea0
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 17 deletions.
6 changes: 3 additions & 3 deletions libraries/cms/html/tel.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static function tel($number, $displayplan)
$display[0] = '+';
$display[1] = $countrycode;
$display[2] = ' ';
$display[3] = implode(str_split($number, 2), ' ');
$display[3] = implode(' ', str_split($number, 2));
}
elseif ($displayplan === 'NANP' || $displayplan === 'northamerica' || $displayplan === 'US')
{
Expand All @@ -62,14 +62,14 @@ public static function tel($number, $displayplan)
}
elseif ($displayplan === 'ARPA' || $displayplan === 'ENUM')
{
$number = implode(str_split(strrev($number), 1), '.');
$number = implode('.', str_split(strrev($number), 1));
$display[0] = '+';
$display[1] = $number;
$display[2] = '.';
$display[3] = $countrycode;
$display[4] = '.e164.arpa';
}

return implode($display, '');
return implode('', $display);
}
}
3 changes: 2 additions & 1 deletion libraries/fof/render/joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @subpackage render
* @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author.
*/
defined('FOF_INCLUDED') or die;

Expand Down Expand Up @@ -106,7 +107,7 @@ public function preRender($view, $task, $input, $config = array())
);
}

echo '<div id="akeeba-renderjoomla" class="' . implode($classes, ' ') . "\">\n";
echo '<div id="akeeba-renderjoomla" class="' . implode(' ', $classes) . "\">\n";

// Render submenu and toolbar (only if asked to)
if ($input->getBool('render_toolbar', true))
Expand Down
22 changes: 13 additions & 9 deletions libraries/fof/render/joomla3.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @subpackage render
* @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author.
*/
defined('FOF_INCLUDED') or die;

Expand Down Expand Up @@ -79,15 +80,18 @@ public function preRender($view, $task, $input, $config = array())
$layout = $input->getCmd('layout', '');
$task = $input->getCmd('task', '');

$classes = ' class="' . implode(array(
'joomla-version-' . $majorVersion,
'joomla-version-' . $minorVersion,
'admin',
$option,
'view-' . $view,
'layout-' . $layout,
'task-' . $task,
), ' ') . '"';
$classes = ' class="' . implode(
' ',
array(
'joomla-version-' . $majorVersion,
'joomla-version-' . $minorVersion,
'admin',
$option,
'view-' . $view,
'layout-' . $layout,
'task-' . $task,
)
) . '"';
}
else
{
Expand Down
3 changes: 2 additions & 1 deletion libraries/fof/render/strapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @subpackage render
* @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author.
*/
defined('FOF_INCLUDED') or die;

Expand Down Expand Up @@ -111,7 +112,7 @@ public function preRender($view, $task, $input, $config = array())
}

// Wrap output in divs
echo '<div id="akeeba-bootstrap" class="' . implode($classes, ' ') . "\">\n";
echo '<div id="akeeba-bootstrap" class="' . implode(' ', $classes) . "\">\n";
echo "<div class=\"akeeba-bootstrap\">\n";
echo "<div class=\"row-fluid\">\n";

Expand Down
2 changes: 1 addition & 1 deletion libraries/joomla/google/data/picasa.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function createAlbum($userID = 'default', $title = '', $access = 'private
$xml->addChild('gphoto:access', $access);
$xml->addChild('gphoto:timestamp', $time);
$media = $xml->addChild('media:group', '', 'http://search.yahoo.com/mrss/');
$media->addChild('media:keywords', implode($keywords, ', '));
$media->addChild('media:keywords', implode(', ', $keywords));
$cat = $xml->addChild('category', '');
$cat->addAttribute('scheme', 'http://schemas.google.com/g/2005#kind');
$cat->addAttribute('term', 'http://schemas.google.com/photos/2007#album');
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Layout/BaseLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function render($displayData)
*/
public function renderDebugMessages()
{
return implode($this->debugMessages, "\n");
return implode("\n", $this->debugMessages);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion plugins/editors/tinymce/tinymce.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ private function tinyButtons($name, $excluded)
$btnsNames[] = $name . ' | ';

// The array with code for each button
$tinyBtns[] = implode($tempConstructor, '');
$tinyBtns[] = implode('', $tempConstructor);
}
}

Expand Down

0 comments on commit 74e9ea0

Please sign in to comment.