Simplified/unified key info frame

pull/5549/head
Aleksander Machniak 8 years ago
parent bbab6a6db7
commit bd76a921ac

@ -198,17 +198,7 @@ class enigma_ui
*/ */
function tpl_key_frame($attrib) function tpl_key_frame($attrib)
{ {
if (!$attrib['id']) { return $this->rc->output->frame($attrib, true);
$attrib['id'] = 'rcmkeysframe';
}
$attrib['name'] = $attrib['id'];
$this->rc->output->set_env('contentframe', $attrib['name']);
$this->rc->output->set_env('blankpage', $attrib['src'] ?
$this->rc->output->abs_url($attrib['src']) : 'program/resources/blank.gif');
return $this->rc->output->frame($attrib);
} }
/** /**

Loading…
Cancel
Save