PluginProbe
Age Gate / 3.7.3
Age Gate v3.7.3
3.7.3 trunk 1.0.0 1.0.1 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 All 113 releases
age-gate / src / Functions / Template.php

Template.php in Age Gate 3.7.3, at src/Functions/Template.php

74 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 use AgeGate\Presentation\Template;
4
5 if (!function_exists('age_gate_template_logo')) {
6 function age_gate_template_logo()
7 {
8 Template::logo();
9 }
10 }
11
12 if (!function_exists('age_gate_template_headline')) {
13 function age_gate_template_headline()
14 {
15 Template::headline();
16 }
17 }
18
19 if (!function_exists('age_gate_template_subheadline')) {
20 function age_gate_template_subheadline()
21 {
22 Template::subheadline();
23 }
24 }
25
26 if (!function_exists('age_gate_template_fields')) {
27 function age_gate_template_fields($fields)
28 {
29 Template::fields($fields);
30 }
31 }
32
33 if (!function_exists('age_gate_template_submit')) {
34 function age_gate_template_submit()
35 {
36 Template::submit();
37 }
38 }
39
40 if (!function_exists('age_gate_template_additional')) {
41 function age_gate_template_additional()
42 {
43 Template::additional();
44 }
45 }
46
47 if (!function_exists('age_gate_template_remember')) {
48 function age_gate_template_remember()
49 {
50 Template::remember();
51 }
52 }
53
54 if (!function_exists('age_gate_template_age_field')) {
55 function age_gate_template_age_field()
56 {
57 Template::age();
58 }
59 }
60
61 if (!function_exists('age_gate_template_errors')) {
62 function age_gate_template_errors()
63 {
64 Template::errors();
65 }
66 }
67
68 if (!function_exists('age_gate_add_attribute')) {
69 function age_gate_add_attribute($element, $attribute, $value)
70 {
71 \AgeGate\Presentation\Attribute::addAttribute($element, $attribute, $value);
72 }
73 }
74