legal.pages.inc in Legal 7.2
Same filename and directory in other branches
User pages and forms.
File
legal.pages.incView source
<?php
/**
* @file
* User pages and forms.
*/
function legal_page() {
global $language;
$conditions = legal_get_conditions($language->language);
$output = '';
switch (variable_get('legal_display', '0')) {
case 0:
// Scroll Box.
$output = nl2br(strip_tags($conditions['conditions']));
break;
case 1:
// CSS Scroll Box with HTML.
case 2:
// HTML.
case 3:
// Page Link.
$output = filter_xss_admin($conditions['conditions']);
break;
}
return $output;
}
Functions
Name | Description |
---|---|
legal_page | @file User pages and forms. |