This repository has been archived by the owner on Feb 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 192
/
help.php
153 lines (127 loc) · 7.53 KB
/
help.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?php
if ( ! class_exists( 'GFForms' ) ) {
die();
}
/**
* Class GFHelp
* Displays the Gravity Forms Help page
*/
class GFHelp {
/**
* Displays the Gravity Forms Help page
*
* @since Unknown
* @access public
*/
public static function help_page() {
if ( ! GFCommon::ensure_wp_version() ) {
return;
}
echo GFCommon::get_remote_message();
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG || isset( $_GET['gform_debug'] ) ? '' : '.min';
?>
<link rel="stylesheet" href="<?php echo GFCommon::get_base_url() ?>/css/admin<?php echo $min; ?>.css" />
<div class="wrap <?php echo GFCommon::get_browser_class() ?>">
<h2><?php esc_html_e( 'Gravity Forms Help', 'gravityforms' ); ?></h2>
<?php GFCommon::display_dismissible_message(); ?>
<div style="margin-top:10px;">
<div class="gf_admin_notice"><?php printf( esc_html__( '%sIMPORTANT NOTICE:%s We do not provide support via telephone or e-mail. Please %sopen a support ticket%s.', 'gravityforms' ), '<strong>', '</strong>', '<a href="https://www.gravityforms.com/support/" target="_blank">', '</a>' ) ?></div>
<div class="gf_help_content"><p><?php printf( esc_html__( "Please review the %sdocumentation%s and %sknowledge base%s first. If you still can't find the answer %sopen a support ticket%s and we will be happy to answer your questions and assist you with any problems. %sPlease note:%s If you have not %spurchased a license%s from us, you will not have access to these help resources.", 'gravityforms' ), '<a href="https://docs.gravityforms.com/" target="_blank">', '</a>', '<a href="https://docs.gravityforms.com/category/knowledge-base/" target="_blank">', '</a>', '<a href="https://www.gravityforms.com/support/" target="_blank">', '</a>', '<strong>', '</strong>', '<a href="https://www.gravityforms.com/pricing/" target="_blank">', '</a>' ); ?></p></div>
<div class="hr-divider"></div>
<h3><?php esc_html_e( 'User Documentation', 'gravityforms' ); ?></h3>
<div class="gforms_helpbox" style="margin:15px 0;">
<ul class="resource_list">
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/create-a-new-form/">
<?php esc_html_e( 'Creating a Form', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/category/user-guides/getting-started/add-form-to-site/">
<?php esc_html_e( 'Embedding a Form', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/reviewing-form-submissions/">
<?php esc_html_e( 'Reviewing Form Submissions', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/configuring-confirmations/">
<?php esc_html_e( 'Configuring Confirmations', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/configuring-notifications-in-gravity-forms/">
<?php esc_html_e( 'Configuring Notifications', 'gravityforms' ); ?>
</a>
</li>
</ul>
</div>
<div class="hr-divider"></div>
<h3><?php esc_html_e( 'Developer Documentation', 'gravityforms' ); ?></h3>
<div class="gforms_helpbox" style="margin:15px 0;">
<ul class="resource_list">
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/getting-started-gravity-forms-api-gfapi/">
<?php esc_html_e( 'Getting Started with the Gravity Forms API', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/api-functions/">
<?php esc_html_e( 'API Functions', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/category/developers/rest-api/">
<?php esc_html_e( 'REST API', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/category/developers/php-api/add-on-framework/">
<?php esc_html_e( 'Add-On Framework', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/gfaddon/">
<?php esc_html_e( 'GFAddOn', 'gravityforms' ); ?>
</a>
</li>
</ul>
</div>
<div class="hr-divider"></div>
<h3><?php esc_html_e( 'Designer Documentation', 'gravityforms' ); ?></h3>
<div class="gforms_helpbox" style="margin:15px 0;">
<ul class="resource_list">
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/category/user-guides/design-and-layout/css-selectors/">
<?php esc_html_e( 'CSS Selectors', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/css-targeting-examples/">
<?php esc_html_e( 'CSS Targeting Examples', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/css-ready-classes/">
<?php esc_html_e( 'CSS Ready Classes', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/gform_field_css_class/">
<?php esc_html_e( 'gform_field_css_class', 'gravityforms' ); ?>
</a>
</li>
<li>
<i class="fa fa-book"></i> <a target="_blank" href="https://docs.gravityforms.com/gform_noconflict_styles/">
<?php esc_html_e( 'gform_noconflict_styles', 'gravityforms' ); ?>
</a>
</li>
</ul>
</div>
</div>
</div>
<?php
}
}