Index: trunk/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php |
— | — | @@ -92,6 +92,13 @@ |
93 | 93 | $fields['Campaignname'] = array ( 'type' => 'text', 'default' => $this->subPage, 'label-message' => 'mwe-upwiz-campaign-name' ); |
94 | 94 | $fields['Campaignenabled'] = array ( 'type' => 'check', 'default' => $enabled, 'label-message' => 'mwe-upwiz-campaign-enabled' ); |
95 | 95 | |
| 96 | + // show _ALL_ the licenses! |
| 97 | + $standardConfig = UploadWizardConfig::getConfig(); |
| 98 | + foreach ( $standardConfig['licenses'] as $key => $license ) { |
| 99 | + $configFields['licensesOwnWork']['options'][ wfMsg( $license['msg'] ) ] = $key; |
| 100 | + $configFields['defaultOwnWorkLicence']['options'][ wfMsg( $license['msg'] ) ] = $key; |
| 101 | + } |
| 102 | + |
96 | 103 | foreach ( $configFields as $name => $data ) { |
97 | 104 | $data['label-message'] = 'mwe-upwiz-campaign-conf-' . $name; |
98 | 105 | |