Font Awesome fixes
This commit is contained in:
parent
26b1ee0cec
commit
942f4b6165
File diff suppressed because one or more lines are too long
|
@ -122,7 +122,18 @@ class Theme {
|
||||||
|
|
||||||
public static function jquery($echo=true)
|
public static function jquery($echo=true)
|
||||||
{
|
{
|
||||||
$tmp = '<script src="'.JQUERY.'"></script>'.PHP_EOL;
|
$tmp = '<script src="'.HTML_PATH_ADMIN_THEME_JS.'jquery.min.js'.'"></script>'.PHP_EOL;
|
||||||
|
|
||||||
|
if($echo) {
|
||||||
|
echo $tmp;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $tmp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function fontAwesome($echo=true, $online=false)
|
||||||
|
{
|
||||||
|
$tmp = '<link rel="stylesheet" href="'.HTML_PATH_ADMIN_THEME_CSS.'font-awesome.min.css'.'">'.PHP_EOL;
|
||||||
|
|
||||||
if($echo) {
|
if($echo) {
|
||||||
echo $tmp;
|
echo $tmp;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -50,7 +50,7 @@ class pluginsimpleMDE extends Plugin {
|
||||||
$html .= '<link rel="stylesheet" href="'.$pluginPath.'css/simplemde.min.css">';
|
$html .= '<link rel="stylesheet" href="'.$pluginPath.'css/simplemde.min.css">';
|
||||||
|
|
||||||
// Font-awesome is a dependency of SimpleMDE
|
// Font-awesome is a dependency of SimpleMDE
|
||||||
$html .= '<link rel="stylesheet" href="'.$pluginPath.'css/font-awesome.min.css">';
|
$html .= '<link rel="stylesheet" href="'.HTML_PATH_ADMIN_THEME_CSS.'font-awesome.min.css">';
|
||||||
|
|
||||||
// SimpleMDE js
|
// SimpleMDE js
|
||||||
$html .= '<script src="'.$pluginPath.'js/simplemde.min.js"></script>';
|
$html .= '<script src="'.$pluginPath.'js/simplemde.min.js"></script>';
|
||||||
|
|
|
@ -20,11 +20,11 @@
|
||||||
<?php
|
<?php
|
||||||
echo $Language->get('Posted By').' ';
|
echo $Language->get('Posted By').' ';
|
||||||
|
|
||||||
if( Text::isNotEmpty($Post->authorFirstName()) || Text::isNotEmpty($Post->authorLastName()) ) {
|
if( Text::isNotEmpty($Post->user('firstName')) || Text::isNotEmpty($Post->user('lastName')) ) {
|
||||||
echo $Post->authorFirstName().' '.$Post->authorLastName();
|
echo $Post->user('firstName').' '.$Post->user('lastName');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo $Post->username();
|
echo $Post->user('username');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue