Index: branches/uploadwizard-deployment2/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php |
— | — | @@ -81,6 +81,13 @@ |
82 | 82 | $fields['Campaignname'] = array ( 'type' => 'text', 'default' => $this->subPage, 'label-message' => 'mwe-upwiz-campaign-name' ); |
83 | 83 | $fields['Campaignenabled'] = array ( 'type' => 'check', 'default' => $enabled, 'label-message' => 'mwe-upwiz-campaign-enabled' ); |
84 | 84 | |
| 85 | + // show _ALL_ the licenses! |
| 86 | + $standardConfig = UploadWizardConfig::getConfig(); |
| 87 | + foreach ( $standardConfig['licenses'] as $key => $license ) { |
| 88 | + $configFields['licensesOwnWork']['options'][ wfMsg( $license['msg'] ) ] = $key; |
| 89 | + $configFields['defaultOwnWorkLicence']['options'][ wfMsg( $license['msg'] ) ] = $key; |
| 90 | + } |
| 91 | + |
85 | 92 | foreach ( $configFields as $name => $data ) { |
86 | 93 | $data['label-message'] = 'mwe-upwiz-campaign-conf-' . $name; |
87 | 94 | |