Sandbox95
From Metabolomics.JP
(Difference between revisions)
(4 intermediate revisions by 2 users not shown) | |||
Line 24: | Line 24: | ||
body = string.sub(list[i],string.len(head)+1); | body = string.sub(list[i],string.len(head)+1); | ||
--%% あらかじめセットしてあるデータをチェック - データは&&区切り %%-- | --%% あらかじめセットしてあるデータをチェック - データは&&区切り %%-- | ||
− | if (string.match("{{#get:initset}}", " | + | if (string.match("{{#get:initset}}", "~" .. body .. "~", 0) == nil) then |
checked = '' | checked = '' | ||
else | else | ||
Line 36: | Line 36: | ||
print('{{#form' .. 'tag:input|type="hidden" name="listpage" value="{{#get:listpage}}"}}') | print('{{#form' .. 'tag:input|type="hidden" name="listpage" value="{{#get:listpage}}"}}') | ||
print('{{#form' .. 'tag:input|type="hidden" name="title" value="{{#get:title}}"}}') | print('{{#form' .. 'tag:input|type="hidden" name="title" value="{{#get:title}}"}}') | ||
+ | print('{{#form' .. 'tag:input|type="hidden" name="separator" value="{{#get:separator}}"}}') | ||
print('{{#form' .. 'tag:input|type="hidden" name="hookinsert" value="__HOOK_AND_INSERT__"}}') | print('{{#form' .. 'tag:input|type="hidden" name="hookinsert" value="__HOOK_AND_INSERT__"}}') | ||
print('{{#form' .. 'tag:input|type="submit" value="update"}}') | print('{{#form' .. 'tag:input|type="submit" value="update"}}') | ||
print('}}') | print('}}') | ||
− | |{{#get:listpage}} | + | |{{ {{#get:listpage}} }} |
}} | }} | ||
+ | |||
+ | {{#get:listpage}} |
Latest revision as of 11:25, 10 April 2009