Changeset 1951693
- Timestamp:
- 10/04/2018 07:22:32 PM (7 years ago)
- Location:
- thrivehive/trunk
- Files:
-
- 3 edited
-
templates/form_generator.php (modified) (1 diff)
-
templates/landing-page-thrivehive.php (modified) (1 diff)
-
thrivehive.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
thrivehive/trunk/templates/form_generator.php
r899760 r1951693 72 72 </style> 73 73 74 <form class="hiveform" action=" //'.$env.'/Webform/FormHandler" method="post" id="thrivehive-contactform">74 <form class="hiveform" action="https://'.$env.'/Webform/FormHandler" method="post" id="thrivehive-contactform"> 75 75 <label for="input1-contactform">First Name<span class="required-star">*</span></label><input type="text" name="list.first_name" id="input1-contactform" /> 76 76 <div id="input1-contactform-errors" class="error-block"></div> -
thrivehive/trunk/templates/landing-page-thrivehive.php
r1477861 r1951693 272 272 <a name="contact-form"></a> 273 273 274 <form class="hiveform" action=" //<?php echo $env; ?>/Webform/FormHandler" method="post"274 <form class="hiveform" action="https://<?php echo $env; ?>/Webform/FormHandler" method="post" 275 275 id="thrivehive-form278"> 276 276 <label for="input5-form278">First Name<span class="required-star">*</span></label><input type="text" -
thrivehive/trunk/thrivehive.php
r1951087 r1951693 137 137 register_setting( 'thrivehive-settings-group', 'th_javascript_header'); 138 138 register_setting( 'thrivehive-settings-group', 'th_javascript'); 139 register_setting( 'thrivehive-settings-group', 'th_header_html'); 139 140 register_setting( 'thrivehive-settings-group', 'th_css'); 140 141 register_setting( 'thrivehive-settings-group', 'th_landingform_id' ); … … 259 260 <textarea rows="15" cols="100" name="th_javascript" /><?php echo htmlentities(get_option('th_javascript')); ?></textarea> 260 261 </td> 261 </tr> 262 </tr> 263 <tr valign="top"> 264 <th scope="row">ThriveHive Custom Header HTML</th> 265 <td> 266 <textarea rows="15" cols="100" name="th_header_html" /><?php echo htmlentities(get_option('th_header_html')); ?></textarea> 267 </td> 268 </tr> 269 262 270 <tr valign="top"> 263 271 <th scope="row">ThriveHive Custom CSS</th> … … 476 484 if($js){ 477 485 echo "<script type='text/javascript'>$js</script>"; 486 } 487 } 488 489 function thrivehive_header_html(){ 490 $html = get_option('th_header_html'); 491 if($html){ 492 echo "$html"; 478 493 } 479 494 } … … 634 649 add_action('wp_head', 'create_option_css'); 635 650 add_action('wp_head','thrivehive_custom_css'); 651 add_action('wp_head', 'thrivehive_header_html'); 636 652 add_action('wp_head', 'thrivehive_custom_javascript_header'); 637 653
Note: See TracChangeset
for help on using the changeset viewer.