Example #1
0
 /**
  * Constuctor
  * @param string $root the root of the theme : '/themes/Tuleap/'
  */
 public function __construct($root)
 {
     // Constructor for parent class...
     parent::Response();
     $this->feeds = array();
     $this->javascript = array();
     $this->breadcrumbs = array();
     $this->toolbar = array();
     $this->javascriptFooter = array();
     /*
         Set up the priority color array one time only
     */
     $this->bgpri[1] = 'priora';
     $this->bgpri[2] = 'priorb';
     $this->bgpri[3] = 'priorc';
     $this->bgpri[4] = 'priord';
     $this->bgpri[5] = 'priore';
     $this->bgpri[6] = 'priorf';
     $this->bgpri[7] = 'priorg';
     $this->bgpri[8] = 'priorh';
     $this->bgpri[9] = 'priori';
     $this->root = $root;
     $this->imgroot = $root . '/images/';
     $this->purifier = Codendi_HTMLPurifier::instance();
 }