Last change
on this file since 619 was 575, checked in by Kris Deugau, 12 years ago |
/trunk
Work in progress, see #5:
Update "add new allocation" templates and calling code for new
table logic and fields.
Also update listpool page to pass around rdepth as necessary
|
File size:
1.5 KB
|
Rev | Line | |
---|
[463] | 1 | <TMPL_IF err>
|
---|
| 2 | <div class="err">
|
---|
| 3 | <p><TMPL_VAR NAME=err></p>
|
---|
| 4 | <input type="button" value="Back" onclick="history.go(-1)">
|
---|
| 5 | </div>
|
---|
| 6 | <TMPL_ELSE>
|
---|
| 7 | <TMPL_IF staticip>
|
---|
| 8 | <div class="center">
|
---|
| 9 | <div class="heading">The IP <TMPL_VAR NAME=staticip> has been allocated to customer <TMPL_VAR NAME=custid></div>
|
---|
| 10 | <TMPL_IF billinguser>
|
---|
| 11 | <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>
|
---|
| 12 | </TMPL_IF>
|
---|
| 13 | </div>
|
---|
[575] | 14 | <div class="center">IPs in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=parent>&rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=parent></a></div>
|
---|
[463] | 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>
|
---|
[575] | 22 | <div class="center">Allocations in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&block=<TMPL_VAR NAME=parent>&rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=parent></a></div>
|
---|
[463] | 23 | </TMPL_IF>
|
---|
| 24 | </TMPL_IF>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.