Skip to content

Commit

Permalink
Simplified/unified key info frame
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Dec 5, 2016
1 parent bbab6a6 commit bd76a92
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions plugins/enigma/lib/enigma_ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,17 +198,7 @@ function password_prompt($status, $params = array())
*/
function tpl_key_frame($attrib)
{
if (!$attrib['id']) {
$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);
return $this->rc->output->frame($attrib, true);
}

/**
Expand Down

0 comments on commit bd76a92

Please sign in to comment.