" . htmlspecialchars($this->t('{consent:consent:consent_privacypolicy}')) . " "; echo "" . $dstName . ""; echo "
"; } /** * Recursive attribute array listing function * * @param SimpleSAML_XHTML_Template $t Template object * @param array $attributes Attributes to be presented * @param string $nameParent Name of parent element * * @return string HTML representation of the attributes */ function present_attributes($t, $attributes, $nameParent) { $alternate = array('ssp-table--tr__odd', 'ssp-table--tr__even'); $i = 0; $summary = 'summary="' . $t->t('{consent:consent:table_summary}') . '"'; if (strlen($nameParent) > 0) { $parentStr = strtolower($nameParent) . '_'; $str = '' . present_attributes($t, $child, $parentName) . ' | |
' . $t->t('{themeopenaire:consent:affiliation_input_label}');
} else {
$str .= "\n" . ' ' . htmlspecialchars($name);
}
if ($missing) {
$str .= ' (*)';
}
$str.= ' ';
$str .= '';
if (sizeof($value) > 1) {
// we hawe several values
$str .= ' ';
$str .= '
data['termsName'])) {
$str .=' ' . $t->data['termsName'];
}
$str .= ''.
$t->t('{themeopenaire:consent:terms_field_error}').
'';
$str .= ' ';
if (!empty($t->data['termsUrl'])) {
$str .='';
$str .= $t->t('{themeopenaire:consent:accept_terms_tip}');
$str .= ' '.$t->t('{themeopenaire:consent:terms_link_tip}').'. ';
}
} elseif ($editable) {
$str .='';
} elseif ($missing) {
$str .='';
$str .=''.
$t->t('{themeopenaire:consent:mandatory_field_error}').
'';
if ($nameraw === 'mail') {
$str .= ''.
$t->t('{themeopenaire:consent:mail_field_error}').
'';
}
$str .=' ';
} else {
$str .= htmlspecialchars($value[0]);
}
} // end of if multivalue
$str .= ' |