TOC html
Jump to navigation
Jump to search
| (6 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
--> | --> | ||
| + | |||
| + | |||
| + | <!--------------------------path--------------------------> | ||
| + | |||
| + | <div class="ci_form_section"> | ||
| + | <span class="ci_form_section_label"> | ||
| + | Target url | ||
| + | </span> | ||
| + | |||
| + | <input class="ci_form_input" type="text" placeholder="" name="Form TOC[target url]" value=""> | ||
| + | |||
| + | <span class="ci_form_section_help"> | ||
| + | Enter the target url of this set of pages, e.g.: https://culturaitaliana.org/organizations/Centro_italiano_Barcellona | ||
| + | </span> | ||
| + | |||
| + | </div> | ||
| + | |||
| + | |||
<div id="TOC_tree"></div> | <div id="TOC_tree"></div> | ||
| Line 112: | Line 130: | ||
checkbox: function(event, data) { | checkbox: function(event, data) { | ||
// Hide checkboxes for folders | // Hide checkboxes for folders | ||
| − | return data.node.isFolder() ? false : true; | + | return data.node.isFolder()? false: true; |
}, | }, | ||
dnd5: TOC_functions.fancytree_dnd5_conf | dnd5: TOC_functions.fancytree_dnd5_conf | ||
| Line 139: | Line 157: | ||
var today = new Date(); | var today = new Date(); | ||
var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate(); | var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate(); | ||
| − | var time = today.getHours() + ":" + today.getMinutes().padStart(2, '0') + ":" + today.getSeconds().padStart(2, '0'); | + | var time = today.getHours() + ":" + (today.getMinutes() + '').padStart(2, '0') + ":" + (today.getSeconds() + '').padStart(2, '0'); |
| Line 146: | Line 164: | ||
Don't edit it without the form, since any additional content | Don't edit it without the form, since any additional content | ||
will be lost on the next automatic update! | will be lost on the next automatic update! | ||
| − | --> | + | -->` + wiki_list.join("\n") + ` |
| − | ` + wiki_list.join("\n")) | + | |
| + | [[Category:TOCs]]`) | ||
Latest revision as of 22:35, 13 February 2021