id&type=api", $webapp->name, '', "class='apiapp'");?> author;?>
abstract;?>
url;
$popup = '';
$target = '_self';
$misc = '';
if($webapp->target == 'popup')
{
$width = 0;
$height = 0;
if($webapp->size) list($width, $height) = explode('x', $webapp->size);
$misc = "data-width='" . $width . "' data-height='" . $height . "'";
$popup = 'popup';
}
else
{
$method = "popup(1024, 600);";
$misc = "data-width='1024' data-height='600'";
$popup = 'popup';
}
echo isset($installeds[$webapp->id]) ? html::commonButton(" " . $lang->webapp->installed, "disabled='disabled'", 'btn-success') : html::a(inLink('install', "webappID={$webapp->id}"), $lang->webapp->install, '_self', "class='btn btn-primary iframe'");
echo html::a($url, $lang->webapp->preview, '', "id='useapp$webapp->id' class='btn runapp $popup' data-title='$webapp->name' $misc");
?>
show();?>
webapp->errorOccurs;?>
webapp->errorGetExtensions;?>