Show traffic quota eceeded message when a website has been deactivated.
| | |
| | | $wb["limit_traffic_quota_free_txt"] = 'Max. available Traffic Quota'; |
| | | $wb["redirect_error_regex"] = 'Invalid redirect path. Valid redirects are for example: /test/ or http://www.domain.tld/test/'; |
| | | $wb["php_open_basedir_txt"] = 'PHP open_basedir'; |
| | | $wb["traffic_quota_exceeded_txt"] = 'Traffic quota exceeded'; |
| | | ?> |
| | |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="traffic_quota">{tmpl_var name='traffic_quota_txt'}</label> |
| | | <input name="traffic_quota" id="traffic_quota" value="{tmpl_var name='traffic_quota'}" size="7" maxlength="7" type="text" class="textInput formLengthLimit" /> MB |
| | | <input name="traffic_quota" id="traffic_quota" value="{tmpl_var name='traffic_quota'}" size="7" maxlength="7" type="text" class="textInput formLengthLimit" /> MB <tmpl_var name='traffic_quota_exceeded_txt'> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='cgi_txt'}</p> |
| | |
| | | $app->tpl->setVar("edit_disabled", 0); |
| | | } |
| | | |
| | | $tmp_txt = ($this->dataRecord['traffic_quota_lock'] == 'y')?'<b>('.$app->tform->lng('traffic_quota_exceeded_txt').')</b>':''; |
| | | $app->tpl->setVar("traffic_quota_exceeded_txt", $tmp_txt); |
| | | |
| | | parent::onShowEnd(); |
| | | } |
| | | |