Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Potential fix for Issue #709

  • Loading branch information...
commit 17d37fab48778c13d6ade370aa7eafb58ba98254 1 parent 16116e6
@skinkie skinkie authored
Showing with 11 additions and 6 deletions.
  1. +11 −6 admin/wizards/hotlinking.py
View
17 admin/wizards/hotlinking.py
@@ -156,6 +156,9 @@ def __init__ (self):
self += submit
def __call__ (self):
+ cont = CTK.Container()
+ cont += CTK.RawHTML ('<h2>%s</h2>' %(_(NOTE_RULE_H1)))
+
vsrv_num = CTK.cfg.get_val("%s!vsrv_num"%(PREFIX))
nick = CTK.cfg.get_val("vserver!%s!nick"%(vsrv_num))
if not '.' in nick:
@@ -171,15 +174,17 @@ def __call__ (self):
table.Add (_('Domain Name'), CTK.TextCfg ('%s!domain'%(PREFIX), False, {'value': nick}), _(NOTE_DOMAIN))
table.Add (_('Reply type'), combo_widget, _(NOTE_TYPE))
- submit = CTK.Submitter (URL_APPLY)
- submit += CTK.Hidden('final', '1')
+ submit = CTK.Submitter (URL_APPLY_REFRESH)
submit += table
+ submit += refresh
+ cont += submit
- cont = CTK.Container()
- cont += CTK.RawHTML ('<h2>%s</h2>' %(_(NOTE_RULE_H1)))
+ # Global Submit
+ submit = CTK.Submitter (URL_APPLY)
+ submit += CTK.Hidden('final', '1')
cont += submit
- cont += refresh
- cont += CTK.DruidButtonsPanel_PrevCreate_Auto()
+
+ cont += CTK.DruidButtonsPanel_PrevCreate_Auto()
return cont.Render().toStr()
Please sign in to comment.
Something went wrong with that request. Please try again.