2020-09-22 01:11:32 +00:00
< ? php
2022-02-16 04:08:28 +00:00
namespace Code\Module ;
2020-09-22 01:11:32 +00:00
2022-02-16 04:08:28 +00:00
use Code\Lib\Apps ;
use Code\Lib\Libsync ;
use Code\Web\Controller ;
2020-09-22 01:11:32 +00:00
2021-12-02 23:02:31 +00:00
class Vlists extends Controller
{
2020-09-22 01:11:32 +00:00
2021-12-02 23:02:31 +00:00
public function get ()
{
2020-09-22 01:11:32 +00:00
2021-05-02 23:41:18 +00:00
$desc = t ( 'This app creates dynamic access lists corresponding to [1] all connections, [2] all ActivityPub protocol connections, and [3] all Nomad or Zot/6 protocol connections. These additional selections will be found within the Permissions setting tool.' );
2020-09-22 01:11:32 +00:00
$text = '<div class="section-content-info-wrapper">' . $desc . '</div>' ;
$o .= $text ;
$text2 = '<div class="section-content-info-wrapper">' . t ( 'This app is installed. ' ) . '</div>' ;
2021-12-02 23:02:31 +00:00
if ( local_channel () && Apps :: system_app_installed ( local_channel (), 'Virtual Lists' )) {
$o .= $text2 ;
2020-09-22 01:11:32 +00:00
}
2021-12-02 23:02:31 +00:00
return $o ;
}
2020-09-22 01:11:32 +00:00
}