added enableping_macro() (renders a checkbox for selecting weblog.com-ping or cleartext according to value)
This commit is contained in:
parent
d11e837772
commit
0859126bb4
1 changed files with 13 additions and 0 deletions
|
@ -355,6 +355,19 @@ function showarchive_macro(param) {
|
||||||
res.write(param.suffix);
|
res.write(param.suffix);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* macro rendering enableping-flag of weblog
|
||||||
|
*/
|
||||||
|
|
||||||
|
function enableping_macro(param) {
|
||||||
|
res.write(param.prefix)
|
||||||
|
if (param.as == "editor")
|
||||||
|
this.renderInputCheckbox(this.createInputParam("enableping",param));
|
||||||
|
else
|
||||||
|
res.write(parseInt(this.enableping,10) ? "yes" : "no");
|
||||||
|
res.write(param.suffix);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* macro rendering default longdateformat of weblog
|
* macro rendering default longdateformat of weblog
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue