Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions www/includes/easyparliament/templates/html/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
Leave this box empty: <input type="text" name="b_53d0d2026dea615ed488a8834_287dc28511" tabindex="-1" value="" />
</label>
<input type="hidden" name="group[11745][32]" value="1">
<?php
// For the API page we add users to the "Data, coding and development" segment
if (strpos($_SERVER['REQUEST_URI'], '/api') === 0):
?>
<input type="hidden" name="group[11745][256]" value="1">
<?php endif; ?>
<input type="submit" value="<?=gettext('Subscribe') ?>" name="subscribe" class="button prefix">
</div>
</div>
Expand Down
Loading