Subversion Repositories Applications.papyrus

Rev

Rev 465 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 465 Rev 474
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU General Public                                            |
18
// | You should have received a copy of the GNU General Public                                            |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: HTML_listeDocuments.class.php,v 1.2 2005-09-26 20:18:27 ddelon Exp $
22
// CVS : $Id: HTML_listeDocuments.class.php,v 1.3 2005-09-27 16:42:00 alexandre_tb Exp $
23
/**
23
/**
24
* Application projet
24
* Application projet
25
*
25
*
26
* La classe HTML_listeDocuments
26
* La classe HTML_listeDocuments
27
*
27
*
Line 29... Line 29...
29
//Auteur original :
29
//Auteur original :
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
31
//Autres auteurs :
31
//Autres auteurs :
32
*@author        Aucun
32
*@author        Aucun
33
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.2 $
34
*@version       $Revision: 1.3 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
Line 119... Line 119...
119
     *
119
     *
120
     * @param bool utilise_pager Voir HTML_listeDocuments
120
     * @param bool utilise_pager Voir HTML_listeDocuments
121
     * @return void
121
     * @return void
122
     * @access public
122
     * @access public
123
     */
123
     */
124
    function __construct( &$url,  $utilise_pager = false, $id_repertoire = 0, $auth = '' )
124
    function __construct( $utilise_pager )
125
    {
125
    {
126
        $this->HTML_listeDocuments($url,  $utilise_pager, $id_repertoire, $auth);
-
 
Line 127... Line 126...
127
        
126
        
Line 128... Line 127...
128
    } // end of member function __construct
127
    } // end of member function __construct
129
 
128
 
Line 234... Line 233...
234
     */
233
     */
235
    function toHTML( )
234
    function toHTML( )
236
    {
235
    {
237
        $chemin_navig = "" ;
236
        $chemin_navig = "" ;
238
        if ($this->_id_repertoire != "") {
237
        if ($this->_id_repertoire != "") {
-
 
238
            $this->_url->removeQueryString(PROJET_VARIABLE_ID_REPERTOIRE) ;
239
            $chemin_navig = "<p>" ;
239
            $chemin_navig = "<p>" ;
240
            $chemin_navig .= "<a href=\"".$this->_url->getURL()."\">".PROJET_RACINE."</a>\n" ;
240
            $chemin_navig .= "<a href=\"".$this->_url->getURL()."\">".PROJET_RACINE."</a>\n" ;
-
 
241
            $this->_url->addQueryString(PROJET_VARIABLE_ID_REPERTOIRE, $this->_id_repertoire) ;
241
            for ($i = 0; $i < count ($this->_chemin_navigation); $i+=2) {
242
            for ($i = 0; $i < count ($this->_chemin_navigation); $i+=2) {
242
                $chemin_navig .= "&gt;&nbsp;" ;
243
                $chemin_navig .= "&gt;&nbsp;" ;
243
                $nom = $this->_chemin_navigation[$i+1] ;
244
                $nom = $this->_chemin_navigation[$i+1] ;
244
                $this->_url->addQueryString ('id_repertoire', $this->_chemin_navigation[$i]) ;
245
                $this->_url->addQueryString ('id_repertoire', $this->_chemin_navigation[$i]) ;
245
                $chemin_navig .= "<a href=\"".$this->_url->getURL()."\">".$nom."</a>\n" ; 
246
                $chemin_navig .= "<a href=\"".$this->_url->getURL()."\">".$nom."</a>\n" ;