sub display {
$lxdebug->enter_sub();
+ $form->{callback} = $form->unescape($form->{callback});
+ $form->{callback} ||= "login.pl?action=company_logo";
+
$form->header;
print qq|
<frame src="kopf.pl" name="kopf" scrolling="NO">
<frameset cols="$framesize,*" framespacing="0" frameborder="0" border="0" >
<frame src="$form->{script}?action=acc_menu" name="acc_menu" scrolling="auto" noresize marginwidth="0">
- <frame src="login.pl?action=company_logo" name="main_window" scrolling="auto">
+ <frame src="$form->{callback}" name="main_window" scrolling="auto">
</frameset>
<noframes>
You need a browser that can read frames to see this page.
$label_icon = $label . ".gif";
$mlab = $label;
$label = $locale->text($label);
-
+
# multi line hack, sschoeling jul06
- # if a label is too long, try to split it at whitespaces, then join it to chunks of less
+ # if a label is too long, try to split it at whitespaces, then join it to chunks of less
# than 20 chars and store it in an array.
# use this array later instead of the -ed label
@chunks = ();
map {
if (($l += length $_) < 20) {
$chunks[$i] .= " $_";
- } else {
- $l = length $_;
- $chunks[++$i] = $_;
+ } else {
+ $l = length $_;
+ $chunks[++$i] = $_;
+
}
} split / /, $label;
map { s/ / / } @chunks;