streams/Code/Module/Future.php

22 lines
631 B
PHP
Raw Normal View History

2020-05-03 23:18:27 +00:00
<?php
2022-02-16 04:08:28 +00:00
namespace Code\Module;
2020-05-03 23:18:27 +00:00
2022-02-16 04:08:28 +00:00
use Code\Lib\Apps;
use Code\Lib\Libsync;
use Code\Web\Controller;
2020-05-03 23:18:27 +00:00
2021-12-02 23:02:31 +00:00
class Future extends Controller
{
2020-05-03 23:18:27 +00:00
2021-12-02 23:02:31 +00:00
public function get()
{
2020-05-03 23:18:27 +00:00
$desc = t('This app allows you to set an optional publish date/time for posts, which may be in the future. This must be at least ten minutes into the future to initiate delayed publishing. The posts will be published automatically after that time has passed. Once installed, a new button will appear in the post editor to set the date/time.');
$text = '<div class="section-content-info-wrapper">' . $desc . '</div>';
2021-12-02 23:02:31 +00:00
return $text;
}
2020-05-03 23:18:27 +00:00
}