mirror of
https://github.com/e107inc/e107.git
synced 2025-09-01 02:21:58 +02:00
Notice removal and default styling fixes.
This commit is contained in:
@@ -14,27 +14,27 @@ $sc_style['NEWS_CATEGORY_NEWS_COUNT']['pre'] = '(';
|
||||
$sc_style['NEWS_CATEGORY_NEWS_COUNT']['post'] = ')';
|
||||
|
||||
// category menu
|
||||
$NEWS_MENU_TEMPLATE['category']['start'] = '';
|
||||
$NEWS_MENU_TEMPLATE['category']['end'] = '';
|
||||
$NEWS_MENU_TEMPLATE['category']['start'] = '<ul class="nav nav-list news-menu-category">';
|
||||
$NEWS_MENU_TEMPLATE['category']['end'] = '</ul>';
|
||||
$NEWS_MENU_TEMPLATE['category']['item'] = '
|
||||
<img src="{bullet}" alt="bullet" class="icon" /> <a class="e-menu-link newscats{active}" href="{NEWS_CATEGORY_URL}">{NEWS_CATEGORY_TITLE} {NEWS_CATEGORY_NEWS_COUNT}</a>
|
||||
<li><a class="e-menu-link newscats{active}" href="{NEWS_CATEGORY_URL}">{NEWS_CATEGORY_TITLE} {NEWS_CATEGORY_NEWS_COUNT}</a></li>
|
||||
';
|
||||
$NEWS_MENU_TEMPLATE['category']['separator'] = '<br />';
|
||||
|
||||
// months menu
|
||||
$NEWS_MENU_TEMPLATE['months']['start'] = '';
|
||||
$NEWS_MENU_TEMPLATE['months']['end'] = '';
|
||||
$NEWS_MENU_TEMPLATE['months']['start'] = '<ul class="nav nav-list news-menu-months">';
|
||||
$NEWS_MENU_TEMPLATE['months']['end'] = '</ul>';
|
||||
$NEWS_MENU_TEMPLATE['months']['item'] = '
|
||||
<img src="{bullet}" alt="bullet" class="icon" /> <a class="e-menu-link newsmonths{active}" href="{url}">{month} ({count})</a>
|
||||
<li><a class="e-menu-link newsmonths{active}" href="{url}">{month} ({count})</a></li>
|
||||
';
|
||||
$NEWS_MENU_TEMPLATE['months']['separator'] = '<br />';
|
||||
|
||||
// latest menu
|
||||
$NEWS_MENU_TEMPLATE['latest']['start'] = '';
|
||||
$NEWS_MENU_TEMPLATE['latest']['start'] = '<ul class="nav nav-list news-menu-latest">';
|
||||
// Example
|
||||
//$NEWS_MENU_TEMPLATE['latest']['end'] = '<br />{currentTotal} from {total}';
|
||||
$NEWS_MENU_TEMPLATE['latest']['end'] = '';
|
||||
$NEWS_MENU_TEMPLATE['latest']['end'] = '</ul>';
|
||||
$NEWS_MENU_TEMPLATE['latest']['item'] = '
|
||||
<img src="{bullet}" alt="bullet" class="icon" /> <a class="e-menu-link newsmonths" href="{NEWSURL}">{NEWSTITLE} ({NEWSCOMMENTCOUNT})</a>
|
||||
<li><a class="e-menu-link newsmonths" href="{NEWSURL}">{NEWSTITLE} ({NEWSCOMMENTCOUNT})</a></li>
|
||||
';
|
||||
$NEWS_MENU_TEMPLATE['latest']['separator'] = '<br />';
|
||||
$NEWS_MENU_TEMPLATE['latest']['separator'] = '<br />'; // Shouldn't be needed.
|
Reference in New Issue
Block a user