src($rel_path . $suffix);?>"></script><?php
}
+function document_href($filename) {
+ return href(document_link($filename));
+}
+
// Link output helper functions.
function href($path) {
echo 'href="';
return "?v=$modified";
}
+function document_link($filename) {
+ $rel_path = "docs/$filename";
+ $suffix = cache_control_suffix($rel_path);
+ return $rel_path . $suffix;
+}
+
function show_error_list($errors) {
if (empty($errors)) return;?>
<div class="error"><?php
then subsequently pay for membership. The membership fee is currently
<b>£15.00</b> for one year.</p>
- <p>Please view our <a <?php href('docs/privacy-policy-v2.pdf');?>>privacy policy</a>
+ <p>Please view our <a <?php document_href('privacy-policy-v2.pdf');?>>privacy policy</a>
for information on how we will process your data.</p>
<?php show_error_list($errors);?>
<label for="consent">
I agree for the data I submit with this form to be processed in
accordance with the
- <a <?php href('docs/privacy-policy-v2.pdf');?>>YCRA privacy policy</a>.
+ <a <?php document_href('privacy-policy-v2.pdf');?>>YCRA privacy policy</a>.
</label>
</div>