version 1.1, 2007/10/20 17:07:42
|
version 1.2, 2007/10/20 17:33:35
|
Line 24
|
Line 24
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
# SUCH DAMAGE. |
# SUCH DAMAGE. |
# |
# |
|
# $Paefchen$ |
# $MCom: portstools/tinderbox/webui/index.php,v 1.22 2007/10/13 02:28:47 ade Exp $ |
# $MCom: portstools/tinderbox/webui/index.php,v 1.22 2007/10/13 02:28:47 ade Exp $ |
# |
# |
|
|
Line 37 require_once 'module/modulePortFailureReasons.php';
|
Line 38 require_once 'module/modulePortFailureReasons.php';
|
require_once 'module/moduleSession.php'; |
require_once 'module/moduleSession.php'; |
require_once 'module/moduleTinderd.php'; |
require_once 'module/moduleTinderd.php'; |
require_once 'module/moduleUsers.php'; |
require_once 'module/moduleUsers.php'; |
|
require_once 'module/moduleRss.php'; |
|
|
require_once $templatesdir.'/messages.inc'; |
require_once $templatesdir.'/messages.inc'; |
|
|
Line 48 $modulePortFailureReasons = new modulePortFailureReaso
|
Line 50 $modulePortFailureReasons = new modulePortFailureReaso
|
$moduleSession = new moduleSession(); |
$moduleSession = new moduleSession(); |
$moduleTinderd = new moduleTinderd(); |
$moduleTinderd = new moduleTinderd(); |
$moduleUsers = new moduleUsers(); |
$moduleUsers = new moduleUsers(); |
|
$moduleRss = new moduleRss(); |
|
|
$moduleSession->start(); |
$moduleSession->start(); |
if( isset($_POST['do_login']) ) { |
if( isset($_POST['do_login']) ) { |
Line 136 switch( $action ) {
|
Line 139 switch( $action ) {
|
break; |
break; |
case 'config': $display = $moduleConfig->display_config(); |
case 'config': $display = $moduleConfig->display_config(); |
break; |
break; |
|
case 'latest_buildports_rss': |
|
print $moduleRss->display_latest_buildports(); |
|
exit |
case 'list_builds': |
case 'list_builds': |
default: $display = $moduleBuilds->display_list_builds(); |
default: $display = $moduleBuilds->display_list_builds(); |
break; |
break; |