From: vincent@cubedesigners.com Date: Thu, 5 Dec 2013 08:51:32 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3a0fc21c5df3f5bb1119770f9b082635abce5af9;p=ccgm.git --- diff --git a/framework/application/views/helpers/Essais.php b/framework/application/views/helpers/Essais.php new file mode 100644 index 0000000..6a50fa5 --- /dev/null +++ b/framework/application/views/helpers/Essais.php @@ -0,0 +1,26 @@ +'; + foreach ($listes as $liste) { + $res.=$this->_liste($liste); + } + $res.=''; + return $res; + } + + protected function _liste($liste) { + $res = '
'; + $res.='

' . $liste->titre . '

'; + $res.=$this->_table($liste->essais); + $res.='
'; + return $res; + } + + protected function _table($essais) { + + } + +} diff --git a/framework/application/views/scripts/templates/listing.phtml b/framework/application/views/scripts/templates/listing.phtml index 33716e7..bc3df1f 100644 --- a/framework/application/views/scripts/templates/listing.phtml +++ b/framework/application/views/scripts/templates/listing.phtml @@ -2,6 +2,7 @@
markupDotclear($this->text); + echo $this->essais($this->listes) ?>
rightbar() ?>