1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

PHPDoc fixes and code optimization.

This commit is contained in:
Cameron
2021-12-03 14:58:33 -08:00
parent aff6daf590
commit 0d8f3e9086
73 changed files with 241 additions and 210 deletions

View File

@@ -10,7 +10,12 @@
*
*/
use JetBrains\PhpStorm\ArrayShape;
use JetBrains\PhpStorm\Deprecated;
/**
*
*/
class theme_shortcodes extends e_shortcode
{
@@ -97,11 +102,13 @@ class theme_shortcodes extends e_shortcode
/**
* Will only function on the news page.
*
* @example {THEME_NEWS_BANNER: type=date}
* @example, {THEME_NEWS_BANNER: type=image}
* @example {THEME_NEWS_BANNER: type=author}
* @param null $parm
* @return string|null
*
*/
function sc_theme_news_banner($parm=null)
{

View File

@@ -25,12 +25,12 @@ e107::library('load', 'bootstrap');
e107::library('load', 'fontawesome');
e107::css('url', 'http://fonts.googleapis.com/css?family=Bad+Script|Raleway:400,500,600,700,300|Lora:400');
e107::css('url', 'https://fonts.googleapis.com/css?family=Bad+Script|Raleway:400,500,600,700,300|Lora:400');
// e107::css('theme','voux.css');
e107::css('url', 'http://fonts.googleapis.com/css?family=Montserrat:400,700&ver=4.2.4');
e107::css('url', 'http://fonts.googleapis.com/css?family=Domine:400,700&ver=4.2.4');
e107::css('url', 'http://fonts.googleapis.com/css?family=Lato:300,400,700,400italic&ver=4.2.4');
e107::css('url', 'http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,700,300&subset=latin,cyrillic-ext&ver=3.9.2');
e107::css('url', 'https://fonts.googleapis.com/css?family=Montserrat:400,700&ver=4.2.4');
e107::css('url', 'https://fonts.googleapis.com/css?family=Domine:400,700&ver=4.2.4');
e107::css('url', 'https://fonts.googleapis.com/css?family=Lato:300,400,700,400italic&ver=4.2.4');
e107::css('url', 'https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,700,300&subset=latin,cyrillic-ext&ver=3.9.2');
/* @example prefetch */
//e107::link(array('rel'=>'prefetch', 'href'=>THEME.'images/browsers.png'));
@@ -297,7 +297,7 @@ $LAYOUT['_footer_'] = '
<div class="col-lg-8">
<small>{SITEDISCLAIMER}</small><br />
<!-- Under the terms of the GNU GPL, this may not be removed or modified -->
<small>e107 Theme based on &quot;Voux&quot; by <a href="http://www.themexpose.com/">ThemeXpose</a> which is released under the terms of the GNU General Public license. </small>
<small>e107 Theme based on &quot;Voux&quot; by <a href="https://www.themexpose.com/">ThemeXpose</a> which is released under the terms of the GNU General Public license. </small>
</div>
<div class="col-lg-4">
{BOOTSTRAP_USERNAV: placement=bottom&dir=up}