Select Git revision
formgen.class.php
-
hahn authored
- scrolling - no detail button - smaller folder image - Scroll to top of page - delete project: red button - removed builld and cleanup from menu
hahn authored- scrolling - no detail button - smaller folder image - Scroll to top of page - delete project: red button - removed builld and cleanup from menu
projectlist.class.php 25.40 KiB
<?php
/* ######################################################################
IML DEPLOYMENT
class projectlist to render overview page
---------------------------------------------------------------------
2013-11-08 Axel <axel.hahn@iml.unibe.ch>
###################################################################### */
require_once 'base.class.php';
require_once 'project.class.php';
/**
* class for project overview
*/
class projectlist extends base{
// ----------------------------------------------------------------------
// CONFIG
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// constructor
// ----------------------------------------------------------------------
/**
* constructor2 called from constructor of base class
*/
public function __construct() {
$this->oUser=new user();
}
// ----------------------------------------------------------------------
// private functions
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// GETTER
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// SETTER
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// ACTIONS
// ----------------------------------------------------------------------
/**
* render html for overview table
* @return string
*/
public function renderOverview() {
$sOut = ''; // table
$sOut2 = ''; // tiles
$oPrj = false;
$sTrClass = "trproject";
$sColClass = "tdphase";
$oPrj1 = new project();
$oHtml=new htmlguielements();
$sPrjFilter = '';
$sPrjGroupFilter = '';
$sPhaseFilter = '';
$sPrjFilter.='<option value="">' . t("all") . '</option>';
$sPrjGroupFilter.='<option value="">' . t("all") . '</option>';
$sPhaseFilter.='<option value="' . $sColClass . '">' . t("all") . '</option>';
$iInprogress=0;