Subversion Repositories slis

Rev

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

Rev 5775 Rev 6102
Line 1... Line 1...
1
<?PHP
1
<?PHP
2
/* $Id: view.php 5775 2009-05-19 09:46:49Z swirly $
2
/* $Id: view.php 6102 2009-11-10 08:58:29Z plb $
3

3

4
This script has been written by Joel Savignon
4
This script has been written by Joel Savignon
5
Copyright (C) 2002 Joel Savignon <js@neosystem.com>
5
Copyright (C) 2002 Joel Savignon <js@neosystem.com>
6

6

7
This script is released under GNU Public Licence (GPL)
7
This script is released under GNU Public Licence (GPL)
Line 260... Line 260...
260
                if ($monitor && $itemName=="hadmin"  && $slim_user->has_slis_right("log_to_hadmin_slis", $slis->name) ) {
260
                if ($monitor && $itemName=="hadmin"  && $slim_user->has_slis_right("log_to_hadmin_slis", $slis->name) ) {
261
                        ############### log_to_hadmin_slis ####################
261
                        ############### log_to_hadmin_slis ####################
262
               
262
               
263
                        $form = new Form("interface.php");
263
                        $form = new Form("interface.php");
264
                        $form->setTarget("_blank");
264
                        $form->setTarget("_blank");
265
                        $form->add_field(new HiddenField("","", "slis admin"));
265
                        $form->add_field(new HiddenField("","", "web admin"));
266
                        $form->add_field(new HiddenField("name", $slis->name));
266
                        $form->add_field(new HiddenField("name", $slis->name));
267
        //              $form->add_field(new CheckboxField("newWindow","Dans une nouvelle fenĂȘtre","t"));
267
        //              $form->add_field(new CheckboxField("newWindow","Dans une nouvelle fenĂȘtre","t"));
268
                        $form->add_button(new Button("go"));
268
                        $form->add_button(new Button("SLIS", "goSLIS"));
-
 
269
      if ($slis->version > 4.0) {
-
 
270
        $form->add_button(new Button("LCS", "goLCS"));
-
 
271
      }
-
 
272
269
                        return $form->build_code()."\n";
273
                        return $form->build_code()."\n";
270
274
271
        }else
275
        }else
272
276
273
                if ($monitor && $itemName=="root_shell"  && $slim_user->has_slis_right("log_to_shell_slis", $slis->name) ) {
277
                if ($monitor && $itemName=="root_shell"  && $slim_user->has_slis_right("log_to_shell_slis", $slis->name) ) {