Revision f2078516
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
bin/mozilla/menu.pl | ||
---|---|---|
38 | 38 |
$menufile = "menu.ini"; |
39 | 39 |
use SL::Menu; |
40 | 40 |
use Data::Dumper; |
41 |
use URI; |
|
41 | 42 |
|
42 | 43 |
1; |
43 | 44 |
|
... | ... | |
48 | 49 |
sub display { |
49 | 50 |
$lxdebug->enter_sub(); |
50 | 51 |
|
51 |
$form->{callback} = $form->unescape($form->{callback}); |
|
52 |
$form->{callback} ||= "login.pl?action=company_logo"; |
|
52 |
my $callback = $form->unescape($form->{callback}); |
|
53 |
$callback = URI->new($callback)->rel($callback) if $callback; |
|
54 |
$callback = "login.pl?action=company_logo" if $callback =~ /^(.\/)?$/; |
|
53 | 55 |
|
54 | 56 |
$form->header; |
55 | 57 |
|
... | ... | |
58 | 60 |
<frame src="kopf.pl" name="kopf" scrolling="NO"> |
59 | 61 |
<frameset cols="$framesize,*" framespacing="0" frameborder="0" border="0" > |
60 | 62 |
<frame src="$form->{script}?action=acc_menu" name="acc_menu" scrolling="auto" noresize marginwidth="0"> |
61 |
<frame src="$form->{callback}" name="main_window" scrolling="auto">
|
|
63 |
<frame src="$callback" name="main_window" scrolling="auto">
|
|
62 | 64 |
</frameset> |
63 | 65 |
<noframes> |
64 | 66 |
You need a browser that can read frames to see this page. |
Auch abrufbar als: Unified diff
Nur realtive URIs für logon.pl?callback= erlauben.