[rt-users] Display Queue Link in first paragraph

Christian Kurz Christian.Kurz at planNET.de
Wed Dec 20 09:41:52 EST 2000


On 00-12-20 Brandon S. Allbery KF8NH wrote:
> On Wednesday, December 20, 2000 11:00:33 AM +0100, Christian Kurz 
> <Christian.Kurz at plannet.de> wrote:
> +-----
> | And now the whole bar containing "Display Queue | Comment | Reply " is
> | moved to the left instead of being centered and in the center I have the
> | following strings "1 | Take | Resolve". So, what is wrong my
> | modification?
> +--->8

> What do the next few lines of the script look like?

|sub do_bar {
|  my $serial_num = shift;
|  my $temp;
      
|      print "
|     <DIV ALIGN=\"CENTER\"> ".
|      print "
|     <A HREF=\"$ScriptURL\">Display Queue</A> ". " | " .
|&fdro_murl("display=SetComment","history","Comment",0). " | " .
|&fdro_murl("display=SetReply","history","Reply",0);

|&fdro_murl("display=SetComment","history","Comment",0). " | " .
|&fdro_murl("display=SetReply","history","Reply",0);

|      if ($rt::req[$serial_num]{'owner'} eq '') {
|    print " | ". 
|&fdro_murl("do_req_give=true&do_req_give_to=$current_user","summary","Take",0) ;
|      }
|      if ($rt::req[$serial_num]{'status'} ne 'resolved') {
      
|    print " | ".
|&fdro_murl("do_req_resolve=true","summary","Resolve",0);
|      }
|      if ($rt::req[$serial_num]{'status'} ne 'open') {
      
|    print " | " .
|&fdro_murl("do_req_open=true","summary","Open",0);
|      }
      
|      print "</DIV>";
|    } 

That's the whole sub that I modified with the second print statement
above.

Ciao
     Christian
-- 
Christian Kurz                                   http://www.planNET.de
planNET Systems GmbH                            mailto:info at planNET.de
Schoenfeldstr. 8                              Telefon: +49 721 66 36 0
D-76131 Karlsruhe                           Telefax: +49 721 66 36 199 




More information about the rt-users mailing list