get_gitea_all(); } if (isset($_POST['gitea_options'])) { update_option('gitea_options', $_POST['gitea_options']); } $options = (array)get_option('gitea_options'); $repositories = $this->get_repositories(); $titles = array( 'plugin' => __('Plugins'), 'theme' => __('Themes'), ); ?>

Gitea Updater

$packages) : ?>
$items) : ?> $package) : ?>

$plugin) { $repositories[$plugin['gitea_host']]['plugin'][$slug] = $plugin; } foreach ($themes as $slug => $theme) { $repositories[$plugin['gitea_host']]['theme'][$slug] = $theme; } return $repositories; } }