File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -57,4 +57,5 @@ $wb["ssl_country_error_regex"] = 'Invalid SSL Country. Valid characters are: A-Z
5757$wb["limit_traffic_quota_free_txt"] = 'Max. available Traffic Quota';
5858$wb["redirect_error_regex"] = 'Invalid redirect path. Valid redirects are for example: /test/ or http://www.domain.tld/test/';
5959$wb["php_open_basedir_txt"] = 'PHP open_basedir';
60+ $wb["traffic_quota_exceeded_txt"] = 'Traffic quota exceeded';
6061?>
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ <h2><tmpl_var name="list_head_txt"></h2>
5151 </ div >
5252 < div class ="ctrlHolder ">
5353 < label for ="traffic_quota "> {tmpl_var name='traffic_quota_txt'}</ label >
54- < input name ="traffic_quota " id ="traffic_quota " value ="{tmpl_var name='traffic_quota'} " size ="7 " maxlength ="7 " type ="text " class ="textInput formLengthLimit " /> MB
54+ < 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 ' >
5555 </ div >
5656 < div class ="ctrlHolder ">
5757 < p class ="label "> {tmpl_var name='cgi_txt'}</ p >
Original file line number Diff line number Diff line change @@ -203,6 +203,9 @@ function onShowEnd() {
203203 $ app ->tpl ->setVar ("edit_disabled " , 0 );
204204 }
205205
206+ $ tmp_txt = ($ this ->dataRecord ['traffic_quota_lock ' ] == 'y ' )?'<b>( ' .$ app ->tform ->lng ('traffic_quota_exceeded_txt ' ).')</b> ' :'' ;
207+ $ app ->tpl ->setVar ("traffic_quota_exceeded_txt " , $ tmp_txt );
208+
206209 parent ::onShowEnd ();
207210 }
208211
You can’t perform that action at this time.
0 commit comments