Last change
on this file since 645 was 512, checked in by Kris Deugau, 12 years ago |
/branches/htmlform
Catch nuisance issue with templates that didn't previously include
the web path; now with it being set we need to put a placeholder
in so we don't spit HTML::Template errors.
See #3.
|
File size:
1.1 KB
|
Line | |
---|
1 | <TMPL_IF webpath></TMPL_IF>
|
---|
2 | <TMPL_IF err>
|
---|
3 | <div class="err">
|
---|
4 | <p><TMPL_VAR NAME=err></p>
|
---|
5 | <input type="button" value="Back" onclick="history.go(-1)">
|
---|
6 | </div>
|
---|
7 | <TMPL_ELSE>
|
---|
8 | <TMPL_IF staticip>
|
---|
9 | <div class="center">
|
---|
10 | <div class="heading">The IP <TMPL_VAR NAME=staticip> has been allocated to customer <TMPL_VAR NAME=custid></div>
|
---|
11 | <TMPL_IF billinguser>
|
---|
12 | <div><a href="https://billing.example.com/radius.pl?action=new_radius_user&custid=<TMPL_VAR NAME=custid>&userid=<TMPL_VAR NAME=billinguser>&ipdb=1&ip=<TMPL_VAR NAME=staticip>">Add this IP to RADIUS user table</a></div>
|
---|
13 | </TMPL_IF>
|
---|
14 | </div>
|
---|
15 | <TMPL_ELSE>
|
---|
16 | <div class="center">
|
---|
17 | <div class="heading">The block <TMPL_VAR NAME=fullcidr> was sucessfully added as: <TMPL_VAR NAME=alloctype></div>
|
---|
18 | <TMPL_IF billinguser>
|
---|
19 | <div><a href="https://billing.example.com/radius.pl?action=new_radius_user&custid=<TMPL_VAR NAME=custid>&userid=<TMPL_VAR NAME=billinguser>&route_subnet=<TMPL_VAR NAME=netaddr>&subnet_slash=<TMPL_VAR NAME=masklen>&include_routed_subnet=1&ipdb=1">Add this netblock to RADIUS user table</a></div>
|
---|
20 | </TMPL_IF>
|
---|
21 | </div>
|
---|
22 | </TMPL_IF>
|
---|
23 | </TMPL_IF>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.