@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Display the tab navigation for the Settings metabox |
|
| 4 | - * |
|
| 5 | - * @package GravityView |
|
| 6 | - * @subpackage Gravityview/admin/metaboxes/views |
|
| 7 | - * @since 1.8 |
|
| 8 | - * |
|
| 9 | - * @global GravityView_Metabox_Tab[] $metaboxes |
|
| 10 | - * @global WP_Post $post |
|
| 11 | - */ |
|
| 3 | + * Display the tab navigation for the Settings metabox |
|
| 4 | + * |
|
| 5 | + * @package GravityView |
|
| 6 | + * @subpackage Gravityview/admin/metaboxes/views |
|
| 7 | + * @since 1.8 |
|
| 8 | + * |
|
| 9 | + * @global GravityView_Metabox_Tab[] $metaboxes |
|
| 10 | + * @global WP_Post $post |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | ?> |
| 14 | 14 | <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package GravityView |
|
| 4 | - * @subpackage Gravityview/admin/metaboxes/partials |
|
| 5 | - * @global $post |
|
| 6 | - */ |
|
| 3 | + * @package GravityView |
|
| 4 | + * @subpackage Gravityview/admin/metaboxes/partials |
|
| 5 | + * @global $post |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | global $post; |
| 9 | 9 | ?> |
@@ -1,15 +1,15 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * GravityView Frontend functions |
|
| 4 | - * |
|
| 5 | - * @package GravityView |
|
| 6 | - * @license GPL2+ |
|
| 7 | - * @author Katz Web Services, Inc. |
|
| 8 | - * @link http://gravityview.co |
|
| 9 | - * @copyright Copyright 2014, Katz Web Services, Inc. |
|
| 10 | - * |
|
| 11 | - * @since 1.0.0 |
|
| 12 | - */ |
|
| 3 | + * GravityView Frontend functions |
|
| 4 | + * |
|
| 5 | + * @package GravityView |
|
| 6 | + * @license GPL2+ |
|
| 7 | + * @author Katz Web Services, Inc. |
|
| 8 | + * @link http://gravityview.co |
|
| 9 | + * @copyright Copyright 2014, Katz Web Services, Inc. |
|
| 10 | + * |
|
| 11 | + * @since 1.0.0 |
|
| 12 | + */ |
|
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | class GravityView_frontend { |
@@ -204,7 +204,7 @@ |
||
| 204 | 204 | self::$notices['wp_version'] = array( |
| 205 | 205 | 'class' => 'error', |
| 206 | 206 | 'message' => sprintf( __( "%sGravityView requires WordPress %s or newer.%s \n\nYou're using Version %s. Please upgrade your WordPress installation.", 'gravityview' ), '<h3>', GV_MIN_WP_VERSION, "</h3>\n\n", '<span style="font-family: Consolas, Courier, monospace;">'.$wp_version.'</span>' ), |
| 207 | - 'cap' => 'update_core', |
|
| 207 | + 'cap' => 'update_core', |
|
| 208 | 208 | 'dismiss' => 'wp_version', |
| 209 | 209 | ); |
| 210 | 210 | |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file inline-javascript.php |
|
| 4 | - * @global GravityView_Edit_Entry_Render $object |
|
| 5 | - */ |
|
| 3 | + * @file inline-javascript.php |
|
| 4 | + * @global GravityView_Edit_Entry_Render $object |
|
| 5 | + */ |
|
| 6 | 6 | ?><script type="text/javascript"> |
| 7 | 7 | |
| 8 | 8 | function DeleteFile(leadId, fieldId, deleteButton){ |
@@ -39,22 +39,22 @@ |
||
| 39 | 39 | |
| 40 | 40 | <?php |
| 41 | 41 | |
| 42 | - $search_value = rgget( $search_field['name'] ); |
|
| 42 | + $search_value = rgget( $search_field['name'] ); |
|
| 43 | 43 | |
| 44 | - foreach ( $search_field['choices'] as $k => $choice ) { |
|
| 44 | + foreach ( $search_field['choices'] as $k => $choice ) { |
|
| 45 | 45 | |
| 46 | - if ( 0 != $k ) { |
|
| 47 | - echo esc_html( $links_sep ); |
|
| 48 | - } |
|
| 46 | + if ( 0 != $k ) { |
|
| 47 | + echo esc_html( $links_sep ); |
|
| 48 | + } |
|
| 49 | 49 | |
| 50 | - $active = ( '' !== $search_value && in_array( $search_value, array( $choice['text'], $choice['value'] ) ) ) ? ' class="active"' : false; |
|
| 50 | + $active = ( '' !== $search_value && in_array( $search_value, array( $choice['text'], $choice['value'] ) ) ) ? ' class="active"' : false; |
|
| 51 | 51 | |
| 52 | - if ( $active ) { |
|
| 53 | - $link = remove_query_arg( array( 'pagenum', $search_field['name'] ), $base_url ); |
|
| 54 | - } else { |
|
| 55 | - $link = add_query_arg( array( $search_field['name'] => urlencode( $choice['value'] ) ), remove_query_arg( array('pagenum'), $base_url ) ); |
|
| 56 | - } |
|
| 57 | - ?> |
|
| 52 | + if ( $active ) { |
|
| 53 | + $link = remove_query_arg( array( 'pagenum', $search_field['name'] ), $base_url ); |
|
| 54 | + } else { |
|
| 55 | + $link = add_query_arg( array( $search_field['name'] => urlencode( $choice['value'] ) ), remove_query_arg( array('pagenum'), $base_url ) ); |
|
| 56 | + } |
|
| 57 | + ?> |
|
| 58 | 58 | |
| 59 | 59 | <a href="<?php echo esc_url_raw( $link ); ?>" <?php echo $active; ?>><?php echo esc_html( $choice['text'] ); ?></a> |
| 60 | 60 | |
@@ -1,15 +1,15 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * GravityView Migrate Class - where awesome features become even better, seamlessly! |
|
| 4 | - * |
|
| 5 | - * @package GravityView |
|
| 6 | - * @author Zack Katz <[email protected]> |
|
| 7 | - * @license ToBeDefined |
|
| 8 | - * @link http://www.katzwebservices.com |
|
| 9 | - * @copyright Copyright 2014, Katz Web Services, Inc. |
|
| 10 | - * |
|
| 11 | - * @since 1.2 |
|
| 12 | - */ |
|
| 3 | + * GravityView Migrate Class - where awesome features become even better, seamlessly! |
|
| 4 | + * |
|
| 5 | + * @package GravityView |
|
| 6 | + * @author Zack Katz <[email protected]> |
|
| 7 | + * @license ToBeDefined |
|
| 8 | + * @link http://www.katzwebservices.com |
|
| 9 | + * @copyright Copyright 2014, Katz Web Services, Inc. |
|
| 10 | + * |
|
| 11 | + * @since 1.2 |
|
| 12 | + */ |
|
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | class GravityView_Migrate { |
@@ -180,8 +180,8 @@ discard block |
||
| 180 | 180 | |
| 181 | 181 | // check widget settings: |
| 182 | 182 | // [search_free] => 1 |
| 183 | - // [search_date] => 1 |
|
| 184 | - $search_generic = array(); |
|
| 183 | + // [search_date] => 1 |
|
| 184 | + $search_generic = array(); |
|
| 185 | 185 | if( !empty( $widget['search_free'] ) ) { |
| 186 | 186 | $search_generic[] = array( 'field' => 'search_all', 'input' => 'input_text' ); |
| 187 | 187 | } |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package GravityView |
|
| 4 | - * @subpackage Gravityview/admin/metaboxes/views |
|
| 5 | - * @global $post |
|
| 6 | - */ |
|
| 3 | + * @package GravityView |
|
| 4 | + * @subpackage Gravityview/admin/metaboxes/views |
|
| 5 | + * @global $post |
|
| 6 | + */ |
|
| 7 | 7 | global $post; |
| 8 | 8 | |
| 9 | 9 | $curr_form = gravityview_get_form_id( $post->ID ); |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Display the search SELECT input field |
|
| 4 | - * |
|
| 5 | - * @see class-search-widget.php |
|
| 6 | - */ |
|
| 3 | + * Display the search SELECT input field |
|
| 4 | + * |
|
| 5 | + * @see class-search-widget.php |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | $gravityview_view = GravityView_View::getInstance(); |
| 9 | 9 | $view_id = $gravityview_view->getViewId(); |