version 1.375, 2005/05/02 11:23:22
|
version 1.376, 2005/06/04 20:52:37
|
Line 445 my %page_formats=
|
Line 445 my %page_formats=
|
'2' => ['3.16 in','13 in','-0.57 in','-0.57 in','-0.5 in'] |
'2' => ['3.16 in','13 in','-0.57 in','-0.57 in','-0.5 in'] |
}, |
}, |
'album' => { |
'album' => { |
'1' => [], |
'1' => ['12 in','7.1 in',,'-0.57 in','-0.57 in','-0.5 in'], |
'2' => [] |
'2' => ['6.0 in','7.1 in','-1 in','-1 in','5 in'] |
}, |
}, |
}, |
}, |
'tabloid' => { |
'tabloid' => { |
Line 455 my %page_formats=
|
Line 455 my %page_formats=
|
'2' => ['4.9 in','16 in','-0.57 in','-0.57 in','-0.5 in'] |
'2' => ['4.9 in','16 in','-0.57 in','-0.57 in','-0.5 in'] |
}, |
}, |
'album' => { |
'album' => { |
'1' => [], |
'1' => ['16 in','9.8 in','-0.57 in','-0.57 in','-0.5 in'], |
'2' => [] |
'2' => ['16 in','4.9 in','-0.57 in','-0.57 in','-0.5 in'] |
}, |
}, |
}, |
}, |
'executive' => { |
'executive' => { |
Line 2271 use Apache::lonlocal;
|
Line 2271 use Apache::lonlocal;
|
use Apache::lonnet; |
use Apache::lonnet; |
|
|
my $maxColumns = 2; |
my $maxColumns = 2; |
|
# it'd be nice if these all worked |
|
#my @paperSize = ("letter [8 1/2x11 in]", "legal [8 1/2x14 in]", |
|
# "tabloid (ledger) [11x17 in]", "executive [7 1/2x10 in]", |
|
# "a2 [420x594 mm]", "a3 [297x420 mm]", "a4 [210x297 mm]", |
|
# "a5 [148x210 mm]", "a6 [105x148 mm]" ); |
my @paperSize = ("letter [8 1/2x11 in]", "legal [8 1/2x14 in]", |
my @paperSize = ("letter [8 1/2x11 in]", "legal [8 1/2x14 in]", |
"tabloid (ledger) [11x17 in]", "executive [7 1/2x10 in]", |
"a4 [210x297 mm]"); |
"a2 [420x594 mm]", "a3 [297x420 mm]", "a4 [210x297 mm]", |
|
"a5 [148x210 mm]", "a6 [105x148 mm]" ); |
|
|
|
# Tentative format: Orientation (L = Landscape, P = portrait) | Colnum | |
# Tentative format: Orientation (L = Landscape, P = portrait) | Colnum | |
# Paper type |
# Paper type |
Line 2310 sub render {
|
Line 2313 sub render {
|
</tr> |
</tr> |
<tr> |
<tr> |
<td> |
<td> |
<input type="radio" name="${var}.layout" value="L" /> Landscape<br /> |
<label><input type="radio" name="${var}.layout" value="L" /> Landscape </label><br /> |
<input type="radio" name="${var}.layout" value="P" checked='1' /> Portrait |
<label><input type="radio" name="${var}.layout" value="P" checked='1' /> Portrait </label> |
</td> |
</td> |
<td align="center"> |
<td align="center"> |
<select name="${var}.cols"> |
<select name="${var}.cols"> |