2022-08-20 21:07:54 +03:00
|
|
|
{extends "../@layout.xml"}
|
2023-08-11 16:50:19 +03:00
|
|
|
{var $canReport = $owner->getId() !== $thisUser->getId()}
|
2022-08-20 21:07:54 +03:00
|
|
|
|
|
|
|
{block title}
|
|
|
|
{$name}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block header}
|
|
|
|
{$name}
|
2024-12-01 21:53:15 +03:00
|
|
|
<a style="float: right;" onClick="reportApp({$id})" n:if="$canReport ?? false">{_report}</a>
|
2022-08-20 21:07:54 +03:00
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block content}
|
|
|
|
<center>
|
2023-12-22 15:57:39 +03:00
|
|
|
<iframe id="appFrame" referrerpolicy="unsafe-url" frameBorder="0" src="{$url}" height="600" width="600"
|
|
|
|
sandbox="allow-scripts allow-same-origin allow-pointer-lock allow-forms allow-downloads-without-user-activation"></iframe>
|
2022-08-20 21:07:54 +03:00
|
|
|
</center>
|
|
|
|
|
|
|
|
<div n:if="!is_null($news)" id="news">
|
|
|
|
<h4>{$news->getName()}</h4>
|
|
|
|
<div id="app_news_container">
|
|
|
|
{$news->getText()|noescape}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<center>
|
|
|
|
<p>
|
|
|
|
{_app_dev}: <a href="{$owner->getURL()}">{$owner->getFullName()}</a>
|
|
|
|
</p>
|
|
|
|
</center>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
window.appId = {$id};
|
|
|
|
window.appTitle = {$name};
|
|
|
|
window.appPerms = {$perms};
|
|
|
|
window.appOrigin = {$origin};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{script "js/al_games.js"}
|
|
|
|
{/block}
|