Changes

Jump to navigation Jump to search
1,793 bytes added ,  18:16, 24 November 2016
no edit summary
Line 192: Line 192:  
     wpContentOrgUploadLbl:  'Content Org:',
 
     wpContentOrgUploadLbl:  'Content Org:',
 
     wpTeachesUploadLbl:  'Teaches:',
 
     wpTeachesUploadLbl:  'Teaches:',
 +
    wpBasedOnURLUploadLbl:  'Based on URL:',
 +
    wpPreRequisitUploadLbl:  'Requires:',
 +
    wpAssessmentUploadLbl:  'Assessment:',
 +
    wpTimeRequiredUploadLbl:  'Time Required:',
 
     wpOtherVersionsUploadLbl:  'Other versions:',
 
     wpOtherVersionsUploadLbl:  'Other versions:',
 
     wpAdditionalInfoUploadLbl: 'Additional information:',
 
     wpAdditionalInfoUploadLbl: 'Additional information:',
Line 660: Line 664:  
     setHelp ('wpContentOrg', 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 ('wpTeaches', button_imgs, button_lk, max_width, is_reupload);
 +
    setHelp ('wpBasedOnURL', button_imgs, button_lk, max_width, is_reupload);
 +
    setHelp ('wpPreRequisit', button_imgs, button_lk, max_width, is_reupload);
 +
    setHelp ('wpAssessment', button_imgs, button_lk, max_width, is_reupload);
 +
    setHelp ('wpTimeRequired', 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,310: Line 1,318:  
     addInput (table, idx++, 'wpContentOrg', null, 80, previous_form);
 
     addInput (table, idx++, 'wpContentOrg', null, 80, previous_form);
 
     addInput (table, idx++, 'wpTeaches', null, 80, previous_form);
 
     addInput (table, idx++, 'wpTeaches', null, 80, previous_form);
 +
    addInput (table, idx++, 'wpBasedOnURL', null, 80, previous_form);
 +
    addInput (table, idx++, 'wpPreRequisit', null, 80, previous_form);
 +
    addInput (table, idx++, 'wpAssessment', null, 80, previous_form);
 +
    addInput (table, idx++, 'wpTimeRequired', 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,416: Line 1,428:  
       var contentorg  = document.getElementById ('wpContentOrg');
 
       var contentorg  = document.getElementById ('wpContentOrg');
 
       var teaches  = document.getElementById ('wpTeaches');
 
       var teaches  = document.getElementById ('wpTeaches');
 +
      var basedonurl  = document.getElementById ('wpBasedOnURL');
 +
      var prerequisit  = document.getElementById ('wpPreRequisit');
 +
      var assessment  = document.getElementById ('wpAssessment');
 +
      var timerequir  = document.getElementById ('wpTimeRequired');
    
       desc_text = '\{\{Information\n'
 
       desc_text = '\{\{Information\n'
Line 1,427: Line 1,443:  
                   + '|Content_org          =' + (!contentorg.disabled ? UploadForm.clean (contentorg.value) : "") + '\n'
 
                   + '|Content_org          =' + (!contentorg.disabled ? UploadForm.clean (contentorg.value) : "") + '\n'
 
                   + '|Teaches          =' + (!teaches.disabled ? UploadForm.clean (teaches.value) : "") + '\n'
 
                   + '|Teaches          =' + (!teaches.disabled ? UploadForm.clean (teaches.value) : "") + '\n'
 +
                  + '|Based_on_url          =' + (!basedonurl.disabled ? UploadForm.clean (basedonurl.value) : "") + '\n'
 +
                  + '|Requires          =' + (!prerequisit.disabled ? UploadForm.clean (prerequisit.value) : "") + '\n'
 +
                  + '|Assessment          =' + (!assessment.disabled ? UploadForm.clean (assessment.value) : "") + '\n'
 +
                  + '|Time_required          =' + (!timerequir.disabled ? UploadForm.clean (timerequir.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,525: Line 1,545:  
     var contentorg = document.getElementById ('wpContentOrg');
 
     var contentorg = document.getElementById ('wpContentOrg');
 
     var teaches = document.getElementById ('wpTeaches');
 
     var teaches = document.getElementById ('wpTeaches');
 +
    var basedonurl = document.getElementById ('wpBasedOnURL');
 +
    var prerequisit = document.getElementById ('wpPreRequisit');
 +
    var assessment = document.getElementById ('wpAssessment');
 +
    var timerequir = document.getElementById ('wpTimeRequired');
 
     var othervers = document.getElementById ('wpOtherVersions');
 
     var othervers = document.getElementById ('wpOtherVersions');
 
     var moreInfo  = document.getElementById ('wpAdditionalInfo');
 
     var moreInfo  = document.getElementById ('wpAdditionalInfo');

Navigation menu