mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-22 10:15:19 +00:00
25 lines
583 B
PHP
25 lines
583 B
PHP
<?php
|
|
|
|
namespace Zotlabs\Module;
|
|
|
|
use App;
|
|
use Zotlabs\Web\Controller;
|
|
use Zotlabs\Lib\Apps;
|
|
|
|
class Photomap extends Controller
|
|
{
|
|
|
|
|
|
public function get()
|
|
{
|
|
$desc = t('This app provides a displayable map when viewing detail of photos that contain location information.');
|
|
|
|
$text = '<div class="section-content-info-wrapper">' . $desc . '</div>';
|
|
|
|
if (!(local_channel() && Apps::system_app_installed(local_channel(), 'Photomap'))) {
|
|
return $text;
|
|
}
|
|
|
|
return $text . '<br><br>' . t('This app is currently installed.');
|
|
}
|
|
}
|