diff --git a/templates/ktcore/edit_lookuptrees.smarty b/templates/ktcore/edit_lookuptrees.smarty deleted file mode 100644 index 2733b41..0000000 --- a/templates/ktcore/edit_lookuptrees.smarty +++ /dev/null @@ -1,100 +0,0 @@ -{$context->oPage->requireCSSResource('resources/css/kt-treewidget.css')} -{$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Base.js')} -{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/Iter.js")} -{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/DOM.js")} - -

{i18n}Edit Lookup Tree{/i18n}: {$field->getName()}

- -

{i18n}Many "lookup" fields make sense in a hierachy: -countries are part of continents and sub-continents, school classes are part of grades -and programs, Powerbooks are Apple Macs, while Thinkpads are made by Lenovo. This -page will allow you to arrange the lookups in the field in a hierachy. All changes -are immediately stored, so when you are done simply navigate back to the field menu.{/i18n}

- - -
-
- {i18n arg_category="$category_name"}Add New Subcategory to #category#{/i18n} - -

{i18n}In order to organise the options into a "tree", you - need to add subcategories at each level. The "top" level is called the root, and - holds all the toplevel items. "Root" will not be shown to the final user, but - provides a single "parent" to the toplevel items.{/i18n}

- -

{i18n}As an example, if you are creating a tree of the - countries in the world, the actual countries would be keywords - (e.g. South Africa, England, Pakistan, India). The highest group of categories - would be continents — e.g. Africa, Europe, Asia, The Americas — followed by - subcategories that contain actual countries — e.g. Western Europe, Sub-saharan Africa, - Austalasia.{/i18n}

- - - - - - - - - - - -
- -
-
-
- -{if ($currentNode != 0)} -{if (empty($freechildren))} -

{i18n}Keywords which are directly below the - Root are considered "free" — they are not attached to - a subcategory. Only free keywords can be associated with a subcategory. To - free a keyword, click on the "unlink" command next to it in the preview tree below. - Deleting a subcategory will automatically unlink all keywords below it (including - those in subcategories of the subcategory). - {/i18n}

- -

{i18n}No free keywords. Use the "unlink" action on a keyword to -make it available.{/i18n}

-{else} -
-
- {i18n arg_category=$category_name}Attach keywords to #category#{/i18n} - -

{i18n}Keywords which are directly below the - Root are considered "free" — they are not attached to - a subcategory. Only free keywords can be associated with a subcategory. To - free a keyword, click on the "unlink" command next to it in the preview tree below. - {/i18n}

- - - - - - - - - - - -
- -
-
-
-{/if} -{/if} - - -

{i18n}Preview{/i18n}

-

- {i18n}Use the +/- arrows to open or close the tree. Bold items are metadata keywords. - To edit a category (including adding or removing keywords) click on the "attach keywords" link next to it.{/i18n} -

-
- -{$renderedTree}