This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
nwnadmin/lib/ModuleForms.php

21 lines
457 B
PHP

<?php
// Required Horde libraries
require_once 'Horde/Variables.php';
require_once 'Horde/Form.php';
require_once 'Horde/Form/Renderer.php';
class NewNWNModule extends Horde_Form
{
function NewNWNModule(&$vars)
{
parent::Horde_Form($vars);
$this->addVariable(_("New Module"), 'module', 'file', true);
$this->setTitle(_("Upload New Module"));
$this->setButtons(_("Upload"));
$this->useToken(true);
}
}