This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).
wget 'https://lists2.roe3.org/FreshRSS/app/views/helpers/htmlPagination.phtml'
<?php
declare(strict_types=1);
/** @var FreshRSS_View $this */
?>
<nav class="nav-pagination nav-list">
<ul class="pagination">
<?php if (FreshRSS_Context::$offset > 0): ?>
<li class="item pager-first">
<a href="<?= $this->userQuery->sharedUrlHtml() . '&nb=' . FreshRSS_Context::$number ?>">« <?= _t('conf.logs.pagination.first') ?></a>
</li>
<li class="item pager-previous">
<a href="<?= $this->userQuery->sharedUrlHtml() . '&nb=' . FreshRSS_Context::$number .
'&offset=' . max(0, FreshRSS_Context::$offset - FreshRSS_Context::$number) ?>">‹ <?= _t('conf.logs.pagination.previous') ?></a>
</li>
<?php endif; ?>
<li class="item pager-next">
<a href="<?= $this->userQuery->sharedUrlHtml() . '&nb=' . FreshRSS_Context::$number .
'&offset=' . (FreshRSS_Context::$offset + FreshRSS_Context::$number) ?>"><?= _t('conf.logs.pagination.next') ?> ›</a>
</li>
</ul>
</nav>
wget 'https://lists2.roe3.org/FreshRSS/app/views/helpers/javascript_vars.phtml'
<?php
declare(strict_types=1);
/** @var FreshRSS_View $this */
$mark = FreshRSS_Context::userConf()->mark_when;
$s = FreshRSS_Context::userConf()->shortcuts;
$extData = Minz_ExtensionManager::callHook('js_vars', []);
echo htmlspecialchars(json_encode(array(
'context' => array(
'anonymous' => !FreshRSS_Auth::hasAccess(),
'auto_remove_article' => !!FreshRSS_Context::isAutoRemoveAvailable(),
'hide_posts' => !(FreshRSS_Context::userConf()->display_posts || Minz_Request::actionName() === 'reader'),
'display_order' => Minz_Request::paramString('order') ?: FreshRSS_Context::userConf()->sort_order,
'display_categories' => FreshRSS_Context::userConf()->display_categories,
'auto_mark_article' => !!$mark['article'],
'auto_mark_site' => !!$mark['site'],
'auto_mark_scroll' => !!$mark['scroll'],
'auto_mark_focus' => !!$mark['focus'],
'auto_load_more' => !!FreshRSS_Context::userConf()->auto_load_more,
'auto_actualize_feeds' => Minz_Session::paramBoolean('actualize_feeds'),
'nb_parallel_refresh' => max(1, FreshRSS_Context::systemConf()->nb_parallel_refresh),
'does_lazyload' => !!FreshRSS_Context::userConf()->lazyload ,
'sides_close_article' => !!FreshRSS_Context::userConf()->sides_close_article,
'sticky_post' => !!FreshRSS_Context::isStickyPostEnabled(),
'html5_notif_timeout' => FreshRSS_Context::userConf()->html5_notif_timeout,
'auth_type' => FreshRSS_Context::systemConf()->auth_type,
'current_view' => Minz_Request::actionName(),
'csrf' => FreshRSS_Auth::csrfToken(),
'mtime' => [
'extra.js' => @filemtime(PUBLIC_PATH . '/scripts/extra.js'),
'feed.js' => @filemtime(PUBLIC_PATH . '/scripts/feed.js'),
],
'version' => FRESHRSS_VERSION,
),
'shortcuts' => array(
'actualize' => @$s['actualize'],
'mark_read' => @$s['mark_read'],
'mark_favorite' => @$s['mark_favorite'],
'go_website' => @$s['go_website'],
'prev_entry' => @$s['prev_entry'],
'next_entry' => @$s['next_entry'],
'next_unread_entry' => @$s['next_unread_entry'],
'skip_prev_entry' => @$s['skip_prev_entry'],
'skip_next_entry' => @$s['skip_next_entry'],
'first_entry' => @$s['first_entry'],
'last_entry' => @$s['last_entry'],
'collapse_entry' => @$s['collapse_entry'],
'load_more' => @$s['load_more'],
'auto_share' => @$s['auto_share'],
'focus_search' => @$s['focus_search'],
'user_filter' => @$s['user_filter'],
'help' => @$s['help'],
'close_dropdown' => @$s['close_dropdown'],
'normal_view' => @$s['normal_view'],
'global_view' => @$s['global_view'],
'reading_view' => @$s['reading_view'],
'rss_view' => @$s['rss_view'],
'toggle_media' => @$s['toggle_media'],
),
'urls' => array(
'index' => _url('index', 'index'),
'login' => Minz_Url::display(array('c' => 'auth', 'a' => 'login'), 'php'),
'logout' => Minz_Url::display(array('c' => 'auth', 'a' => 'logout'), 'php'),
'help' => FRESHRSS_WIKI,
),
'i18n' => array(
'confirmation_default' => _t('gen.js.confirm_action'),
'notif_title_articles' => _t('gen.js.feedback.title_new_articles'),
'notif_body_new_articles' => _t('gen.js.feedback.body_new_articles'),
'notif_body_unread_articles' => _t('gen.js.feedback.body_unread_articles'),
'notif_request_failed' => _t('gen.js.feedback.request_failed'),
'category_empty' => _t('gen.js.category_empty'),
'labels_empty' => _t('gen.js.labels_empty'),
'language' => FreshRSS_Context::userConf()->language,
),
'icons' => array(
'read' => rawurlencode(_i('read')),
'unread' => rawurlencode(_i('unread')),
),
'extensions' => $extData,
), JSON_UNESCAPED_UNICODE) ?: '', ENT_NOQUOTES, 'UTF-8');
wget 'https://lists2.roe3.org/FreshRSS/app/views/helpers/logs_pagination.phtml'
<?php
declare(strict_types=1);
/** @var FreshRSS_View $this */
$c = Minz_Request::controllerName();
$a = Minz_Request::actionName();
$params = $_GET;
?>
<?php if ($this->nbPage > 1) { ?>
<nav class="nav-pagination nav-list">
<ul class="pagination">
<?php
/** @var string $getteur from Minz_Paginator::render() */
$params[$getteur] = 1;
?>
<li class="item pager-first">
<a href="<?= Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)) ?>">« <?= _t('conf.logs.pagination.first') ?></a>
</li>
<?php $params[$getteur] = $this->currentPage - 1; ?>
<li class="item pager-previous">
<?php if ($this->currentPage > 1) { ?>
<a href="<?= Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)) ?>">‹ <?= _t('conf.logs.pagination.previous') ?></a>
<?php } ?>
</li>
<?php if ($this->currentPage - 2 > 1) { ?>
<li class="item">…</a></li>
<?php } ?>
<?php
for ($i = $this->currentPage - 2; $i <= $this->currentPage + 2; $i++) {
if ($i > 0 && $i <= $this->nbPage) {
$params[$getteur] = $i;
if ($i != $this->currentPage) {
$class = '';
$aria = 'false';
} else {
$class = ' active';
$aria = 'true';
} ?>
<li class="item<?= $class ?>"><a href="<?= Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)) ?>" aria-current="<?= $aria ?>"><?= $i ?></a></li>
<?php
}
} ?>
<?php if ($this->nbPage > $this->currentPage + 2) { ?>
<li class="item">…</a></li>
<?php } ?>
<?php $params[$getteur] = $this->currentPage + 1; ?>
<li class="item pager-next">
<?php if ($this->currentPage < $this->nbPage) { ?>
<a href="<?= Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)) ?>"><?= _t('conf.logs.pagination.next') ?> ›</a>
<?php } ?>
</li>
<?php $params[$getteur] = $this->nbPage; ?>
<li class="item pager-last">
<a href="<?= Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)) ?>"><?= _t('conf.logs.pagination.last') ?> »</a>
</li>
</ul>
</nav>
<?php } ?>
wget 'https://lists2.roe3.org/FreshRSS/app/views/helpers/stream-footer.phtml'
<?php
declare(strict_types=1);
/** @var FreshRSS_View $this */
$url_next = Minz_Request::currentRequest();
$url_next['params']['next'] = FreshRSS_Context::$next_id;
$url_next['params']['state'] = (string)FreshRSS_Context::$state;
$url_next['params']['ajax'] = '1';
$url_mark_read = [
'c' => 'entry',
'a' => 'read',
'params' => [
'get' => FreshRSS_Context::currentGet(),
'nextGet' => FreshRSS_Context::$next_get,
'idMax' => FreshRSS_Context::$id_max,
'search' => htmlspecialchars_decode(FreshRSS_Context::$search->getRawInput(), ENT_QUOTES),
'state' => FreshRSS_Context::$state,
],
];
$hasAccess = FreshRSS_Auth::hasAccess();
if ($hasAccess) {
?>
<form id="stream-footer" action="" method="post">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<?php } else { ?>
<div id="stream-footer">
<?php }?>
<div class="stream-footer-inner">
<?php if (FreshRSS_Context::$next_id) { ?>
<button id="load_more" type="submit" class="btn" formaction="<?= Minz_Url::display($url_next) ?>"><?= _t('gen.stream.load_more') ?></button>
<?php } elseif ($hasAccess) { ?>
<?= _t('gen.stream.nothing_to_load') ?><br />
<button id="bigMarkAsRead"
class="as-link <?= FreshRSS_Context::userConf()->reading_confirm ? 'confirm" disabled="disabled' : '' ?>"
form="stream-footer"
formaction="<?= Minz_Url::display($url_mark_read) ?>"
type="submit">
<span class="bigTick">✓</span><br />
<span class="markAllRead"><?= _t('gen.stream.mark_all_read') ?></span><br />
<?php if (FreshRSS_Context::userConf()->onread_jump_next) { ?>
<span class="jumpNext"><?= _t('conf.reading.jump_next') ?></span>
<?php } ?>
</button>
<?php } else { ?>
<?= _t('gen.stream.nothing_to_load') ?><br />
<?php } ?>
</div>
<?php if ($hasAccess) { ?>
</form>
<?php } else {?>
</div>
<?php }?>