| Line 188: |
Line 188: |
| | wpCategoriesUploadLbl: 'Categories:', | | wpCategoriesUploadLbl: 'Categories:', |
| | wpResourceLinkUploadLbl: 'Resource Link:', | | wpResourceLinkUploadLbl: 'Resource Link:', |
| | + | wpConceptNameUploadLbl: 'Concept Name:', |
| | + | wpAltNameUploadLbl: 'Alternate Name:', |
| | + | wpContentOrgUploadLbl: 'Content Org:', |
| | + | wpTeachesUploadLbl: 'Teaches:', |
| | wpOtherVersionsUploadLbl: 'Other versions:', | | wpOtherVersionsUploadLbl: 'Other versions:', |
| | wpAdditionalInfoUploadLbl: 'Additional information:', | | wpAdditionalInfoUploadLbl: 'Additional information:', |
| Line 240: |
Line 244: |
| | wpUploadFormDateHint: | | wpUploadFormDateHint: |
| | 'Date of creation and/or first publication of the work.', | | 'Date of creation and/or first publication of the work.', |
| | + | wpUploadFormPermissionHint: |
| | + | 'Not your own file? Or already published elsewhere? Use \{\{OTRS pending\}\} and send permission by e-mail. ' |
| | + | +'Also for specialized license tags.', |
| | wpUploadFormAdditionalInfoHint: | | wpUploadFormAdditionalInfoHint: |
| | 'Use for geolocation tags and other specialized information.', | | 'Use for geolocation tags and other specialized information.', |
| Line 652: |
Line 659: |
| | setHelp ('wpDesc', button_imgs, button_lk, max_width, is_reupload); | | setHelp ('wpDesc', button_imgs, button_lk, max_width, is_reupload); |
| | setHelp ('wpResourceLink', button_imgs, button_lk, max_width, is_reupload); | | setHelp ('wpResourceLink', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpConceptName', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpAltName', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpContentOrg', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpTeaches', button_imgs, button_lk, max_width, is_reupload); |
| | setHelp ('wpPermission', button_imgs, button_lk, max_width, is_reupload); | | setHelp ('wpPermission', button_imgs, button_lk, max_width, is_reupload); |
| | setHelp ('wpOtherVersions', button_imgs, button_lk, max_width, is_reupload); | | setHelp ('wpOtherVersions', button_imgs, button_lk, max_width, is_reupload); |
| Line 1,152: |
Line 1,163: |
| | UploadForm.addAfterField ('wpAuthor', UFUI.getHint ('wpUploadFormAuthorHint')); | | UploadForm.addAfterField ('wpAuthor', UFUI.getHint ('wpUploadFormAuthorHint')); |
| | UploadForm.addAfterField ('wpDate', UFUI.getHint ('wpUploadFormDateHint')); | | UploadForm.addAfterField ('wpDate', UFUI.getHint ('wpUploadFormDateHint')); |
| | + | UploadForm.addAfterField ('wpPermission', UFUI.getHint ('wpUploadFormPermissionHint')); |
| | UploadForm.addAfterField ('wpAdditionalInfo', UFUI.getHint ('wpUploadFormAdditionalInfoHint')); | | UploadForm.addAfterField ('wpAdditionalInfo', UFUI.getHint ('wpUploadFormAdditionalInfoHint')); |
| | UploadForm.addAfterField ('catlinks', UFUI.getHint ('wpUploadFormCategoryHint')); | | UploadForm.addAfterField ('catlinks', UFUI.getHint ('wpUploadFormCategoryHint')); |
| Line 1,295: |
Line 1,307: |
| | UploadFormFull.form_type = 1; | | UploadFormFull.form_type = 1; |
| | } | | } |
| | + | addInput (table, idx++, 'wpOtherVersions', null, 80, previous_form); |
| | addInput (table, idx++, 'wpResourceLink', null, 80, previous_form); | | addInput (table, idx++, 'wpResourceLink', null, 80, previous_form); |
| − | addInput (table, idx++, 'wpOtherVersions', null, 80, previous_form); | + | addInput (table, idx++, 'wpConceptName', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpAltName', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpContentOrg', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpTeaches', null, 80, previous_form); |
| | addInput (table, idx++, 'wpPermission', null, 80, previous_form); | | addInput (table, idx++, 'wpPermission', null, 80, previous_form); |
| | new_field = document.createElement ('textarea'); | | new_field = document.createElement ('textarea'); |
| Line 1,399: |
Line 1,415: |
| | var othervers = document.getElementById ('wpOtherVersions'); | | var othervers = document.getElementById ('wpOtherVersions'); |
| | var resourceli = document.getElementById ('wpResourceLink'); | | var resourceli = document.getElementById ('wpResourceLink'); |
| | + | var conceptname = document.getElementById ('wpConceptName'); |
| | + | var altname = document.getElementById ('wpAltName'); |
| | + | var contentorg = document.getElementById ('wpContentOrg'); |
| | + | var teaches = document.getElementById ('wpTeaches'); |
| | | | |
| | desc_text = '\{\{Information\n' | | desc_text = '\{\{Information\n' |
| Line 1,406: |
Line 1,426: |
| | + '|Date =' + (!date.disabled ? UploadForm.clean (date.value) : "") + '\n' | | + '|Date =' + (!date.disabled ? UploadForm.clean (date.value) : "") + '\n' |
| | + '|Resource_link =' + (!resourceli.disabled ? UploadForm.clean (resourceli.value) : "") + '\n' | | + '|Resource_link =' + (!resourceli.disabled ? UploadForm.clean (resourceli.value) : "") + '\n' |
| | + | + '|Name =' + (!conceptname.disabled ? UploadForm.clean (conceptname.value) : "") + '\n' |
| | + | + '|Alt_names =' + (!altname.disabled ? UploadForm.clean (altname.value) : "") + '\n' |
| | + | + '|Content_org =' + (!contentorg.disabled ? UploadForm.clean (contentorg.value) : "") + '\n' |
| | + | + '|Teaches =' + (!teaches.disabled ? UploadForm.clean (teaches.value) : "") + '\n' |
| | + ((other && !other.disabled && other.value != null) | | + ((other && !other.disabled && other.value != null) |
| | ? '|Permission =' + UploadForm.clean (other.value) + '\n' | | ? '|Permission =' + UploadForm.clean (other.value) + '\n' |
| Line 1,500: |
Line 1,524: |
| | var other = document.getElementById ('wpPermission'); | | var other = document.getElementById ('wpPermission'); |
| | var resourceli = document.getElementById ('wpResourceLink'); | | var resourceli = document.getElementById ('wpResourceLink'); |
| | + | var conceptname = document.getElementById ('wpConceptName'); |
| | + | var altname = document.getElementById ('wpAltName'); |
| | + | var contentorg = document.getElementById ('wpContentOrg'); |
| | + | var teaches = document.getElementById ('wpTeaches'); |
| | var othervers = document.getElementById ('wpOtherVersions'); | | var othervers = document.getElementById ('wpOtherVersions'); |
| | var moreInfo = document.getElementById ('wpAdditionalInfo'); | | var moreInfo = document.getElementById ('wpAdditionalInfo'); |