add scope and campaign

Change-Id: I0cce90cdeef0b8127786981bcc420d78e47118f0
Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
diff --git a/content/en_index.php b/content/en_index.php
index 81ad678..c90691a 100644
--- a/content/en_index.php
+++ b/content/en_index.php
@@ -140,14 +140,26 @@
           </div>
         </div>
         <div class="modal-footer donate-modal-footer text-center">
-          <input type="hidden" name="default_process_url"
-            value="<?php print $Paypal->get_gateway_process_url();?>"
-          > <input type="hidden" name="credit_process_url"
-            value="<?php print $Paypal->get_gateway_credit_process_url();?>"
-          > <input type="submit" value="Donate" class="btn btn-warning">
+          <input type="hidden" name="default_process_url" value="<?php print $Paypal->get_gateway_process_url();?>">
+          <input type="hidden" name="credit_process_url" value="<?php print $Paypal->get_gateway_credit_process_url();?>">
+          <input type="submit" value="Donate" class="btn btn-warning">
+
           <?php if ($is_download_page) :?>
             <input type="hidden" name="landing_page" value="download">
           <?php endif;?>
+
+          <?php if (!empty($file_id) && is_numeric($file_id)) :?>
+            <input type="hidden" name="file_id" value="<?php print $App->checkPlain($file_id); ?>">
+          <?php endif;?>
+
+          <?php if (!empty($_GET['scope'])) :?>
+            <input type="hidden" name="scope" value="<?php print $App->checkPlain($_GET['scope']);?>">
+          <?php endif;?>
+
+          <?php if (!empty($_GET['campaign'])) :?>
+            <input type="hidden" name="campaign" value="<?php print $App->checkPlain($_GET['campaign']);?>">
+          <?php endif;?>
+
         </div>
       </form>
     </div>
diff --git a/ide/content/en_index.php b/ide/content/en_index.php
index 6dff900..28d7f4e 100644
--- a/ide/content/en_index.php
+++ b/ide/content/en_index.php
@@ -135,6 +135,15 @@
           <input type="hidden" name="default_process_url" value="<?php print $Paypal->get_gateway_process_url();?>">
           <input type="hidden" name="credit_process_url" value="<?php print $Paypal->get_gateway_credit_process_url();?>">
           <input type="hidden" name="landing_page" value="eclipse_ide">
+
+          <?php if (!empty($_GET['scope'])) :?>
+          <input type="hidden" name="scope" value="<?php print $App->checkPlain($_GET['scope']);?>">
+          <?php endif;?>
+
+          <?php if (!empty($_GET['campaign'])) :?>
+          <input type="hidden" name="campaign" value="<?php print $App->checkPlain($_GET['campaign']);?>">
+          <?php endif;?>
+
           <input type="submit" value="Donate" class="btn btn-warning">
         </div>
       </form>