|
@@ 363-373 (lines=11) @@
|
| 360 |
|
'body' => '<div class="widget-stage">[+RecentInfo+]</div>',
|
| 361 |
|
'hide'=>'0'
|
| 362 |
|
);
|
| 363 |
|
if ($modx->config['rss_url_news']) {
|
| 364 |
|
$widgets['news'] = array(
|
| 365 |
|
'menuindex' => '40',
|
| 366 |
|
'id' => 'news',
|
| 367 |
|
'cols' => 'col-sm-6',
|
| 368 |
|
'icon' => 'fa-rss',
|
| 369 |
|
'title' => '[%modx_news_title%]',
|
| 370 |
|
'body' => '<div style="max-height:200px;overflow-y: scroll;padding: 1rem .5rem">[+modx_news_content+]</div>',
|
| 371 |
|
'hide'=>'0'
|
| 372 |
|
);
|
| 373 |
|
}
|
| 374 |
|
if ($modx->config['rss_url_security']) {
|
| 375 |
|
$widgets['security'] = array(
|
| 376 |
|
'menuindex' => '50',
|
|
@@ 374-384 (lines=11) @@
|
| 371 |
|
'hide'=>'0'
|
| 372 |
|
);
|
| 373 |
|
}
|
| 374 |
|
if ($modx->config['rss_url_security']) {
|
| 375 |
|
$widgets['security'] = array(
|
| 376 |
|
'menuindex' => '50',
|
| 377 |
|
'id' => 'security',
|
| 378 |
|
'cols' => 'col-sm-6',
|
| 379 |
|
'icon' => 'fa-exclamation-triangle',
|
| 380 |
|
'title' => '[%security_notices_title%]',
|
| 381 |
|
'body' => '<div style="max-height:200px;overflow-y: scroll;padding: 1rem .5rem">[+modx_security_notices_content+]</div>',
|
| 382 |
|
'hide'=>'0'
|
| 383 |
|
);
|
| 384 |
|
}
|
| 385 |
|
|
| 386 |
|
// invoke OnManagerWelcomeHome event
|
| 387 |
|
$sitewidgets = $modx->invokeEvent("OnManagerWelcomeHome", array('widgets' => $widgets));
|