diaryUpdateSystem
[beforeExec]
Fx.pageNo = Fx.loc.match(/page=(\d+)/) ? Number(RegExp.$1) : 136695;
Fx.uri = "/cgi-bin/diary_form.cgi?oid=nancyan" +
(Fx.pageNo ? "&mode=edit&article_id=" + Fx.pageNo : "");
Fx.ent = function(){
var s = Fx.str.replace(/\r?\n/g, "\t");
s = s.replace(/^.+?(<form\s)/, function(e0,e1){
return (
e1 + "target='" + (window.name == "main_nancyan" ? "winTEMP" : "main_nancyan") +
"' name='updateForm' "
)}
);
s = s.replace(/(<\/form>).+?$/, "$1");
s = s.replace(/<th>.+?<\/th>/g, "");
s = s.replace(/cols="\d+"\srows="\d+"/, 'cols="90" rows="16"');
s = s.replace(/(<select)/, "カテゴリ:$1");
s = s.replace(/(<input)/, '新規:$1 size="8"');
s = s.replace(/<\/td>.+?<td>/, "タイトル:");
s = Fx.dec(s);
s = s.replace(/\t/g, "\n");
Fid("updateDisp").innerHTML = s;

};

entry = function(){
};

setPass = function(){
var F1 = document.forms["updateForm"];

F1.elements["article_title"].size = 30;
o = F1.elements["article_sentences"];
o.cols = 120;
o.rows = 30;
if(window.screen.height == 600) o.style.height = "300px";
};
Fx.body += '<iframe name="main_nancyan" width="0" height="0" frameborder="0"></iframe>';
[/beforeExec]

[cssText]
#updateDisp {
margin-left:3em;
}
select { font-size:10pt; }
#updateDisp fieldset {display:none;}
#updateDisp textarea {overflow:auto;}

[/cssText]
[body]
diary update system




[/body]

[exec]
document.title = "日記帳更新(#" + Fx.pageNo + ")";
Fget();
[/exec]