mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 01:30:32 +02:00
Hero cleanup for Bootstrap5. Switched to placeholder images. Admin-ui type 'image' now loads remote URLs correctly.
This commit is contained in:
@@ -110,12 +110,19 @@ class hero_ui extends e_admin_ui
|
||||
public function init()
|
||||
{
|
||||
// Set drop-down values (if any).
|
||||
|
||||
$tp = e107::getParser();
|
||||
$r = range(1000,10000,1000);
|
||||
|
||||
$opts = array();
|
||||
$opts = array(
|
||||
'false' => LAN_DISABLED
|
||||
);
|
||||
|
||||
|
||||
foreach($r as $v)
|
||||
{
|
||||
$opts[$v] = str_replace('000', '', $v).' '.LAN_HERO_ADMIN_016;
|
||||
$x = str_replace('000', '', $v);
|
||||
$opts[$v] = $tp->lanVars(LAN_HERO_ADMIN_016, $x);
|
||||
}
|
||||
|
||||
$this->prefs['slide_interval']['writeParms']['optArray'] = $opts;
|
||||
|
Reference in New Issue
Block a user