mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 19:35:15 +00:00
16 lines
294 B
PHP
16 lines
294 B
PHP
<?php
|
|
|
|
namespace Code\Widget;
|
|
|
|
use Code\Lib\Libzotdir;
|
|
|
|
class Dirsort implements WidgetInterface
|
|
{
|
|
public function widget(array $arguments): string
|
|
{
|
|
if (intval($_REQUEST['suggest'])) {
|
|
return EMPTY_STR;
|
|
}
|
|
return Libzotdir::dir_sort_links();
|
|
}
|
|
}
|