mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
{SITELINKS_ALT} fix and test.
This commit is contained in:
@@ -1688,7 +1688,8 @@ class e_parse_shortcodeTest extends \Codeception\Test\Unit
|
||||
'url' => 'news/view/item|news_id=1&news_sef=sef-string&category_id=1&category_sef=category-sef&options[full]=1',
|
||||
'user_extended' => 'name.text.1',
|
||||
'lan' => 'LAN_EDIT',
|
||||
'search' => 'all'
|
||||
'search' => 'all',
|
||||
'sitelinks_alt' => '/e107_themes/bootstrap3/images/logo.webp+noclick',
|
||||
);
|
||||
|
||||
foreach($list as $sc)
|
||||
@@ -1701,7 +1702,6 @@ class e_parse_shortcodeTest extends \Codeception\Test\Unit
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
$shortcode = '{';
|
||||
$shortcode .= strtoupper($name);
|
||||
$shortcode .= isset($parms[$name]) ? '='.$parms[$name] : '';
|
||||
|
Reference in New Issue
Block a user