Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
print "<td width='30%'>$Lang::tr{'Captive active on'} <font color='$Header::colourblue'>Blue</font></td><td><input type='checkbox' name='ENABLE_BLUE' $checked{'ENABLE_BLUE'}{'on'} /></td></tr>";
}
print "<td width='30%'>$Lang::tr{'Captive active on'} <font color='$Header::colourblue'>Blue</font></td><td><input type='checkbox' name='ENABLE_BLUE' $checked{'ENABLE_BLUE'}{'on'} /></td></tr>";
}
- print<<END
- </tr>
- <tr>
- <td>
- $Lang::tr{'Captive title'}
- </td>
- <td>
- <input type='text' name='TITLE' value="$settings{'TITLE'}" size='40'>
- </td>
- </tr>
-END
-;
-
<tr>
<td>
$Lang::tr{'Captive authentication'}
<tr>
<td>
$Lang::tr{'Captive authentication'}
+ print<<END;
+ <tr>
+ <td colspan="2">
+ <br>
+ <strong>$Lang::tr{'Captive branding'}</strong>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ $Lang::tr{'Captive title'}
+ </td>
+ <td>
+ <input type='text' name='TITLE' value="$settings{'TITLE'}" size='40'>
+ </td>
+ </tr>
+ <tr>
+ <td>$Lang::tr{'Captive brand color'}</td>
+ <td>
+ <input type="color" name="COLOR" value="$settings{'COLOR'}">
+ </td>
+ </tr>
+END
+
#Logo Upload
print <<END;
<tr>
#Logo Upload
print <<END;
<tr>
print"<td><br>$Lang::tr{'no'}</td></tr>";
}
print"<td><br>$Lang::tr{'no'}</td></tr>";
}
-print<<END
- <tr>
- <td>$Lang::tr{'Captive brand color'}</td>
- <td>
- <input type="color" name="COLOR" value="$settings{'COLOR'}">
- </td>
- </tr>
-
<tr>
<td></td>
<td align='right'>
<input type='submit' name='ACTION' value="$Lang::tr{'save'}"/>
</td>
</tr>
<tr>
<td></td>
<td align='right'>
<input type='submit' name='ACTION' value="$Lang::tr{'save'}"/>
</td>
</tr>
&Header::closebox();
#if settings is set to use coupons, the coupon part has to be displayed
&Header::closebox();
#if settings is set to use coupons, the coupon part has to be displayed
'Captive config' => 'Settings',
'Captive coupon' => 'Coupon',
'Captive err doublevoucher' => 'A voucher with this code already exists',
'Captive config' => 'Settings',
'Captive coupon' => 'Coupon',
'Captive err doublevoucher' => 'A voucher with this code already exists',
+'Captive branding' => 'Branding',
'Captive expire' => 'Expire',
'Captive generate coupon' => 'Generate Coupon',
'Captive heading terms' => 'Terms & Conditions',
'Captive expire' => 'Expire',
'Captive generate coupon' => 'Generate Coupon',
'Captive heading terms' => 'Terms & Conditions',