Version Description
- October 30th 2020 =
New Features & Enhancements
- Added: Support auto-templates for taxonomies, users and comments. #3962 & #5832 (@JoryHogeveen, @sc0ttkclark, @gwhitney)
- Added: Support template parameter and nested shortcode content for field shortcodes. #5801 (@JoryHogeveen)
- Added: Allow function calls in all tags, not just template tags. #4887 (@JoryHogeveen)
- Added: Support custom image sizes for all image field types in magic tags. #5870 (@JoryHogeveen)
- Added/Fixed: Support special magic tags in Pods Templates. #5697 (@JoryHogeveen)
- Added/Fixed: Support Pod related magic tags in shortcode query parameters. #5734 (@JoryHogeveen)
- Enhancement: Allow traversing in avatar attachment. #5870 (@JoryHogeveen)
- Enhancement: If the media Pod exists, use it's context to run media loops to support other fields and traversal. #5855 (@JoryHogeveen)
- Enhancement: Implement PHP 5.4
session_status()
function. #5840 (@JoryHogeveen) - Enhancement: Allow WP objects to be passed in
pods()
. #5845 (@JoryHogeveen) - Compatibility: Enqueue DFV scripts when editing the page with Beaver Builder to fully support the media window. #5799 (@JoryHogeveen)
- Updated: Primary Branch header for GitHub Updater. #5847 (@afragen)
Bug Fixes
- Fixed:
.src
tags for PDF's now render the PDF file link instead of the thumbnail in templates[each]
loops. #4040 (@JoryHogeveen) - Fixed. HTML entities for relationship fields UI. #5843, #5835 & #5796 (@JoryHogeveen, @sc0ttkclark)
- Fixed: Select2/SelectWoo now also enqueue the locale files when available. #5860 (@JoryHogeveen)
- Fixed: Support lowercase ID's for magic tags in media loops #5852 (@JoryHogeveen, @sc0ttkclark)
- Fixed: Avatar should always return a square image. #2738 (@JoryHogeveen)
- Fixed: Selected items query for autocomplete relationships. #5542 & #5831 (@JoryHogeveen)
- Fixed: Prevent SQL errors on magic tags in some cases. #5797 (@JoryHogeveen, @sc0ttkclark)
- Fixed: Error if there is no DB prefix available. #5803 (@JoryHogeveen, @sc0ttkclark)
- Fixed: Fix edge case "No Access" error when all Pods were deleted. Redirect to next Pod admin page if needed. #4842 (@JoryHogeveen)
- Fixed: Removed empty filter in
ui/admin/setup-edit-field.php
. #5686 (@sc0ttkclark, @JoryHogeveen) - Fixed: Prevent possible notice if image doesn't exist. #5866 (@JoryHogeveen)
- Fixed: Remove source maps from production builds. #5822 (@sc0ttkclark)
- Fixed: PHP warning in file field gallery view. #5809 (@JoryHogeveen)
Download this release
Release Info
Developer | sc0ttkclark |
Plugin | Pods – Custom Content Types and Fields |
Version | 2.7.23 |
Comparing to | |
See all releases |
Code changes from version 2.7.22 to 2.7.23
- classes/Pods.php +84 -52
- classes/PodsAPI.php +1 -1
- classes/PodsAdmin.php +9 -0
- classes/PodsData.php +36 -35
- classes/PodsI18n.php +14 -4
- classes/PodsInit.php +116 -25
- classes/fields/avatar.php +3 -2
- classes/fields/file.php +11 -8
- classes/fields/pick.php +10 -6
- components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Front_End.php +400 -168
- components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php +216 -131
- components/Templates/includes/functions-view_template.php +15 -4
- includes/data.php +202 -38
- includes/general.php +58 -9
- includes/media.php +142 -78
- init.php +3 -2
- readme.txt +35 -2
- ui/admin/form-settings.php +1 -1
- ui/admin/form.php +1 -1
- ui/admin/setup-edit-field.php +1 -1
- ui/fields/attachment.php +1 -1
- ui/front/form.php +1 -1
- ui/js/pods-dfv/_src/pick/views/select-view.js +2 -2
- ui/js/pods-dfv/pods-dfv.min.js +1 -2
- ui/styles/dist/pods-form.css +0 -2
- ui/styles/dist/pods-wizard.css +0 -2
- ui/styles/dist/pods.css +0 -2
classes/Pods.php
CHANGED
@@ -283,31 +283,35 @@ class Pods implements Iterator {
|
|
283 |
public function __construct( $pod = null, $id = null ) {
|
284 |
|
285 |
if ( null === $pod ) {
|
286 |
-
$
|
|
|
287 |
|
288 |
-
|
|
|
|
|
|
|
289 |
$id_lookup = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
} elseif ( $queried_object instanceof WP_Term ) {
|
295 |
-
// Term Archive.
|
296 |
-
$pod = $queried_object->taxonomy;
|
297 |
-
} elseif ( $queried_object instanceof WP_User ) {
|
298 |
-
// Author Archive.
|
299 |
-
$pod = 'user';
|
300 |
-
} elseif ( $queried_object instanceof WP_Post_Type ) {
|
301 |
-
// Post Type Archive.
|
302 |
-
$pod = $queried_object->name;
|
303 |
-
|
304 |
-
$id_lookup = false;
|
305 |
-
}
|
306 |
-
|
307 |
-
if ( null === $id && $id_lookup ) {
|
308 |
-
$id = get_queried_object_id();
|
309 |
-
}
|
310 |
-
}//end if
|
311 |
}//end if
|
312 |
|
313 |
$this->api = pods_api( $pod );
|
@@ -1062,6 +1066,37 @@ class Pods implements Iterator {
|
|
1062 |
} else {
|
1063 |
return null;
|
1064 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1065 |
} elseif ( ! $is_field_set ) {
|
1066 |
|
1067 |
$image_fields = array(
|
@@ -1075,26 +1110,7 @@ class Pods implements Iterator {
|
|
1075 |
}
|
1076 |
|
1077 |
// Handle special field tags.
|
1078 |
-
if (
|
1079 |
-
$object_field_found = true;
|
1080 |
-
// User avatar.
|
1081 |
-
$size = null;
|
1082 |
-
|
1083 |
-
if ( 0 === strpos( $params->name, 'avatar.' ) ) {
|
1084 |
-
$field_names = explode( '.', $params->name );
|
1085 |
-
|
1086 |
-
if ( isset( $field_names[1] ) ) {
|
1087 |
-
$size = (int) $field_names[1];
|
1088 |
-
}
|
1089 |
-
}
|
1090 |
-
|
1091 |
-
if ( 0 < $size ) {
|
1092 |
-
$value = get_avatar( $this->id(), $size );
|
1093 |
-
} else {
|
1094 |
-
$value = get_avatar( $this->id() );
|
1095 |
-
}
|
1096 |
-
|
1097 |
-
} elseif ( in_array( $first_field, $image_fields, true ) ) {
|
1098 |
// Default image field handlers.
|
1099 |
$object_field_found = true;
|
1100 |
|
@@ -1124,22 +1140,27 @@ class Pods implements Iterator {
|
|
1124 |
}
|
1125 |
|
1126 |
if ( $attachment_id ) {
|
|
|
1127 |
|
1128 |
$size = 'thumbnail';
|
1129 |
if ( isset( $traverse_params[0] ) ) {
|
1130 |
-
$size
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
// No valid image size found.
|
1137 |
$size = false;
|
1138 |
}
|
1139 |
}
|
1140 |
|
1141 |
if ( $url ) {
|
1142 |
-
|
|
|
|
|
|
|
|
|
1143 |
} elseif ( $size ) {
|
1144 |
// Pods will auto-get the thumbnail ID if this isn't an attachment.
|
1145 |
$value = pods_image( $attachment_id, $size, 0, null, true );
|
@@ -1719,7 +1740,7 @@ class Pods implements Iterator {
|
|
1719 |
// @todo Refactor the above condition statement.
|
1720 |
$size = 'full';
|
1721 |
|
1722 |
-
if (
|
1723 |
// No default sizes for non-images.
|
1724 |
// When a size is defined this will be overwritten.
|
1725 |
$size = null;
|
@@ -1734,7 +1755,7 @@ class Pods implements Iterator {
|
|
1734 |
}
|
1735 |
|
1736 |
if ( $size ) {
|
1737 |
-
$value_url = pods_image_url( $item_id, $size );
|
1738 |
} else {
|
1739 |
$value_url = wp_get_attachment_url( $item_id );
|
1740 |
}
|
@@ -1766,7 +1787,7 @@ class Pods implements Iterator {
|
|
1766 |
$size = substr( $full_field, 5 );
|
1767 |
}
|
1768 |
|
1769 |
-
$value[] = pods_image( $item_id, $size );
|
1770 |
|
1771 |
$params->raw_display = true;
|
1772 |
} elseif ( in_array( $field, array(
|
@@ -4184,6 +4205,17 @@ class Pods implements Iterator {
|
|
4184 |
$value = $this->display( $field_name );
|
4185 |
}
|
4186 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4187 |
if ( ! empty( $tag[2] ) ) {
|
4188 |
$before = $tag[2];
|
4189 |
}
|
283 |
public function __construct( $pod = null, $id = null ) {
|
284 |
|
285 |
if ( null === $pod ) {
|
286 |
+
$pod = get_queried_object();
|
287 |
+
}
|
288 |
|
289 |
+
if ( $pod && ! is_string( $pod ) ) {
|
290 |
+
if ( $pod instanceof WP_Post ) {
|
291 |
+
// Post Type Singular.
|
292 |
+
$pod = $pod->post_type;
|
293 |
$id_lookup = true;
|
294 |
+
} elseif ( $pod instanceof WP_Term ) {
|
295 |
+
// Term Archive.
|
296 |
+
$pod = $pod->taxonomy;
|
297 |
+
$id_lookup = true;
|
298 |
+
} elseif ( $pod instanceof WP_User ) {
|
299 |
+
// Author Archive.
|
300 |
+
$pod = 'user';
|
301 |
+
$id_lookup = true;
|
302 |
+
} elseif ( $pod instanceof WP_Post_Type ) {
|
303 |
+
// Post Type Archive.
|
304 |
+
$pod = $pod->name;
|
305 |
+
$id_lookup = false;
|
306 |
+
} else {
|
307 |
+
// Unsupported pod object.
|
308 |
+
$pod = null;
|
309 |
+
$id_lookup = false;
|
310 |
+
}
|
311 |
|
312 |
+
if ( null === $id && $id_lookup ) {
|
313 |
+
$id = get_queried_object_id();
|
314 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
}//end if
|
316 |
|
317 |
$this->api = pods_api( $pod );
|
1066 |
} else {
|
1067 |
return null;
|
1068 |
}
|
1069 |
+
|
1070 |
+
} elseif ( 'avatar' === $first_field && 'user' === $pod_type ) {
|
1071 |
+
// User avatar.
|
1072 |
+
$size = null;
|
1073 |
+
$get_avatar = true;
|
1074 |
+
|
1075 |
+
if ( $is_traversal ) {
|
1076 |
+
if ( $is_field_set ) {
|
1077 |
+
// This is a registered field.
|
1078 |
+
if ( isset( $traverse_fields[1] ) && is_numeric( $traverse_fields[1] ) ) {
|
1079 |
+
$size = (int) $traverse_fields[1];
|
1080 |
+
} else {
|
1081 |
+
// Traverse through attachment post.
|
1082 |
+
$get_avatar = false;
|
1083 |
+
}
|
1084 |
+
} else {
|
1085 |
+
if ( isset( $traverse_fields[1] ) ) {
|
1086 |
+
$size = (int) $traverse_fields[1];
|
1087 |
+
}
|
1088 |
+
}
|
1089 |
+
}
|
1090 |
+
|
1091 |
+
if ( $get_avatar ) {
|
1092 |
+
$object_field_found = true;
|
1093 |
+
if ( 0 < $size ) {
|
1094 |
+
$value = get_avatar( $this->id(), $size );
|
1095 |
+
} else {
|
1096 |
+
$value = get_avatar( $this->id() );
|
1097 |
+
}
|
1098 |
+
}
|
1099 |
+
|
1100 |
} elseif ( ! $is_field_set ) {
|
1101 |
|
1102 |
$image_fields = array(
|
1110 |
}
|
1111 |
|
1112 |
// Handle special field tags.
|
1113 |
+
if ( in_array( $first_field, $image_fields, true ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1114 |
// Default image field handlers.
|
1115 |
$object_field_found = true;
|
1116 |
|
1140 |
}
|
1141 |
|
1142 |
if ( $attachment_id ) {
|
1143 |
+
$is_image = wp_attachment_is_image( $attachment_id );
|
1144 |
|
1145 |
$size = 'thumbnail';
|
1146 |
if ( isset( $traverse_params[0] ) ) {
|
1147 |
+
$size = $traverse_params[0];
|
1148 |
+
|
1149 |
+
if ( pods_is_image_size( $size ) ) {
|
1150 |
+
// Force image request since a valid size parameter is passed.
|
1151 |
+
$is_image = true;
|
1152 |
+
} else {
|
1153 |
// No valid image size found.
|
1154 |
$size = false;
|
1155 |
}
|
1156 |
}
|
1157 |
|
1158 |
if ( $url ) {
|
1159 |
+
if ( $is_image ) {
|
1160 |
+
$value = pods_image_url( $attachment_id, $size, 0, true );
|
1161 |
+
} else {
|
1162 |
+
$value = wp_get_attachment_url( $attachment_id );
|
1163 |
+
}
|
1164 |
} elseif ( $size ) {
|
1165 |
// Pods will auto-get the thumbnail ID if this isn't an attachment.
|
1166 |
$value = pods_image( $attachment_id, $size, 0, null, true );
|
1740 |
// @todo Refactor the above condition statement.
|
1741 |
$size = 'full';
|
1742 |
|
1743 |
+
if ( ! wp_attachment_is_image( $item_id ) ) {
|
1744 |
// No default sizes for non-images.
|
1745 |
// When a size is defined this will be overwritten.
|
1746 |
$size = null;
|
1755 |
}
|
1756 |
|
1757 |
if ( $size ) {
|
1758 |
+
$value_url = pods_image_url( $item_id, $size, 0, true );
|
1759 |
} else {
|
1760 |
$value_url = wp_get_attachment_url( $item_id );
|
1761 |
}
|
1787 |
$size = substr( $full_field, 5 );
|
1788 |
}
|
1789 |
|
1790 |
+
$value[] = pods_image( $item_id, $size, 0, array(), true );
|
1791 |
|
1792 |
$params->raw_display = true;
|
1793 |
} elseif ( in_array( $field, array(
|
4205 |
$value = $this->display( $field_name );
|
4206 |
}
|
4207 |
|
4208 |
+
// Process special magic tags but allow "empty" values for numbers.
|
4209 |
+
if (
|
4210 |
+
! $value
|
4211 |
+
&& ! is_numeric( $value )
|
4212 |
+
&& pods_shortcode_allow_evaluate_tags()
|
4213 |
+
&& ! $this->fields( $field_name )
|
4214 |
+
) {
|
4215 |
+
// Do not pass before and after tags (key 2 and 3) or these get processed twice.
|
4216 |
+
$value = pods_evaluate_tag( implode( ',', array_slice( $tag, 0, 2 ) ) );
|
4217 |
+
}
|
4218 |
+
|
4219 |
if ( ! empty( $tag[2] ) ) {
|
4220 |
$before = $tag[2];
|
4221 |
}
|
classes/PodsAPI.php
CHANGED
@@ -9254,7 +9254,7 @@ class PodsAPI {
|
|
9254 |
return pods_error( __( 'Invalid submission', 'pods' ), $this );
|
9255 |
}
|
9256 |
|
9257 |
-
$uid =
|
9258 |
|
9259 |
if ( is_user_logged_in() ) {
|
9260 |
$uid = 'user_' . get_current_user_id();
|
9254 |
return pods_error( __( 'Invalid submission', 'pods' ), $this );
|
9255 |
}
|
9256 |
|
9257 |
+
$uid = pods_session_id();
|
9258 |
|
9259 |
if ( is_user_logged_in() ) {
|
9260 |
$uid = 'user_' . get_current_user_id();
|
classes/PodsAdmin.php
CHANGED
@@ -573,6 +573,15 @@ class PodsAdmin {
|
|
573 |
|
574 |
if ( empty( $all_pods ) ) {
|
575 |
unset( $admin_menus['pods'] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
576 |
}
|
577 |
|
578 |
add_filter( 'parent_file', array( $this, 'parent_file' ) );
|
573 |
|
574 |
if ( empty( $all_pods ) ) {
|
575 |
unset( $admin_menus['pods'] );
|
576 |
+
|
577 |
+
if ( 'pods' === pods_v( 'page', 'get' ) ) {
|
578 |
+
// Replace `pods` page param with first existing pod page and redirect.
|
579 |
+
$url = add_query_arg( 'page', key( $admin_menus ) );
|
580 |
+
$url = get_site_url( null, $url );
|
581 |
+
|
582 |
+
wp_safe_redirect( $url );
|
583 |
+
die();
|
584 |
+
}
|
585 |
}
|
586 |
|
587 |
add_filter( 'parent_file', array( $this, 'parent_file' ) );
|
classes/PodsData.php
CHANGED
@@ -715,14 +715,7 @@ class PodsData {
|
|
715 |
|
716 |
// Debug purposes.
|
717 |
if ( ( 1 === (int) pods_v( 'pods_debug_sql', 'get', 0 ) || 1 === (int) pods_v( 'pods_debug_sql_all', 'get', 0 ) ) && pods_is_admin( array( 'pods' ) ) ) {
|
718 |
-
echo '<textarea cols="100" rows="24">' . esc_textarea(
|
719 |
-
str_replace(
|
720 |
-
array(
|
721 |
-
'@wp_users',
|
722 |
-
'@wp_',
|
723 |
-
), array( $wpdb->users, $wpdb->prefix ), $this->sql
|
724 |
-
)
|
725 |
-
) . '</textarea>';
|
726 |
}
|
727 |
|
728 |
if ( empty( $this->sql ) ) {
|
@@ -1806,7 +1799,9 @@ class PodsData {
|
|
1806 |
$sql .= ' IF NOT EXISTS';
|
1807 |
}
|
1808 |
|
1809 |
-
$
|
|
|
|
|
1810 |
|
1811 |
if ( ! empty( $wpdb->charset ) ) {
|
1812 |
$sql .= " DEFAULT CHARACTER SET {$wpdb->charset}";
|
@@ -1833,12 +1828,9 @@ class PodsData {
|
|
1833 |
*/
|
1834 |
public static function table_alter( $table, $changes ) {
|
1835 |
|
1836 |
-
|
1837 |
-
* @var $wpdb wpdb
|
1838 |
-
*/
|
1839 |
-
global $wpdb;
|
1840 |
|
1841 |
-
$sql = "ALTER TABLE `{$
|
1842 |
|
1843 |
return self::query( $sql );
|
1844 |
}
|
@@ -1856,12 +1848,9 @@ class PodsData {
|
|
1856 |
*/
|
1857 |
public static function table_truncate( $table ) {
|
1858 |
|
1859 |
-
|
1860 |
-
* @var $wpdb wpdb
|
1861 |
-
*/
|
1862 |
-
global $wpdb;
|
1863 |
|
1864 |
-
$sql = "TRUNCATE TABLE `{$
|
1865 |
|
1866 |
return self::query( $sql );
|
1867 |
}
|
@@ -1881,12 +1870,9 @@ class PodsData {
|
|
1881 |
*/
|
1882 |
public static function table_drop( $table ) {
|
1883 |
|
1884 |
-
|
1885 |
-
* @var $wpdb wpdb
|
1886 |
-
*/
|
1887 |
-
global $wpdb;
|
1888 |
|
1889 |
-
$sql = "DROP TABLE `{$
|
1890 |
|
1891 |
return self::query( $sql );
|
1892 |
}
|
@@ -2201,7 +2187,7 @@ class PodsData {
|
|
2201 |
|
2202 |
if ( 'table' === $this->pod_data['storage'] && false !== $get_table_data && is_numeric( $current_row_id ) ) {
|
2203 |
$params = array(
|
2204 |
-
'table' =>
|
2205 |
'where' => "`t`.`id` = {$current_row_id}",
|
2206 |
'orderby' => '`t`.`id` DESC',
|
2207 |
'page' => 1,
|
@@ -2336,15 +2322,9 @@ class PodsData {
|
|
2336 |
}
|
2337 |
|
2338 |
if ( 1 === (int) pods_v( 'pods_debug_sql_all', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) {
|
2339 |
-
echo '<textarea cols="100" rows="24">' . esc_textarea(
|
2340 |
-
str_replace(
|
2341 |
-
array(
|
2342 |
-
'@wp_users',
|
2343 |
-
'@wp_',
|
2344 |
-
), array( $wpdb->users, $wpdb->prefix ), $params->sql
|
2345 |
-
)
|
2346 |
-
) . '</textarea>';
|
2347 |
}
|
|
|
2348 |
}//end if
|
2349 |
|
2350 |
$params->sql = trim( $params->sql );
|
@@ -2409,7 +2389,7 @@ class PodsData {
|
|
2409 |
$finalTables = array();
|
2410 |
|
2411 |
foreach ( $showTables as $table ) {
|
2412 |
-
if ( ! $pods_tables && 0 === ( strpos( $table[0],
|
2413 |
// don't include pods tables.
|
2414 |
continue;
|
2415 |
} elseif ( ! $wp_core && in_array( $table[0], $core_wp_tables, true ) ) {
|
@@ -3055,7 +3035,14 @@ class PodsData {
|
|
3055 |
if ( 0 === $traverse_recurse['depth'] && ! empty( $traverse_recurse['pod'] ) && ! empty( $traverse_recurse ['last_table_info'] ) && isset( $traverse_recurse ['last_table_info']['id'] ) ) {
|
3056 |
$pod_data = $traverse_recurse ['last_table_info'];
|
3057 |
} elseif ( empty( $traverse_recurse['pod'] ) ) {
|
3058 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3059 |
if ( $wpdb->posts === $traverse_recurse['params']->table ) {
|
3060 |
$traverse_recurse['pod'] = 'post_type';
|
3061 |
} elseif ( $wpdb->terms === $traverse_recurse['params']->table ) {
|
@@ -3519,6 +3506,20 @@ class PodsData {
|
|
3519 |
return pods_do_hook( 'data', $name, $args );
|
3520 |
}
|
3521 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3522 |
/**
|
3523 |
* Get the complete sql
|
3524 |
*
|
715 |
|
716 |
// Debug purposes.
|
717 |
if ( ( 1 === (int) pods_v( 'pods_debug_sql', 'get', 0 ) || 1 === (int) pods_v( 'pods_debug_sql_all', 'get', 0 ) ) && pods_is_admin( array( 'pods' ) ) ) {
|
718 |
+
echo '<textarea cols="100" rows="24">' . esc_textarea( $this->get_sql() ) . '</textarea>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
719 |
}
|
720 |
|
721 |
if ( empty( $this->sql ) ) {
|
1799 |
$sql .= ' IF NOT EXISTS';
|
1800 |
}
|
1801 |
|
1802 |
+
$pods_prefix = self::get_pods_prefix();
|
1803 |
+
|
1804 |
+
$sql .= " `{$pods_prefix}{$table}` ({$fields})";
|
1805 |
|
1806 |
if ( ! empty( $wpdb->charset ) ) {
|
1807 |
$sql .= " DEFAULT CHARACTER SET {$wpdb->charset}";
|
1828 |
*/
|
1829 |
public static function table_alter( $table, $changes ) {
|
1830 |
|
1831 |
+
$pods_prefix = self::get_pods_prefix();
|
|
|
|
|
|
|
1832 |
|
1833 |
+
$sql = "ALTER TABLE `{$pods_prefix}{$table}` {$changes}";
|
1834 |
|
1835 |
return self::query( $sql );
|
1836 |
}
|
1848 |
*/
|
1849 |
public static function table_truncate( $table ) {
|
1850 |
|
1851 |
+
$pods_prefix = self::get_pods_prefix();
|
|
|
|
|
|
|
1852 |
|
1853 |
+
$sql = "TRUNCATE TABLE `{$pods_prefix}{$table}`";
|
1854 |
|
1855 |
return self::query( $sql );
|
1856 |
}
|
1870 |
*/
|
1871 |
public static function table_drop( $table ) {
|
1872 |
|
1873 |
+
$pods_prefix = self::get_pods_prefix();
|
|
|
|
|
|
|
1874 |
|
1875 |
+
$sql = "DROP TABLE `{$pods_prefix}{$table}`";
|
1876 |
|
1877 |
return self::query( $sql );
|
1878 |
}
|
2187 |
|
2188 |
if ( 'table' === $this->pod_data['storage'] && false !== $get_table_data && is_numeric( $current_row_id ) ) {
|
2189 |
$params = array(
|
2190 |
+
'table' => self::get_pods_prefix(),
|
2191 |
'where' => "`t`.`id` = {$current_row_id}",
|
2192 |
'orderby' => '`t`.`id` DESC',
|
2193 |
'page' => 1,
|
2322 |
}
|
2323 |
|
2324 |
if ( 1 === (int) pods_v( 'pods_debug_sql_all', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) {
|
2325 |
+
echo '<textarea cols="100" rows="24">' . esc_textarea( pods_data()->get_sql( $params->sql ) ) . '</textarea>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2326 |
}
|
2327 |
+
|
2328 |
}//end if
|
2329 |
|
2330 |
$params->sql = trim( $params->sql );
|
2389 |
$finalTables = array();
|
2390 |
|
2391 |
foreach ( $showTables as $table ) {
|
2392 |
+
if ( ! $pods_tables && 0 === ( strpos( $table[0], rtrim( self::get_pods_prefix(), '_' ) ) ) ) {
|
2393 |
// don't include pods tables.
|
2394 |
continue;
|
2395 |
} elseif ( ! $wp_core && in_array( $table[0], $core_wp_tables, true ) ) {
|
3035 |
if ( 0 === $traverse_recurse['depth'] && ! empty( $traverse_recurse['pod'] ) && ! empty( $traverse_recurse ['last_table_info'] ) && isset( $traverse_recurse ['last_table_info']['id'] ) ) {
|
3036 |
$pod_data = $traverse_recurse ['last_table_info'];
|
3037 |
} elseif ( empty( $traverse_recurse['pod'] ) ) {
|
3038 |
+
if (
|
3039 |
+
! empty( $traverse_recurse['params'] )
|
3040 |
+
&& ! empty( $traverse_recurse['params']->table )
|
3041 |
+
&& (
|
3042 |
+
! $wpdb->prefix // Make sure there is a prefix.
|
3043 |
+
|| 0 === strpos( $traverse_recurse['params']->table, $wpdb->prefix )
|
3044 |
+
)
|
3045 |
+
) {
|
3046 |
if ( $wpdb->posts === $traverse_recurse['params']->table ) {
|
3047 |
$traverse_recurse['pod'] = 'post_type';
|
3048 |
} elseif ( $wpdb->terms === $traverse_recurse['params']->table ) {
|
3506 |
return pods_do_hook( 'data', $name, $args );
|
3507 |
}
|
3508 |
|
3509 |
+
/**
|
3510 |
+
* Get full prefix for Pods tables.
|
3511 |
+
*
|
3512 |
+
* @since 2.7.23
|
3513 |
+
*
|
3514 |
+
* @return string
|
3515 |
+
*/
|
3516 |
+
public static function get_pods_prefix() {
|
3517 |
+
|
3518 |
+
global $wpdb;
|
3519 |
+
|
3520 |
+
return $wpdb->prefix . self::$prefix;
|
3521 |
+
}
|
3522 |
+
|
3523 |
/**
|
3524 |
* Get the complete sql
|
3525 |
*
|
classes/PodsI18n.php
CHANGED
@@ -36,9 +36,7 @@ final class PodsI18n {
|
|
36 |
self::$instance = $this;
|
37 |
|
38 |
// Hook all enqueue scripts actions
|
39 |
-
add_action( '
|
40 |
-
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
41 |
-
add_action( 'login_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
42 |
|
43 |
// Polylang
|
44 |
add_filter( 'pll_get_post_types', array( $this, 'pll_get_post_types' ), 10, 2 );
|
@@ -102,7 +100,7 @@ final class PodsI18n {
|
|
102 |
self::register( $key, $str );
|
103 |
}
|
104 |
|
105 |
-
// Some other stuff we need to pass through
|
106 |
$i18n_base = array(
|
107 |
'debug' => ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG == true ) ? true : false,
|
108 |
);
|
@@ -146,6 +144,7 @@ final class PodsI18n {
|
|
146 |
|
147 |
return array(
|
148 |
|
|
|
149 |
'%s is required.' => __( '%s is required.', 'pods' ),
|
150 |
|
151 |
'This field is required.' => __( 'This field is required.', 'pods' ),
|
@@ -176,6 +175,9 @@ final class PodsI18n {
|
|
176 |
|
177 |
'Search' => __( 'Search', 'pods' ),
|
178 |
|
|
|
|
|
|
|
179 |
'Navigating away from this page will discard any changes you have made.' => __( 'Navigating away from this page will discard any changes you have made.', 'pods' ),
|
180 |
|
181 |
'Some fields have changes that were not saved yet, please save them or cancel the changes before saving the Pod.' => __( 'Some fields have changes that were not saved yet, please save them or cancel the changes before saving the Pod.', 'pods' ),
|
@@ -192,10 +194,18 @@ final class PodsI18n {
|
|
192 |
|
193 |
'You can only select' => __( 'You can only select', 'pods' ),
|
194 |
|
|
|
195 |
'%s item' => __( '%s item', 'pods' ),
|
196 |
|
|
|
197 |
'%s items' => __( '%s items', 'pods' ),
|
198 |
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
'Icon' => __( 'Icon', 'pods' ),
|
200 |
|
201 |
);
|
36 |
self::$instance = $this;
|
37 |
|
38 |
// Hook all enqueue scripts actions
|
39 |
+
add_action( 'pods_before_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
|
|
|
|
40 |
|
41 |
// Polylang
|
42 |
add_filter( 'pll_get_post_types', array( $this, 'pll_get_post_types' ), 10, 2 );
|
100 |
self::register( $key, $str );
|
101 |
}
|
102 |
|
103 |
+
// Some other stuff we need to pass through.
|
104 |
$i18n_base = array(
|
105 |
'debug' => ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG == true ) ? true : false,
|
106 |
);
|
144 |
|
145 |
return array(
|
146 |
|
147 |
+
// Translators: %s stands for a name/identifier.
|
148 |
'%s is required.' => __( '%s is required.', 'pods' ),
|
149 |
|
150 |
'This field is required.' => __( 'This field is required.', 'pods' ),
|
175 |
|
176 |
'Search' => __( 'Search', 'pods' ),
|
177 |
|
178 |
+
// Translators: %s stands for a name/identifier.
|
179 |
+
'Search %s' => __( 'Search %s', 'pods' ),
|
180 |
+
|
181 |
'Navigating away from this page will discard any changes you have made.' => __( 'Navigating away from this page will discard any changes you have made.', 'pods' ),
|
182 |
|
183 |
'Some fields have changes that were not saved yet, please save them or cancel the changes before saving the Pod.' => __( 'Some fields have changes that were not saved yet, please save them or cancel the changes before saving the Pod.', 'pods' ),
|
194 |
|
195 |
'You can only select' => __( 'You can only select', 'pods' ),
|
196 |
|
197 |
+
// Translators: %s stands for a number.
|
198 |
'%s item' => __( '%s item', 'pods' ),
|
199 |
|
200 |
+
// Translators: %s stands for a number.
|
201 |
'%s items' => __( '%s items', 'pods' ),
|
202 |
|
203 |
+
// Translators: %s stands for a number.
|
204 |
+
'You can only select %s item' => __( 'You can only select %s item', 'pods' ),
|
205 |
+
|
206 |
+
// Translators: %s stands for a number.
|
207 |
+
'You can only select %s items' => __( 'You can only select %s items', 'pods' ),
|
208 |
+
|
209 |
'Icon' => __( 'Icon', 'pods' ),
|
210 |
|
211 |
);
|
classes/PodsInit.php
CHANGED
@@ -476,7 +476,16 @@ class PodsInit {
|
|
476 |
*/
|
477 |
public function register_assets() {
|
478 |
|
479 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
|
481 |
wp_register_script( 'pods-json', PODS_URL . 'ui/js/jquery.json.js', array( 'jquery' ), '2.3' );
|
482 |
|
@@ -485,13 +494,17 @@ class PodsInit {
|
|
485 |
}
|
486 |
|
487 |
wp_register_script(
|
488 |
-
'pods',
|
|
|
|
|
489 |
'jquery',
|
490 |
'pods-dfv',
|
491 |
'pods-i18n',
|
492 |
'pods-json',
|
493 |
'jquery-qtip2',
|
494 |
-
),
|
|
|
|
|
495 |
);
|
496 |
|
497 |
wp_register_script( 'pods-cleditor', PODS_URL . 'ui/js/jquery.cleditor.min.js', array( 'jquery' ), '1.3.0' );
|
@@ -504,69 +517,136 @@ class PodsInit {
|
|
504 |
wp_register_script( 'pods-codemirror-mode-html', PODS_URL . 'ui/js/codemirror/mode/htmlmixed/htmlmixed.js', array( 'pods-codemirror' ), '4.8', true );
|
505 |
wp_register_script( 'pods-codemirror-mode-css', PODS_URL . 'ui/js/codemirror/mode/css/css.js', array( 'pods-codemirror' ), '4.8', true );
|
506 |
|
|
|
507 |
if ( ! wp_script_is( 'jquery-ui-slideraccess', 'registered' ) ) {
|
508 |
// No need to add dependencies. All managed by jquery-ui-timepicker.
|
509 |
wp_register_script( 'jquery-ui-slideraccess', PODS_URL . 'ui/js/timepicker/jquery-ui-sliderAccess.js', array(), '0.3' );
|
510 |
}
|
511 |
-
|
512 |
if ( ! wp_script_is( 'jquery-ui-timepicker', 'registered' ) ) {
|
513 |
wp_register_script(
|
514 |
-
'jquery-ui-timepicker',
|
|
|
|
|
515 |
'jquery',
|
516 |
'jquery-ui-core',
|
517 |
'jquery-ui-datepicker',
|
518 |
'jquery-ui-slider',
|
519 |
'jquery-ui-slideraccess',
|
520 |
-
),
|
|
|
|
|
521 |
);
|
522 |
}
|
523 |
if ( ! wp_style_is( 'jquery-ui-timepicker', 'registered' ) ) {
|
524 |
-
wp_register_style(
|
|
|
|
|
|
|
|
|
|
|
525 |
}
|
526 |
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
),
|
|
|
532 |
);
|
533 |
-
wp_register_style( 'pods-select2', PODS_URL . "ui/js/selectWoo/selectWoo{$maybe_min}.css", array(), '1.0.2' );
|
534 |
|
535 |
-
|
536 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
537 |
wp_register_script(
|
538 |
-
'marionette',
|
539 |
-
PODS_URL .
|
540 |
array(
|
541 |
'backbone',
|
542 |
'backbone.radio',
|
543 |
-
),
|
|
|
|
|
544 |
);
|
545 |
wp_add_inline_script(
|
546 |
-
'marionette',
|
547 |
'PodsMn = Backbone.Marionette.noConflict();'
|
548 |
);
|
549 |
|
550 |
-
// MV
|
551 |
wp_register_script(
|
552 |
-
'pods-dfv', PODS_URL . 'ui/js/pods-dfv/pods-dfv.min.js',
|
|
|
553 |
'jquery',
|
554 |
'jquery-ui-core',
|
555 |
'jquery-ui-sortable',
|
556 |
'pods-i18n',
|
557 |
-
'marionette',
|
558 |
'media-views',
|
559 |
'media-models',
|
560 |
-
),
|
|
|
|
|
561 |
);
|
562 |
|
563 |
-
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
564 |
if ( pods_is_modal_window() ) {
|
565 |
add_filter( 'body_class', array( $this, 'add_classes_to_modal_body' ) );
|
566 |
add_filter( 'admin_body_class', array( $this, 'add_classes_to_modal_body' ) );
|
567 |
}
|
568 |
|
569 |
-
// Deal with specifics on admin pages
|
570 |
if ( is_admin() && function_exists( 'get_current_screen' ) ) {
|
571 |
$screen = get_current_screen();
|
572 |
|
@@ -598,6 +678,15 @@ class PodsInit {
|
|
598 |
wp_enqueue_script( 'pods-dfv' );
|
599 |
wp_enqueue_style( 'pods-form' );
|
600 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
601 |
}
|
602 |
|
603 |
/**
|
@@ -1875,6 +1964,8 @@ class PodsInit {
|
|
1875 |
add_action( 'wp_enqueue_scripts', array( $this, 'register_assets' ), 15 );
|
1876 |
add_action( 'admin_enqueue_scripts', array( $this, 'register_assets' ), 15 );
|
1877 |
add_action( 'login_enqueue_scripts', array( $this, 'register_assets' ), 15 );
|
|
|
|
|
1878 |
|
1879 |
add_filter( 'post_updated_messages', array( $this, 'setup_updated_messages' ), 10, 1 );
|
1880 |
add_action( 'delete_attachment', array( $this, 'delete_attachment' ) );
|
476 |
*/
|
477 |
public function register_assets() {
|
478 |
|
479 |
+
$suffix_min = SCRIPT_DEBUG ? '' : '.min';
|
480 |
+
|
481 |
+
/**
|
482 |
+
* Fires before Pods assets are registered.
|
483 |
+
*
|
484 |
+
* @since 2.7.23
|
485 |
+
*
|
486 |
+
* @param bool $suffix_min Minimized script suffix.
|
487 |
+
*/
|
488 |
+
do_action( 'pods_before_enqueue_scripts', $suffix_min );
|
489 |
|
490 |
wp_register_script( 'pods-json', PODS_URL . 'ui/js/jquery.json.js', array( 'jquery' ), '2.3' );
|
491 |
|
494 |
}
|
495 |
|
496 |
wp_register_script(
|
497 |
+
'pods',
|
498 |
+
PODS_URL . 'ui/js/jquery.pods.js',
|
499 |
+
array(
|
500 |
'jquery',
|
501 |
'pods-dfv',
|
502 |
'pods-i18n',
|
503 |
'pods-json',
|
504 |
'jquery-qtip2',
|
505 |
+
),
|
506 |
+
PODS_VERSION,
|
507 |
+
true
|
508 |
);
|
509 |
|
510 |
wp_register_script( 'pods-cleditor', PODS_URL . 'ui/js/jquery.cleditor.min.js', array( 'jquery' ), '1.3.0' );
|
517 |
wp_register_script( 'pods-codemirror-mode-html', PODS_URL . 'ui/js/codemirror/mode/htmlmixed/htmlmixed.js', array( 'pods-codemirror' ), '4.8', true );
|
518 |
wp_register_script( 'pods-codemirror-mode-css', PODS_URL . 'ui/js/codemirror/mode/css/css.js', array( 'pods-codemirror' ), '4.8', true );
|
519 |
|
520 |
+
// jQuery Timepicker.
|
521 |
if ( ! wp_script_is( 'jquery-ui-slideraccess', 'registered' ) ) {
|
522 |
// No need to add dependencies. All managed by jquery-ui-timepicker.
|
523 |
wp_register_script( 'jquery-ui-slideraccess', PODS_URL . 'ui/js/timepicker/jquery-ui-sliderAccess.js', array(), '0.3' );
|
524 |
}
|
|
|
525 |
if ( ! wp_script_is( 'jquery-ui-timepicker', 'registered' ) ) {
|
526 |
wp_register_script(
|
527 |
+
'jquery-ui-timepicker',
|
528 |
+
PODS_URL . "ui/js/timepicker/jquery-ui-timepicker-addon{$suffix_min}.js",
|
529 |
+
array(
|
530 |
'jquery',
|
531 |
'jquery-ui-core',
|
532 |
'jquery-ui-datepicker',
|
533 |
'jquery-ui-slider',
|
534 |
'jquery-ui-slideraccess',
|
535 |
+
),
|
536 |
+
'1.6.3',
|
537 |
+
true
|
538 |
);
|
539 |
}
|
540 |
if ( ! wp_style_is( 'jquery-ui-timepicker', 'registered' ) ) {
|
541 |
+
wp_register_style(
|
542 |
+
'jquery-ui-timepicker',
|
543 |
+
PODS_URL . "ui/js/timepicker/jquery-ui-timepicker-addon{$suffix_min}.css",
|
544 |
+
array(),
|
545 |
+
'1.6.3'
|
546 |
+
);
|
547 |
}
|
548 |
|
549 |
+
// Select2/SelectWoo.
|
550 |
+
wp_register_style(
|
551 |
+
'pods-select2',
|
552 |
+
PODS_URL . "ui/js/selectWoo/selectWoo{$suffix_min}.css",
|
553 |
+
array(),
|
554 |
+
'1.0.2'
|
555 |
);
|
|
|
556 |
|
557 |
+
$select2_locale = function_exists( 'get_user_locale' ) ? get_user_locale() : get_locale();
|
558 |
+
$select2_i18n = false;
|
559 |
+
if ( file_exists( PODS_DIR . "ui/js/selectWoo/i18n/{$select2_locale}.js" ) ) {
|
560 |
+
// `en_EN` format.
|
561 |
+
$select2_i18n = PODS_URL . "ui/js/selectWoo/i18n/{$select2_locale}.js";
|
562 |
+
} else {
|
563 |
+
// `en` format.
|
564 |
+
$select2_locale = substr( $select2_locale, 0, 2 );
|
565 |
+
if ( file_exists( PODS_DIR . "ui/js/selectWoo/i18n/{$select2_locale}.js" ) ) {
|
566 |
+
$select2_i18n = PODS_URL . "ui/js/selectWoo/i18n/{$select2_locale}.js";
|
567 |
+
}
|
568 |
+
}
|
569 |
+
if ( $select2_i18n ) {
|
570 |
+
wp_register_script(
|
571 |
+
'pods-select2-core',
|
572 |
+
PODS_URL . "ui/js/selectWoo/selectWoo{$suffix_min}.js",
|
573 |
+
array(
|
574 |
+
'jquery',
|
575 |
+
'pods-i18n',
|
576 |
+
),
|
577 |
+
'1.0.1',
|
578 |
+
true
|
579 |
+
);
|
580 |
+
wp_register_script( 'pods-select2', $select2_i18n, array( 'pods-select2-core' ), '1.0.1', true );
|
581 |
+
} else {
|
582 |
+
wp_register_script(
|
583 |
+
'pods-select2',
|
584 |
+
PODS_URL . "ui/js/selectWoo/selectWoo{$suffix_min}.js",
|
585 |
+
array(
|
586 |
+
'jquery',
|
587 |
+
'pods-i18n',
|
588 |
+
),
|
589 |
+
'1.0.1',
|
590 |
+
true
|
591 |
+
);
|
592 |
+
}
|
593 |
+
|
594 |
+
// Marionette dependencies for DFV/MV fields.
|
595 |
+
wp_register_script(
|
596 |
+
'backbone.radio',
|
597 |
+
PODS_URL . "ui/js/marionette/backbone.radio{$suffix_min}.js",
|
598 |
+
array( 'backbone' ),
|
599 |
+
'2.0.0',
|
600 |
+
true
|
601 |
+
);
|
602 |
wp_register_script(
|
603 |
+
'pods-marionette',
|
604 |
+
PODS_URL . "ui/js/marionette/backbone.marionette{$suffix_min}.js",
|
605 |
array(
|
606 |
'backbone',
|
607 |
'backbone.radio',
|
608 |
+
),
|
609 |
+
'3.3.1',
|
610 |
+
true
|
611 |
);
|
612 |
wp_add_inline_script(
|
613 |
+
'pods-marionette',
|
614 |
'PodsMn = Backbone.Marionette.noConflict();'
|
615 |
);
|
616 |
|
617 |
+
// DFV/MV.
|
618 |
wp_register_script(
|
619 |
+
'pods-dfv', PODS_URL . 'ui/js/pods-dfv/pods-dfv.min.js',
|
620 |
+
array(
|
621 |
'jquery',
|
622 |
'jquery-ui-core',
|
623 |
'jquery-ui-sortable',
|
624 |
'pods-i18n',
|
625 |
+
'pods-marionette',
|
626 |
'media-views',
|
627 |
'media-models',
|
628 |
+
),
|
629 |
+
PODS_VERSION,
|
630 |
+
true
|
631 |
);
|
632 |
|
633 |
+
// Page builders.
|
634 |
+
if (
|
635 |
+
// @todo Finish Elementor & Divi support.
|
636 |
+
// doing_action( 'elementor/editor/before_enqueue_scripts' ) || // Elementor.
|
637 |
+
// null !== pods_v( 'et_fb', 'get' ) // Divi.
|
638 |
+
null !== pods_v( 'fl_builder', 'get' ) // Beaver Builder.
|
639 |
+
) {
|
640 |
+
add_filter( 'pods_enqueue_dfv_on_front', '__return_true' );
|
641 |
+
}
|
642 |
+
|
643 |
+
// Check if Pod is a Modal Window.
|
644 |
if ( pods_is_modal_window() ) {
|
645 |
add_filter( 'body_class', array( $this, 'add_classes_to_modal_body' ) );
|
646 |
add_filter( 'admin_body_class', array( $this, 'add_classes_to_modal_body' ) );
|
647 |
}
|
648 |
|
649 |
+
// Deal with specifics on admin pages.
|
650 |
if ( is_admin() && function_exists( 'get_current_screen' ) ) {
|
651 |
$screen = get_current_screen();
|
652 |
|
678 |
wp_enqueue_script( 'pods-dfv' );
|
679 |
wp_enqueue_style( 'pods-form' );
|
680 |
}
|
681 |
+
|
682 |
+
/**
|
683 |
+
* Fires after Pods assets are registered.
|
684 |
+
*
|
685 |
+
* @since 2.7.23
|
686 |
+
*
|
687 |
+
* @param bool $suffix_min Minimized script suffix.
|
688 |
+
*/
|
689 |
+
do_action( 'pods_after_enqueue_scripts', $suffix_min );
|
690 |
}
|
691 |
|
692 |
/**
|
1964 |
add_action( 'wp_enqueue_scripts', array( $this, 'register_assets' ), 15 );
|
1965 |
add_action( 'admin_enqueue_scripts', array( $this, 'register_assets' ), 15 );
|
1966 |
add_action( 'login_enqueue_scripts', array( $this, 'register_assets' ), 15 );
|
1967 |
+
// @todo Elementor Page Builder.
|
1968 |
+
//add_action( 'elementor/editor/before_enqueue_scripts', array( $this, 'register_assets' ), 15 );
|
1969 |
|
1970 |
add_filter( 'post_updated_messages', array( $this, 'setup_updated_messages' ), 10, 1 );
|
1971 |
add_action( 'delete_attachment', array( $this, 'delete_attachment' ) );
|
classes/fields/avatar.php
CHANGED
@@ -132,7 +132,8 @@ class PodsField_Avatar extends PodsField_File {
|
|
132 |
}
|
133 |
|
134 |
if ( ! empty( $avatar_field ) ) {
|
135 |
-
$
|
|
|
136 |
|
137 |
if ( ! empty( $user_avatar ) ) {
|
138 |
$attributes = array(
|
@@ -144,7 +145,7 @@ class PodsField_Avatar extends PodsField_File {
|
|
144 |
$attributes['alt'] = $alt;
|
145 |
}
|
146 |
|
147 |
-
$user_avatar = pods_image( $user_avatar, array( $size, $size ), 0, $attributes );
|
148 |
|
149 |
if ( ! empty( $user_avatar ) ) {
|
150 |
$avatar = $user_avatar;
|
132 |
}
|
133 |
|
134 |
if ( ! empty( $avatar_field ) ) {
|
135 |
+
$user_meta = get_user_meta( $user_id );
|
136 |
+
$user_avatar = ! empty( $user_meta[ $avatar_field ][0] ) ? $user_meta[ $avatar_field ][0] : false;
|
137 |
|
138 |
if ( ! empty( $user_avatar ) ) {
|
139 |
$attributes = array(
|
145 |
$attributes['alt'] = $alt;
|
146 |
}
|
147 |
|
148 |
+
$user_avatar = pods_image( $user_avatar, array( $size, $size, 1 ), 0, $attributes, true );
|
149 |
|
150 |
if ( ! empty( $user_avatar ) ) {
|
151 |
$avatar = $user_avatar;
|
classes/fields/file.php
CHANGED
@@ -459,8 +459,7 @@ class PodsField_File extends PodsField {
|
|
459 |
if ( $is_user_logged_in ) {
|
460 |
$uid = 'user_' . get_current_user_id();
|
461 |
} else {
|
462 |
-
|
463 |
-
$uid = @session_id();
|
464 |
}
|
465 |
|
466 |
$pod_id = '0';
|
@@ -562,10 +561,10 @@ class PodsField_File extends PodsField {
|
|
562 |
$data[] = array(
|
563 |
'id' => esc_html( $id ),
|
564 |
'icon' => esc_attr( $icon ),
|
565 |
-
'name' =>
|
566 |
-
'edit_link' => esc_url( $edit_link ),
|
567 |
-
'link' => esc_url( $link ),
|
568 |
-
'download' => esc_url( $download ),
|
569 |
);
|
570 |
}//end foreach
|
571 |
|
@@ -729,6 +728,10 @@ class PodsField_File extends PodsField {
|
|
729 |
*/
|
730 |
public function do_wp_gallery( $value, $options ) {
|
731 |
|
|
|
|
|
|
|
|
|
732 |
$shortcode_args = array();
|
733 |
|
734 |
if ( ! empty( $options[ static::$type . '_wp_gallery_columns' ] ) ) {
|
@@ -752,7 +755,7 @@ class PodsField_File extends PodsField {
|
|
752 |
} else {
|
753 |
$images = array();
|
754 |
|
755 |
-
foreach ( $value as $v ) {
|
756 |
if ( ! is_array( $v ) ) {
|
757 |
$images[] = (int) $v;
|
758 |
} elseif ( isset( $v['ID'] ) ) {
|
@@ -944,7 +947,7 @@ class PodsField_File extends PodsField {
|
|
944 |
}
|
945 |
}
|
946 |
|
947 |
-
$uid =
|
948 |
|
949 |
if ( $is_user_logged_in ) {
|
950 |
$uid = 'user_' . get_current_user_id();
|
459 |
if ( $is_user_logged_in ) {
|
460 |
$uid = 'user_' . get_current_user_id();
|
461 |
} else {
|
462 |
+
$uid = pods_session_id();
|
|
|
463 |
}
|
464 |
|
465 |
$pod_id = '0';
|
561 |
$data[] = array(
|
562 |
'id' => esc_html( $id ),
|
563 |
'icon' => esc_attr( $icon ),
|
564 |
+
'name' => wp_strip_all_tags( html_entity_decode( $title ) ),
|
565 |
+
'edit_link' => html_entity_decode( esc_url( $edit_link ) ),
|
566 |
+
'link' => html_entity_decode( esc_url( $link ) ),
|
567 |
+
'download' => html_entity_decode( esc_url( $download ) ),
|
568 |
);
|
569 |
}//end foreach
|
570 |
|
728 |
*/
|
729 |
public function do_wp_gallery( $value, $options ) {
|
730 |
|
731 |
+
if ( ! $value ) {
|
732 |
+
return '';
|
733 |
+
}
|
734 |
+
|
735 |
$shortcode_args = array();
|
736 |
|
737 |
if ( ! empty( $options[ static::$type . '_wp_gallery_columns' ] ) ) {
|
755 |
} else {
|
756 |
$images = array();
|
757 |
|
758 |
+
foreach ( (array) $value as $v ) {
|
759 |
if ( ! is_array( $v ) ) {
|
760 |
$images[] = (int) $v;
|
761 |
} elseif ( isset( $v['ID'] ) ) {
|
947 |
}
|
948 |
}
|
949 |
|
950 |
+
$uid = pods_session_id();
|
951 |
|
952 |
if ( $is_user_logged_in ) {
|
953 |
$uid = 'user_' . get_current_user_id();
|
classes/fields/pick.php
CHANGED
@@ -940,7 +940,7 @@ class PodsField_Pick extends PodsField {
|
|
940 |
if ( is_user_logged_in() ) {
|
941 |
$uid = 'user_' . get_current_user_id();
|
942 |
} else {
|
943 |
-
$uid =
|
944 |
}
|
945 |
|
946 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER['REQUEST_URI'] );
|
@@ -1395,9 +1395,9 @@ class PodsField_Pick extends PodsField {
|
|
1395 |
$item = array(
|
1396 |
'id' => esc_html( $item_id ),
|
1397 |
'icon' => esc_attr( $icon ),
|
1398 |
-
'name' =>
|
1399 |
-
'edit_link' => esc_url( $edit_link ),
|
1400 |
-
'link' => esc_url( $link ),
|
1401 |
'selected' => $selected,
|
1402 |
);
|
1403 |
|
@@ -2334,6 +2334,10 @@ class PodsField_Pick extends PodsField {
|
|
2334 |
$ids = wp_list_pluck( $ids, $search_data->field_id );
|
2335 |
}
|
2336 |
|
|
|
|
|
|
|
|
|
2337 |
if ( is_array( $ids ) ) {
|
2338 |
$ids = implode( ', ', $ids );
|
2339 |
}
|
@@ -2342,7 +2346,7 @@ class PodsField_Pick extends PodsField {
|
|
2342 |
$params['where'] = implode( ' AND ', $params['where'] );
|
2343 |
}
|
2344 |
if ( ! empty( $params['where'] ) ) {
|
2345 |
-
$params['where']
|
2346 |
}
|
2347 |
|
2348 |
$params['where'] .= "`t`.`{$search_data->field_id}` IN ( {$ids} )";
|
@@ -2542,7 +2546,7 @@ class PodsField_Pick extends PodsField {
|
|
2542 |
|
2543 |
$params = (object) $params;
|
2544 |
|
2545 |
-
$uid =
|
2546 |
|
2547 |
if ( is_user_logged_in() ) {
|
2548 |
$uid = 'user_' . get_current_user_id();
|
940 |
if ( is_user_logged_in() ) {
|
941 |
$uid = 'user_' . get_current_user_id();
|
942 |
} else {
|
943 |
+
$uid = pods_session_id();
|
944 |
}
|
945 |
|
946 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER['REQUEST_URI'] );
|
1395 |
$item = array(
|
1396 |
'id' => esc_html( $item_id ),
|
1397 |
'icon' => esc_attr( $icon ),
|
1398 |
+
'name' => wp_strip_all_tags( html_entity_decode( $item_title ) ),
|
1399 |
+
'edit_link' => html_entity_decode( esc_url( $edit_link ) ),
|
1400 |
+
'link' => html_entity_decode( esc_url( $link ) ),
|
1401 |
'selected' => $selected,
|
1402 |
);
|
1403 |
|
2334 |
$ids = wp_list_pluck( $ids, $search_data->field_id );
|
2335 |
}
|
2336 |
|
2337 |
+
if ( $params['limit'] < count( $ids ) ) {
|
2338 |
+
$params['limit'] = count( $ids );
|
2339 |
+
}
|
2340 |
+
|
2341 |
if ( is_array( $ids ) ) {
|
2342 |
$ids = implode( ', ', $ids );
|
2343 |
}
|
2346 |
$params['where'] = implode( ' AND ', $params['where'] );
|
2347 |
}
|
2348 |
if ( ! empty( $params['where'] ) ) {
|
2349 |
+
$params['where'] = '(' . $params['where'] . ') AND ';
|
2350 |
}
|
2351 |
|
2352 |
$params['where'] .= "`t`.`{$search_data->field_id}` IN ( {$ids} )";
|
2546 |
|
2547 |
$params = (object) $params;
|
2548 |
|
2549 |
+
$uid = pods_session_id();
|
2550 |
|
2551 |
if ( is_user_logged_in() ) {
|
2552 |
$uid = 'user_' . get_current_user_id();
|
components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Front_End.php
CHANGED
@@ -10,84 +10,95 @@ if ( class_exists( 'Pods_PFAT_Frontend' ) ) {
|
|
10 |
*/
|
11 |
class Pods_Templates_Auto_Template_Front_End {
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
/**
|
14 |
* Pods_Templates_Auto_Template_Front_End constructor.
|
15 |
*/
|
16 |
public function __construct() {
|
17 |
-
|
18 |
if ( ! is_admin() ) {
|
19 |
add_action( 'wp', array( $this, 'set_frontier_style_script' ) );
|
|
|
|
|
|
|
20 |
}
|
21 |
|
|
|
22 |
add_action( 'template_redirect', array( $this, 'hook_content' ) );
|
23 |
-
|
24 |
}
|
25 |
|
26 |
/**
|
27 |
-
*
|
28 |
-
*
|
29 |
-
* @
|
30 |
-
* @param array $possible_pods
|
31 |
-
* @return string
|
32 |
*/
|
33 |
-
public function
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
39 |
}
|
40 |
|
41 |
-
|
42 |
-
//now use other methods in class to build array to search in/ use
|
43 |
-
$possible_pods = $this->auto_pods();
|
44 |
-
}
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
$this_pod = $possible_pods[ $current_post_type ];
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
$
|
54 |
-
} elseif ( is_home() && $current_post_type === 'post' ) {
|
55 |
-
$filter = pods_v( 'archive_filter', $this_pod, $filter, true );
|
56 |
-
} elseif ( is_tax( $current_post_type ) ) {
|
57 |
-
$filter = pods_v( 'archive_filter', $this_pod, $filter, true );
|
58 |
}
|
59 |
}
|
60 |
|
61 |
-
|
62 |
}
|
63 |
|
64 |
/**
|
65 |
-
*
|
66 |
*
|
67 |
-
* @since 2.
|
68 |
*/
|
69 |
-
public function
|
70 |
-
$filter = $this->get_pod_filter();
|
71 |
|
72 |
-
|
73 |
-
|
74 |
-
*
|
75 |
-
* Default is false, set to true to enable.
|
76 |
-
*/
|
77 |
-
if ( ! defined( 'PFAT_USE_ON_EXCERPT' ) ) {
|
78 |
-
define( 'PFAT_USE_ON_EXCERPT', false );
|
79 |
}
|
|
|
80 |
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
-
|
84 |
-
|
85 |
}
|
86 |
-
|
87 |
}
|
88 |
|
89 |
/**
|
90 |
-
* Get all post type and taxonomy Pods
|
91 |
*
|
92 |
* @since 2.4.5
|
93 |
*
|
@@ -95,24 +106,28 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
95 |
*/
|
96 |
public function the_pods() {
|
97 |
|
98 |
-
// use the cached results
|
99 |
$key = '_pods_pfat_the_pods';
|
100 |
$the_pods = pods_transient_get( $key );
|
101 |
|
102 |
// check if we already have the results cached & use it if we can.
|
103 |
if ( false === $the_pods ) {
|
104 |
-
// get all post type pods
|
105 |
$the_pods = pods_api()->load_pods(
|
106 |
array(
|
107 |
-
'type'
|
108 |
-
'taxonomy',
|
109 |
'post_type',
|
|
|
|
|
|
|
110 |
),
|
111 |
-
'names'
|
|
|
|
|
112 |
)
|
113 |
);
|
114 |
|
115 |
-
// cache the results
|
116 |
pods_transient_set( $key, $the_pods );
|
117 |
|
118 |
}
|
@@ -122,13 +137,16 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
122 |
}
|
123 |
|
124 |
/**
|
125 |
-
* Get all Pods with auto template enable and its settings
|
126 |
*
|
127 |
-
* @return array With info about auto template settings per post type
|
128 |
*
|
129 |
* @since 2.4.5
|
130 |
*/
|
131 |
public function auto_pods() {
|
|
|
|
|
|
|
132 |
|
133 |
/**
|
134 |
* Filter to override all settings for which templates are used.
|
@@ -146,53 +164,84 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
146 |
return $auto_pods;
|
147 |
}
|
148 |
|
149 |
-
// try to get cached results of this method
|
150 |
$key = '_pods_pfat_auto_pods';
|
151 |
$auto_pods = pods_transient_get( $key );
|
152 |
|
153 |
// check if we already have the results cached & use it if we can.
|
154 |
if ( $auto_pods === false ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
// get possible pods
|
156 |
$the_pods = $this->the_pods();
|
157 |
|
158 |
-
// start output array empty
|
159 |
$auto_pods = array();
|
160 |
|
161 |
-
// get pods api class
|
162 |
$api = pods_api();
|
163 |
|
164 |
-
// loop through each to see if auto templates is enabled
|
165 |
foreach ( $the_pods as $the_pod => $the_pod_label ) {
|
166 |
// get this Pods' data.
|
167 |
-
$pod_data = $api->load_pod( array( 'name' => $the_pod ) );
|
168 |
-
|
169 |
-
|
170 |
-
if
|
171 |
-
|
172 |
-
$
|
173 |
-
|
174 |
-
|
175 |
-
$
|
176 |
-
|
177 |
-
|
178 |
-
$
|
179 |
-
$
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
}
|
186 |
|
187 |
-
if (
|
188 |
-
|
|
|
189 |
}
|
190 |
|
191 |
-
if
|
192 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
}
|
194 |
|
195 |
-
//
|
196 |
$auto_pods[ $the_pod ] = array(
|
197 |
'name' => $the_pod,
|
198 |
'label' => $the_pod_label,
|
@@ -209,7 +258,7 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
209 |
}//end if
|
210 |
}//end foreach
|
211 |
|
212 |
-
// cache the results
|
213 |
pods_transient_set( $key, $auto_pods );
|
214 |
}//end if
|
215 |
|
@@ -224,46 +273,84 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
224 |
*
|
225 |
* @since 2.4.5
|
226 |
*/
|
227 |
-
$auto_pods = apply_filters( 'pods_pfat_auto_pods', $auto_pods );
|
228 |
|
229 |
-
return $auto_pods;
|
230 |
|
231 |
}
|
232 |
|
233 |
/**
|
234 |
-
*
|
235 |
*
|
236 |
-
* @
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
*
|
238 |
* @since 2.4.5
|
239 |
*/
|
240 |
-
public function
|
241 |
|
242 |
-
//
|
243 |
-
|
244 |
-
|
|
|
245 |
|
246 |
-
//
|
247 |
-
|
248 |
-
$current_post_type = $obj->post_type;
|
249 |
|
250 |
-
|
251 |
-
|
|
|
|
|
|
|
|
|
|
|
252 |
} elseif ( isset( $obj->name ) ) {
|
253 |
-
$
|
254 |
} elseif ( is_home() ) {
|
255 |
-
$
|
256 |
} else {
|
257 |
-
$
|
258 |
}
|
259 |
|
260 |
-
return $
|
261 |
}
|
262 |
|
263 |
/**
|
264 |
* Outputs templates after the content as needed.
|
265 |
*
|
266 |
-
* @param string $content Post content
|
|
|
267 |
*
|
268 |
* @uses 'the_content' filter
|
269 |
*
|
@@ -271,80 +358,226 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
271 |
*
|
272 |
* @since 2.4.5
|
273 |
*/
|
274 |
-
public function front( $content ) {
|
275 |
|
276 |
-
|
277 |
-
|
|
|
|
|
|
|
278 |
|
279 |
-
|
|
|
|
|
280 |
$possible_pods = $this->auto_pods();
|
281 |
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
|
|
|
|
286 |
|
287 |
-
|
|
|
288 |
|
289 |
-
if (
|
290 |
-
|
|
|
|
|
291 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
|
293 |
-
if ( ! in_the_loop() && ! pods_v( 'run_outside_loop', $this_pod, false ) ) {
|
294 |
-
// If outside of the loop, exit quickly
|
295 |
return $content;
|
296 |
}
|
297 |
|
298 |
-
//
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
$content = $this->load_template( $this_pod['archive'], $content, $pods, $this_pod['archive_append'] );
|
315 |
-
|
316 |
-
} elseif ( is_tax( $current_post_type ) ) {
|
317 |
-
// if is taxonomy archive of the selected taxonomy
|
318 |
-
// if pfat_single was set try to use that template
|
319 |
-
if ( $this_pod['archive'] ) {
|
320 |
-
// append the template
|
321 |
-
$content = $this->load_template( $this_pod['archive'], $content, $pods, $this_pod['archive_append'] );
|
322 |
}
|
323 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
}//end if
|
325 |
|
|
|
|
|
326 |
return $content;
|
327 |
|
328 |
}
|
329 |
|
330 |
/**
|
331 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
*
|
333 |
* @param string $template_name The name of a Pods Template to load.
|
334 |
-
* @param string $content Post content
|
335 |
-
* @param Pods $
|
336 |
* @param bool|string $append Optional. Whether to append, prepend or replace content. Defaults to true,
|
337 |
* which appends, if false, content is replaced, if 'prepend' content is
|
338 |
* prepended.
|
339 |
*
|
340 |
-
* @return string $content with Pods Template appended if template exists
|
341 |
*
|
342 |
* @since 2.4.5
|
343 |
*/
|
344 |
-
public function load_template( $template_name, $content, $
|
345 |
|
346 |
-
//
|
347 |
-
|
348 |
|
349 |
/**
|
350 |
* Change which template -- by name -- to be used.
|
@@ -352,17 +585,19 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
352 |
* @since 2.5.6
|
353 |
*
|
354 |
* @param string $template_name The name of a Pods Template to load.
|
355 |
-
* @param Pods $
|
356 |
* @param bool|string $append Whether Template will be appended (true), prepended ("prepend") or replaced (false).
|
357 |
*/
|
358 |
-
$template_name = apply_filters( 'pods_auto_template_template_name', $template_name, $
|
359 |
|
360 |
-
$template = $
|
361 |
-
add_filter( 'the_content', array( $this, 'front' ) );
|
362 |
|
363 |
-
//
|
|
|
|
|
|
|
364 |
if ( ! is_null( $template ) ) {
|
365 |
-
//
|
366 |
if ( $append === 'replace' ) {
|
367 |
$content = $template;
|
368 |
} elseif ( $append === 'prepend' ) {
|
@@ -388,35 +623,31 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
388 |
return;
|
389 |
}
|
390 |
|
391 |
-
//
|
392 |
-
$
|
393 |
|
394 |
-
//
|
395 |
$possible_pods = $this->auto_pods();
|
396 |
|
397 |
-
if ( isset( $possible_pods[ $
|
398 |
-
$this_pod = $possible_pods[ $
|
399 |
|
400 |
-
if ( $this_pod['single'] && is_singular( $
|
401 |
-
// set template
|
402 |
$template = $this_pod['single'];
|
403 |
|
404 |
-
} elseif ( $this_pod['archive'] && is_post_type_archive( $
|
405 |
-
//
|
406 |
-
//
|
407 |
-
// set template
|
408 |
$template = $this_pod['archive'];
|
409 |
|
410 |
-
} elseif ( is_home() && $this_pod['archive'] &&
|
411 |
-
//
|
412 |
-
// set template
|
413 |
$template = $this_pod['archive'];
|
414 |
|
415 |
-
} elseif ( is_tax( $
|
416 |
-
//
|
417 |
-
//
|
418 |
if ( $this_pod['archive'] ) {
|
419 |
-
// set template
|
420 |
$template = $this_pod['archive'];
|
421 |
}
|
422 |
}//end if
|
@@ -427,10 +658,11 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
427 |
$template_post = pods()->api->load_template( array( 'name' => $template ) );
|
428 |
|
429 |
if ( ! empty( $template_post['id'] ) ) {
|
430 |
-
//
|
431 |
$meta = get_post_meta( $template_post['id'], 'view_template', true );
|
432 |
|
433 |
$frontier = new Pods_Frontier();
|
|
|
434 |
if ( ! empty( $meta['css'] ) ) {
|
435 |
$frontier_styles .= $meta['css'];
|
436 |
}
|
10 |
*/
|
11 |
class Pods_Templates_Auto_Template_Front_End {
|
12 |
|
13 |
+
/**
|
14 |
+
* Currently filtered content functions.
|
15 |
+
*
|
16 |
+
* @var array
|
17 |
+
*
|
18 |
+
* @since 2.7.16
|
19 |
+
*/
|
20 |
+
private $filtered_content = array();
|
21 |
+
|
22 |
+
/**
|
23 |
+
* List of auto pods.
|
24 |
+
*
|
25 |
+
* @var array
|
26 |
+
*
|
27 |
+
* @since TBD
|
28 |
+
*/
|
29 |
+
private $auto_pods = [];
|
30 |
+
|
31 |
/**
|
32 |
* Pods_Templates_Auto_Template_Front_End constructor.
|
33 |
*/
|
34 |
public function __construct() {
|
|
|
35 |
if ( ! is_admin() ) {
|
36 |
add_action( 'wp', array( $this, 'set_frontier_style_script' ) );
|
37 |
+
|
38 |
+
// Load autopods.
|
39 |
+
$this->auto_pods();
|
40 |
}
|
41 |
|
42 |
+
// Setup initial hooks.
|
43 |
add_action( 'template_redirect', array( $this, 'hook_content' ) );
|
|
|
44 |
}
|
45 |
|
46 |
/**
|
47 |
+
* Add hooks for output.
|
48 |
+
*
|
49 |
+
* @since 2.6.6
|
|
|
|
|
50 |
*/
|
51 |
+
public function hook_content() {
|
52 |
+
/**
|
53 |
+
* Allows plugin to append/replace the_excerpt.
|
54 |
+
*
|
55 |
+
* Default is false, set to true to enable.
|
56 |
+
*/
|
57 |
+
if ( ! defined( 'PFAT_USE_ON_EXCERPT' ) ) {
|
58 |
+
define( 'PFAT_USE_ON_EXCERPT', false );
|
59 |
}
|
60 |
|
61 |
+
$possible_pods = $this->auto_pods();
|
|
|
|
|
|
|
62 |
|
63 |
+
foreach ( $possible_pods as $pod_name => $pod ) {
|
64 |
+
$filter = $this->get_pod_filter( $pod_name );
|
|
|
65 |
|
66 |
+
$this->filtered_content[ $filter ] = 10.5;
|
67 |
+
|
68 |
+
if ( PFAT_USE_ON_EXCERPT && ! empty( $possible_pods[ $pod_name ]['type'] ) && 'post_type' === $possible_pods[ $pod_name ]['type'] ) {
|
69 |
+
$this->filtered_content['the_excerpt'] = 10;
|
|
|
|
|
|
|
|
|
70 |
}
|
71 |
}
|
72 |
|
73 |
+
$this->install_hooks();
|
74 |
}
|
75 |
|
76 |
/**
|
77 |
+
* Install the hooks specified by the filtered_content member.
|
78 |
*
|
79 |
+
* @since 2.7.16
|
80 |
*/
|
81 |
+
public function install_hooks() {
|
|
|
82 |
|
83 |
+
foreach ( $this->filtered_content as $filter => $priority ) {
|
84 |
+
add_filter( $filter, array( $this, 'front' ), $priority, 2 );
|
|
|
|
|
|
|
|
|
|
|
85 |
}
|
86 |
+
}
|
87 |
|
88 |
+
/**
|
89 |
+
* Remove the hooks specified by the filtered_content member.
|
90 |
+
*
|
91 |
+
* @since 2.7.16
|
92 |
+
*/
|
93 |
+
public function remove_hooks() {
|
94 |
|
95 |
+
foreach ( $this->filtered_content as $filter => $priority ) {
|
96 |
+
remove_filter( $filter, array( $this, 'front' ) );
|
97 |
}
|
|
|
98 |
}
|
99 |
|
100 |
/**
|
101 |
+
* Get all post type and taxonomy Pods.
|
102 |
*
|
103 |
* @since 2.4.5
|
104 |
*
|
106 |
*/
|
107 |
public function the_pods() {
|
108 |
|
109 |
+
// use the cached results.
|
110 |
$key = '_pods_pfat_the_pods';
|
111 |
$the_pods = pods_transient_get( $key );
|
112 |
|
113 |
// check if we already have the results cached & use it if we can.
|
114 |
if ( false === $the_pods ) {
|
115 |
+
// get all post type pods.
|
116 |
$the_pods = pods_api()->load_pods(
|
117 |
array(
|
118 |
+
'type' => array(
|
|
|
119 |
'post_type',
|
120 |
+
'taxonomy',
|
121 |
+
'comment',
|
122 |
+
'user',
|
123 |
),
|
124 |
+
'names' => true,
|
125 |
+
'fields' => false,
|
126 |
+
'table_info' => false,
|
127 |
)
|
128 |
);
|
129 |
|
130 |
+
// cache the results.
|
131 |
pods_transient_set( $key, $the_pods );
|
132 |
|
133 |
}
|
137 |
}
|
138 |
|
139 |
/**
|
140 |
+
* Get all Pods with auto template enable and its settings.
|
141 |
*
|
142 |
+
* @return array With info about auto template settings per post type.
|
143 |
*
|
144 |
* @since 2.4.5
|
145 |
*/
|
146 |
public function auto_pods() {
|
147 |
+
if ( ! empty( $this->auto_pods ) ) {
|
148 |
+
return $this->auto_pods;
|
149 |
+
}
|
150 |
|
151 |
/**
|
152 |
* Filter to override all settings for which templates are used.
|
164 |
return $auto_pods;
|
165 |
}
|
166 |
|
167 |
+
// try to get cached results of this method.
|
168 |
$key = '_pods_pfat_auto_pods';
|
169 |
$auto_pods = pods_transient_get( $key );
|
170 |
|
171 |
// check if we already have the results cached & use it if we can.
|
172 |
if ( $auto_pods === false ) {
|
173 |
+
$default_hooks = array(
|
174 |
+
'post_type' => 'the_content',
|
175 |
+
'taxonomy' => 'get_the_archive_description',
|
176 |
+
'user' => 'get_the_author_description',
|
177 |
+
'comment' => 'comment_text',
|
178 |
+
);
|
179 |
+
|
180 |
// get possible pods
|
181 |
$the_pods = $this->the_pods();
|
182 |
|
183 |
+
// start output array empty.
|
184 |
$auto_pods = array();
|
185 |
|
186 |
+
// get pods api class.
|
187 |
$api = pods_api();
|
188 |
|
189 |
+
// loop through each to see if auto templates is enabled.
|
190 |
foreach ( $the_pods as $the_pod => $the_pod_label ) {
|
191 |
// get this Pods' data.
|
192 |
+
$pod_data = $api->load_pod( array( 'name' => $the_pod, 'fields' => false, 'table_info' => false ) );
|
193 |
+
$options = pods_v( 'options', $pod_data, array() );
|
194 |
+
|
195 |
+
// if auto template is enabled add info about Pod to array.
|
196 |
+
if ( 1 === (int) pods_v( 'pfat_enable', $options, 0 ) ) {
|
197 |
+
$type = pods_v( 'type', $pod_data, false, true );
|
198 |
+
|
199 |
+
// Get default hook.
|
200 |
+
$default_hook = pods_v( $type, $default_hooks, '' );
|
201 |
+
|
202 |
+
// check if pfat_single and pfat_archive are set.
|
203 |
+
$single = pods_v( 'pfat_single', $options, false, true );
|
204 |
+
$archive = pods_v( 'pfat_archive', $options, false, true );
|
205 |
+
$single_append = pods_v( 'pfat_append_single', $options, true, true );
|
206 |
+
$archive_append = pods_v( 'pfat_append_archive', $options, true, true );
|
207 |
+
$single_filter = pods_v( 'pfat_filter_single', $options, $default_hook, true );
|
208 |
+
$archive_filter = pods_v( 'pfat_filter_archive', $options, $default_hook, true );
|
209 |
+
$run_outside_loop = pods_v( 'pfat_run_outside_loop', $options, false, true );
|
210 |
+
|
211 |
+
if ( 'custom' === $single_filter ) {
|
212 |
+
$single_filter = pods_v( 'pfat_filter_single_custom', $options, $default_hook, true );
|
213 |
+
}
|
214 |
+
|
215 |
+
if ( 'custom' === $archive_filter ) {
|
216 |
+
$archive_filter = pods_v( 'pfat_filter_archive_custom', $options, $default_hook, true );
|
217 |
}
|
218 |
|
219 |
+
if ( 'taxonomy' === $type ) {
|
220 |
+
// We are treating taxonomy post archive as a taxonomy singular so disable the filter.
|
221 |
+
$archive_filter = '';
|
222 |
}
|
223 |
|
224 |
+
// Check if it's a type that supports archive templates. This will be used for admin checks.
|
225 |
+
if ( 'post_type' === $type ) {
|
226 |
+
if ( empty( $pod_data['object'] ) ) {
|
227 |
+
// Custom post types.
|
228 |
+
$has_archive = pods_v( 'has_archive', $options, false, true );
|
229 |
+
} else {
|
230 |
+
// Extended post types (use what they have).
|
231 |
+
// $has_archive = get_post_type_object( $the_pod )->has_archive;
|
232 |
+
|
233 |
+
// Force archive as true since we don't allow overriding the option in the admin.
|
234 |
+
$has_archive = true;
|
235 |
+
}
|
236 |
+
} elseif ( 'taxonomy' === $type ) {
|
237 |
+
// We are treating taxonomy post archive as a taxonomy singular.
|
238 |
+
$has_archive = false;
|
239 |
+
} else {
|
240 |
+
// All other types have singular and archive views.
|
241 |
+
$has_archive = true;
|
242 |
}
|
243 |
|
244 |
+
// Build output array.
|
245 |
$auto_pods[ $the_pod ] = array(
|
246 |
'name' => $the_pod,
|
247 |
'label' => $the_pod_label,
|
258 |
}//end if
|
259 |
}//end foreach
|
260 |
|
261 |
+
// cache the results.
|
262 |
pods_transient_set( $key, $auto_pods );
|
263 |
}//end if
|
264 |
|
273 |
*
|
274 |
* @since 2.4.5
|
275 |
*/
|
276 |
+
$this->auto_pods = apply_filters( 'pods_pfat_auto_pods', $auto_pods );
|
277 |
|
278 |
+
return $this->auto_pods;
|
279 |
|
280 |
}
|
281 |
|
282 |
/**
|
283 |
+
* Get the filter used for a Pod.
|
284 |
*
|
285 |
+
* @param string $pod_name The pod name.
|
286 |
+
*
|
287 |
+
* @return string
|
288 |
+
* @since 1.7.2
|
289 |
+
*/
|
290 |
+
public function get_pod_filter( $pod_name = '' ) {
|
291 |
+
$filter = 'the_content';
|
292 |
+
|
293 |
+
if ( ! $pod_name ) {
|
294 |
+
// Get the current post type.
|
295 |
+
$pod_name = $this->get_pod_name();
|
296 |
+
}
|
297 |
+
|
298 |
+
// Now use other methods in class to build array to search in/ use.
|
299 |
+
$possible_pods = $this->auto_pods();
|
300 |
+
|
301 |
+
if ( isset( $possible_pods[ $pod_name ] ) ) {
|
302 |
+
$this_pod = $possible_pods[ $pod_name ];
|
303 |
+
|
304 |
+
if ( in_the_loop() && ! is_singular() ) {
|
305 |
+
$filter = pods_v( 'archive_filter', $this_pod, $filter, true );
|
306 |
+
} else {
|
307 |
+
$filter = pods_v( 'single_filter', $this_pod, $filter, true );
|
308 |
+
}
|
309 |
+
}
|
310 |
+
|
311 |
+
return $filter;
|
312 |
+
}
|
313 |
+
|
314 |
+
/**
|
315 |
+
* Fetches the current Pod name.
|
316 |
+
*
|
317 |
+
* @return string Pod name.
|
318 |
*
|
319 |
* @since 2.4.5
|
320 |
*/
|
321 |
+
public function get_pod_name() {
|
322 |
|
323 |
+
// If we are in the loop, fair game to use the post itself to help determine the current post type.
|
324 |
+
if ( in_the_loop() ) {
|
325 |
+
return get_post_type();
|
326 |
+
}
|
327 |
|
328 |
+
// Start by getting current post or stdClass object.
|
329 |
+
$obj = get_queried_object();
|
|
|
330 |
|
331 |
+
// See if we are on a post type and if so, set $current_post_type to post type.
|
332 |
+
if ( $obj instanceof WP_Post ) {
|
333 |
+
$pod_name = $obj->post_type;
|
334 |
+
} elseif ( $obj instanceof WP_Term ) {
|
335 |
+
$pod_name = $obj->taxonomy;
|
336 |
+
} elseif ( $obj instanceof WP_User ) {
|
337 |
+
$pod_name = 'user';
|
338 |
} elseif ( isset( $obj->name ) ) {
|
339 |
+
$pod_name = $obj->name;
|
340 |
} elseif ( is_home() ) {
|
341 |
+
$pod_name = 'post';
|
342 |
} else {
|
343 |
+
$pod_name = false;
|
344 |
}
|
345 |
|
346 |
+
return $pod_name;
|
347 |
}
|
348 |
|
349 |
/**
|
350 |
* Outputs templates after the content as needed.
|
351 |
*
|
352 |
+
* @param string $content Post content.
|
353 |
+
* @param mixed $obj Object context.
|
354 |
*
|
355 |
* @uses 'the_content' filter
|
356 |
*
|
358 |
*
|
359 |
* @since 2.4.5
|
360 |
*/
|
361 |
+
public function front( $content, $obj = null ) {
|
362 |
|
363 |
+
static $running = false;
|
364 |
+
|
365 |
+
if ( $running ) {
|
366 |
+
return $content;
|
367 |
+
}
|
368 |
|
369 |
+
$running = true;
|
370 |
+
|
371 |
+
// Now use other methods in class to build array to search in/ use.
|
372 |
$possible_pods = $this->auto_pods();
|
373 |
|
374 |
+
$current_filter = current_filter();
|
375 |
+
$in_the_loop = in_the_loop();
|
376 |
+
|
377 |
+
if ( null === $obj && $in_the_loop ) {
|
378 |
+
$obj = get_post();
|
379 |
+
}
|
380 |
|
381 |
+
if ( null !== $obj ) {
|
382 |
+
$pod_info = $this->get_pod_info( $obj );
|
383 |
|
384 |
+
if ( empty( $pod_info['pod_type'] ) ) {
|
385 |
+
$obj = null;
|
386 |
+
|
387 |
+
$pod_info = $this->get_pod_info();
|
388 |
}
|
389 |
+
} else {
|
390 |
+
$pod_info = $this->get_pod_info();
|
391 |
+
}
|
392 |
+
|
393 |
+
$pod_id = $pod_info['pod_id'];
|
394 |
+
$pod_name = $pod_info['pod_name'];
|
395 |
+
$pod_type = $pod_info['pod_type'];
|
396 |
+
|
397 |
+
// @todo Media?
|
398 |
+
|
399 |
+
// Check if $current_post_type is the key of the array of possible pods.
|
400 |
+
if ( $pod_type && isset( $possible_pods[ $pod_name ] ) ) {
|
401 |
+
$pod_name_and_id = array( $pod_name, $pod_id );
|
402 |
+
|
403 |
+
/**
|
404 |
+
* Change which pod and item to run the template against. The
|
405 |
+
* default pod is the the post type of the post about to be
|
406 |
+
* displayed, the default item is the post about to be displayed,
|
407 |
+
* except outside the loop in a taxonomy archive, in which case it
|
408 |
+
* is the term the archive is for.
|
409 |
+
*
|
410 |
+
* @since 2.7.17
|
411 |
+
*
|
412 |
+
* @param string $pod_name_and_id An array of the name of the pod to run the template against and the ID of the item in that pod to use.
|
413 |
+
* @param string $pod_name The name of the pod from which the template was selected.
|
414 |
+
* @param WP_post|WP_Term $obj The object that is about to be displayed.
|
415 |
+
*/
|
416 |
+
$pod_name_and_id = apply_filters( 'pods_auto_template_pod_name_and_id', $pod_name_and_id, $pod_name, $obj );
|
417 |
+
|
418 |
+
$pod_name = $pod_name_and_id[0];
|
419 |
+
$pod_id = $pod_name_and_id[1];
|
420 |
+
|
421 |
+
if ( empty( $possible_pods[ $pod_name ] ) ) {
|
422 |
+
$running = false;
|
423 |
|
|
|
|
|
424 |
return $content;
|
425 |
}
|
426 |
|
427 |
+
// Get array for the current post type.
|
428 |
+
$auto_pod = $possible_pods[ $pod_name ];
|
429 |
+
|
430 |
+
if ( 'post' === $pod_type ) {
|
431 |
+
if ( ! $in_the_loop && ! pods_v( 'run_outside_loop', $auto_pod, false ) ) {
|
432 |
+
// If outside of the loop, exit quickly.
|
433 |
+
$running = false;
|
434 |
+
|
435 |
+
return $content;
|
436 |
+
}
|
437 |
+
|
438 |
+
if ( 'the_excerpt' === $current_filter && ( is_single() || is_singular() ) ) {
|
439 |
+
// Do not run excerpts on single.
|
440 |
+
$running = false;
|
441 |
+
|
442 |
+
return $content;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
}
|
444 |
}
|
445 |
+
|
446 |
+
$pod = pods( $pod_name, $pod_id );
|
447 |
+
|
448 |
+
// Heuristically decide if this is single or archive.
|
449 |
+
$type = 'archive';
|
450 |
+
$type_filter = 'archive_filter';
|
451 |
+
$type_append = 'archive_append';
|
452 |
+
|
453 |
+
$is_single = true;
|
454 |
+
|
455 |
+
if ( null !== $obj ) {
|
456 |
+
$pod_info_check = $this->get_pod_info();
|
457 |
+
|
458 |
+
if ( $pod_info !== $pod_info_check ) {
|
459 |
+
$is_single = false;
|
460 |
+
}
|
461 |
+
}
|
462 |
+
|
463 |
+
if ( $is_single && ( ! $in_the_loop || is_singular() ) ) {
|
464 |
+
$type = 'single';
|
465 |
+
$type_filter = 'single_filter';
|
466 |
+
$type_append = 'single_append';
|
467 |
+
}
|
468 |
+
|
469 |
+
if ( ! empty( $auto_pod[ $type ] ) && $current_filter === $auto_pod[ $type_filter ] ) {
|
470 |
+
// Load the template.
|
471 |
+
$content = $this->load_template( $auto_pod[ $type ], $content, $pod, $auto_pod[ $type_append ] );
|
472 |
+
}
|
473 |
}//end if
|
474 |
|
475 |
+
$running = false;
|
476 |
+
|
477 |
return $content;
|
478 |
|
479 |
}
|
480 |
|
481 |
/**
|
482 |
+
* Get list of pod information based on an object or the detected current context.
|
483 |
+
*
|
484 |
+
* @since TBD
|
485 |
+
*
|
486 |
+
* @param null|object $obj The object to get pod information from or null to detect from current context.
|
487 |
+
*
|
488 |
+
* @return array List of pod information.
|
489 |
+
*/
|
490 |
+
public function get_pod_info( $obj = null ) {
|
491 |
+
$pod_id = null;
|
492 |
+
$pod_type = '';
|
493 |
+
$pod_name = '';
|
494 |
+
|
495 |
+
if ( null !== $obj ) {
|
496 |
+
if ( $obj instanceof WP_Post ) {
|
497 |
+
$pod_type = 'post';
|
498 |
+
$pod_name = $obj->post_type;
|
499 |
+
$pod_id = (int) $obj->ID;
|
500 |
+
} elseif ( $obj instanceof WP_Term ) {
|
501 |
+
$pod_type = 'taxonomy';
|
502 |
+
$pod_name = $obj->taxonomy;
|
503 |
+
$pod_id = (int) $obj->term_id;
|
504 |
+
} elseif ( $obj instanceof WP_Comment ) {
|
505 |
+
$pod_type = 'comment';
|
506 |
+
$pod_name = 'comment';
|
507 |
+
$pod_id = (int) $obj->comment_ID;
|
508 |
+
} elseif ( $obj instanceof WP_User ) {
|
509 |
+
$pod_type = 'user';
|
510 |
+
$pod_name = 'user';
|
511 |
+
$pod_id = (int) $obj->ID;
|
512 |
+
} elseif ( is_numeric( $obj ) ) {
|
513 |
+
$current_filter = current_filter();
|
514 |
+
|
515 |
+
$possible_pods = $this->auto_pods();
|
516 |
+
|
517 |
+
foreach ( $possible_pods as $possible_pod => $possible_pod_data ) {
|
518 |
+
if (
|
519 |
+
$current_filter === $possible_pod_data['single_filter'] ||
|
520 |
+
$current_filter === $possible_pod_data['archive_filter']
|
521 |
+
) {
|
522 |
+
$pod_id = (int) $obj;
|
523 |
+
$pod_name = $possible_pod;
|
524 |
+
$pod_type = $possible_pod_data['type'];
|
525 |
+
|
526 |
+
break;
|
527 |
+
}
|
528 |
+
}
|
529 |
+
}
|
530 |
+
|
531 |
+
return compact( 'pod_id', 'pod_type', 'pod_name' );
|
532 |
+
}
|
533 |
+
|
534 |
+
// Build Pods object for current item.
|
535 |
+
$obj = get_queried_object();
|
536 |
+
$pod_id = (int) get_queried_object_id();
|
537 |
+
$pod_type = '';
|
538 |
+
$pod_name = '';
|
539 |
+
|
540 |
+
if ( is_author() ) {
|
541 |
+
$pod_type = 'user';
|
542 |
+
$pod_name = 'user';
|
543 |
+
} elseif ( is_singular() || in_the_loop() ) {
|
544 |
+
if ( null === $obj ) {
|
545 |
+
$obj = get_post();
|
546 |
+
}
|
547 |
+
|
548 |
+
return $this->get_pod_info( $obj );
|
549 |
+
} elseif ( $obj && ( is_tax() || is_category() || is_tag() ) ) {
|
550 |
+
return $this->get_pod_info( $obj );
|
551 |
+
} else {
|
552 |
+
// Backwards compatibility.
|
553 |
+
$post = get_post();
|
554 |
+
|
555 |
+
if ( $post ) {
|
556 |
+
return $this->get_pod_info( $post );
|
557 |
+
}
|
558 |
+
}
|
559 |
+
|
560 |
+
return compact( 'pod_id', 'pod_type', 'pod_name' );
|
561 |
+
}
|
562 |
+
|
563 |
+
/**
|
564 |
+
* Attach Pods Template to $content.
|
565 |
*
|
566 |
* @param string $template_name The name of a Pods Template to load.
|
567 |
+
* @param string $content Post content.
|
568 |
+
* @param Pods $pod Current Pods object.
|
569 |
* @param bool|string $append Optional. Whether to append, prepend or replace content. Defaults to true,
|
570 |
* which appends, if false, content is replaced, if 'prepend' content is
|
571 |
* prepended.
|
572 |
*
|
573 |
+
* @return string $content with Pods Template appended if template exists.
|
574 |
*
|
575 |
* @since 2.4.5
|
576 |
*/
|
577 |
+
public function load_template( $template_name, $content, $pod, $append = true ) {
|
578 |
|
579 |
+
// Allow magic tags for content type related templates.
|
580 |
+
$template_name = trim( $pod->do_magic_tags( $template_name ) );
|
581 |
|
582 |
/**
|
583 |
* Change which template -- by name -- to be used.
|
585 |
* @since 2.5.6
|
586 |
*
|
587 |
* @param string $template_name The name of a Pods Template to load.
|
588 |
+
* @param Pods $pod Current Pods object.
|
589 |
* @param bool|string $append Whether Template will be appended (true), prepended ("prepend") or replaced (false).
|
590 |
*/
|
591 |
+
$template_name = apply_filters( 'pods_auto_template_template_name', $template_name, $pod, $append );
|
592 |
|
593 |
+
$template = $pod->template( $template_name );
|
|
|
594 |
|
595 |
+
// Restore the hooks for subsequent posts.
|
596 |
+
$this->install_hooks();
|
597 |
+
|
598 |
+
// Check if we have a valid template.
|
599 |
if ( ! is_null( $template ) ) {
|
600 |
+
// If so append it to content or replace content.
|
601 |
if ( $append === 'replace' ) {
|
602 |
$content = $template;
|
603 |
} elseif ( $append === 'prepend' ) {
|
623 |
return;
|
624 |
}
|
625 |
|
626 |
+
// Get the current post type.
|
627 |
+
$pod_name = $this->get_pod_name();
|
628 |
|
629 |
+
// Now use other methods in class to build array to search in/ use.
|
630 |
$possible_pods = $this->auto_pods();
|
631 |
|
632 |
+
if ( isset( $possible_pods[ $pod_name ] ) ) {
|
633 |
+
$this_pod = $possible_pods[ $pod_name ];
|
634 |
|
635 |
+
if ( $this_pod['single'] && is_singular( $pod_name ) ) {
|
|
|
636 |
$template = $this_pod['single'];
|
637 |
|
638 |
+
} elseif ( $this_pod['archive'] && is_post_type_archive( $pod_name ) ) {
|
639 |
+
// If pfat_archive was set try to use that template.
|
640 |
+
// Check if we are on an archive of the post type.
|
|
|
641 |
$template = $this_pod['archive'];
|
642 |
|
643 |
+
} elseif ( is_home() && $this_pod['archive'] && 'post' === $pod_name ) {
|
644 |
+
// If pfat_archive was set and we're in the blog index, try to append template.
|
|
|
645 |
$template = $this_pod['archive'];
|
646 |
|
647 |
+
} elseif ( is_tax( $pod_name ) ) {
|
648 |
+
// If is taxonomy archive of the selected taxonomy.
|
649 |
+
// If pfat_single was set try to use that template.
|
650 |
if ( $this_pod['archive'] ) {
|
|
|
651 |
$template = $this_pod['archive'];
|
652 |
}
|
653 |
}//end if
|
658 |
$template_post = pods()->api->load_template( array( 'name' => $template ) );
|
659 |
|
660 |
if ( ! empty( $template_post['id'] ) ) {
|
661 |
+
// Got a template - check for styles & scripts.
|
662 |
$meta = get_post_meta( $template_post['id'], 'view_template', true );
|
663 |
|
664 |
$frontier = new Pods_Frontier();
|
665 |
+
|
666 |
if ( ! empty( $meta['css'] ) ) {
|
667 |
$frontier_styles .= $meta['css'];
|
668 |
}
|
components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php
CHANGED
@@ -41,9 +41,15 @@ class Pods_Templates_Auto_Template_Settings {
|
|
41 |
// Add option tab for post types
|
42 |
add_filter( 'pods_admin_setup_edit_tabs_post_type', array( $this, 'tab' ), 11, 3 );
|
43 |
|
44 |
-
//
|
45 |
add_filter( 'pods_admin_setup_edit_tabs_taxonomy', array( $this, 'tab' ), 11, 3 );
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
// Add options to the new tab
|
48 |
add_filter( 'pods_admin_setup_edit_options', array( $this, 'options' ), 12, 2 );
|
49 |
|
@@ -85,6 +91,16 @@ class Pods_Templates_Auto_Template_Settings {
|
|
85 |
* @since 2.5.5
|
86 |
*/
|
87 |
public function tab( $tabs, $pod, $addtl_args ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
$tabs['pods-pfat'] = __( 'Auto Template Options', 'pods' );
|
90 |
|
@@ -95,155 +111,224 @@ class Pods_Templates_Auto_Template_Settings {
|
|
95 |
/**
|
96 |
* Adds options for this plugin under the Frontier Auto Template tab.
|
97 |
*
|
98 |
-
* @param array $options
|
99 |
-
* @param array $pod
|
100 |
*
|
101 |
* @return array
|
102 |
*
|
103 |
* @since 2.5.5
|
104 |
*/
|
105 |
public function options( $options, $pod ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
'
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
'
|
176 |
-
'
|
177 |
-
),
|
178 |
-
'pfat_run_outside_loop' => array(
|
179 |
-
'label' => __( 'Execute Auto Template outside of the WordPress loop? (advanced)', 'pods' ),
|
180 |
-
'help' => __( 'When enabled, the template will be executed whenever the specified filter is called.', 'pods' ),
|
181 |
-
'type' => 'boolean',
|
182 |
-
'default' => false,
|
183 |
-
'depends-on' => array( 'pfat_enable' => true ),
|
184 |
-
'boolean_yes_label' => '',
|
185 |
-
),
|
186 |
-
'pfat_archive' => array(
|
187 |
-
'label' => __( 'Taxonomy Template', 'pods' ),
|
188 |
-
'help' => __( 'Name of Pods template to use for this taxonomy.', 'pods' ),
|
189 |
-
'type' => 'text',
|
190 |
-
'default' => false,
|
191 |
-
'depends-on' => array( 'pfat_enable' => true ),
|
192 |
),
|
193 |
-
'
|
194 |
-
|
195 |
-
|
196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
),
|
198 |
-
|
199 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
|
201 |
-
|
|
|
|
|
|
|
202 |
|
203 |
-
// field options pick values
|
204 |
-
$pick = array(
|
205 |
-
'type' => 'pick',
|
206 |
-
'pick_format_type' => 'single',
|
207 |
-
'pick_format_single' => 'dropdown',
|
208 |
-
'default' => 'true',
|
209 |
-
);
|
210 |
|
211 |
-
|
212 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
|
214 |
-
|
215 |
-
|
216 |
-
|
|
|
217 |
|
218 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
|
220 |
-
|
|
|
221 |
|
222 |
-
|
223 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
}
|
225 |
|
226 |
-
|
227 |
-
|
228 |
-
$
|
229 |
-
'
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
$pick['data'] = $location_data;
|
234 |
-
|
235 |
-
// add location options to fields without type set.
|
236 |
-
foreach ( $options['pods-pfat'] as $k => $option ) {
|
237 |
-
if ( ! isset( $option['type'] ) ) {
|
238 |
-
$options['pods-pfat'][ $k ] = array_merge( $option, $pick );
|
239 |
-
}
|
240 |
}
|
|
|
241 |
|
242 |
-
|
243 |
-
|
244 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
}
|
246 |
-
}
|
247 |
|
248 |
return $options;
|
249 |
|
@@ -324,7 +409,7 @@ class Pods_Templates_Auto_Template_Settings {
|
|
324 |
$auto_pods = $front->auto_pods();
|
325 |
|
326 |
foreach ( $auto_pods as $name => $pod ) {
|
327 |
-
if ( ! $pod['has_archive'] && $pod['archive'] && $pod['type']
|
328 |
$name, array(
|
329 |
'post',
|
330 |
'page',
|
@@ -368,7 +453,7 @@ class Pods_Templates_Auto_Template_Settings {
|
|
368 |
}
|
369 |
|
370 |
/**
|
371 |
-
* Get titles of all
|
372 |
*
|
373 |
* @return string[] Array of template names
|
374 |
*
|
41 |
// Add option tab for post types
|
42 |
add_filter( 'pods_admin_setup_edit_tabs_post_type', array( $this, 'tab' ), 11, 3 );
|
43 |
|
44 |
+
// Add the same tab for taxonomies.
|
45 |
add_filter( 'pods_admin_setup_edit_tabs_taxonomy', array( $this, 'tab' ), 11, 3 );
|
46 |
|
47 |
+
// Add the same tab for comments.
|
48 |
+
add_filter( 'pods_admin_setup_edit_tabs_comment', array( $this, 'tab' ), 11, 3 );
|
49 |
+
|
50 |
+
// Add the same tab for users / authors.
|
51 |
+
add_filter( 'pods_admin_setup_edit_tabs_user', array( $this, 'tab' ), 11, 3 );
|
52 |
+
|
53 |
// Add options to the new tab
|
54 |
add_filter( 'pods_admin_setup_edit_options', array( $this, 'options' ), 12, 2 );
|
55 |
|
91 |
* @since 2.5.5
|
92 |
*/
|
93 |
public function tab( $tabs, $pod, $addtl_args ) {
|
94 |
+
$type = $pod['type'];
|
95 |
+
|
96 |
+
if ( ! in_array( $type, array(
|
97 |
+
'post_type',
|
98 |
+
'taxonomy',
|
99 |
+
'user',
|
100 |
+
'comment',
|
101 |
+
) ) ) {
|
102 |
+
return $tabs;
|
103 |
+
}
|
104 |
|
105 |
$tabs['pods-pfat'] = __( 'Auto Template Options', 'pods' );
|
106 |
|
111 |
/**
|
112 |
* Adds options for this plugin under the Frontier Auto Template tab.
|
113 |
*
|
114 |
+
* @param array $options Tab options.
|
115 |
+
* @param array $pod Pod options.
|
116 |
*
|
117 |
* @return array
|
118 |
*
|
119 |
* @since 2.5.5
|
120 |
*/
|
121 |
public function options( $options, $pod ) {
|
122 |
+
$type = $pod['type'];
|
123 |
+
|
124 |
+
if ( ! in_array( $type, array(
|
125 |
+
'post_type',
|
126 |
+
'taxonomy',
|
127 |
+
'user',
|
128 |
+
'comment',
|
129 |
+
) ) ) {
|
130 |
+
return $options;
|
131 |
+
}
|
132 |
|
133 |
+
$default_single_hooks = array(
|
134 |
+
'post_type' => 'the_content',
|
135 |
+
'taxonomy' => 'get_the_archive_description',
|
136 |
+
'user' => 'get_the_author_description',
|
137 |
+
'comment' => 'comment_text',
|
138 |
+
);
|
139 |
+
|
140 |
+
$default_archive_hooks = $default_single_hooks;
|
141 |
+
|
142 |
+
// Posts use excerpt for archive.
|
143 |
+
$default_archive_hooks['post_type'] = 'the_excerpt';
|
144 |
+
|
145 |
+
$changed_single = false;
|
146 |
+
$changed_archive = false;
|
147 |
+
|
148 |
+
$single_hook = pods_v( 'pfat_filter_single', $pod, '' );
|
149 |
+
$default_single_hook = $default_single_hooks[ $type ];
|
150 |
+
$default_single_hook_custom = '';
|
151 |
+
|
152 |
+
if ( ! in_array( $single_hook, array(
|
153 |
+
'',
|
154 |
+
$default_single_hook,
|
155 |
+
), true ) ) {
|
156 |
+
$changed_single = true;
|
157 |
+
$default_single_hook = 'custom';
|
158 |
+
$default_single_hook_custom = $single_hook;
|
159 |
+
}
|
160 |
+
|
161 |
+
$archive_hook = pods_v( 'pfat_filter_archive', $pod, '' );
|
162 |
+
$default_archive_hook = $default_archive_hooks[ $type ];
|
163 |
+
$default_archive_hook_custom = '';
|
164 |
+
|
165 |
+
if ( ! in_array( $archive_hook, array(
|
166 |
+
'',
|
167 |
+
$default_archive_hook,
|
168 |
+
), true ) ) {
|
169 |
+
$changed_archive = true;
|
170 |
+
$default_archive_hook = 'custom';
|
171 |
+
$default_archive_hook_custom = $archive_hook;
|
172 |
+
}
|
173 |
+
|
174 |
+
$options['pods-pfat'] = array(
|
175 |
+
'pfat_enable' => array(
|
176 |
+
'label' => __( 'Enable Auto Templates', 'pods' ),
|
177 |
+
'help' => __( 'When enabled you can specify the names of Pod Templates to be used to display items in this Pod in the front-end.', 'pods' ),
|
178 |
+
'type' => 'boolean',
|
179 |
+
'default' => false,
|
180 |
+
'dependency' => true,
|
181 |
+
'boolean_yes_label' => __( 'Enable Automatic Pod Templates for this Pod', 'pods' ),
|
182 |
+
),
|
183 |
+
'pfat_single' => array(
|
184 |
+
'label' => __( 'Singular Template', 'pods' ),
|
185 |
+
'help' => __( 'Name of Pod Template to use. For post types, this is the singular post. For taxonomies, this is the taxonomy archive. For users, this is the author archive.', 'pods' ),
|
186 |
+
'type' => 'text',
|
187 |
+
'default' => false,
|
188 |
+
'depends-on' => array( 'pfat_enable' => true ),
|
189 |
+
),
|
190 |
+
'pfat_append_single' => array(
|
191 |
+
'label' => __( 'Singular Template Location', 'pods' ),
|
192 |
+
'help' => __( 'Whether the template will go before, after or in place of the existing content.', 'pods' ),
|
193 |
+
'depends-on' => array( 'pfat_enable' => true ),
|
194 |
+
),
|
195 |
+
'pfat_filter_single' => array(
|
196 |
+
'label' => __( 'Singular Template Filter', 'pods' ),
|
197 |
+
'help' => __( 'Which filter to use for singular views.', 'pods' ),
|
198 |
+
'default' => $default_single_hook,
|
199 |
+
'type' => 'pick',
|
200 |
+
'data' => array(
|
201 |
+
$default_single_hooks[ $type ] => sprintf( __( 'Filter: %s', 'pods' ), $default_single_hooks[ $type ] ),
|
202 |
+
'custom' => __( 'Use a custom hook', 'pods' ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
),
|
204 |
+
'depends-on' => array( 'pfat_enable' => true ),
|
205 |
+
'dependency' => true,
|
206 |
+
),
|
207 |
+
'pfat_filter_single_custom' => array(
|
208 |
+
'label' => __( 'Custom Singular Template Filter', 'pods' ),
|
209 |
+
'help' => __( 'Which custom filter to use for singular views.', 'pods' ),
|
210 |
+
'default' => $default_single_hook_custom,
|
211 |
+
'type' => 'text',
|
212 |
+
'depends-on' => array( 'pfat_enable' => true, 'pfat_filter_single' => 'custom' ),
|
213 |
+
),
|
214 |
+
'pfat_archive' => array(
|
215 |
+
'label' => __( 'List Template', 'pods' ),
|
216 |
+
'help' => __( 'Name of Pod Template to use. This will be used when outside the Singular context. For comments, there are no Singular comment views so they will always use the List Template.', 'pods' ),
|
217 |
+
'type' => 'text',
|
218 |
+
'default' => false,
|
219 |
+
'depends-on' => array( 'pfat_enable' => true ),
|
220 |
+
),
|
221 |
+
'pfat_append_archive' => array(
|
222 |
+
'label' => __( 'List Template Location', 'pods' ),
|
223 |
+
'help' => __( 'Whether the template will go before, after or in place of the existing content.', 'pods' ),
|
224 |
+
'depends-on' => array( 'pfat_enable' => true ),
|
225 |
+
),
|
226 |
+
'pfat_filter_archive' => array(
|
227 |
+
'label' => __( 'List Template Filter', 'pods' ),
|
228 |
+
'help' => __( 'Which filter to use for archive/list views.', 'pods' ),
|
229 |
+
'type' => 'pick',
|
230 |
+
'default' => $default_archive_hook,
|
231 |
+
'data' => array(
|
232 |
+
$default_archive_hooks[ $type ] => sprintf( __( 'Filter: %s', 'pods' ), $default_archive_hooks[ $type ] ),
|
233 |
+
'custom' => __( 'Use a custom hook', 'pods' ),
|
234 |
),
|
235 |
+
'depends-on' => array( 'pfat_enable' => true ),
|
236 |
+
'dependency' => true,
|
237 |
+
),
|
238 |
+
'pfat_filter_archive_custom' => array(
|
239 |
+
'label' => __( 'Custom List Template Filter', 'pods' ),
|
240 |
+
'help' => __( 'Which custom filter to use for archive/list views.', 'pods' ),
|
241 |
+
'default' => $default_archive_hook_custom,
|
242 |
+
'type' => 'text',
|
243 |
+
'depends-on' => array( 'pfat_enable' => true, 'pfat_filter_archive' => 'custom' ),
|
244 |
+
),
|
245 |
+
'pfat_run_outside_loop' => array(
|
246 |
+
'label' => __( 'Run outside loop', 'pods' ),
|
247 |
+
'help' => __( 'When enabled, the template will be executed whenever the specified filter is called. Only use this if you know you need to. There could be unforeseen consequences such as content in widgets and other areas of the site getting the templates added.', 'pods' ),
|
248 |
+
'type' => 'boolean',
|
249 |
+
'default' => false,
|
250 |
+
'depends-on' => array( 'pfat_enable' => true ),
|
251 |
+
'boolean_yes_label' => __( 'Execute Auto Template outside of the WordPress loop (advanced)', 'pods' ),
|
252 |
+
),
|
253 |
+
);
|
254 |
+
|
255 |
+
// Backcompat: Override the value used in the UI to force new option.
|
256 |
+
if ( $changed_single ) {
|
257 |
+
$options['pods-pfat']['pfat_filter_single']['value'] = 'custom';
|
258 |
+
}
|
259 |
|
260 |
+
// Backcompat: Override the value used in the UI to force new option.
|
261 |
+
if ( $changed_archive ) {
|
262 |
+
$options['pods-pfat']['pfat_filter_archive']['value'] = 'custom';
|
263 |
+
}
|
264 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
|
266 |
+
// Handle type exceptions.
|
267 |
+
if ( 'taxonomy' === $type ) {
|
268 |
+
// Taxonomies do not have archives, they only have a singular view.
|
269 |
+
unset( $options['pods-pfat']['pfat_archive'] );
|
270 |
+
unset( $options['pods-pfat']['pfat_append_archive'] );
|
271 |
+
unset( $options['pods-pfat']['pfat_filter_archive'] );
|
272 |
+
unset( $options['pods-pfat']['pfat_filter_archive_custom'] );
|
273 |
+
} elseif ( 'comment' === $type ) {
|
274 |
+
// Comments do not have singular views, they only have archive/loop views.
|
275 |
+
unset( $options['pods-pfat']['pfat_single'] );
|
276 |
+
unset( $options['pods-pfat']['pfat_append_single'] );
|
277 |
+
unset( $options['pods-pfat']['pfat_filter_single'] );
|
278 |
+
unset( $options['pods-pfat']['pfat_filter_single_custom'] );
|
279 |
+
}
|
280 |
|
281 |
+
// Non-post types do not check for loop.
|
282 |
+
if ( 'post_type' !== $type ) {
|
283 |
+
unset( $options['pods-pfat']['pfat_run_outside_loop'] );
|
284 |
+
}
|
285 |
|
286 |
+
// field options pick values
|
287 |
+
$pick = array(
|
288 |
+
'type' => 'pick',
|
289 |
+
'pick_format_type' => 'single',
|
290 |
+
'pick_format_single' => 'dropdown',
|
291 |
+
'default' => 'true',
|
292 |
+
);
|
293 |
|
294 |
+
// get template titles
|
295 |
+
$titles = $this->get_template_titles();
|
296 |
|
297 |
+
if ( ! empty( $titles ) ) {
|
298 |
+
foreach ( $pick as $k => $v ) {
|
299 |
+
if ( isset( $options['pods-pfat']['pfat_single'] ) ) {
|
300 |
+
$options['pods-pfat']['pfat_single'][ $k ] = $v;
|
301 |
+
}
|
302 |
+
if ( isset( $options['pods-pfat']['pfat_archive'] ) ) {
|
303 |
+
$options['pods-pfat']['pfat_archive'][ $k ] = $v;
|
304 |
+
}
|
305 |
}
|
306 |
|
307 |
+
$titles_data = array( null => __( '-- Select One --', 'pods' ) ) + array_combine( $titles, $titles );
|
308 |
+
|
309 |
+
if ( isset( $options['pods-pfat']['pfat_single'] ) ) {
|
310 |
+
$options['pods-pfat']['pfat_single']['data'] = $titles_data;
|
311 |
+
}
|
312 |
+
if ( isset( $options['pods-pfat']['pfat_archive'] ) ) {
|
313 |
+
$options['pods-pfat']['pfat_archive']['data'] = $titles_data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
}
|
315 |
+
}
|
316 |
|
317 |
+
// Add data to $pick for template location
|
318 |
+
unset( $pick['data'] );
|
319 |
+
$location_data = array(
|
320 |
+
'append' => __( 'After', 'pods' ),
|
321 |
+
'prepend' => __( 'Before', 'pods' ),
|
322 |
+
'replace' => __( 'Replace', 'pods' ),
|
323 |
+
);
|
324 |
+
$pick['data'] = $location_data;
|
325 |
+
|
326 |
+
// add location options to fields without type set.
|
327 |
+
foreach ( $options['pods-pfat'] as $k => $option ) {
|
328 |
+
if ( ! isset( $option['type'] ) ) {
|
329 |
+
$options['pods-pfat'][ $k ] = array_merge( $option, $pick );
|
330 |
}
|
331 |
+
}
|
332 |
|
333 |
return $options;
|
334 |
|
409 |
$auto_pods = $front->auto_pods();
|
410 |
|
411 |
foreach ( $auto_pods as $name => $pod ) {
|
412 |
+
if ( ! $pod['has_archive'] && $pod['archive'] && 'post_type' === $pod['type'] && ! in_array(
|
413 |
$name, array(
|
414 |
'post',
|
415 |
'page',
|
453 |
}
|
454 |
|
455 |
/**
|
456 |
+
* Get titles of all Pod Templates
|
457 |
*
|
458 |
* @return string[] Array of template names
|
459 |
*
|
components/Templates/includes/functions-view_template.php
CHANGED
@@ -327,15 +327,27 @@ function frontier_do_subtemplate( $atts, $content ) {
|
|
327 |
|
328 |
}//end foreach
|
329 |
} elseif ( 'file' == $field['type'] && 'attachment' == $field['options']['file_uploader'] ) {
|
330 |
-
$template
|
|
|
|
|
331 |
foreach ( $entries as $key => $entry ) {
|
332 |
$content = str_replace( '{_index}', $key, $template );
|
333 |
$content = str_replace( '{@_img', '{@image_attachment.' . $entry['ID'], $content );
|
334 |
$content = str_replace( '{@_src', '{@image_attachment_url.' . $entry['ID'], $content );
|
335 |
$content = str_replace( '{@' . $field_name . '}', '{@image_attachment.' . $entry['ID'] . '}', $content );
|
336 |
-
$content = frontier_pseudo_magic_tags( $content, $entry, $pod, true );
|
337 |
|
338 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
}
|
340 |
} elseif ( isset( $field['table_info'], $field['table_info']['pod'] ) ) {
|
341 |
// Relationship to something that is extended by Pods
|
@@ -372,7 +384,6 @@ function frontier_do_subtemplate( $atts, $content ) {
|
|
372 |
}
|
373 |
|
374 |
/**
|
375 |
-
*
|
376 |
* Search and replace like Pods magic tags but with an array of data instead of a Pod
|
377 |
*
|
378 |
* @param Pod $pod
|
327 |
|
328 |
}//end foreach
|
329 |
} elseif ( 'file' == $field['type'] && 'attachment' == $field['options']['file_uploader'] ) {
|
330 |
+
$template = frontier_decode_template( $content, $atts );
|
331 |
+
$entry_pod = pods( 'media' );
|
332 |
+
|
333 |
foreach ( $entries as $key => $entry ) {
|
334 |
$content = str_replace( '{_index}', $key, $template );
|
335 |
$content = str_replace( '{@_img', '{@image_attachment.' . $entry['ID'], $content );
|
336 |
$content = str_replace( '{@_src', '{@image_attachment_url.' . $entry['ID'], $content );
|
337 |
$content = str_replace( '{@' . $field_name . '}', '{@image_attachment.' . $entry['ID'] . '}', $content );
|
|
|
338 |
|
339 |
+
if ( $entry_pod && $entry_pod->valid() && $entry_pod->fetch( $entry['ID'] ) ) {
|
340 |
+
$content = str_replace( '{@' . $field_name . '.', '{@', $content );
|
341 |
+
} else {
|
342 |
+
// Fix for lowercase ID's.
|
343 |
+
$entry['id'] = $entry['ID'];
|
344 |
+
// Allow array-like tags.
|
345 |
+
$content = frontier_pseudo_magic_tags( $content, $entry, $pod, true );
|
346 |
+
// Fallback to parent Pod so above tags still work.
|
347 |
+
$entry_pod = $pod;
|
348 |
+
}
|
349 |
+
|
350 |
+
$out .= pods_do_shortcode( $entry_pod->do_magic_tags( $content ), frontier_get_shortcodes() );
|
351 |
}
|
352 |
} elseif ( isset( $field['table_info'], $field['table_info']['pod'] ) ) {
|
353 |
// Relationship to something that is extended by Pods
|
384 |
}
|
385 |
|
386 |
/**
|
|
|
387 |
* Search and replace like Pods magic tags but with an array of data instead of a Pod
|
388 |
*
|
389 |
* @param Pod $pod
|
includes/data.php
CHANGED
@@ -417,7 +417,7 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
417 |
if ( 'first' === $var ) {
|
418 |
$var = 0;
|
419 |
} elseif ( 'last' === $var ) {
|
420 |
-
$var = -
|
421 |
}
|
422 |
|
423 |
if ( is_numeric( $var ) ) {
|
@@ -439,7 +439,7 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
439 |
if ( 'first' === $var ) {
|
440 |
$var = 0;
|
441 |
} elseif ( 'last' === $var ) {
|
442 |
-
$var = -
|
443 |
}
|
444 |
|
445 |
if ( is_numeric( $var ) ) {
|
@@ -460,9 +460,11 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
460 |
if ( is_array( $var ) ) {
|
461 |
if ( isset( $var[0] ) ) {
|
462 |
$blog_id = $var[0];
|
463 |
-
}
|
|
|
464 |
$path = $var[1];
|
465 |
-
}
|
|
|
466 |
$scheme = $var[2];
|
467 |
}
|
468 |
} else {
|
@@ -479,9 +481,11 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
479 |
if ( is_array( $var ) ) {
|
480 |
if ( isset( $var[0] ) ) {
|
481 |
$blog_id = $var[0];
|
482 |
-
}
|
|
|
483 |
$path = $var[1];
|
484 |
-
}
|
|
|
485 |
$scheme = $var[2];
|
486 |
}
|
487 |
} else {
|
@@ -498,9 +502,11 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
498 |
if ( is_array( $var ) ) {
|
499 |
if ( isset( $var[0] ) ) {
|
500 |
$blog_id = $var[0];
|
501 |
-
}
|
|
|
502 |
$path = $var[1];
|
503 |
-
}
|
|
|
504 |
$scheme = $var[2];
|
505 |
}
|
506 |
} else {
|
@@ -522,7 +528,8 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
522 |
if ( is_array( $var ) ) {
|
523 |
if ( isset( $var[0] ) ) {
|
524 |
$path = $var[0];
|
525 |
-
}
|
|
|
526 |
$plugin = $var[1];
|
527 |
}
|
528 |
} else {
|
@@ -538,7 +545,8 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
538 |
if ( is_array( $var ) ) {
|
539 |
if ( isset( $var[0] ) ) {
|
540 |
$path = $var[0];
|
541 |
-
}
|
|
|
542 |
$scheme = $var[1];
|
543 |
}
|
544 |
} else {
|
@@ -554,7 +562,8 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
554 |
if ( is_array( $var ) ) {
|
555 |
if ( isset( $var[0] ) ) {
|
556 |
$path = $var[0];
|
557 |
-
}
|
|
|
558 |
$scheme = $var[1];
|
559 |
}
|
560 |
} else {
|
@@ -570,7 +579,8 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
570 |
if ( is_array( $var ) ) {
|
571 |
if ( isset( $var[0] ) ) {
|
572 |
$path = $var[0];
|
573 |
-
}
|
|
|
574 |
$scheme = $var[1];
|
575 |
}
|
576 |
} else {
|
@@ -586,7 +596,8 @@ function pods_v( $var = null, $type = 'get', $default = null, $strict = false, $
|
|
586 |
if ( is_array( $var ) ) {
|
587 |
if ( isset( $var[0] ) ) {
|
588 |
$path = $var[0];
|
589 |
-
}
|
|
|
590 |
$scheme = $var[1];
|
591 |
}
|
592 |
} else {
|
@@ -1522,22 +1533,104 @@ function pods_mb_substr( $string, $start, $length = null, $encoding = null ) {
|
|
1522 |
}
|
1523 |
|
1524 |
/**
|
1525 |
-
* Evaluate tags like magic tags but through pods_v.
|
1526 |
*
|
1527 |
-
* @since 2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1528 |
*
|
1529 |
-
* @param string|array|object $tags
|
1530 |
-
* @param
|
1531 |
-
*
|
|
|
|
|
|
|
|
|
|
|
1532 |
*
|
1533 |
* @return string
|
1534 |
*
|
|
|
|
|
1535 |
* @see pods_evaluate_tag
|
1536 |
*/
|
1537 |
-
function pods_evaluate_tags( $tags, $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1538 |
if ( is_array( $tags ) ) {
|
1539 |
foreach ( $tags as $k => $tag ) {
|
1540 |
-
$tags[ $k ] = pods_evaluate_tags( $tag, $
|
1541 |
}
|
1542 |
|
1543 |
return $tags;
|
@@ -1547,33 +1640,43 @@ function pods_evaluate_tags( $tags, $sanitize = false, $fallback = null ) {
|
|
1547 |
$tags = get_object_vars( $tags );
|
1548 |
|
1549 |
// Evaluate array and cast as object.
|
1550 |
-
$tags = (object) pods_evaluate_tags( $tags );
|
1551 |
|
1552 |
return $tags;
|
1553 |
}
|
1554 |
|
1555 |
return preg_replace_callback(
|
1556 |
'/({@(.*?)})/m',
|
1557 |
-
function ( $tag ) use ( $
|
1558 |
-
return pods_evaluate_tag( $tag, $
|
1559 |
},
|
1560 |
(string) $tags
|
1561 |
);
|
1562 |
}
|
1563 |
|
1564 |
/**
|
1565 |
-
* Evaluate tag like magic tag but
|
1566 |
*
|
1567 |
* @since 2.1
|
1568 |
*
|
1569 |
* @param string|array $tag String to be evaluated.
|
|
|
|
|
|
|
|
|
|
|
|
|
1570 |
*
|
1571 |
* @return string Evaluated content.
|
1572 |
*
|
1573 |
* @see pods_evaluate_tag
|
1574 |
*/
|
1575 |
-
function pods_evaluate_tag_sanitized( $tag ) {
|
1576 |
-
|
|
|
|
|
|
|
|
|
1577 |
}
|
1578 |
|
1579 |
/**
|
@@ -1581,14 +1684,37 @@ function pods_evaluate_tag_sanitized( $tag ) {
|
|
1581 |
*
|
1582 |
* @since 2.1
|
1583 |
*
|
1584 |
-
* @param string|array $tag
|
1585 |
-
* @param
|
1586 |
-
*
|
|
|
|
|
|
|
|
|
|
|
1587 |
*
|
1588 |
* @return string Evaluated content.
|
1589 |
*/
|
1590 |
-
function pods_evaluate_tag( $tag, $
|
1591 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1592 |
|
1593 |
// Handle pods_evaluate_tags
|
1594 |
if ( is_array( $tag ) ) {
|
@@ -1603,8 +1729,40 @@ function pods_evaluate_tag( $tag, $sanitize = false, $fallback = null ) {
|
|
1603 |
$tag = $tag[2];
|
1604 |
}
|
1605 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1606 |
$tag = trim( $tag, ' {@}' );
|
1607 |
-
$tag = explode( '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1608 |
|
1609 |
if ( empty( $tag ) || ! isset( $tag[0] ) || '' === trim( $tag[0] ) ) {
|
1610 |
if ( null === $fallback ) {
|
@@ -1625,11 +1783,7 @@ function pods_evaluate_tag( $tag, $sanitize = false, $fallback = null ) {
|
|
1625 |
);
|
1626 |
}
|
1627 |
|
1628 |
-
|
1629 |
-
$tag[ $k ] = trim( $v );
|
1630 |
-
}
|
1631 |
-
|
1632 |
-
$value = '';
|
1633 |
|
1634 |
$single_supported = array(
|
1635 |
'template-url',
|
@@ -1653,6 +1807,16 @@ function pods_evaluate_tag( $tag, $sanitize = false, $fallback = null ) {
|
|
1653 |
$value = pods_v( $tag[0], 'get', null );
|
1654 |
} elseif ( 2 === count( $tag ) ) {
|
1655 |
$value = pods_v( $tag[1], $tag[0], null );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1656 |
}
|
1657 |
|
1658 |
$value = apply_filters( 'pods_evaluate_tag', $value, $tag, $fallback );
|
@@ -1677,7 +1841,7 @@ function pods_evaluate_tag( $tag, $sanitize = false, $fallback = null ) {
|
|
1677 |
$value = $fallback;
|
1678 |
}
|
1679 |
|
1680 |
-
return $value;
|
1681 |
}
|
1682 |
|
1683 |
/**
|
417 |
if ( 'first' === $var ) {
|
418 |
$var = 0;
|
419 |
} elseif ( 'last' === $var ) {
|
420 |
+
$var = -1;
|
421 |
}
|
422 |
|
423 |
if ( is_numeric( $var ) ) {
|
439 |
if ( 'first' === $var ) {
|
440 |
$var = 0;
|
441 |
} elseif ( 'last' === $var ) {
|
442 |
+
$var = -1;
|
443 |
}
|
444 |
|
445 |
if ( is_numeric( $var ) ) {
|
460 |
if ( is_array( $var ) ) {
|
461 |
if ( isset( $var[0] ) ) {
|
462 |
$blog_id = $var[0];
|
463 |
+
}
|
464 |
+
if ( isset( $var[1] ) ) {
|
465 |
$path = $var[1];
|
466 |
+
}
|
467 |
+
if ( isset( $var[2] ) ) {
|
468 |
$scheme = $var[2];
|
469 |
}
|
470 |
} else {
|
481 |
if ( is_array( $var ) ) {
|
482 |
if ( isset( $var[0] ) ) {
|
483 |
$blog_id = $var[0];
|
484 |
+
}
|
485 |
+
if ( isset( $var[1] ) ) {
|
486 |
$path = $var[1];
|
487 |
+
}
|
488 |
+
if ( isset( $var[2] ) ) {
|
489 |
$scheme = $var[2];
|
490 |
}
|
491 |
} else {
|
502 |
if ( is_array( $var ) ) {
|
503 |
if ( isset( $var[0] ) ) {
|
504 |
$blog_id = $var[0];
|
505 |
+
}
|
506 |
+
if ( isset( $var[1] ) ) {
|
507 |
$path = $var[1];
|
508 |
+
}
|
509 |
+
if ( isset( $var[2] ) ) {
|
510 |
$scheme = $var[2];
|
511 |
}
|
512 |
} else {
|
528 |
if ( is_array( $var ) ) {
|
529 |
if ( isset( $var[0] ) ) {
|
530 |
$path = $var[0];
|
531 |
+
}
|
532 |
+
if ( isset( $var[1] ) ) {
|
533 |
$plugin = $var[1];
|
534 |
}
|
535 |
} else {
|
545 |
if ( is_array( $var ) ) {
|
546 |
if ( isset( $var[0] ) ) {
|
547 |
$path = $var[0];
|
548 |
+
}
|
549 |
+
if ( isset( $var[1] ) ) {
|
550 |
$scheme = $var[1];
|
551 |
}
|
552 |
} else {
|
562 |
if ( is_array( $var ) ) {
|
563 |
if ( isset( $var[0] ) ) {
|
564 |
$path = $var[0];
|
565 |
+
}
|
566 |
+
if ( isset( $var[1] ) ) {
|
567 |
$scheme = $var[1];
|
568 |
}
|
569 |
} else {
|
579 |
if ( is_array( $var ) ) {
|
580 |
if ( isset( $var[0] ) ) {
|
581 |
$path = $var[0];
|
582 |
+
}
|
583 |
+
if ( isset( $var[1] ) ) {
|
584 |
$scheme = $var[1];
|
585 |
}
|
586 |
} else {
|
596 |
if ( is_array( $var ) ) {
|
597 |
if ( isset( $var[0] ) ) {
|
598 |
$path = $var[0];
|
599 |
+
}
|
600 |
+
if ( isset( $var[1] ) ) {
|
601 |
$scheme = $var[1];
|
602 |
}
|
603 |
} else {
|
1533 |
}
|
1534 |
|
1535 |
/**
|
1536 |
+
* Evaluate tags like magic tags but through pods_v and sanitize for SQL with an empty double quote if needed.
|
1537 |
*
|
1538 |
+
* @since 2.7.23
|
1539 |
+
*
|
1540 |
+
* @param string|array|object $tags String to be evaluated.
|
1541 |
+
* @param array $args {
|
1542 |
+
* Function arguments.
|
1543 |
+
* @type bool $sanitize Whether to sanitize.
|
1544 |
+
* @type null|mixed $fallback The fallback value to use if not set, should already be sanitized.
|
1545 |
+
* @type Pods $pod Pod to parse the tags through.
|
1546 |
+
* @type bool $use_current_pod Whether to auto-detect the current Pod.
|
1547 |
+
* }
|
1548 |
+
*
|
1549 |
+
* @return string Evaluated string.
|
1550 |
+
*
|
1551 |
+
* @see pods_evaluate_tag
|
1552 |
+
*/
|
1553 |
+
function pods_evaluate_tags_sql( $tags, $args = array() ) {
|
1554 |
+
// The temporary placeholder we will use.
|
1555 |
+
$placeholder = '__PODS__TMP__EMPTY_VALUE__';
|
1556 |
+
|
1557 |
+
// Store and overwrite fallback argument.
|
1558 |
+
$fallback = '""';
|
1559 |
+
if ( isset( $args['fallback'] ) ) {
|
1560 |
+
$fallback = $args['fallback'];
|
1561 |
+
$args['fallback'] = $placeholder;
|
1562 |
+
}
|
1563 |
+
|
1564 |
+
$defaults = array(
|
1565 |
+
'sanitize' => true,
|
1566 |
+
'fallback' => $placeholder,
|
1567 |
+
);
|
1568 |
+
|
1569 |
+
// Set default arguments to use.
|
1570 |
+
$args = array_merge( $defaults, $args );
|
1571 |
+
|
1572 |
+
// Evaluate the magic tags.
|
1573 |
+
$evaluated = pods_evaluate_tags( $tags, $args );
|
1574 |
+
|
1575 |
+
$find = array(
|
1576 |
+
'= ' . $placeholder,
|
1577 |
+
'=' . $placeholder,
|
1578 |
+
$placeholder,
|
1579 |
+
);
|
1580 |
+
|
1581 |
+
$replace = array(
|
1582 |
+
'= ' . $fallback,
|
1583 |
+
'=' . $fallback,
|
1584 |
+
'',
|
1585 |
+
);
|
1586 |
+
|
1587 |
+
// Finish sanitizing the string so it is SQL-safe.
|
1588 |
+
$sanitized = str_replace( $find, $replace, $evaluated );
|
1589 |
+
|
1590 |
+
/**
|
1591 |
+
* Allow filtering the result of how we evaluate and sanitize the SQL.
|
1592 |
+
*
|
1593 |
+
* @since 2.7.23
|
1594 |
+
*
|
1595 |
+
* @param string $sanitized The evaluated and sanitized string.
|
1596 |
+
* @param string $evaluated The evaluated string.
|
1597 |
+
* @param string|array|object $tags Original string to be evaluated.
|
1598 |
+
* @param array $args Additional function arguments.
|
1599 |
+
*/
|
1600 |
+
return apply_filters( 'pods_evaluate_tags_sql', $sanitized, $evaluated, $tags, $args );
|
1601 |
+
}
|
1602 |
+
|
1603 |
+
/**
|
1604 |
+
* Evaluate tags like magic tags but through pods_v.
|
1605 |
*
|
1606 |
+
* @param string|array|object $tags String to be evaluated.
|
1607 |
+
* @param array $args {
|
1608 |
+
* Function arguments.
|
1609 |
+
* @type bool $sanitize Whether to sanitize.
|
1610 |
+
* @type null|mixed $fallback The fallback value to use if not set, should already be sanitized.
|
1611 |
+
* @type Pods $pod Pod to parse the tags through.
|
1612 |
+
* @type bool $use_current_pod Whether to auto-detect the current Pod.
|
1613 |
+
* }
|
1614 |
*
|
1615 |
* @return string
|
1616 |
*
|
1617 |
+
* @since 2.1
|
1618 |
+
*
|
1619 |
* @see pods_evaluate_tag
|
1620 |
*/
|
1621 |
+
function pods_evaluate_tags( $tags, $args = array() ) {
|
1622 |
+
|
1623 |
+
// Back compat.
|
1624 |
+
if ( ! is_array( $args ) ) {
|
1625 |
+
$prev_args = array( 'tags', 'sanitize', 'fallback' );
|
1626 |
+
$args = func_get_args();
|
1627 |
+
$args = array_combine( array_slice( $prev_args, 0, count( $args ) ), $args );
|
1628 |
+
unset( $args['tags'] );
|
1629 |
+
}
|
1630 |
+
|
1631 |
if ( is_array( $tags ) ) {
|
1632 |
foreach ( $tags as $k => $tag ) {
|
1633 |
+
$tags[ $k ] = pods_evaluate_tags( $tag, $args );
|
1634 |
}
|
1635 |
|
1636 |
return $tags;
|
1640 |
$tags = get_object_vars( $tags );
|
1641 |
|
1642 |
// Evaluate array and cast as object.
|
1643 |
+
$tags = (object) pods_evaluate_tags( $tags, $args );
|
1644 |
|
1645 |
return $tags;
|
1646 |
}
|
1647 |
|
1648 |
return preg_replace_callback(
|
1649 |
'/({@(.*?)})/m',
|
1650 |
+
function ( $tag ) use ( $args ) {
|
1651 |
+
return pods_evaluate_tag( $tag, $args );
|
1652 |
},
|
1653 |
(string) $tags
|
1654 |
);
|
1655 |
}
|
1656 |
|
1657 |
/**
|
1658 |
+
* Evaluate tag like magic tag but sanitized.
|
1659 |
*
|
1660 |
* @since 2.1
|
1661 |
*
|
1662 |
* @param string|array $tag String to be evaluated.
|
1663 |
+
* @param array $args {
|
1664 |
+
* Function arguments.
|
1665 |
+
* @type null|mixed $fallback The fallback value to use if not set, should already be sanitized.
|
1666 |
+
* @type Pods $pod Pod to parse the tags through.
|
1667 |
+
* @type bool $use_current_pod Whether to auto-detect the current Pod.
|
1668 |
+
* }
|
1669 |
*
|
1670 |
* @return string Evaluated content.
|
1671 |
*
|
1672 |
* @see pods_evaluate_tag
|
1673 |
*/
|
1674 |
+
function pods_evaluate_tag_sanitized( $tag, $args = array() ) {
|
1675 |
+
if ( ! is_array( $args ) ) {
|
1676 |
+
$args = array();
|
1677 |
+
}
|
1678 |
+
$args['sanitize'] = true;
|
1679 |
+
return pods_evaluate_tag( $tag, $args );
|
1680 |
}
|
1681 |
|
1682 |
/**
|
1684 |
*
|
1685 |
* @since 2.1
|
1686 |
*
|
1687 |
+
* @param string|array $tag String to be evaluated.
|
1688 |
+
* @param array $args {
|
1689 |
+
* Function arguments.
|
1690 |
+
* @type bool $sanitize Whether to sanitize.
|
1691 |
+
* @type null|mixed $fallback The fallback value to use if not set, should already be sanitized.
|
1692 |
+
* @type bool|Pods $pod Pod to parse the tags through.
|
1693 |
+
* @type bool $use_current_pod Whether to auto-detect the current Pod.
|
1694 |
+
* }
|
1695 |
*
|
1696 |
* @return string Evaluated content.
|
1697 |
*/
|
1698 |
+
function pods_evaluate_tag( $tag, $args = array() ) {
|
1699 |
+
$defaults = array(
|
1700 |
+
'sanitize' => false,
|
1701 |
+
'fallback' => null,
|
1702 |
+
'pod' => null,
|
1703 |
+
'use_current_pod' => false,
|
1704 |
+
);
|
1705 |
+
|
1706 |
+
// Back compat.
|
1707 |
+
if ( ! is_array( $args ) ) {
|
1708 |
+
$prev_args = array( 'tag', 'sanitize', 'fallback' );
|
1709 |
+
$args = func_get_args();
|
1710 |
+
$args = array_combine( array_slice( $prev_args, 0, count( $args ) ), $args );
|
1711 |
+
unset( $args['tag'] );
|
1712 |
+
}
|
1713 |
+
|
1714 |
+
$args = wp_parse_args( $args, $defaults );
|
1715 |
+
$sanitize = $args['sanitize'];
|
1716 |
+
$fallback = $args['fallback'];
|
1717 |
+
$pod = $args['pod'];
|
1718 |
|
1719 |
// Handle pods_evaluate_tags
|
1720 |
if ( is_array( $tag ) ) {
|
1729 |
$tag = $tag[2];
|
1730 |
}
|
1731 |
|
1732 |
+
if ( $args['use_current_pod'] ) {
|
1733 |
+
$pod = pods();
|
1734 |
+
}
|
1735 |
+
|
1736 |
+
// Handle Pod fields.
|
1737 |
+
// The Pod will call this function without Pod param if no field is found.
|
1738 |
+
if ( $pod instanceof Pods ) {
|
1739 |
+
$value = $pod->do_magic_tags( '{@' . $tag . '}' );
|
1740 |
+
|
1741 |
+
if ( ! $value ) {
|
1742 |
+
if ( null === $fallback ) {
|
1743 |
+
return '';
|
1744 |
+
}
|
1745 |
+
|
1746 |
+
return $fallback;
|
1747 |
+
}
|
1748 |
+
|
1749 |
+
if ( $sanitize ) {
|
1750 |
+
$value = pods_sanitize( $value );
|
1751 |
+
}
|
1752 |
+
|
1753 |
+
return $value;
|
1754 |
+
}
|
1755 |
+
|
1756 |
$tag = trim( $tag, ' {@}' );
|
1757 |
+
$tag = explode( ',', $tag );
|
1758 |
+
$tag = pods_trim( $tag );
|
1759 |
+
|
1760 |
+
$value = '';
|
1761 |
+
$helper = isset( $tag[1] ) ? $tag[1] : null;
|
1762 |
+
$before = isset( $tag[2] ) ? $tag[2] : '';
|
1763 |
+
$after = isset( $tag[3] ) ? $tag[3] : '';
|
1764 |
+
|
1765 |
+
$tag = explode( '.', $tag[0] );
|
1766 |
|
1767 |
if ( empty( $tag ) || ! isset( $tag[0] ) || '' === trim( $tag[0] ) ) {
|
1768 |
if ( null === $fallback ) {
|
1783 |
);
|
1784 |
}
|
1785 |
|
1786 |
+
$tag = pods_trim( $tag );
|
|
|
|
|
|
|
|
|
1787 |
|
1788 |
$single_supported = array(
|
1789 |
'template-url',
|
1807 |
$value = pods_v( $tag[0], 'get', null );
|
1808 |
} elseif ( 2 === count( $tag ) ) {
|
1809 |
$value = pods_v( $tag[1], $tag[0], null );
|
1810 |
+
} else {
|
1811 |
+
// Some magic tags support traversal.
|
1812 |
+
$value = pods_v( array_slice( $tag, 1 ), $tag[0], null );
|
1813 |
+
}
|
1814 |
+
|
1815 |
+
if ( $helper ) {
|
1816 |
+
if ( ! $pod instanceof Pods ) {
|
1817 |
+
$pod = pods();
|
1818 |
+
}
|
1819 |
+
$value = $pod->helper( $helper, $value );
|
1820 |
}
|
1821 |
|
1822 |
$value = apply_filters( 'pods_evaluate_tag', $value, $tag, $fallback );
|
1841 |
$value = $fallback;
|
1842 |
}
|
1843 |
|
1844 |
+
return $before . $value . $after;
|
1845 |
}
|
1846 |
|
1847 |
/**
|
includes/general.php
CHANGED
@@ -922,11 +922,17 @@ function pods_shortcode_run( $tags, $content = null ) {
|
|
922 |
// id > slug (if both exist)
|
923 |
$id = null;
|
924 |
|
|
|
|
|
|
|
|
|
|
|
|
|
925 |
if ( ! empty( $tags['slug'] ) ) {
|
926 |
$id = $tags['slug'];
|
927 |
|
928 |
if ( pods_shortcode_allow_evaluate_tags() ) {
|
929 |
-
$id = pods_evaluate_tags( $id,
|
930 |
}
|
931 |
}
|
932 |
|
@@ -934,7 +940,7 @@ function pods_shortcode_run( $tags, $content = null ) {
|
|
934 |
$id = $tags['id'];
|
935 |
|
936 |
if ( pods_shortcode_allow_evaluate_tags() ) {
|
937 |
-
$id = pods_evaluate_tags( $id,
|
938 |
}
|
939 |
|
940 |
if ( is_numeric( $id ) ) {
|
@@ -964,6 +970,12 @@ function pods_shortcode_run( $tags, $content = null ) {
|
|
964 |
$params = array();
|
965 |
|
966 |
if ( ! defined( 'PODS_DISABLE_SHORTCODE_SQL' ) || ! PODS_DISABLE_SHORTCODE_SQL ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
967 |
if ( 0 < strlen( $tags['orderby'] ) ) {
|
968 |
$params['orderby'] = $tags['orderby'];
|
969 |
}
|
@@ -972,7 +984,7 @@ function pods_shortcode_run( $tags, $content = null ) {
|
|
972 |
$params['where'] = $tags['where'];
|
973 |
|
974 |
if ( pods_shortcode_allow_evaluate_tags() ) {
|
975 |
-
$params['where'] =
|
976 |
}
|
977 |
}
|
978 |
|
@@ -980,7 +992,7 @@ function pods_shortcode_run( $tags, $content = null ) {
|
|
980 |
$params['having'] = $tags['having'];
|
981 |
|
982 |
if ( pods_shortcode_allow_evaluate_tags() ) {
|
983 |
-
$params['having'] =
|
984 |
}
|
985 |
}
|
986 |
|
@@ -1052,7 +1064,15 @@ function pods_shortcode_run( $tags, $content = null ) {
|
|
1052 |
|
1053 |
return $pod->form( $tags['fields'], $tags['label'], $tags['thank_you'] );
|
1054 |
} elseif ( ! empty( $tags['field'] ) ) {
|
1055 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1056 |
$return = $pod->display( $tags['field'] );
|
1057 |
} else {
|
1058 |
$return = $pod->helper( $tags['helper'], $pod->field( $tags['field'] ), $tags['field'] );
|
@@ -2572,6 +2592,9 @@ function pods_session_start() {
|
|
2572 |
} elseif ( defined( 'PODS_SESSION_AUTO_START' ) && ! PODS_SESSION_AUTO_START ) {
|
2573 |
// Allow for bypassing Pods session autostarting.
|
2574 |
return false;
|
|
|
|
|
|
|
2575 |
} elseif ( 0 === strpos( $save_path, 'tcp://' ) ) {
|
2576 |
// Allow for non-file based sessions, like Memcache.
|
2577 |
// This is OK, but we don't want to check if file_exists on next statement.
|
@@ -2580,10 +2603,16 @@ function pods_session_start() {
|
|
2580 |
return false;
|
2581 |
}
|
2582 |
|
2583 |
-
|
2584 |
-
|
2585 |
-
|
2586 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2587 |
}
|
2588 |
|
2589 |
// Start session
|
@@ -2593,6 +2622,26 @@ function pods_session_start() {
|
|
2593 |
|
2594 |
}
|
2595 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2596 |
/**
|
2597 |
* @todo : replace string literal with a defined constant
|
2598 |
*
|
922 |
// id > slug (if both exist)
|
923 |
$id = null;
|
924 |
|
925 |
+
$evaluate_tags_args = array(
|
926 |
+
'sanitize' => true,
|
927 |
+
'fallback' => null,
|
928 |
+
'use_current_pod' => true,
|
929 |
+
);
|
930 |
+
|
931 |
if ( ! empty( $tags['slug'] ) ) {
|
932 |
$id = $tags['slug'];
|
933 |
|
934 |
if ( pods_shortcode_allow_evaluate_tags() ) {
|
935 |
+
$id = pods_evaluate_tags( $id, $evaluate_tags_args );
|
936 |
}
|
937 |
}
|
938 |
|
940 |
$id = $tags['id'];
|
941 |
|
942 |
if ( pods_shortcode_allow_evaluate_tags() ) {
|
943 |
+
$id = pods_evaluate_tags( $id, $evaluate_tags_args );
|
944 |
}
|
945 |
|
946 |
if ( is_numeric( $id ) ) {
|
970 |
$params = array();
|
971 |
|
972 |
if ( ! defined( 'PODS_DISABLE_SHORTCODE_SQL' ) || ! PODS_DISABLE_SHORTCODE_SQL ) {
|
973 |
+
$evaluate_tags_args = array(
|
974 |
+
'sanitize' => true,
|
975 |
+
'fallback' => '""',
|
976 |
+
'use_current_pod' => true,
|
977 |
+
);
|
978 |
+
|
979 |
if ( 0 < strlen( $tags['orderby'] ) ) {
|
980 |
$params['orderby'] = $tags['orderby'];
|
981 |
}
|
984 |
$params['where'] = $tags['where'];
|
985 |
|
986 |
if ( pods_shortcode_allow_evaluate_tags() ) {
|
987 |
+
$params['where'] = pods_evaluate_tags_sql( html_entity_decode( $params['where'] ), $evaluate_tags_args );
|
988 |
}
|
989 |
}
|
990 |
|
992 |
$params['having'] = $tags['having'];
|
993 |
|
994 |
if ( pods_shortcode_allow_evaluate_tags() ) {
|
995 |
+
$params['having'] = pods_evaluate_tags_sql( html_entity_decode( $params['having'] ), $evaluate_tags_args );
|
996 |
}
|
997 |
}
|
998 |
|
1064 |
|
1065 |
return $pod->form( $tags['fields'], $tags['label'], $tags['thank_you'] );
|
1066 |
} elseif ( ! empty( $tags['field'] ) ) {
|
1067 |
+
if ( $tags['template'] || $content ) {
|
1068 |
+
$return = '';
|
1069 |
+
$related = $pod->field( $tags['field'], array( 'output' => 'find' ) );
|
1070 |
+
|
1071 |
+
if ( $related instanceof Pods && $related->valid() ) {
|
1072 |
+
// Content is null by default.
|
1073 |
+
$return .= $related->template( $tags['template'], $content );
|
1074 |
+
}
|
1075 |
+
} elseif ( empty( $tags['helper'] ) ) {
|
1076 |
$return = $pod->display( $tags['field'] );
|
1077 |
} else {
|
1078 |
$return = $pod->helper( $tags['helper'], $pod->field( $tags['field'] ), $tags['field'] );
|
2592 |
} elseif ( defined( 'PODS_SESSION_AUTO_START' ) && ! PODS_SESSION_AUTO_START ) {
|
2593 |
// Allow for bypassing Pods session autostarting.
|
2594 |
return false;
|
2595 |
+
} elseif ( function_exists( 'session_status' ) && PHP_SESSION_DISABLED === session_status() ) {
|
2596 |
+
// Sessions are disabled.
|
2597 |
+
return false;
|
2598 |
} elseif ( 0 === strpos( $save_path, 'tcp://' ) ) {
|
2599 |
// Allow for non-file based sessions, like Memcache.
|
2600 |
// This is OK, but we don't want to check if file_exists on next statement.
|
2603 |
return false;
|
2604 |
}
|
2605 |
|
2606 |
+
// Check if session is already set.
|
2607 |
+
// In separate if clause, to also check for non-file based sessions.
|
2608 |
+
if ( function_exists( 'session_status' ) ) { // PHP >=5.4.
|
2609 |
+
if ( PHP_SESSION_ACTIVE === session_status() ) {
|
2610 |
+
return false;
|
2611 |
+
}
|
2612 |
+
} else { // PHP <5.4.
|
2613 |
+
if ( pods_session_id() ) {
|
2614 |
+
return false;
|
2615 |
+
}
|
2616 |
}
|
2617 |
|
2618 |
// Start session
|
2622 |
|
2623 |
}
|
2624 |
|
2625 |
+
/**
|
2626 |
+
* Get current session ID.
|
2627 |
+
*
|
2628 |
+
* @since 2.7.23
|
2629 |
+
*
|
2630 |
+
* @return string
|
2631 |
+
*/
|
2632 |
+
function pods_session_id() {
|
2633 |
+
if ( defined( 'PODS_SESSION_AUTO_START' ) && ! PODS_SESSION_AUTO_START ) {
|
2634 |
+
return '';
|
2635 |
+
}
|
2636 |
+
|
2637 |
+
if ( function_exists( 'session_status' ) && PHP_SESSION_DISABLED === session_status() ) {
|
2638 |
+
// Sessions are disabled.
|
2639 |
+
return '';
|
2640 |
+
}
|
2641 |
+
|
2642 |
+
return @session_id();
|
2643 |
+
}
|
2644 |
+
|
2645 |
/**
|
2646 |
* @todo : replace string literal with a defined constant
|
2647 |
*
|
includes/media.php
CHANGED
@@ -2,12 +2,13 @@
|
|
2 |
/**
|
3 |
* @package Pods\Global\Functions\Media
|
4 |
*/
|
|
|
5 |
/**
|
6 |
-
* Get the Attachment ID for a specific image field
|
7 |
*
|
8 |
-
* @param array|int|string $image The image field array, ID, or guid
|
9 |
*
|
10 |
-
* @return int Attachment ID
|
11 |
*
|
12 |
* @since 2.0.5
|
13 |
*/
|
@@ -55,95 +56,149 @@ function pods_image_id_from_field( $image ) {
|
|
55 |
}
|
56 |
|
57 |
/**
|
58 |
-
*
|
59 |
*
|
60 |
-
* @param
|
61 |
-
* @param string|array $size Image size to use
|
62 |
-
* @param int $default Default image to show if image not found, can be field array, ID, or guid
|
63 |
-
* @param string|array $attributes <img> Attributes array or string (passed to wp_get_attachment_image
|
64 |
-
* @param boolean $force Force generation of image (if custom size array provided)
|
65 |
*
|
66 |
-
* @return string
|
67 |
*
|
68 |
-
* @since 2.
|
69 |
*/
|
70 |
-
function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
-
|
|
|
75 |
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
/**
|
78 |
-
* Filter for default value
|
79 |
*
|
80 |
* Use to set a fallback image to be used when the image passed to pods_image can not be found. Will only take effect if $default is not set.
|
81 |
*
|
82 |
* @since 2.3.19
|
83 |
*
|
84 |
-
* @param array|int|string $default Default image to show if image not found, can be field array, ID, or guid
|
85 |
*/
|
86 |
$default = apply_filters( 'pods_image_default', $default );
|
87 |
}
|
88 |
|
|
|
|
|
89 |
$default = pods_image_id_from_field( $default );
|
|
|
90 |
|
91 |
if ( 0 < $id ) {
|
92 |
if ( $force ) {
|
93 |
-
|
94 |
-
$src = wp_get_attachment_image_src( $id, $size );
|
95 |
-
|
96 |
-
if ( 'full' !== $size && $full[0] == $src[0] ) {
|
97 |
-
pods_image_resize( $id, $size );
|
98 |
-
}
|
99 |
}
|
100 |
|
101 |
$html = wp_get_attachment_image( $id, $size, true, $attributes );
|
102 |
}
|
103 |
|
104 |
if ( empty( $html ) && 0 < $default ) {
|
105 |
-
|
106 |
-
$full = wp_get_attachment_image_src( $default, 'full' );
|
107 |
-
$src = wp_get_attachment_image_src( $default, $size );
|
108 |
-
|
109 |
-
if ( 'full' !== $size && $full[0] == $src[0] ) {
|
110 |
-
pods_image_resize( $default, $size );
|
111 |
-
}
|
112 |
-
}
|
113 |
-
|
114 |
-
$html = wp_get_attachment_image( $default, $size, true, $attributes );
|
115 |
}
|
116 |
|
117 |
return $html;
|
118 |
}
|
119 |
|
120 |
/**
|
121 |
-
* Get the Image URL for a specific image field
|
122 |
*
|
123 |
-
* @param array|int|string $image The image field array, ID, or guid
|
124 |
-
* @param string|array $size Image size to use
|
125 |
-
* @param int $default Default image to show if image not found, can be field array, ID, or guid
|
126 |
-
*
|
|
|
127 |
*
|
128 |
-
* @return string Image URL or empty if image not found
|
129 |
*
|
130 |
* @since 2.0.5
|
131 |
*/
|
132 |
function pods_image_url( $image, $size = 'thumbnail', $default = 0, $force = false ) {
|
133 |
|
134 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
|
|
|
136 |
$id = pods_image_id_from_field( $image );
|
137 |
$default = pods_image_id_from_field( $default );
|
|
|
138 |
|
139 |
if ( 0 < $id ) {
|
140 |
if ( $force ) {
|
141 |
-
|
142 |
-
$src = wp_get_attachment_image_src( $id, $size );
|
143 |
-
|
144 |
-
if ( 'full' !== $size && $full[0] == $src[0] ) {
|
145 |
-
pods_image_resize( $id, $size );
|
146 |
-
}
|
147 |
}
|
148 |
|
149 |
$src = wp_get_attachment_image_src( $id, $size );
|
@@ -161,40 +216,20 @@ function pods_image_url( $image, $size = 'thumbnail', $default = 0, $force = fal
|
|
161 |
}//end if
|
162 |
|
163 |
if ( empty( $url ) && 0 < $default ) {
|
164 |
-
|
165 |
-
$full = wp_get_attachment_image_src( $default, 'full' );
|
166 |
-
$src = wp_get_attachment_image_src( $default, $size );
|
167 |
-
|
168 |
-
if ( 'full' !== $size && $full[0] == $src[0] ) {
|
169 |
-
pods_image_resize( $default, $size );
|
170 |
-
}
|
171 |
-
}
|
172 |
-
|
173 |
-
$src = wp_get_attachment_image_src( $default, $size );
|
174 |
-
|
175 |
-
if ( ! empty( $src ) ) {
|
176 |
-
$url = $src[0];
|
177 |
-
} else {
|
178 |
-
// Handle non-images
|
179 |
-
$attachment = get_post( $default );
|
180 |
-
|
181 |
-
if ( ! preg_match( '!^image/!', get_post_mime_type( $attachment ) ) ) {
|
182 |
-
$url = wp_get_attachment_url( $default );
|
183 |
-
}
|
184 |
-
}
|
185 |
}//end if
|
186 |
|
187 |
return $url;
|
188 |
}
|
189 |
|
190 |
/**
|
191 |
-
* Import media from a specific URL, saving as an attachment
|
192 |
*
|
193 |
-
* @param string $url URL to media for import
|
194 |
-
* @param int $post_parent ID of post parent, default none
|
195 |
-
* @param boolean $featured Whether to set it as the featured (post thumbnail) of the post parent
|
196 |
*
|
197 |
-
* @return int Attachment ID
|
198 |
*
|
199 |
* @since 2.3.0
|
200 |
*/
|
@@ -264,12 +299,41 @@ function pods_attachment_import( $url, $post_parent = null, $featured = false )
|
|
264 |
}
|
265 |
|
266 |
/**
|
267 |
-
* Resize an image on
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
*
|
269 |
-
* @param int $attachment_id Attachment ID
|
270 |
-
* @param string|array $size Size to be generated
|
271 |
*
|
272 |
-
* @return boolean Image generation result
|
273 |
*
|
274 |
* @since 2.3.0
|
275 |
*/
|
@@ -347,7 +411,7 @@ function pods_image_resize( $attachment_id, $size ) {
|
|
347 |
* @since 2.5.0
|
348 |
*
|
349 |
* @param string|array $url Can be a URL of the source file, or a Pods audio field.
|
350 |
-
* @param bool|array $args Optional. Additional arguments to pass to wp_audio_shortcode
|
351 |
*
|
352 |
* @return string
|
353 |
*/
|
@@ -380,7 +444,7 @@ function pods_audio( $url, $args = false ) {
|
|
380 |
* @since 2.5.0
|
381 |
*
|
382 |
* @param string|array $url Can be a URL of the source file, or a Pods video field.
|
383 |
-
* @param bool|array $args Optional. Additional arguments to pass to wp_video_shortcode()
|
384 |
*
|
385 |
* @return string
|
386 |
*/
|
2 |
/**
|
3 |
* @package Pods\Global\Functions\Media
|
4 |
*/
|
5 |
+
|
6 |
/**
|
7 |
+
* Get the Attachment ID for a specific image field.
|
8 |
*
|
9 |
+
* @param array|int|string $image The image field array, ID, or guid.
|
10 |
*
|
11 |
+
* @return int Attachment ID.
|
12 |
*
|
13 |
* @since 2.0.5
|
14 |
*/
|
56 |
}
|
57 |
|
58 |
/**
|
59 |
+
* Parse image size parameter to support custom image sizes.
|
60 |
*
|
61 |
+
* @param string|int[] $size
|
|
|
|
|
|
|
|
|
62 |
*
|
63 |
+
* @return string|int[]
|
64 |
*
|
65 |
+
* @since 2.7.23
|
66 |
*/
|
67 |
+
function pods_parse_image_size( $size ) {
|
68 |
+
|
69 |
+
if ( ! is_array( $size ) ) {
|
70 |
+
if ( is_numeric( $size ) && ! has_image_size( $size ) ) {
|
71 |
+
// Square sizes.
|
72 |
+
$size = $size . 'x' . $size;
|
73 |
+
}
|
74 |
+
// Fix HTML entity for custom sizes.
|
75 |
+
$size = str_replace( '×', 'x', $size );
|
76 |
+
}
|
77 |
+
|
78 |
+
return $size;
|
79 |
+
}
|
80 |
|
81 |
+
/**
|
82 |
+
* Check if an image size exists or is a valid custom format for a size.
|
83 |
+
*
|
84 |
+
* @param string|int[] $size
|
85 |
+
*
|
86 |
+
* @return bool
|
87 |
+
*
|
88 |
+
* @since 2.7.23
|
89 |
+
*/
|
90 |
+
function pods_is_image_size( $size ) {
|
91 |
+
|
92 |
+
$valid = false;
|
93 |
+
$size = pods_parse_image_size( $size );
|
94 |
+
|
95 |
+
if ( is_array( $size ) ) {
|
96 |
+
// Custom array size format.
|
97 |
+
$valid = ( 2 <= count( $size ) && is_numeric( $size[0] ) && is_numeric( $size[1] ) );
|
98 |
+
} elseif ( is_numeric( $size ) ) {
|
99 |
+
// Numeric (square) size format.
|
100 |
+
$valid = true;
|
101 |
+
} elseif ( preg_match( '/[0-9]+x[0-9]+/', $size ) || preg_match( '/[0-9]+x[0-9]+x[0-1]/', $size ) ) {
|
102 |
+
// Custom size format.
|
103 |
+
$valid = true;
|
104 |
+
} else {
|
105 |
+
$sizes = get_intermediate_image_sizes();
|
106 |
+
// Not shown by default.
|
107 |
+
$sizes[] = 'full';
|
108 |
+
$sizes[] = 'original';
|
109 |
+
if ( in_array( $size, $sizes, true ) ) {
|
110 |
+
$valid = true;
|
111 |
+
}
|
112 |
+
}
|
113 |
|
114 |
+
return $valid;
|
115 |
+
}
|
116 |
|
117 |
+
/**
|
118 |
+
* Get the <img> HTML for a specific image field.
|
119 |
+
*
|
120 |
+
* @param array|int|string $image The image field array, ID, or guid.
|
121 |
+
* @param string|array $size Image size to use.
|
122 |
+
* @param int $default Default image to show if image not found, can be field array, ID, or guid.
|
123 |
+
* Passing `-1` prevents default filter.
|
124 |
+
* @param string|array $attributes <img> Attributes array or string (passed to wp_get_attachment_image).
|
125 |
+
* @param boolean $force Force generation of image (if custom size array provided).
|
126 |
+
*
|
127 |
+
* @return string <img> HTML or empty if image not found.
|
128 |
+
*
|
129 |
+
* @since 2.0.5
|
130 |
+
*/
|
131 |
+
function pods_image( $image, $size = 'thumbnail', $default = 0, $attributes = '', $force = false ) {
|
132 |
+
|
133 |
+
if ( ! $default && -1 !== $default ) {
|
134 |
/**
|
135 |
+
* Filter for default value.
|
136 |
*
|
137 |
* Use to set a fallback image to be used when the image passed to pods_image can not be found. Will only take effect if $default is not set.
|
138 |
*
|
139 |
* @since 2.3.19
|
140 |
*
|
141 |
+
* @param array|int|string $default Default image to show if image not found, can be field array, ID, or guid.
|
142 |
*/
|
143 |
$default = apply_filters( 'pods_image_default', $default );
|
144 |
}
|
145 |
|
146 |
+
$html = '';
|
147 |
+
$id = pods_image_id_from_field( $image );
|
148 |
$default = pods_image_id_from_field( $default );
|
149 |
+
$size = pods_parse_image_size( $size );
|
150 |
|
151 |
if ( 0 < $id ) {
|
152 |
if ( $force ) {
|
153 |
+
pods_maybe_image_resize( $id, $size );
|
|
|
|
|
|
|
|
|
|
|
154 |
}
|
155 |
|
156 |
$html = wp_get_attachment_image( $id, $size, true, $attributes );
|
157 |
}
|
158 |
|
159 |
if ( empty( $html ) && 0 < $default ) {
|
160 |
+
$html = pods_image( $default, $size, -1, $attributes, $force );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
}
|
162 |
|
163 |
return $html;
|
164 |
}
|
165 |
|
166 |
/**
|
167 |
+
* Get the Image URL for a specific image field.
|
168 |
*
|
169 |
+
* @param array|int|string $image The image field array, ID, or guid.
|
170 |
+
* @param string|array $size Image size to use.
|
171 |
+
* @param int $default Default image to show if image not found, can be field array, ID, or guid.
|
172 |
+
* Passing `-1` prevents default filter.
|
173 |
+
* @param boolean $force Force generation of image (if custom size array provided).
|
174 |
*
|
175 |
+
* @return string Image URL or empty if image not found.
|
176 |
*
|
177 |
* @since 2.0.5
|
178 |
*/
|
179 |
function pods_image_url( $image, $size = 'thumbnail', $default = 0, $force = false ) {
|
180 |
|
181 |
+
if ( ! $default && -1 !== $default ) {
|
182 |
+
/**
|
183 |
+
* Filter for default value.
|
184 |
+
*
|
185 |
+
* Use to set a fallback image to be used when the image passed to pods_image can not be found. Will only take effect if $default is not set.
|
186 |
+
*
|
187 |
+
* @since 2.7.23
|
188 |
+
*
|
189 |
+
* @param array|int|string $default Default image to show if image not found, can be field array, ID, or guid.
|
190 |
+
*/
|
191 |
+
$default = apply_filters( 'pods_image_url_default', $default );
|
192 |
+
}
|
193 |
|
194 |
+
$url = '';
|
195 |
$id = pods_image_id_from_field( $image );
|
196 |
$default = pods_image_id_from_field( $default );
|
197 |
+
$size = pods_parse_image_size( $size );
|
198 |
|
199 |
if ( 0 < $id ) {
|
200 |
if ( $force ) {
|
201 |
+
pods_maybe_image_resize( $id, $size );
|
|
|
|
|
|
|
|
|
|
|
202 |
}
|
203 |
|
204 |
$src = wp_get_attachment_image_src( $id, $size );
|
216 |
}//end if
|
217 |
|
218 |
if ( empty( $url ) && 0 < $default ) {
|
219 |
+
$url = pods_image_url( $default, $size, -1, $force );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
}//end if
|
221 |
|
222 |
return $url;
|
223 |
}
|
224 |
|
225 |
/**
|
226 |
+
* Import media from a specific URL, saving as an attachment.
|
227 |
*
|
228 |
+
* @param string $url URL to media for import.
|
229 |
+
* @param int $post_parent ID of post parent, default none.
|
230 |
+
* @param boolean $featured Whether to set it as the featured (post thumbnail) of the post parent.
|
231 |
*
|
232 |
+
* @return int Attachment ID.
|
233 |
*
|
234 |
* @since 2.3.0
|
235 |
*/
|
299 |
}
|
300 |
|
301 |
/**
|
302 |
+
* Resize an image on if it doesn't exist.
|
303 |
+
*
|
304 |
+
* @param int $attachment_id Attachment ID.
|
305 |
+
* @param string|array $size Size to be generated.
|
306 |
+
*
|
307 |
+
* @return boolean Image generation result.
|
308 |
+
*
|
309 |
+
* @since 2.7.23
|
310 |
+
*/
|
311 |
+
function pods_maybe_image_resize( $attachment_id, $size ) {
|
312 |
+
if ( 'full' !== $size ) {
|
313 |
+
$full = wp_get_attachment_image_src( $attachment_id, 'full' );
|
314 |
+
|
315 |
+
if ( ! empty( $full[0] ) ) {
|
316 |
+
$size = pods_parse_image_size( $size );
|
317 |
+
|
318 |
+
$src = wp_get_attachment_image_src( $attachment_id, $size );
|
319 |
+
|
320 |
+
if ( empty( $src[0] ) || $full[0] == $src[0] ) {
|
321 |
+
return pods_image_resize( $attachment_id, $size );
|
322 |
+
}
|
323 |
+
}
|
324 |
+
}
|
325 |
+
|
326 |
+
// No resize needed.
|
327 |
+
return true;
|
328 |
+
}
|
329 |
+
|
330 |
+
/**
|
331 |
+
* Resize an image on demand.
|
332 |
*
|
333 |
+
* @param int $attachment_id Attachment ID.
|
334 |
+
* @param string|array $size Size to be generated.
|
335 |
*
|
336 |
+
* @return boolean Image generation result.
|
337 |
*
|
338 |
* @since 2.3.0
|
339 |
*/
|
411 |
* @since 2.5.0
|
412 |
*
|
413 |
* @param string|array $url Can be a URL of the source file, or a Pods audio field.
|
414 |
+
* @param bool|array $args Optional. Additional arguments to pass to wp_audio_shortcode().
|
415 |
*
|
416 |
* @return string
|
417 |
*/
|
444 |
* @since 2.5.0
|
445 |
*
|
446 |
* @param string|array $url Can be a URL of the source file, or a Pods video field.
|
447 |
+
* @param bool|array $args Optional. Additional arguments to pass to wp_video_shortcode().
|
448 |
*
|
449 |
* @return string
|
450 |
*/
|
init.php
CHANGED
@@ -3,11 +3,12 @@
|
|
3 |
Plugin Name: Pods - Custom Content Types and Fields
|
4 |
Plugin URI: https://pods.io/
|
5 |
Description: Pods is a framework for creating, managing, and deploying customized content types and fields
|
6 |
-
Version: 2.7.
|
7 |
Author: Pods Framework Team
|
8 |
Author URI: https://pods.io/about/
|
9 |
Text Domain: pods
|
10 |
GitHub Plugin URI: https://github.com/pods-framework/pods
|
|
|
11 |
|
12 |
Copyright 2009-2019 Pods Foundation, Inc (email : contact@podsfoundation.org)
|
13 |
|
@@ -36,7 +37,7 @@ if ( defined( 'PODS_VERSION' ) || defined( 'PODS_DIR' ) ) {
|
|
36 |
add_action( 'init', 'pods_deactivate_pods_ui' );
|
37 |
} else {
|
38 |
// Current version
|
39 |
-
define( 'PODS_VERSION', '2.7.
|
40 |
|
41 |
// Version tracking between DB updates themselves
|
42 |
define( 'PODS_DB_VERSION', '2.3.5' );
|
3 |
Plugin Name: Pods - Custom Content Types and Fields
|
4 |
Plugin URI: https://pods.io/
|
5 |
Description: Pods is a framework for creating, managing, and deploying customized content types and fields
|
6 |
+
Version: 2.7.23
|
7 |
Author: Pods Framework Team
|
8 |
Author URI: https://pods.io/about/
|
9 |
Text Domain: pods
|
10 |
GitHub Plugin URI: https://github.com/pods-framework/pods
|
11 |
+
Primary Branch: main
|
12 |
|
13 |
Copyright 2009-2019 Pods Foundation, Inc (email : contact@podsfoundation.org)
|
14 |
|
37 |
add_action( 'init', 'pods_deactivate_pods_ui' );
|
38 |
} else {
|
39 |
// Current version
|
40 |
+
define( 'PODS_VERSION', '2.7.23' );
|
41 |
|
42 |
// Version tracking between DB updates themselves
|
43 |
define( 'PODS_DB_VERSION', '2.3.5' );
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: sc0ttkclark, pglewis, jimtrue, keraweb, quasel, jamesgol, ramoonus
|
|
3 |
Donate link: https://pods.io/friends-of-pods/
|
4 |
Tags: pods, custom post types, custom taxonomies, content types, custom fields, cck, database, user fields, comment fields, media fields, relationships, drupal
|
5 |
Requires at least: 4.5
|
6 |
-
Tested up to: 5.5
|
7 |
Requires PHP: 5.3
|
8 |
-
Stable tag: 2.7.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -190,6 +190,39 @@ We are also available through our [Live Slack Chat](https://pods.io/chat/) to he
|
|
190 |
|
191 |
== Changelog ==
|
192 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
= 2.7.22 - August 13th 2020 =
|
194 |
|
195 |
**Bug Fixes**
|
3 |
Donate link: https://pods.io/friends-of-pods/
|
4 |
Tags: pods, custom post types, custom taxonomies, content types, custom fields, cck, database, user fields, comment fields, media fields, relationships, drupal
|
5 |
Requires at least: 4.5
|
6 |
+
Tested up to: 5.5.2
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 2.7.23
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
190 |
|
191 |
== Changelog ==
|
192 |
|
193 |
+
= 2.7.23 - October 30th 2020 =
|
194 |
+
|
195 |
+
**New Features & Enhancements**
|
196 |
+
|
197 |
+
* Added: Support auto-templates for taxonomies, users and comments. #3962 & #5832 (@JoryHogeveen, @sc0ttkclark, @gwhitney)
|
198 |
+
* Added: Support template parameter and nested shortcode content for field shortcodes. #5801 (@JoryHogeveen)
|
199 |
+
* Added: Allow function calls in all tags, not just template tags. #4887 (@JoryHogeveen)
|
200 |
+
* Added: Support custom image sizes for all image field types in magic tags. #5870 (@JoryHogeveen)
|
201 |
+
* Added/Fixed: Support special magic tags in Pods Templates. #5697 (@JoryHogeveen)
|
202 |
+
* Added/Fixed: Support Pod related magic tags in shortcode query parameters. #5734 (@JoryHogeveen)
|
203 |
+
* Enhancement: Allow traversing in avatar attachment. #5870 (@JoryHogeveen)
|
204 |
+
* Enhancement: If the media Pod exists, use it's context to run media loops to support other fields and traversal. #5855 (@JoryHogeveen)
|
205 |
+
* Enhancement: Implement PHP 5.4 `session_status()` function. #5840 (@JoryHogeveen)
|
206 |
+
* Enhancement: Allow WP objects to be passed in `pods()`. #5845 (@JoryHogeveen)
|
207 |
+
* Compatibility: Enqueue DFV scripts when editing the page with Beaver Builder to fully support the media window. #5799 (@JoryHogeveen)
|
208 |
+
* Updated: Primary Branch header for GitHub Updater. #5847 (@afragen)
|
209 |
+
|
210 |
+
**Bug Fixes**
|
211 |
+
|
212 |
+
* Fixed: `.src` tags for PDF's now render the PDF file link instead of the thumbnail in templates `[each]` loops. #4040 (@JoryHogeveen)
|
213 |
+
* Fixed. HTML entities for relationship fields UI. #5843, #5835 & #5796 (@JoryHogeveen, @sc0ttkclark)
|
214 |
+
* Fixed: Select2/SelectWoo now also enqueue the locale files when available. #5860 (@JoryHogeveen)
|
215 |
+
* Fixed: Support lowercase ID's for magic tags in media loops #5852 (@JoryHogeveen, @sc0ttkclark)
|
216 |
+
* Fixed: Avatar should always return a square image. #2738 (@JoryHogeveen)
|
217 |
+
* Fixed: Selected items query for autocomplete relationships. #5542 & #5831 (@JoryHogeveen)
|
218 |
+
* Fixed: Prevent SQL errors on magic tags in some cases. #5797 (@JoryHogeveen, @sc0ttkclark)
|
219 |
+
* Fixed: Error if there is no DB prefix available. #5803 (@JoryHogeveen, @sc0ttkclark)
|
220 |
+
* Fixed: Fix edge case "No Access" error when all Pods were deleted. Redirect to next Pod admin page if needed. #4842 (@JoryHogeveen)
|
221 |
+
* Fixed: Removed empty filter in `ui/admin/setup-edit-field.php`. #5686 (@sc0ttkclark, @JoryHogeveen)
|
222 |
+
* Fixed: Prevent possible notice if image doesn't exist. #5866 (@JoryHogeveen)
|
223 |
+
* Fixed: Remove source maps from production builds. #5822 (@sc0ttkclark)
|
224 |
+
* Fixed: PHP warning in file field gallery view. #5809 (@JoryHogeveen)
|
225 |
+
|
226 |
= 2.7.22 - August 13th 2020 =
|
227 |
|
228 |
**Bug Fixes**
|
ui/admin/form-settings.php
CHANGED
@@ -42,7 +42,7 @@ if ( ! isset( $thank_you_alt ) ) {
|
|
42 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER['REQUEST_URI'] );
|
43 |
$field_hash = wp_create_nonce( 'pods_fields_' . implode( ',', array_keys( $submittable_fields ) ) );
|
44 |
|
45 |
-
$uid =
|
46 |
|
47 |
if ( is_user_logged_in() ) {
|
48 |
$uid = 'user_' . get_current_user_id();
|
42 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER['REQUEST_URI'] );
|
43 |
$field_hash = wp_create_nonce( 'pods_fields_' . implode( ',', array_keys( $submittable_fields ) ) );
|
44 |
|
45 |
+
$uid = pods_session_id();
|
46 |
|
47 |
if ( is_user_logged_in() ) {
|
48 |
$uid = 'user_' . get_current_user_id();
|
ui/admin/form.php
CHANGED
@@ -63,7 +63,7 @@ if ( ! isset( $thank_you_alt ) ) {
|
|
63 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER['REQUEST_URI'] );
|
64 |
$field_hash = wp_create_nonce( 'pods_fields_' . implode( ',', array_keys( $submittable_fields ) ) );
|
65 |
|
66 |
-
$uid =
|
67 |
|
68 |
if ( is_user_logged_in() ) {
|
69 |
$uid = 'user_' . get_current_user_id();
|
63 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER['REQUEST_URI'] );
|
64 |
$field_hash = wp_create_nonce( 'pods_fields_' . implode( ',', array_keys( $submittable_fields ) ) );
|
65 |
|
66 |
+
$uid = pods_session_id();
|
67 |
|
68 |
if ( is_user_logged_in() ) {
|
69 |
$uid = 'user_' . get_current_user_id();
|
ui/admin/setup-edit-field.php
CHANGED
@@ -19,7 +19,7 @@ if ( 'pod' == pods_v( 'pick_object', $field ) ) {
|
|
19 |
}
|
20 |
}
|
21 |
|
22 |
-
$ignored_pick_objects =
|
23 |
|
24 |
if ( ! in_array( pods_v( 'pick_object', $field ), $ignored_pick_objects, true ) ) {
|
25 |
// Set pick object
|
19 |
}
|
20 |
}
|
21 |
|
22 |
+
$ignored_pick_objects = array( 'table' );
|
23 |
|
24 |
if ( ! in_array( pods_v( 'pick_object', $field ), $ignored_pick_objects, true ) ) {
|
25 |
// Set pick object
|
ui/fields/attachment.php
CHANGED
@@ -19,7 +19,7 @@ $css_id = $attributes['id'];
|
|
19 |
|
20 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER['REQUEST_URI'] );
|
21 |
|
22 |
-
$uid =
|
23 |
|
24 |
if ( is_user_logged_in() ) {
|
25 |
$uid = 'user_' . get_current_user_id();
|
19 |
|
20 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER['REQUEST_URI'] );
|
21 |
|
22 |
+
$uid = pods_session_id();
|
23 |
|
24 |
if ( is_user_logged_in() ) {
|
25 |
$uid = 'user_' . get_current_user_id();
|
ui/front/form.php
CHANGED
@@ -50,7 +50,7 @@ foreach ( $submittable_fields as $k => $field ) {
|
|
50 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER[ 'REQUEST_URI' ] );
|
51 |
$field_hash = wp_create_nonce( 'pods_fields_' . implode( ',', array_keys( $submittable_fields ) ) );
|
52 |
|
53 |
-
$uid =
|
54 |
|
55 |
if ( is_user_logged_in() ) {
|
56 |
$uid = 'user_' . get_current_user_id();
|
50 |
$uri_hash = wp_create_nonce( 'pods_uri_' . $_SERVER[ 'REQUEST_URI' ] );
|
51 |
$field_hash = wp_create_nonce( 'pods_fields_' . implode( ',', array_keys( $submittable_fields ) ) );
|
52 |
|
53 |
+
$uid = pods_session_id();
|
54 |
|
55 |
if ( is_user_logged_in() ) {
|
56 |
$uid = 'user_' . get_current_user_id();
|
ui/js/pods-dfv/_src/pick/views/select-view.js
CHANGED
@@ -329,9 +329,9 @@ export const SelectView = PodsMn.CollectionView.extend( {
|
|
329 |
// for regular autocomplete. This function should be generic and not have to poke around with
|
330 |
// special properties like this for exception cases.
|
331 |
if ( fieldConfig.limitDisable ) {
|
332 |
-
placeholder = `${PodsI18n.
|
333 |
} else {
|
334 |
-
placeholder = `${PodsI18n.__( 'Search' )
|
335 |
}
|
336 |
|
337 |
select2Options = {
|
329 |
// for regular autocomplete. This function should be generic and not have to poke around with
|
330 |
// special properties like this for exception cases.
|
331 |
if ( fieldConfig.limitDisable ) {
|
332 |
+
placeholder = `${sprintf( PodsI18n._n( 'You can only select %s item', 'You can only select %s items', limit ), limit )}`;
|
333 |
} else {
|
334 |
+
placeholder = `${sprintf( PodsI18n.__( 'Search %s' ), fieldConfig.label )}...`;
|
335 |
}
|
336 |
|
337 |
select2Options = {
|
ui/js/pods-dfv/pods-dfv.min.js
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
var PodsDFV=function(){"use strict";var o=Backbone.Model.extend({defaults:{htmlAttr:{},fieldConfig:{}}}),n=wp.data&&wp.data.select("core/editor"),e=void 0,i=function(){e=n.isCurrentPostPublished()?wp.data.subscribe(d):wp.data.subscribe(l)};function t(){var e=n.getCurrentPostAttribute("featured_media"),i="";if(!e)return i;var t=wp.data.select("core").getMedia(e);if(t){var l=wp.hooks.applyFilters("editor.PostFeaturedImage.imageSize","post-thumbnail","");i=t.media_details&&t.media_details.sizes&&t.media_details.sizes[l]?t.media_details.sizes[l].source_url:t.source_url}return i}function l(){n.isCurrentPostPublished()&&(e(),s({icon:t(),link:n.getPermalink(),edit_link:"post.php?post="+n.getCurrentPostId()+"&action=edit&pods_modal=1",selected:!0}))}function d(){d.wasSaving?n.isSavingPost()||(d.wasSaving=!1,n.didPostSaveRequestSucceed()&&(e(),s({icon:t()}))):d.wasSaving=!(!n.isSavingPost()||n.isAutosavingPost())}function s(e){var i={id:n.getCurrentPostId(),name:n.getCurrentPostAttribute("title")},t=Object.assign(i,e);window.parent.jQuery(window.parent).trigger("dfv:modal:update",t)}var a=PodsMn.CollectionView.extend({childViewEventPrefix:!1,initialize:function(e){this.fieldModel=e.fieldModel,this.childViewOptions={fieldModel:e.fieldModel}}}),c=PodsMn.View.extend({childViewEventPrefix:!1,serializeData:function(){var e=this.options.fieldModel,i=this.model?this.model.toJSON():{};return i.htmlAttr=e.get("htmlAttr"),i.fieldConfig=e.get("fieldConfig"),i}}),r=PodsMn.View.extend({childViewEventPrefix:!1,initialize:function(e){this.fieldItemData=e.fieldItemData}}),f=Backbone.Model.extend({defaults:{id:0,icon:"",name:"",edit_link:"",link:"",download:""}}),h=Backbone.Collection.extend({model:f}),m=c.extend({childViewEventPrefix:!1,tagName:"li",template:_.template('<input name="<%- htmlAttr.name %>[<%- id %>][id]" data-name-clean="<%- htmlAttr.name_clean %>-id" id="<%- htmlAttr.id %>-<%- id %>-id" class="<%- htmlAttr.class %>" type="hidden" value="<%- id %>">\n<ul class="pods-dfv-list-meta media-item">\n\t<% if ( 1 != fieldConfig.file_limit ) { %>\n\t\t<li class="pods-dfv-list-col pods-dfv-list-handle"><span><%- PodsI18n.__( \'Reorder\' ) %></span></li>\n\t<% } %>\n\t<li class="pods-dfv-list-col pods-dfv-list-icon"><img class="pinkynail" src="<%- icon %>" alt="<%- PodsI18n.__( \'Icon\' ) %>"></li>\n\t<li class="pods-dfv-list-col pods-dfv-list-name">\n\t\t<% if ( 0 != fieldConfig.file_edit_title ) { %>\n\t\t\t<input name="<%- htmlAttr.name %>[<%- id %>][title]" data-name-clean="<%- htmlAttr.name_clean %>-title" id="pods-form-ui-<%- htmlAttr.name_clean %>-<%- id %>-title" class="pods-form-ui-field-type-text pods-form-ui-field-name-<%- htmlAttr.name_clean %>-title" type="text" value="<%- name %>" tabindex="2" maxlength="255">\n\t\t<% } else { %>\n\t\t\t<%- name %>\n\t\t<% } %>\n\t</li>\n\t<li class="pods-dfv-list-col pods-dfv-list-actions">\n\t\t<ul>\n\t\t\t<li class="pods-dfv-list-col pods-dfv-list-remove">\n\t\t\t\t<a href="#remove" title="<%- PodsI18n.__( \'Deselect\' ) %>"><%- PodsI18n.__( \'Deselect\' ) %></a>\n\t\t\t</li>\n\t\t\t<% if ( 1 == fieldConfig.file_linked && \'\' != download ) { %>\n\t\t\t\t<li class="pods-dfv-list-col pods-dfv-list-download">\n\t\t\t\t\t<a href="<%- download %>" target="_blank" title="<%- PodsI18n.__( \'Download\' ) %>"><%- PodsI18n.__( \'Download\' ) %></a>\n\t\t\t\t</li>\n\t\t\t<% } %>\n\t\t\t<% if ( 1 == fieldConfig.file_show_edit_link && \'\' != edit_link ) { %>\n\t\t\t\t<li class="pods-dfv-list-col pods-dfv-list-edit">\n\t\t\t\t\t<a href="<%- edit_link %>" target="_blank" title="<%- PodsI18n.__( \'Edit\' ) %>"><%- PodsI18n.__( \'Edit\' ) %></a>\n\t\t\t\t</li>\n\t\t\t<% } %>\n\t\t</ul>\n\t</li>\n</ul>\n'),className:"pods-dfv-list-item",ui:{dragHandle:".pods-dfv-list-handle",editLink:".pods-dfv-list-edit-link",viewLink:".pods-dfv-list-link",downloadLink:".pods-dfv-list-download",removeButton:".pods-dfv-list-remove",itemName:".pods-dfv-list-name"},triggers:{"click @ui.removeButton":"remove:file:click"}}),p=a.extend({childViewEventPrefix:!1,tagName:"ul",className:"pods-dfv-list",childView:m,childViewTriggers:{"remove:file:click":"childview:remove:file:click"},onAttach:function(){var e=this.options.fieldModel.get("fieldConfig"),i="y";1!=e.file_limit&&("tiles"==e.file_field_template&&(i=""),this.$el.sortable({containment:"parent",axis:i,scrollSensitivity:40,tolerance:"pointer",opacity:.6}))}}),u=c.extend({childViewEventPrefix:!1,tagName:"div",template:_.template('<a class="button pods-dfv-list-add" href="#" tabindex="2"><%= fieldConfig.file_add_button %></a>'),ui:{addButton:".pods-dfv-list-add"},triggers:{"click @ui.addButton":"childview:add:file:click"}}),v=PodsMn.Object.extend({constructor:function(e){this.browseButton=e.browseButton,this.uiRegion=e.uiRegion,this.fieldConfig=e.fieldConfig,PodsMn.Object.call(this,e)}}),g=Backbone.Model.extend({defaults:{id:0,filename:"",progress:0,errorMsg:""}}),w=PodsMn.View.extend({model:g,tagName:"li",template:_.template('<ul class="pods-dfv-list-meta media-item">\n\t<% if ( \'\' === errorMsg ) { %>\n\t\t<li class="pods-dfv-list-col pods-progress"><div class="progress-bar" style="width: <%- progress %>%;"></div></li>\n\t<% } %>\n\t<li class="pods-dfv-list-col pods-dfv-list-name"><%- filename %></li>\n</ul>\n<% if ( \'\' !== errorMsg ) { %>\n\t<div class="error"><%- errorMsg %></div>\n<% } %>\n'),attributes:function(){return{class:"pods-dfv-list-item",id:this.model.get("id")}},modelEvents:{change:"onModelChanged"},onModelChanged:function(){this.render()}}),C=PodsMn.CollectionView.extend({tagName:"ul",className:"pods-dfv-list pods-dfv-list-queue",childView:w}),b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k=[v.extend({plupload:{},fileUploader:"plupload",initialize:function(){this.fieldConfig.plupload_init.browse_button=this.browseButton,this.plupload=new plupload.Uploader(this.fieldConfig.plupload_init),this.plupload.init(),this.plupload.bind("FilesAdded",this.onFilesAdded,this),this.plupload.bind("UploadProgress",this.onUploadProgress,this),this.plupload.bind("FileUploaded",this.onFileUploaded,this)},onFilesAdded:function(e,i){var t=void 0,l=void 0,n=void 0;l=new Backbone.Collection,jQuery.each(i,function(e,i){t=new g({id:i.id,filename:i.name}),l.add(t)}),(n=new C({collection:l})).render(),this.uiRegion.reset(),this.uiRegion.show(n),this.queueCollection=l,e.refresh(),e.start()},onUploadProgress:function(e,i){this.queueCollection.get(i.id).set({progress:i.percent})},onFileUploaded:function(e,i,t){var l=this.queueCollection.get(i.id),n=t.response,o=[],d=void 0;if("Error: "===t.response.substr(0,7))n=n.substr(7),window.console&&console.log(n),l.set({progress:0,errorMsg:n});else if("<e>"===t.response.substr(0,3))n=jQuery(n).text(),window.console&&console.log(n),l.set({progress:0,errorMsg:n});else{if("object"!==(void 0===(d=null!==(d=n.match(/{.*}$/))&&0<d.length?jQuery.parseJSON(d[0]):{})?"undefined":b(d))||jQuery.isEmptyObject(d))return window.console&&console.log(n),window.console&&console.log(d),void l.set({progress:0,errorMsg:PodsI18n.__("Error uploading file: ")+i.name});o={id:d.ID,icon:d.thumbnail,name:d.post_title,edit_link:d.edit_link,link:d.link,download:d.download},l.trigger("destroy",l),this.trigger("added:files",o)}}}),v.extend({mediaObject:{},fileUploader:"attachment",invoke:function(){void 0===wp.Uploader.defaults.filters.mime_types&&(wp.Uploader.defaults.filters.mime_types=[{title:PodsI18n.__("Allowed Files"),extensions:"*"}]);var e=wp.Uploader.defaults.filters.mime_types[0].extensions;wp.Uploader.defaults.filters.mime_types[0].extensions=this.fieldConfig.limit_extensions,this.mediaObject=wp.media({title:this.fieldConfig.file_modal_title,multiple:1!=this.fieldConfig.file_limit,library:{type:this.fieldConfig.limit_types},button:{text:this.fieldConfig.file_modal_add_button}}),this.mediaObject.once("select",this.onMediaSelect,this),this.mediaObject.open(),this.mediaObject.content.mode(this.fieldConfig.file_attachment_tab),wp.Uploader.defaults.filters.mime_types[0].extensions=e},onMediaSelect:function(){var e=this.mediaObject.state().get("selection"),l=[];e&&(e.each(function(e){var i=e.attributes.sizes,t=void 0;t=e.attributes.icon,void 0!==i&&(void 0!==i.thumbnail&&void 0!==i.thumbnail.url?t=i.thumbnail.url:void 0!==i.full&&void 0!==i.full.url&&(t=i.full.url)),l.push({id:e.attributes.id,icon:t,name:e.attributes.title,edit_link:e.attributes.editLink,link:e.attributes.link,download:e.attributes.url})}),this.trigger("added:files",l))}})],y=r.extend({childViewEventPrefix:!1,template:_.template('<div class="pods-ui-file-list pods-field-template-<%- fieldConfig.file_field_template %>"></div>\n<div class="pods-ui-region"></div>\n<div class="pods-ui-form"></div>\n'),regions:{list:".pods-ui-file-list",uiRegion:".pods-ui-region",form:".pods-ui-form"},childViewEvents:{"childview:remove:file:click":"onChildviewRemoveFileClick","childview:add:file:click":"onChildviewAddFileClick"},uploader:{},onBeforeRender:function(){void 0===this.collection&&(this.collection=new h(this.fieldItemData))},onRender:function(){var e=new p({collection:this.collection,fieldModel:this.model}),i=new u({fieldModel:this.model});this.showChildView("list",e),this.showChildView("form",i),this.uploader=this.createUploader(),this.listenTo(this.uploader,"added:files",this.onAddedFiles)},onChildviewRemoveFileClick:function(e){this.collection.remove(e.model)},onChildviewAddFileClick:function(){"function"==typeof this.uploader.invoke&&this.uploader.invoke()},onAddedFiles:function(e){var i=+this.model.get("fieldConfig").file_limit,t=void 0,l=void 0;(t=this.collection.clone()).add(e),l=0===i?t.models:t.filter(function(e){return t.indexOf(e)>=t.length-i}),this.collection.reset(l)},createUploader:function(){var e=this.model.get("fieldConfig"),t=e.file_uploader,l=void 0;if(jQuery.each(k,function(e,i){if(t===i.prototype.fileUploader)return l=i,!1}),void 0!==l)return this.uploader=new l({browseButton:this.getRegion("form").getEl(".pods-dfv-list-add").get(),uiRegion:this.getRegion("uiRegion"),fieldConfig:e}),this.uploader;throw"Could not locate file uploader '"+t+"'"}}),x=wp.media.view.Modal.extend({close:function(e){var i=wp.media.view.Modal.prototype.close.apply(this,e);return e&&e.escape&&window.parent.jQuery(window.parent).trigger("dfv:modal:cancel"),i}}),P=wp.media.view.Frame.extend({className:"pods-modal-frame",template:_.template('<div class="media-frame-title" /><div class="media-frame-iframe" />'),regions:["title","iframe"],initialize:function(){wp.media.view.Frame.prototype.initialize.apply(this,arguments),this.$el.addClass("wp-core-ui"),this.initState(),this.initModal(),this.on("iframe:create:default",this.iframeContent,this),this.iframe.mode("default"),this.on("title:create:default",this.createTitle,this),this.title.mode("default")},initState:function(){var e=this.options.title||PodsI18n.__("Add New Record"),i=this.options.src||"/";this.states.add([new wp.media.controller.State({id:"default",title:e,src:i})]),this.options.state="default"},initModal:function(){this.modal=new x({controller:this}),this.modal.content(this)},render:function(){return!this.state()&&this.options.state&&this.setState(this.options.state),wp.media.view.Frame.prototype.render.apply(this,arguments)},iframeContent:function(e){e.view=new wp.media.view.Iframe({controller:this})},createTitle:function(e){e.view=new wp.media.View({controller:this,tagName:"h1"})}}),S=Backbone.Model.extend({defaults:{id:0,name:"",icon:"",link:"",edit_link:"",selected:!1},toggleSelected:function(){this.set("selected",!this.get("selected"))}}),M=Backbone.Collection.extend({model:S,setSelected:function(t){this.map(function(e){var i=_.contains(t,e.get("id")+"");e.set("selected",i)})},filterBySelected:function(){var e=this.filter(function(e){return e.get("selected")});return new M(e)},filterByUnselected:function(){var e=this.filter(function(e){return!e.get("selected")});return new M(e)}}),A=Backbone.Model.extend({defaults:{view_name:"select",iframe_src:"",pick_format_type:"single",pick_show_icon:!1,pick_show_view_link:!1,pick_show_edit_link:!1}}),V=c.extend({childViewEventPrefix:!1,tagName:"li",template:_.template('<div class="pods-field pods-boolean">\n\t<input name="<%- htmlAttr.name %>" data-name-clean="<%- htmlAttr.name_clean %>" data-label="<%- fieldConfig.label %>" id="<%- htmlAttr.id %><%= ordinal %>" class="pods-form-ui-field-type-pick pods-form-ui-field-name-<%- htmlAttr.name_clean %>" type="radio"\n\t\t\t<% if ( selected ) { %>\n\t\t\t\tchecked="CHECKED"\n\t\t\t<% } %>\n\t\t\tvalue="<%- id %>" tabindex="2">\n\t<label class="pods-form-ui-label pods-form-ui-label-<%- htmlAttr.id %><%= ordinal %>" for="<%- htmlAttr.id %><%= ordinal %>">\n\t\t<%= name %>\n\t</label>\n</div>\n'),templateContext:function(){return{ordinal:this.model.collection.indexOf(this.model)+1}},modelChanged:function(){this.render()}}),j=a.extend({childViewEventPrefix:!1,tagName:"ul",className:"pods-radio",childView:V}),I=c.extend({childViewEventPrefix:!1,tagName:"li",template:_.template('<div class="pods-field pods-boolean">\n\t<input name="<%- htmlAttr.name %>[<%= ordinal %>]"\n\t\t<%= selected ? \'checked="checked"\' : \'\' %>\n\t\tdata-name-clean="<%- htmlAttr.name_clean %>" data-label="<%- fieldConfig.label %>" id="<%- htmlAttr.id %><%= ordinal %>" class="pods-form-ui-field-type-pick" type="checkbox" tabindex="2" value="<%- id %>">\n\t<label class="pods-form-ui-label" for="<%- htmlAttr.id %><%= ordinal %>">\n\t\t<%= name %>\n\t</label>\n</div>\n'),className:"pods-pick",ui:{checkbox:"input.pods-form-ui-field-type-pick"},triggers:{"click @ui.checkbox":"toggle:selected"},modelEvents:{change:"modelChanged"},templateContext:function(){return{ordinal:this.model.collection.indexOf(this.model)}},modelChanged:function(){this.render()}}),L=a.extend({childViewEventPrefix:!1,tagName:"ul",className:"pods-checkbox-view",childView:I,childViewEvents:{"toggle:selected":"onChildviewToggleSelected"},onAttach:function(){this.validateSelectionLimit()||this.selectionLimitOver()},onChildviewToggleSelected:function(e){e.model.toggleSelected(),this.validateSelectionLimit()?this.selectionLimitUnder():this.selectionLimitOver()},validateSelectionLimit:function(){var e,i;return e=+this.fieldModel.get("fieldConfig").pick_limit,i=this.collection.filterBySelected().length,0===e||i<e},selectionLimitOver:function(){this.$el.find("input:checkbox:not(:checked)").prop("disabled",!0),this.trigger("selection:limit:over",this)},selectionLimitUnder:function(){this.$el.find("input:checkbox").prop("disabled",!1),this.trigger("selection:limit:under",this)}}),N=c.extend({childViewEventPrefix:!1,tagName:"option",template:!1,initialize:function(e){this.$el.val(this.model.get("id")),this.$el.text(this.model.get("name")),this.model.get("selected")&&this.$el.prop("selected","selected")}}),E=a.extend({childViewEventPrefix:!1,tagName:"optgroup",childView:N,attributes:function(){return{label:this.model.get("label")}}}),B=PodsMn.CollectionView.extend({childViewEventPrefix:!1,tagName:"select",triggers:{change:{event:"change:selected",stopPropagation:!1}},multiLastValidSelection:[],setCollection:function(e){this.collection=e},initialize:function(e){this.fieldModel=e.fieldModel,this.fieldConfig=this.fieldModel.get("fieldConfig")},childView:function(e){return this.fieldConfig.optgroup?E:N},childViewOptions:function(e,i){var t={fieldModel:this.fieldModel};return this.fieldConfig.optgroup&&(t.collection=new M(e.get("collection"))),t},serializeData:function(){var e=this.options.fieldModel,i=this.model?this.model.toJSON():{};return i.htmlAttr=e.get("attributes"),i.fieldConfig=e.get("fieldConfig"),i},attributes:function(){var e=this.options.fieldModel,i=e.get("htmlAttr"),t=e.get("fieldConfig"),l=i.name;return"multi"===t.pick_format_type&&(l+="[]"),{name:l,class:i.class,"data-name-clean":i.name_clean,id:i.id,tabindex:"2",multiple:"multi"===t.pick_format_type}},onAttach:function(){var e=this.fieldConfig.view_name,i=this.fieldConfig.pick_format_type;"select2"===e&&this.setupSelect2(),"select"===e&&"multi"===i&&(this.multiLastValidSelection=this.$el.val()),this.validateSelectionLimit()||this.selectionLimitOver()},onChangeSelected:function(){var e=+this.fieldConfig.pick_limit,i=this.fieldConfig.view_name,t=this.fieldConfig.pick_format_type;if("select"===i&&"multi"===t&&null!==this.$el.val()&&0!==e&&e<this.$el.val().length)return this.$el.val(this.multiLastValidSelection),window.alert(PodsI18n.__("You can only select")+" "+sprintf(PodsI18n._n("%s item","%s items",e),e)),void this.trigger("childview:change:selected",this);this.collection.setSelected(this.$el.val()),this.multiLastValidSelection=this.$el.val(),this.validateSelectionLimit()?this.selectionLimitUnder():this.selectionLimitOver(),this.trigger("childview:change:selected",this)},onBeforeDetach:function(){this.$el.selectWoo("destroy")},validateSelectionLimit:function(){var e,i,t=this.fieldConfig.pick_format_type,l=this.fieldConfig.pick_format_single;return""===this.$el.val()&&"single"===t&&"dropdown"===l||(e=+this.fieldConfig.pick_limit,i=this.collection.filterBySelected().length,0===e||i<e)},selectionLimitOver:function(){var e=this.fieldConfig.view_name,i=this.fieldConfig.pick_format_type;"select"===e&&"multi"===i&&this.$el.find("option:not(:selected)").prop("disabled",!0),this.trigger("childview:selection:limit:over",this)},selectionLimitUnder:function(){var e=this.fieldConfig.view_name,i=this.fieldConfig.pick_format_type;"select"===e&&"multi"===i&&this.$el.find("option").prop("disabled",!1),this.trigger("childview:selection:limit:under",this)},filterAjaxList:function(e){var i=this.collection.filterBySelected(),t=[];return _.each(e.results,function(e){e.text=e.name,i.get(e.id)||t.push(e)}),{results:t}},setupSelect2:function(){var e,t=this,l=this.$el,i=this.options.fieldModel.get("fieldConfig"),n=i.ajax_data,o=i.select2_overrides,d=i.pick_limit,s="single"===i.pick_format_type,a=this.collection.filterBySelected().length,c=void 0;0===a&&s&&l.prepend('<option selected="selected">'),e={maximumSelectionLength:s?void 0:d,placeholder:i.limitDisable?PodsI18n.__("You can only select")+" "+sprintf(PodsI18n._n("%s item","%s items",d),d):PodsI18n.__("Search")+" "+i.label+"...",allowClear:s,disabled:i.limitDisable,tags:i.pick_taggable,escapeMarkup:function(e){return"string"!=typeof e?e:String(e).replace(/<script|<\/script/g,function(e){var i={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(e).replace(/[&<>"'\/\\]/g,function(e){return i[e]})})}},n.ajax&&jQuery.extend(e,{minimumInputLength:n.minimum_input_length,ajax:{url:ajaxurl+"?pods_ajax=1",type:"POST",dataType:"json",delay:n.delay,data:function(e){return{_wpnonce:n._wpnonce,action:"pods_relationship",method:"select2",pod:n.pod,field:n.field,uri:n.uri,id:n.id,query:e.term}},processResults:function(e,i){return t.filterAjaxList(e,i)}}}),l.selectWoo(jQuery.extend(!0,e,o)),(c=l.parent().find("ul.select2-selection__rendered")).sortable({containment:"parent"}),c.on("sortstop",function(){var e=c.find(".select2-selection__choice").get().reverse();jQuery(e).each(function(){var e=jQuery(this).data("data").id,i=l.find('option[value="'+e+'"]')[0];l.prepend(i)})})}}),O=c.extend({childViewEventPrefix:!1,tagName:"li",className:"pods-dfv-list-item pods-relationship",template:_.template('<input\n\t\t<% if ( \'single\' === fieldConfig.pick_format_type ) { %>\n\t\t\tname="<%- htmlAttr.name %>" id="<%- htmlAttr.id %>"\n\t\t<% } else { %>\n\t\t\tname="<%- htmlAttr.name %>[<%= ordinal %>]" id="<%- htmlAttr.id %><%= ordinal %>"\n\t\t<% } %>\n\t\tdata-name-clean="<%- htmlAttr.name_clean %>" type="hidden" value="<%- id %>">\n<ul class="pods-dfv-list-meta relationship-item">\n\t<% if ( 1 != fieldConfig.pick_limit ) { %>\n\t\t<li class="pods-dfv-list-col pods-dfv-list-handle"><span><%- PodsI18n.__( \'Reorder\' ) %></span></li>\n\t<% } %>\n\t<% if ( 1 == fieldConfig.pick_show_icon ) { %>\n\t\t<li class="pods-dfv-list-col pods-dfv-list-icon">\n\t\t\t<% if ( \'\' == icon ) { %>\n\t\t\t\t<% if ( /^dashicons/.test( fieldConfig.default_icon ) ) { %>\n\t\t\t\t\t<span class="pinkynail dashicons <%- fieldConfig.default_icon %>"></span>\n\t\t\t\t<% } else { %>\n\t\t\t\t\t<img class="pinkynail" src="<%- fieldConfig.default_icon %>" alt="Icon">\n\t\t\t\t<% } %>\n\t\t\t<% } else { %>\n\t\t\t\t<% if ( /^dashicons/.test( icon ) ) { %>\n\t\t\t\t\t<span class="pinkynail dashicons <%- icon %>"></span>\n\t\t\t\t<% } else { %>\n\t\t\t\t\t<img class="pinkynail" src="<%- icon %>" alt="Icon">\n\t\t\t\t<% } %>\n\t\t\t<% } %>\n\t\t</li>\n\t<% } %>\n\t<li class="pods-dfv-list-col pods-dfv-list-name">\n\t\t<%= name %>\n\t</li>\n\t<li class="pods-dfv-list-col pods-dfv-list-remove"><a href="#remove" title="<%- PodsI18n.__( \'Deselect\' ) %>"><%- PodsI18n.__( \'Deselect\' ) %></a></li>\n\t<% if ( 1 == fieldConfig.pick_show_view_link && \'\' != link ) { %>\n\t\t<li class="pods-dfv-list-col pods-dfv-list-link"><a href="<%- link %>" title="<%- PodsI18n.__( \'View\' ) %>" target="_blank"><%- PodsI18n.__( \'View\' ) %></a></li>\n\t<% } %>\n\t<% if ( 1 == fieldConfig.pick_show_edit_link && \'\' != edit_link ) { %>\n\t\t<li class="pods-dfv-list-col pods-dfv-list-edit"><a href="<%- edit_link %>" title="<%- PodsI18n.__( \'Edit\' ) %>" target="_blank"><%- PodsI18n.__( \'Edit\' ) %></a></li>\n\t<% } %>\n</ul>\n'),ui:{removeButton:".pods-dfv-list-remove a",editButton:".pods-dfv-list-edit a"},triggers:{"click @ui.removeButton":"remove:item:click","click @ui.editButton":"edit:item:click"},templateContext:function(){return{ordinal:this.model.collection.indexOf(this.model)}}}),U=a.extend({childViewEventPrefix:!1,tagName:"ul",className:"pods-dfv-list pods-relationship",childView:O,childViewTriggers:{"remove:item:click":"childview:remove:item:click","edit:item:click":"childview:edit:item:click"},filter:function(e,i,t){return e.attributes.selected},onAttach:function(){1!==this.options.fieldModel.get("fieldConfig").pick_limit&&this.$el.sortable({containment:"parent",axis:"y",scrollSensitivity:40,tolerance:"pointer",opacity:.6})}}),F="button-disabled",R=c.extend({childViewEventPrefix:!1,tagName:"div",className:"podsform-dfv-list-relationship-container",ui:{addButton:"a.pods-related-add-new"},template:_.template('<a href="/wp-admin/?pods_modal=1" class="button pods-related-add-new pods-modal" data-pod-id="<%- fieldConfig.pod_id %>" data-field-id="<%- fieldConfig.id %>" data-item-id="<%- fieldConfig.item_id %>">\n\t<%- PodsI18n.__( \'Add New\' ) %>\n</a>'),triggers:{"click @ui.addButton":"add:new:click"},disable:function(){this.getUI("addButton").addClass(F)},enable:function(){this.getUI("addButton").removeClass(F)},onAddNewClick:function(){this.getUI("addButton").hasClass(F)||this.trigger("childview:add:new",this)}}),D={checkbox:L,select:B,select2:B,radio:j,list:U},Q=void 0,$=r.extend({childViewEventPrefix:!1,template:_.template('<%if ( fieldConfig.view_name === \'list\' ) { %>\n\t<div class="pods-ui-list-autocomplete"></div>\n<% } %>\n\n<div class="pods-pick-values"></div>\n\n<% if ( fieldConfig.iframe_src != \'\' ) { %>\n\t<div class="pods-ui-add-new"></div>\n<% } %>'),regions:{autocomplete:".pods-ui-list-autocomplete",list:".pods-pick-values",addNew:".pods-ui-add-new"},childViewEvents:{"childview:remove:item:click":"onChildviewRemoveItemClick","childview:edit:item:click":"onChildviewEditItemClick","childview:selection:limit:over":"onChildviewSelectionLimitOver","childview:selection:limit:under":"onChildviewSelectionLimitUnder","childview:change:selected":"onChildviewChangeSelected","childview:add:new":"onChildviewAddNew"},onBeforeRender:function(){void 0===this.collection&&(this.collection=new M(this.fieldItemData))},onRender:function(){this.fieldConfig=new A(this.model.get("fieldConfig")),""!==this.fieldConfig.get("iframe_src")&&1==this.fieldConfig.get("pick_allow_add_new")&&this.showAddNew(),"list"===this.fieldConfig.get("view_name")&&this.buildAutocomplete(),this.showList()},buildAutocomplete:function(){var e,i,t=void 0,l=void 0,n=+this.fieldConfig.get("pick_limit");t={view_name:"select2",pick_format_type:"multi",selectFromExisting:!0,ajax_data:this.fieldConfig.get("ajax_data"),select2_overrides:this.fieldConfig.get("select2_overrides"),label:this.fieldConfig.get("label"),pick_limit:n},this.collection.filterBySelected().length>=n&&0!==n?(t.limitDisable=!0,this.onChildviewSelectionLimitOver()):this.onChildviewSelectionLimitUnder(),e=new o({fieldConfig:t}),i=this.collection.filterByUnselected(),(l=new B({collection:i,fieldModel:e})).filterAjaxList=this.filterAjaxList.bind(this),this.showChildView("autocomplete",l)},showList:function(){var e,i;if(e=this.fieldConfig.get("view_name"),void 0===D[e])throw new Error('Invalid view name "'+e+'"');i=new D[e]({collection:this.collection,fieldModel:this.model}),this.showChildView("list",i)},showAddNew:function(){var e=new R({fieldModel:this.model});this.showChildView("addNew",e)},filterAjaxList:function(e){var i=this.collection.filterBySelected(),t=[];return _.each(e.results,function(e){e.text=e.name,i.get(e.id)||t.push(e)}),this.collection.add(t),this.getChildView("autocomplete").setCollection(this.collection.filterByUnselected()),{results:t}},onChildviewSelectionLimitOver:function(e){var i=this.getChildView("addNew");i&&i.disable()},onChildviewSelectionLimitUnder:function(e){var i=this.getChildView("addNew");i&&i.enable()},onChildviewRemoveItemClick:function(e){e.model.toggleSelected(),this.getChildView("list").render(),"list"===this.fieldConfig.get("view_name")&&this.buildAutocomplete()},onChildviewAddNew:function(e){var i=this.model.get("fieldConfig");Q=new P({title:i.iframe_title_add,src:i.iframe_src}),this.setModalListeners(),Q.modal.open()},onChildviewEditItemClick:function(e){var i=this.model.get("fieldConfig");Q=new P({title:i.iframe_title_edit,src:e.ui.editButton.attr("href")}),this.setModalListeners(),Q.modal.open()},onChildviewChangeSelected:function(e){e.fieldConfig.selectFromExisting&&(_.defer(this.buildAutocomplete.bind(this)),this.getChildView("list").render())},setModalListeners:function(){jQuery(window).on("dfv:modal:update",this.modalSuccess.bind(this)),jQuery(window).on("dfv:modal:cancel",this.modalCancel.bind(this))},clearModalListeners:function(){jQuery(window).off("dfv:modal:update"),jQuery(window).off("dfv:modal:cancel")},modalSuccess:function(e,i){var t=this.collection.get(i.id);t?(t.set(i),this.getChildView("list").render()):this.collection.add(i),this.clearModalListeners(),Q.modal.close({})},modalCancel:function(){this.clearModalListeners()}}),z={file:y,avatar:y,pick:$},T={fields:Object.freeze({FileUpload:y,Pick:$}),models:Object.freeze({PodsDFVFieldModel:o,RelationshipModel:S,RelationshipCollection:M,FileUploadModel:f,FileUploadCollection:h}),fieldInstances:{},init:function(){var l=this;jQuery(".pods-form-ui-field").each(function(){var e=void 0,i=void 0,t={fieldType:void 0};jQuery(this).find("script.pods-dfv-field-data").each(function(){var e=jQuery.parseJSON(jQuery(this).html());jQuery(this).parents(".media-modal-content").length&&(e.fieldConfig.pick_allow_add_new=0),jQuery.extend(t,e),jQuery(this).remove()}),void 0!==t.fieldType&&void 0!==(e=z[t.fieldType])&&((i=new e({el:this,model:new o({htmlAttr:t.htmlAttr,fieldConfig:t.fieldConfig}),fieldItemData:t.fieldItemData})).render(),jQuery(this).trigger("render"),l.fieldInstances[t.htmlAttr.id]=i)})},isModalWindow:function(){return-1!==location.search.indexOf("pods_modal=")},isGutenbergEditorLoaded:function(){return void 0!==wp.data&&void 0!==wp.data.select("core/editor")}};return document.addEventListener("DOMContentLoaded",function(){T.init(),T.isModalWindow()&&T.isGutenbergEditorLoaded()&&i()}),T}();
|
2 |
-
//# sourceMappingURL=pods-dfv.min.js.map
|
1 |
+
var PodsDFV=function(){"use strict";var o=Backbone.Model.extend({defaults:{htmlAttr:{},fieldConfig:{}}}),n=wp.data&&wp.data.select("core/editor"),e=void 0,i=function(){e=n.isCurrentPostPublished()?wp.data.subscribe(d):wp.data.subscribe(l)};function t(){var e=n.getCurrentPostAttribute("featured_media"),i="";if(!e)return i;var t=wp.data.select("core").getMedia(e);if(t){var l=wp.hooks.applyFilters("editor.PostFeaturedImage.imageSize","post-thumbnail","");i=t.media_details&&t.media_details.sizes&&t.media_details.sizes[l]?t.media_details.sizes[l].source_url:t.source_url}return i}function l(){n.isCurrentPostPublished()&&(e(),s({icon:t(),link:n.getPermalink(),edit_link:"post.php?post="+n.getCurrentPostId()+"&action=edit&pods_modal=1",selected:!0}))}function d(){d.wasSaving?n.isSavingPost()||(d.wasSaving=!1,n.didPostSaveRequestSucceed()&&(e(),s({icon:t()}))):d.wasSaving=!(!n.isSavingPost()||n.isAutosavingPost())}function s(e){var i={id:n.getCurrentPostId(),name:n.getCurrentPostAttribute("title")},t=Object.assign(i,e);window.parent.jQuery(window.parent).trigger("dfv:modal:update",t)}var a=PodsMn.CollectionView.extend({childViewEventPrefix:!1,initialize:function(e){this.fieldModel=e.fieldModel,this.childViewOptions={fieldModel:e.fieldModel}}}),r=PodsMn.View.extend({childViewEventPrefix:!1,serializeData:function(){var e=this.options.fieldModel,i=this.model?this.model.toJSON():{};return i.htmlAttr=e.get("htmlAttr"),i.fieldConfig=e.get("fieldConfig"),i}}),c=PodsMn.View.extend({childViewEventPrefix:!1,initialize:function(e){this.fieldItemData=e.fieldItemData}}),f=Backbone.Model.extend({defaults:{id:0,icon:"",name:"",edit_link:"",link:"",download:""}}),h=Backbone.Collection.extend({model:f}),m=r.extend({childViewEventPrefix:!1,tagName:"li",template:_.template('<input name="<%- htmlAttr.name %>[<%- id %>][id]" data-name-clean="<%- htmlAttr.name_clean %>-id" id="<%- htmlAttr.id %>-<%- id %>-id" class="<%- htmlAttr.class %>" type="hidden" value="<%- id %>">\r\n<ul class="pods-dfv-list-meta media-item">\r\n\t<% if ( 1 != fieldConfig.file_limit ) { %>\r\n\t\t<li class="pods-dfv-list-col pods-dfv-list-handle"><span><%- PodsI18n.__( \'Reorder\' ) %></span></li>\r\n\t<% } %>\r\n\t<li class="pods-dfv-list-col pods-dfv-list-icon"><img class="pinkynail" src="<%- icon %>" alt="<%- PodsI18n.__( \'Icon\' ) %>"></li>\r\n\t<li class="pods-dfv-list-col pods-dfv-list-name">\r\n\t\t<% if ( 0 != fieldConfig.file_edit_title ) { %>\r\n\t\t\t<input name="<%- htmlAttr.name %>[<%- id %>][title]" data-name-clean="<%- htmlAttr.name_clean %>-title" id="pods-form-ui-<%- htmlAttr.name_clean %>-<%- id %>-title" class="pods-form-ui-field-type-text pods-form-ui-field-name-<%- htmlAttr.name_clean %>-title" type="text" value="<%- name %>" tabindex="2" maxlength="255">\r\n\t\t<% } else { %>\r\n\t\t\t<%- name %>\r\n\t\t<% } %>\r\n\t</li>\r\n\t<li class="pods-dfv-list-col pods-dfv-list-actions">\r\n\t\t<ul>\r\n\t\t\t<li class="pods-dfv-list-col pods-dfv-list-remove">\r\n\t\t\t\t<a href="#remove" title="<%- PodsI18n.__( \'Deselect\' ) %>"><%- PodsI18n.__( \'Deselect\' ) %></a>\r\n\t\t\t</li>\r\n\t\t\t<% if ( 1 == fieldConfig.file_linked && \'\' != download ) { %>\r\n\t\t\t\t<li class="pods-dfv-list-col pods-dfv-list-download">\r\n\t\t\t\t\t<a href="<%- download %>" target="_blank" rel="noopener noreferrer" title="<%- PodsI18n.__( \'Download\' ) %>"><%- PodsI18n.__( \'Download\' ) %></a>\r\n\t\t\t\t</li>\r\n\t\t\t<% } %>\r\n\t\t\t<% if ( 1 == fieldConfig.file_show_edit_link && \'\' != edit_link ) { %>\r\n\t\t\t\t<li class="pods-dfv-list-col pods-dfv-list-edit">\r\n\t\t\t\t\t<a href="<%- edit_link %>" target="_blank" rel="noopener noreferrer" title="<%- PodsI18n.__( \'Edit\' ) %>"><%- PodsI18n.__( \'Edit\' ) %></a>\r\n\t\t\t\t</li>\r\n\t\t\t<% } %>\r\n\t\t</ul>\r\n\t</li>\r\n</ul>\r\n'),className:"pods-dfv-list-item",ui:{dragHandle:".pods-dfv-list-handle",editLink:".pods-dfv-list-edit-link",viewLink:".pods-dfv-list-link",downloadLink:".pods-dfv-list-download",removeButton:".pods-dfv-list-remove",itemName:".pods-dfv-list-name"},triggers:{"click @ui.removeButton":"remove:file:click"}}),p=a.extend({childViewEventPrefix:!1,tagName:"ul",className:"pods-dfv-list",childView:m,childViewTriggers:{"remove:file:click":"childview:remove:file:click"},onAttach:function(){var e=this.options.fieldModel.get("fieldConfig"),i="y";1!=e.file_limit&&("tiles"==e.file_field_template&&(i=""),this.$el.sortable({containment:"parent",axis:i,scrollSensitivity:40,tolerance:"pointer",opacity:.6}))}}),u=r.extend({childViewEventPrefix:!1,tagName:"div",template:_.template('<a class="button pods-dfv-list-add" href="#" tabindex="2"><%= fieldConfig.file_add_button %></a>'),ui:{addButton:".pods-dfv-list-add"},triggers:{"click @ui.addButton":"childview:add:file:click"}}),v=PodsMn.Object.extend({constructor:function(e){this.browseButton=e.browseButton,this.uiRegion=e.uiRegion,this.fieldConfig=e.fieldConfig,PodsMn.Object.call(this,e)}}),g=Backbone.Model.extend({defaults:{id:0,filename:"",progress:0,errorMsg:""}}),w=PodsMn.View.extend({model:g,tagName:"li",template:_.template('<ul class="pods-dfv-list-meta media-item">\r\n\t<% if ( \'\' === errorMsg ) { %>\r\n\t\t<li class="pods-dfv-list-col pods-progress"><div class="progress-bar" style="width: <%- progress %>%;"></div></li>\r\n\t<% } %>\r\n\t<li class="pods-dfv-list-col pods-dfv-list-name"><%- filename %></li>\r\n</ul>\r\n<% if ( \'\' !== errorMsg ) { %>\r\n\t<div class="error"><%- errorMsg %></div>\r\n<% } %>\r\n'),attributes:function(){return{class:"pods-dfv-list-item",id:this.model.get("id")}},modelEvents:{change:"onModelChanged"},onModelChanged:function(){this.render()}}),C=PodsMn.CollectionView.extend({tagName:"ul",className:"pods-dfv-list pods-dfv-list-queue",childView:w}),b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k=[v.extend({plupload:{},fileUploader:"plupload",initialize:function(){this.fieldConfig.plupload_init.browse_button=this.browseButton,this.plupload=new plupload.Uploader(this.fieldConfig.plupload_init),this.plupload.init(),this.plupload.bind("FilesAdded",this.onFilesAdded,this),this.plupload.bind("UploadProgress",this.onUploadProgress,this),this.plupload.bind("FileUploaded",this.onFileUploaded,this)},onFilesAdded:function(e,i){var t=void 0,l=void 0,n=void 0;l=new Backbone.Collection,jQuery.each(i,function(e,i){t=new g({id:i.id,filename:i.name}),l.add(t)}),(n=new C({collection:l})).render(),this.uiRegion.reset(),this.uiRegion.show(n),this.queueCollection=l,e.refresh(),e.start()},onUploadProgress:function(e,i){this.queueCollection.get(i.id).set({progress:i.percent})},onFileUploaded:function(e,i,t){var l=this.queueCollection.get(i.id),n=t.response,o=[],d=void 0;if("Error: "===t.response.substr(0,7))n=n.substr(7),window.console&&console.log(n),l.set({progress:0,errorMsg:n});else if("<e>"===t.response.substr(0,3))n=jQuery(n).text(),window.console&&console.log(n),l.set({progress:0,errorMsg:n});else{if("object"!==(void 0===(d=null!==(d=n.match(/{.*}$/))&&0<d.length?jQuery.parseJSON(d[0]):{})?"undefined":b(d))||jQuery.isEmptyObject(d))return window.console&&console.log(n),window.console&&console.log(d),void l.set({progress:0,errorMsg:PodsI18n.__("Error uploading file: ")+i.name});o={id:d.ID,icon:d.thumbnail,name:d.post_title,edit_link:d.edit_link,link:d.link,download:d.download},l.trigger("destroy",l),this.trigger("added:files",o)}}}),v.extend({mediaObject:{},fileUploader:"attachment",invoke:function(){void 0===wp.Uploader.defaults.filters.mime_types&&(wp.Uploader.defaults.filters.mime_types=[{title:PodsI18n.__("Allowed Files"),extensions:"*"}]);var e=wp.Uploader.defaults.filters.mime_types[0].extensions;wp.Uploader.defaults.filters.mime_types[0].extensions=this.fieldConfig.limit_extensions,this.mediaObject=wp.media({title:this.fieldConfig.file_modal_title,multiple:1!=this.fieldConfig.file_limit,library:{type:this.fieldConfig.limit_types},button:{text:this.fieldConfig.file_modal_add_button}}),this.mediaObject.once("select",this.onMediaSelect,this),this.mediaObject.open(),this.mediaObject.content.mode(this.fieldConfig.file_attachment_tab),wp.Uploader.defaults.filters.mime_types[0].extensions=e},onMediaSelect:function(){var e=this.mediaObject.state().get("selection"),l=[];e&&(e.each(function(e){var i=e.attributes.sizes,t=void 0;t=e.attributes.icon,void 0!==i&&(void 0!==i.thumbnail&&void 0!==i.thumbnail.url?t=i.thumbnail.url:void 0!==i.full&&void 0!==i.full.url&&(t=i.full.url)),l.push({id:e.attributes.id,icon:t,name:e.attributes.title,edit_link:e.attributes.editLink,link:e.attributes.link,download:e.attributes.url})}),this.trigger("added:files",l))}})],y=c.extend({childViewEventPrefix:!1,template:_.template('<div class="pods-ui-file-list pods-field-template-<%- fieldConfig.file_field_template %>"></div>\r\n<div class="pods-ui-region"></div>\r\n<div class="pods-ui-form"></div>\r\n'),regions:{list:".pods-ui-file-list",uiRegion:".pods-ui-region",form:".pods-ui-form"},childViewEvents:{"childview:remove:file:click":"onChildviewRemoveFileClick","childview:add:file:click":"onChildviewAddFileClick"},uploader:{},onBeforeRender:function(){void 0===this.collection&&(this.collection=new h(this.fieldItemData))},onRender:function(){var e=new p({collection:this.collection,fieldModel:this.model}),i=new u({fieldModel:this.model});this.showChildView("list",e),this.showChildView("form",i),this.uploader=this.createUploader(),this.listenTo(this.uploader,"added:files",this.onAddedFiles)},onChildviewRemoveFileClick:function(e){this.collection.remove(e.model)},onChildviewAddFileClick:function(){"function"==typeof this.uploader.invoke&&this.uploader.invoke()},onAddedFiles:function(e){var i=+this.model.get("fieldConfig").file_limit,t=void 0,l=void 0;(t=this.collection.clone()).add(e),l=0===i?t.models:t.filter(function(e){return t.indexOf(e)>=t.length-i}),this.collection.reset(l)},createUploader:function(){var e=this.model.get("fieldConfig"),t=e.file_uploader,l=void 0;if(jQuery.each(k,function(e,i){if(t===i.prototype.fileUploader)return l=i,!1}),void 0!==l)return this.uploader=new l({browseButton:this.getRegion("form").getEl(".pods-dfv-list-add").get(),uiRegion:this.getRegion("uiRegion"),fieldConfig:e}),this.uploader;throw"Could not locate file uploader '"+t+"'"}}),x=wp.media.view.Modal.extend({close:function(e){var i=wp.media.view.Modal.prototype.close.apply(this,e);return e&&e.escape&&window.parent.jQuery(window.parent).trigger("dfv:modal:cancel"),i}}),P=wp.media.view.Frame.extend({className:"pods-modal-frame",template:_.template('<div class="media-frame-title" /><div class="media-frame-iframe" />'),regions:["title","iframe"],initialize:function(){wp.media.view.Frame.prototype.initialize.apply(this,arguments),this.$el.addClass("wp-core-ui"),this.initState(),this.initModal(),this.on("iframe:create:default",this.iframeContent,this),this.iframe.mode("default"),this.on("title:create:default",this.createTitle,this),this.title.mode("default")},initState:function(){var e=this.options.title||PodsI18n.__("Add New Record"),i=this.options.src||"/";this.states.add([new wp.media.controller.State({id:"default",title:e,src:i})]),this.options.state="default"},initModal:function(){this.modal=new x({controller:this}),this.modal.content(this)},render:function(){return!this.state()&&this.options.state&&this.setState(this.options.state),wp.media.view.Frame.prototype.render.apply(this,arguments)},iframeContent:function(e){e.view=new wp.media.view.Iframe({controller:this})},createTitle:function(e){e.view=new wp.media.View({controller:this,tagName:"h1"})}}),S=Backbone.Model.extend({defaults:{id:0,name:"",icon:"",link:"",edit_link:"",selected:!1},toggleSelected:function(){this.set("selected",!this.get("selected"))}}),M=Backbone.Collection.extend({model:S,setSelected:function(t){this.map(function(e){var i=_.contains(t,e.get("id")+"");e.set("selected",i)})},filterBySelected:function(){var e=this.filter(function(e){return e.get("selected")});return new M(e)},filterByUnselected:function(){var e=this.filter(function(e){return!e.get("selected")});return new M(e)}}),A=Backbone.Model.extend({defaults:{view_name:"select",iframe_src:"",pick_format_type:"single",pick_show_icon:!1,pick_show_view_link:!1,pick_show_edit_link:!1}}),V=r.extend({childViewEventPrefix:!1,tagName:"li",template:_.template('<div class="pods-field pods-boolean">\r\n\t<input name="<%- htmlAttr.name %>" data-name-clean="<%- htmlAttr.name_clean %>" data-label="<%- fieldConfig.label %>" id="<%- htmlAttr.id %><%= ordinal %>" class="pods-form-ui-field-type-pick pods-form-ui-field-name-<%- htmlAttr.name_clean %>" type="radio"\r\n\t\t\t<% if ( selected ) { %>\r\n\t\t\t\tchecked="CHECKED"\r\n\t\t\t<% } %>\r\n\t\t\tvalue="<%- id %>" tabindex="2">\r\n\t<label class="pods-form-ui-label pods-form-ui-label-<%- htmlAttr.id %><%= ordinal %>" for="<%- htmlAttr.id %><%= ordinal %>">\r\n\t\t<%= name %>\r\n\t</label>\r\n</div>\r\n'),templateContext:function(){return{ordinal:this.model.collection.indexOf(this.model)+1}},modelChanged:function(){this.render()}}),j=a.extend({childViewEventPrefix:!1,tagName:"ul",className:"pods-radio",childView:V}),L=r.extend({childViewEventPrefix:!1,tagName:"li",template:_.template('<div class="pods-field pods-boolean">\r\n\t<input name="<%- htmlAttr.name %>[<%= ordinal %>]"\r\n\t\t<%= selected ? \'checked="checked"\' : \'\' %>\r\n\t\tdata-name-clean="<%- htmlAttr.name_clean %>" data-label="<%- fieldConfig.label %>" id="<%- htmlAttr.id %><%= ordinal %>" class="pods-form-ui-field-type-pick" type="checkbox" tabindex="2" value="<%- id %>">\r\n\t<label class="pods-form-ui-label" for="<%- htmlAttr.id %><%= ordinal %>">\r\n\t\t<%= name %>\r\n\t</label>\r\n</div>\r\n'),className:"pods-pick",ui:{checkbox:"input.pods-form-ui-field-type-pick"},triggers:{"click @ui.checkbox":"toggle:selected"},modelEvents:{change:"modelChanged"},templateContext:function(){return{ordinal:this.model.collection.indexOf(this.model)}},modelChanged:function(){this.render()}}),I=a.extend({childViewEventPrefix:!1,tagName:"ul",className:"pods-checkbox-view",childView:L,childViewEvents:{"toggle:selected":"onChildviewToggleSelected"},onAttach:function(){this.validateSelectionLimit()||this.selectionLimitOver()},onChildviewToggleSelected:function(e){e.model.toggleSelected(),this.validateSelectionLimit()?this.selectionLimitUnder():this.selectionLimitOver()},validateSelectionLimit:function(){var e,i;return e=+this.fieldModel.get("fieldConfig").pick_limit,i=this.collection.filterBySelected().length,0===e||i<e},selectionLimitOver:function(){this.$el.find("input:checkbox:not(:checked)").prop("disabled",!0),this.trigger("selection:limit:over",this)},selectionLimitUnder:function(){this.$el.find("input:checkbox").prop("disabled",!1),this.trigger("selection:limit:under",this)}}),N=r.extend({childViewEventPrefix:!1,tagName:"option",template:!1,initialize:function(e){this.$el.val(this.model.get("id")),this.$el.text(this.model.get("name")),this.model.get("selected")&&this.$el.prop("selected","selected")}}),E=a.extend({childViewEventPrefix:!1,tagName:"optgroup",childView:N,attributes:function(){return{label:this.model.get("label")}}}),B=PodsMn.CollectionView.extend({childViewEventPrefix:!1,tagName:"select",triggers:{change:{event:"change:selected",stopPropagation:!1}},multiLastValidSelection:[],setCollection:function(e){this.collection=e},initialize:function(e){this.fieldModel=e.fieldModel,this.fieldConfig=this.fieldModel.get("fieldConfig")},childView:function(e){return this.fieldConfig.optgroup?E:N},childViewOptions:function(e,i){var t={fieldModel:this.fieldModel};return this.fieldConfig.optgroup&&(t.collection=new M(e.get("collection"))),t},serializeData:function(){var e=this.options.fieldModel,i=this.model?this.model.toJSON():{};return i.htmlAttr=e.get("attributes"),i.fieldConfig=e.get("fieldConfig"),i},attributes:function(){var e=this.options.fieldModel,i=e.get("htmlAttr"),t=e.get("fieldConfig"),l=i.name;return"multi"===t.pick_format_type&&(l+="[]"),{name:l,class:i.class,"data-name-clean":i.name_clean,id:i.id,tabindex:"2",multiple:"multi"===t.pick_format_type}},onAttach:function(){var e=this.fieldConfig.view_name,i=this.fieldConfig.pick_format_type;"select2"===e&&this.setupSelect2(),"select"===e&&"multi"===i&&(this.multiLastValidSelection=this.$el.val()),this.validateSelectionLimit()||this.selectionLimitOver()},onChangeSelected:function(){var e=+this.fieldConfig.pick_limit,i=this.fieldConfig.view_name,t=this.fieldConfig.pick_format_type;if("select"===i&&"multi"===t&&null!==this.$el.val()&&0!==e&&e<this.$el.val().length)return this.$el.val(this.multiLastValidSelection),window.alert(PodsI18n.__("You can only select")+" "+sprintf(PodsI18n._n("%s item","%s items",e),e)),void this.trigger("childview:change:selected",this);this.collection.setSelected(this.$el.val()),this.multiLastValidSelection=this.$el.val(),this.validateSelectionLimit()?this.selectionLimitUnder():this.selectionLimitOver(),this.trigger("childview:change:selected",this)},onBeforeDetach:function(){this.$el.selectWoo("destroy")},validateSelectionLimit:function(){var e,i,t=this.fieldConfig.pick_format_type,l=this.fieldConfig.pick_format_single;return""===this.$el.val()&&"single"===t&&"dropdown"===l||(e=+this.fieldConfig.pick_limit,i=this.collection.filterBySelected().length,0===e||i<e)},selectionLimitOver:function(){var e=this.fieldConfig.view_name,i=this.fieldConfig.pick_format_type;"select"===e&&"multi"===i&&this.$el.find("option:not(:selected)").prop("disabled",!0),this.trigger("childview:selection:limit:over",this)},selectionLimitUnder:function(){var e=this.fieldConfig.view_name,i=this.fieldConfig.pick_format_type;"select"===e&&"multi"===i&&this.$el.find("option").prop("disabled",!1),this.trigger("childview:selection:limit:under",this)},filterAjaxList:function(e){var i=this.collection.filterBySelected(),t=[];return _.each(e.results,function(e){e.text=e.name,i.get(e.id)||t.push(e)}),{results:t}},setupSelect2:function(){var e,t=this,l=this.$el,i=this.options.fieldModel.get("fieldConfig"),n=i.ajax_data,o=i.select2_overrides,d=i.pick_limit,s="single"===i.pick_format_type,a=this.collection.filterBySelected().length,r=void 0;0===a&&s&&l.prepend('<option selected="selected">'),e={maximumSelectionLength:s?void 0:d,placeholder:i.limitDisable?""+sprintf(PodsI18n._n("You can only select %s item","You can only select %s items",d),d):sprintf(PodsI18n.__("Search %s"),i.label)+"...",allowClear:s,disabled:i.limitDisable,tags:i.pick_taggable,escapeMarkup:function(e){return"string"!=typeof e?e:String(e).replace(/<script|<\/script/g,function(e){var i={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(e).replace(/[&<>"'\/\\]/g,function(e){return i[e]})})}},n.ajax&&jQuery.extend(e,{minimumInputLength:n.minimum_input_length,ajax:{url:ajaxurl+"?pods_ajax=1",type:"POST",dataType:"json",delay:n.delay,data:function(e){return{_wpnonce:n._wpnonce,action:"pods_relationship",method:"select2",pod:n.pod,field:n.field,uri:n.uri,id:n.id,query:e.term}},processResults:function(e,i){return t.filterAjaxList(e,i)}}}),l.selectWoo(jQuery.extend(!0,e,o)),(r=l.parent().find("ul.select2-selection__rendered")).sortable({containment:"parent"}),r.on("sortstop",function(){var e=r.find(".select2-selection__choice").get().reverse();jQuery(e).each(function(){var e=jQuery(this).data("data").id,i=l.find('option[value="'+e+'"]')[0];l.prepend(i)})})}}),O=r.extend({childViewEventPrefix:!1,tagName:"li",className:"pods-dfv-list-item pods-relationship",template:_.template('<input\r\n\t\t<% if ( \'single\' === fieldConfig.pick_format_type ) { %>\r\n\t\t\tname="<%- htmlAttr.name %>" id="<%- htmlAttr.id %>"\r\n\t\t<% } else { %>\r\n\t\t\tname="<%- htmlAttr.name %>[<%= ordinal %>]" id="<%- htmlAttr.id %><%= ordinal %>"\r\n\t\t<% } %>\r\n\t\tdata-name-clean="<%- htmlAttr.name_clean %>" type="hidden" value="<%- id %>">\r\n<ul class="pods-dfv-list-meta relationship-item">\r\n\t<% if ( 1 != fieldConfig.pick_limit ) { %>\r\n\t\t<li class="pods-dfv-list-col pods-dfv-list-handle"><span><%- PodsI18n.__( \'Reorder\' ) %></span></li>\r\n\t<% } %>\r\n\t<% if ( 1 == fieldConfig.pick_show_icon ) { %>\r\n\t\t<li class="pods-dfv-list-col pods-dfv-list-icon">\r\n\t\t\t<% if ( \'\' == icon ) { %>\r\n\t\t\t\t<% if ( /^dashicons/.test( fieldConfig.default_icon ) ) { %>\r\n\t\t\t\t\t<span class="pinkynail dashicons <%- fieldConfig.default_icon %>"></span>\r\n\t\t\t\t<% } else { %>\r\n\t\t\t\t\t<img class="pinkynail" src="<%- fieldConfig.default_icon %>" alt="Icon">\r\n\t\t\t\t<% } %>\r\n\t\t\t<% } else { %>\r\n\t\t\t\t<% if ( /^dashicons/.test( icon ) ) { %>\r\n\t\t\t\t\t<span class="pinkynail dashicons <%- icon %>"></span>\r\n\t\t\t\t<% } else { %>\r\n\t\t\t\t\t<img class="pinkynail" src="<%- icon %>" alt="Icon">\r\n\t\t\t\t<% } %>\r\n\t\t\t<% } %>\r\n\t\t</li>\r\n\t<% } %>\r\n\t<li class="pods-dfv-list-col pods-dfv-list-name">\r\n\t\t<%= name %>\r\n\t</li>\r\n\t<li class="pods-dfv-list-col pods-dfv-list-remove"><a href="#remove" title="<%- PodsI18n.__( \'Deselect\' ) %>"><%- PodsI18n.__( \'Deselect\' ) %></a></li>\r\n\t<% if ( 1 == fieldConfig.pick_show_view_link && \'\' != link ) { %>\r\n\t\t<li class="pods-dfv-list-col pods-dfv-list-link"><a href="<%- link %>" title="<%- PodsI18n.__( \'View\' ) %>" target="_blank" rel="noopener noreferrer"><%- PodsI18n.__( \'View\' ) %></a></li>\r\n\t<% } %>\r\n\t<% if ( 1 == fieldConfig.pick_show_edit_link && \'\' != edit_link ) { %>\r\n\t\t<li class="pods-dfv-list-col pods-dfv-list-edit"><a href="<%- edit_link %>" title="<%- PodsI18n.__( \'Edit\' ) %>" target="_blank" rel="noopener noreferrer"><%- PodsI18n.__( \'Edit\' ) %></a></li>\r\n\t<% } %>\r\n</ul>\r\n'),ui:{removeButton:".pods-dfv-list-remove a",editButton:".pods-dfv-list-edit a"},triggers:{"click @ui.removeButton":"remove:item:click","click @ui.editButton":"edit:item:click"},templateContext:function(){return{ordinal:this.model.collection.indexOf(this.model)}}}),U=a.extend({childViewEventPrefix:!1,tagName:"ul",className:"pods-dfv-list pods-relationship",childView:O,childViewTriggers:{"remove:item:click":"childview:remove:item:click","edit:item:click":"childview:edit:item:click"},filter:function(e,i,t){return e.attributes.selected},onAttach:function(){1!==this.options.fieldModel.get("fieldConfig").pick_limit&&this.$el.sortable({containment:"parent",axis:"y",scrollSensitivity:40,tolerance:"pointer",opacity:.6})}}),F="button-disabled",R=r.extend({childViewEventPrefix:!1,tagName:"div",className:"podsform-dfv-list-relationship-container",ui:{addButton:"a.pods-related-add-new"},template:_.template('<a href="/wp-admin/?pods_modal=1" class="button pods-related-add-new pods-modal" data-pod-id="<%- fieldConfig.pod_id %>" data-field-id="<%- fieldConfig.id %>" data-item-id="<%- fieldConfig.item_id %>">\r\n\t<%- PodsI18n.__( \'Add New\' ) %>\r\n</a>'),triggers:{"click @ui.addButton":"add:new:click"},disable:function(){this.getUI("addButton").addClass(F)},enable:function(){this.getUI("addButton").removeClass(F)},onAddNewClick:function(){this.getUI("addButton").hasClass(F)||this.trigger("childview:add:new",this)}}),D={checkbox:I,select:B,select2:B,radio:j,list:U},Q=void 0,$=c.extend({childViewEventPrefix:!1,template:_.template('<%if ( fieldConfig.view_name === \'list\' ) { %>\r\n\t<div class="pods-ui-list-autocomplete"></div>\r\n<% } %>\r\n\r\n<div class="pods-pick-values"></div>\r\n\r\n<% if ( fieldConfig.iframe_src != \'\' ) { %>\r\n\t<div class="pods-ui-add-new"></div>\r\n<% } %>'),regions:{autocomplete:".pods-ui-list-autocomplete",list:".pods-pick-values",addNew:".pods-ui-add-new"},childViewEvents:{"childview:remove:item:click":"onChildviewRemoveItemClick","childview:edit:item:click":"onChildviewEditItemClick","childview:selection:limit:over":"onChildviewSelectionLimitOver","childview:selection:limit:under":"onChildviewSelectionLimitUnder","childview:change:selected":"onChildviewChangeSelected","childview:add:new":"onChildviewAddNew"},onBeforeRender:function(){void 0===this.collection&&(this.collection=new M(this.fieldItemData))},onRender:function(){this.fieldConfig=new A(this.model.get("fieldConfig")),""!==this.fieldConfig.get("iframe_src")&&1==this.fieldConfig.get("pick_allow_add_new")&&this.showAddNew(),"list"===this.fieldConfig.get("view_name")&&this.buildAutocomplete(),this.showList()},buildAutocomplete:function(){var e,i,t=void 0,l=void 0,n=+this.fieldConfig.get("pick_limit");t={view_name:"select2",pick_format_type:"multi",selectFromExisting:!0,ajax_data:this.fieldConfig.get("ajax_data"),select2_overrides:this.fieldConfig.get("select2_overrides"),label:this.fieldConfig.get("label"),pick_limit:n},this.collection.filterBySelected().length>=n&&0!==n?(t.limitDisable=!0,this.onChildviewSelectionLimitOver()):this.onChildviewSelectionLimitUnder(),e=new o({fieldConfig:t}),i=this.collection.filterByUnselected(),(l=new B({collection:i,fieldModel:e})).filterAjaxList=this.filterAjaxList.bind(this),this.showChildView("autocomplete",l)},showList:function(){var e,i;if(e=this.fieldConfig.get("view_name"),void 0===D[e])throw new Error('Invalid view name "'+e+'"');i=new D[e]({collection:this.collection,fieldModel:this.model}),this.showChildView("list",i)},showAddNew:function(){var e=new R({fieldModel:this.model});this.showChildView("addNew",e)},filterAjaxList:function(e){var i=this.collection.filterBySelected(),t=[];return _.each(e.results,function(e){e.text=e.name,i.get(e.id)||t.push(e)}),this.collection.add(t),this.getChildView("autocomplete").setCollection(this.collection.filterByUnselected()),{results:t}},onChildviewSelectionLimitOver:function(e){var i=this.getChildView("addNew");i&&i.disable()},onChildviewSelectionLimitUnder:function(e){var i=this.getChildView("addNew");i&&i.enable()},onChildviewRemoveItemClick:function(e){e.model.toggleSelected(),this.getChildView("list").render(),"list"===this.fieldConfig.get("view_name")&&this.buildAutocomplete()},onChildviewAddNew:function(e){var i=this.model.get("fieldConfig");Q=new P({title:i.iframe_title_add,src:i.iframe_src}),this.setModalListeners(),Q.modal.open()},onChildviewEditItemClick:function(e){var i=this.model.get("fieldConfig");Q=new P({title:i.iframe_title_edit,src:e.ui.editButton.attr("href")}),this.setModalListeners(),Q.modal.open()},onChildviewChangeSelected:function(e){e.fieldConfig.selectFromExisting&&(_.defer(this.buildAutocomplete.bind(this)),this.getChildView("list").render())},setModalListeners:function(){jQuery(window).on("dfv:modal:update",this.modalSuccess.bind(this)),jQuery(window).on("dfv:modal:cancel",this.modalCancel.bind(this))},clearModalListeners:function(){jQuery(window).off("dfv:modal:update"),jQuery(window).off("dfv:modal:cancel")},modalSuccess:function(e,i){var t=this.collection.get(i.id);t?(t.set(i),this.getChildView("list").render()):this.collection.add(i),this.clearModalListeners(),Q.modal.close({})},modalCancel:function(){this.clearModalListeners()}}),z={file:y,avatar:y,pick:$},T={fields:Object.freeze({FileUpload:y,Pick:$}),models:Object.freeze({PodsDFVFieldModel:o,RelationshipModel:S,RelationshipCollection:M,FileUploadModel:f,FileUploadCollection:h}),fieldInstances:{},init:function(){var l=this;jQuery(".pods-form-ui-field").each(function(){var e=void 0,i=void 0,t={fieldType:void 0};jQuery(this).find("script.pods-dfv-field-data").each(function(){var e=jQuery.parseJSON(jQuery(this).html());jQuery(this).parents(".media-modal-content").length&&(e.fieldConfig.pick_allow_add_new=0),jQuery.extend(t,e),jQuery(this).remove()}),void 0!==t.fieldType&&void 0!==(e=z[t.fieldType])&&((i=new e({el:this,model:new o({htmlAttr:t.htmlAttr,fieldConfig:t.fieldConfig}),fieldItemData:t.fieldItemData})).render(),jQuery(this).trigger("render"),l.fieldInstances[t.htmlAttr.id]=i)})},isModalWindow:function(){return-1!==location.search.indexOf("pods_modal=")},isGutenbergEditorLoaded:function(){return void 0!==wp.data&&void 0!==wp.data.select("core/editor")}};return document.addEventListener("DOMContentLoaded",function(){T.init(),T.isModalWindow()&&T.isGutenbergEditorLoaded()&&i()}),T}();
|
|
ui/styles/dist/pods-form.css
CHANGED
@@ -1,3 +1 @@
|
|
1 |
@font-face{font-family:"pods";src:url("../../fonts/pods.eot");src:url("../../fonts/pods.eot?#iefix") format("embedded-opentype"),url("../../fonts/pods.woff") format("woff"),url("../../fonts/pods.ttf") format("truetype"),url("../../fonts/pods.svg#pods") format("svg");font-weight:normal;font-style:normal}[class^="pods-icon-"]:before,[class*=" pods-icon-"]:before{font-family:"pods" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pods-icon-dashicon:before{content:"c"}#toplevel_page_pods .dashicons-before,#toplevel_page_pods .dashicons-before:before,.dashicons-pods:before{font-family:"pods" !important;font-size:20px;content:"c"}.pods-qtip-container{display:inline}#post-body{border:none;background:none}.pods-hidden{display:none}.pods-admin #navigation-actions .previous-item{display:block;text-align:left;float:left;width:50%}.pods-admin #navigation-actions .next-item{display:block;text-align:right;float:right;width:50%}.form-table tr.pods-field:last-child>th,.form-table tr.pods-field:last-child>td{border-bottom:none}.form-table td .pods-form-ui-field{max-width:95%}.form-table.pods-form-ui-table-type-avatar tr.form-field>td,.form-table.pods-form-ui-table-type-file tr.form-field>td{padding:0 10px}.pods-field{padding:10px 0}.pods-field label{cursor:pointer;display:block;padding:0 0 4px 2px}.pods-field input,.pods-field textarea{display:block}.pods-field .quicktags-toolbar input{display:inline-block;width:auto}.pods-field p.pods-field-comment{color:#aaa;font-size:.9em;font-style:italic;margin:5px 0 0 2px !important}div.pods-textfield input,.pods-textarea textarea{width:100%}.pods-field .wp-editor-container{background-color:#FFF}textarea.pods-form-ui-field-type-paragraph{font-family:monospace;min-height:100px;resize:vertical}.pods-link-options{background:#fff;padding:5px 10px 10px;border:1px solid #dfdfdf}.pods-link-options>div{display:inline-block}.pods-date input.pods-date-field.hasDatepicker{background:#fff url(../../images/calendar16.png) no-repeat 5px 5px;cursor:pointer;padding-left:25px !important;padding-top:6px !important;width:150px}input.pods-form-ui-field-type-color{width:80px}.pods-field .CodeMirror{border:1px solid #999;background-color:#fff;margin:0}.pods-currency-container{position:relative}.pods-currency-container code{position:absolute;transform:translate(0, -50%);top:50%;pointer-events:none;min-width:10px;text-align:center;padding:1px 5px;line-height:25px}.pods-currency-container input{padding-left:25px}.pods-boolean{position:relative;padding:0}.form-field .pods-boolean input,.pods-boolean input{display:block;min-height:16px;left:2px;margin-left:3px;padding:0;position:absolute;top:10px;overflow:hidden}.pods-boolean label{padding:7px 5px 7px 26px;line-height:1;display:inline-block}.pods-pick select{display:block;min-width:125px}.pods-pick-values{border:1px solid #dfdfdf;border-radius:3px;min-width:125px;max-height:250px;overflow-y:auto;padding:2px 0}.pods-form-ui-field .pods-pick-values,.pods-form-ui-field .pods-pick-values li.pods-dfv-list-col{border:none;overflow:hidden;text-overflow:ellipsis}.pods-form-ui-row-type-pick .pods-form-ui-field select{width:25em}.pods-pick-values .pods-checkbox-view{border:1px solid #dfdfdf}select.pods-form-ui-field-type-pick[multiple]{background:#fff;border:1px solid #dfdfdf;border-radius:3px;width:100%;max-width:none;max-height:200px}select.pods-pick-multi{height:auto !important}.pods-pick-values ul{overflow:auto;margin:0;padding:0}.pods-pick-values li{background-color:#fff;border-bottom:1px solid #f4f4f4;line-height:1em;margin:0;padding:0}.pods-pick-values li:nth-child(even){background:#fcfcfc}.pods-pick-values .pods-dfv-list-item li{line-height:0}.pods-pick-values li li:nth-child(even),.pods-pick-values li li{background:transparent}.pods-pick-values li:hover{background:#f5f5f5}.pods-pick-values li:last-of-type{border-bottom:0}.pods-pick-values li .pods-field{padding:0}.pods-pick-values .pods-boolean label{display:block}.pods-pick-values .pods-radio{border:1px solid #dfdfdf}p.pods-add-file{padding:5px 0 10px}.pods-metabox tr.pods-field{border-top:1px solid #ececec}.pods-metabox tr.pods-field:first-child{border-top:0}.pods-form-ui-field .select2-container{width:100% !important}.pods-form-ui-field-type-select2{min-width:20%;width:auto;min-height:28px}.pods-ui-add-new{clear:both}#side-sortables .form-table .pods-field{display:block}#side-sortables .form-table th{display:block;width:100%;padding:0 0 10px;margin:0}#side-sortables .form-table tr.pods-field>td{display:block;line-height:inherit;padding:0;margin:0}.pods-form-front ul.pods-form-fields{list-style:none;margin:0}.pods-form-front .pods-field-label{width:20%;min-width:150px;padding-top:10px;float:left}.pods-form-front .pods-field-input{width:75%;min-width:200px;float:left}.pods-form-front .pods-field-input input,.pods-form .pods-field table.pods-metabox{width:95%}.pods-form .pods-field-input textarea{width:95%;min-height:200px}.pods-form-front .pods-field-input .quicktags-toolbar input{display:inline-block;width:auto}.pods-form-front .pods-field-input .pods-boolean input{width:auto}.pods-form-front .pods-field-input select{min-width:200px;border:1px solid #CCC;border-radius:3px;margin-top:10px}.pods-form-front .pods-field-input .CodeMirror{width:auto}.pods-form-front table.pods-metabox{width:100%}.pods-form-front ul.pods-dfv-list li.pods-dfv-list-icon img{width:40px}.pods-form-front .pods-file-add{display:block;margin:10px}.pods-form-front .pods-submit{float:right}.pods-form .pods-validate-error-message{color:#790000;font-weight:bold;padding:2px 0 5px;display:inline-block}.pods-form-front .pods-validate-error-message{padding:5px 10px 4px}.pods-form{overflow:hidden}.pods-form img.waiting{display:none;vertical-align:middle}.pods-form-front-success{color:#4F8A10;border:1px solid;margin:10px 0;padding:15px 10px 15px 50px;background:#DFF2BF url(../../images/green-check.png) no-repeat 10px center}.pods-form-ui-row-type-hidden{display:none;visibility:hidden}.pods-slider-field{max-width:300px}.pods-form div.pods-form-ui-field-type-avatar:after,.pods-form div.pods-form-ui-field-type-file:after,.pods-form div.pods-form-ui-field-type-pick:after,.pods-meta div.pods-form-ui-field-type-avatar:after,.pods-meta div.pods-form-ui-field-type-file:after,.pods-meta div.pods-form-ui-field-type-pick:after,.pods-form-front .pods-submittable-fields:after,.pods-form-front li.pods-field:after{content:"\00a0";clear:both;display:block;height:0}#wpbody .form-table td select.pods-form-ui-field-type-pick[multiple]{height:12em}.pods-related-add-new{margin-top:1em !important}@media screen and (max-width: 782px){.pods-boolean input,.form-field .pods-boolean input,.pods-pick-values li .pods-boolean input{height:25px;width:25px;top:4px;margin:0 3px}.pods-boolean label,.pods-pick-values .pods-boolean label{margin-left:36px;padding:10px 0}.form-table td .pods-form-ui-field{max-width:none}.form-table td input,.form-table td select{margin:0}.pods-metabox tr.pods-field>th{padding-top:15px}.pods-metabox tr.pods-field>td{padding-bottom:15px}.pods-form-ui-row-type-pick .pods-form-ui-field select{width:100%}}.pods-modal-frame.hide-menu .media-frame-title{left:0}.media-modal .media-modal-content .pods-modal-frame{height:100%}.media-modal .media-modal-content .pods-modal-frame .media-frame-iframe{height:100%;padding-top:50px;box-sizing:border-box}.media-modal .media-modal-content .pods-modal-frame .media-frame-iframe .media-iframe{height:100%;position:relative}.media-modal .media-modal-content .pods-modal-frame .media-frame-iframe .media-iframe iframe{position:absolute;height:100%;width:100%;border:none}ul.pods-dfv-list ul{list-style:none;margin:0;padding:0}ul.pods-dfv-list,.pods-dfv-field .pods-pick-values>ul{background:#fff;margin:0 0 5px 0;padding:0;border-radius:0;border:1px solid #dfdfdf;overflow:hidden;max-height:220px;overflow-y:auto}ul.pods-dfv-list:empty{display:none}ul.pods-dfv-list-meta{display:block;overflow:hidden;zoom:1;position:relative}ul.pods-dfv-list li.pods-dfv-list-col{float:left;margin:0;padding:0}ul.pods-dfv-list li.pods-dfv-list-icon{width:40px;margin:0 5px;height:32px;font-size:0;line-height:32px;text-align:center}ul.pods-dfv-list li.pods-dfv-list-icon img{display:inline-block;vertical-align:middle;float:none;border-radius:2px;margin:0;max-height:100%;width:auto}ul.pods-dfv-list li.pods-dfv-list-icon span.pinkynail{font-size:32px;width:32px;height:32px}ul.pods-dfv-list li.pods-dfv-list-handle{width:25px;height:32px;float:left;cursor:move}ul.pods-dfv-list li.pods-dfv-list-edit,ul.pods-dfv-list li.pods-dfv-list-link,ul.pods-dfv-list li.pods-dfv-list-download,ul.pods-dfv-list li.pods-dfv-list-remove{width:25px;height:32px;float:right}ul.pods-dfv-list li.pods-dfv-list-handle span,ul.pods-dfv-list li.pods-dfv-list-edit a,ul.pods-dfv-list li.pods-dfv-list-link a,ul.pods-dfv-list li.pods-dfv-list-download a,ul.pods-dfv-list li.pods-dfv-list-remove a{display:block;width:25px;height:32px;opacity:0.40;text-decoration:none;color:#616161}ul.pods-dfv-list li.pods-dfv-list-handle span:hover,ul.pods-dfv-list li.pods-dfv-list-edit a:hover,ul.pods-dfv-list li.pods-dfv-list-link a:hover,ul.pods-dfv-list li.pods-dfv-list-download a:hover,ul.pods-dfv-list li.pods-dfv-list-remove a:hover{opacity:1}ul.pods-dfv-list li.pods-dfv-list-handle span:focus,ul.pods-dfv-list li.pods-dfv-list-edit a:focus,ul.pods-dfv-list li.pods-dfv-list-link a:focus,ul.pods-dfv-list li.pods-dfv-list-download a:focus,ul.pods-dfv-list li.pods-dfv-list-remove a:focus{-webkit-box-shadow:none;box-shadow:none}ul.pods-dfv-list li.pods-dfv-list-handle span:before,ul.pods-dfv-list li.pods-dfv-list-edit a:before,ul.pods-dfv-list li.pods-dfv-list-link a:before,ul.pods-dfv-list li.pods-dfv-list-download a:before,ul.pods-dfv-list li.pods-dfv-list-remove a:before{margin:0 24px 0 -24px;font:400 20px/1 dashicons;line-height:32px}ul.pods-dfv-list li.pods-dfv-list-handle span:before{content:"\f156"}ul.pods-dfv-list li.pods-dfv-list-edit a:before{content:"\f464"}ul.pods-dfv-list li.pods-dfv-list-link a:before{content:"\f504"}ul.pods-dfv-list li.pods-dfv-list-download a:before{content:"\f316"}ul.pods-dfv-list li.pods-dfv-list-remove a:before{content:"\f158"}ul.pods-dfv-list li.pods-dfv-list-handle span,ul.pods-dfv-list li.pods-dfv-list-edit a,ul.pods-dfv-list li.pods-dfv-list-link a,ul.pods-dfv-list li.pods-dfv-list-download a,ul.pods-dfv-list li.pods-dfv-list-remove a{text-indent:100%;white-space:nowrap;overflow:hidden;box-shadow:none}ul.pods-dfv-list li.pods-dfv-list-name{position:absolute;left:80px;right:105px;padding:3px 0;line-height:24px;overflow:visible;white-space:nowrap}ul.pods-dfv-list li.pods-dfv-list-name input[type=text]{width:100% !important;font-size:1em;line-height:1;padding:.3vh 5px;margin:0}li.pods-dfv-list-item,.pods-pick-values li.pods-dfv-list-item{display:block;padding:6px 5px 6px 10px;margin:0;border-bottom:1px solid #efefef}li.pods-dfv-list-item:hover{background:#f5f5f5}li.pods-dfv-list-item:last-of-type{border-bottom:0}ul.pods-dfv-list-queue{margin:14px 0 5px}ul.pods-dfv-list-queue li.pods-dfv-list-name{position:relative;width:73%;left:auto;right:auto;padding-top:0}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress,ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress div.progress-bar{border-radius:10px;height:18px}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress{position:relative;width:23%;margin:2px 2% 0 0;background-color:#e8e8e8}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress div.progress-bar{width:0;background-color:#1073AA}li.pods-dfv-list-item:after,ul.pods-dfv-list li.pods-dfv-list-item ul.pods-dfv-list-meta:after,ul.pods-dfv-list-queue li.pods-dfv-list-item:after,ul.pods-dfv-list-queue li.pods-dfv-list-item ul.pods-dfv-list-meta:after{content:"";display:table;clear:both}.pods-field-template-tiles ul.pods-dfv-list{max-height:500px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-item{display:inline-block;width:150px;border-bottom:0;padding:5px 10px 10px;vertical-align:top}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-icon{width:auto;float:none;margin:32px 0 0;max-height:150px;height:150px;line-height:150px;text-align:center}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle span:before{content:"\f545"}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-icon img{max-width:none;max-height:none;float:none;display:inline-block;vertical-align:middle;margin:0}form.pods-form .pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-name{position:static;float:none}form.pods-form .pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-name input[type=text]{margin:0;padding:.3vh 6px}.pods-dfv-field .select2-container .select2-selection--single{height:30px}.pods-dfv-field .select2-container--default .select2-selection--single .select2-selection__clear{height:28px;line-height:26px}.pods-dfv-field .select2-container--default .select2-selection--multiple .select2-selection__rendered li{background:none}.pods-dfv-field .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px;line-height:1;vertical-align:top}.pods-dfv-field .select2-container--default .select2-selection--multiple li.select2-selection__choice{padding:3px 5px;background-color:#f5f5f5;border-color:#dfdfdf;line-height:1.2;margin:5px 5px 5px 0}.pods-dfv-field .select2-container--default .select2-selection--multiple li.select2-selection__choice:hover{background-color:#fafafa;border-color:#bbb;cursor:move}.pods-dfv-field .pods-select2 .select2-container-multi .select2-choices .select2-search-field input{height:auto}.pods-dfv-field .select2-container--default .select2-selection--multiple{border-color:#ddd;border-radius:1px}.pods-dfv-field .select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,0.8);box-shadow:0 0 2px rgba(30,140,190,0.8)}.pods-pick-values .select2-container li{padding:0;line-height:inherit}.select2-container .select2-selection--multiple .select2-search--inline{float:none}.select2-container .select2-selection--multiple .select2-search--inline:first-child .select2-search__field{width:100% !important}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-edit,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-link,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-download,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-remove{position:absolute;top:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle{left:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-edit{right:75px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-link{right:50px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-download{right:25px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-remove{right:0}ul.pods-dfv-list li.pods-dfv-list-actions{position:absolute;top:0;right:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-edit,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-link,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-download,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-remove{position:static;float:right}a.pods-quick-add,span.pods-quick-add{display:block;line-height:36px;float:right;margin-right:15px}div.open a.pods-quick-add,div.open span.pods-quick-add{display:none}.pods-ui-field .pods-dfv-list-add{margin-bottom:10px}
|
2 |
-
|
3 |
-
/*# sourceMappingURL=../src/sourcemaps/pods-form.css.map */
|
1 |
@font-face{font-family:"pods";src:url("../../fonts/pods.eot");src:url("../../fonts/pods.eot?#iefix") format("embedded-opentype"),url("../../fonts/pods.woff") format("woff"),url("../../fonts/pods.ttf") format("truetype"),url("../../fonts/pods.svg#pods") format("svg");font-weight:normal;font-style:normal}[class^="pods-icon-"]:before,[class*=" pods-icon-"]:before{font-family:"pods" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pods-icon-dashicon:before{content:"c"}#toplevel_page_pods .dashicons-before,#toplevel_page_pods .dashicons-before:before,.dashicons-pods:before{font-family:"pods" !important;font-size:20px;content:"c"}.pods-qtip-container{display:inline}#post-body{border:none;background:none}.pods-hidden{display:none}.pods-admin #navigation-actions .previous-item{display:block;text-align:left;float:left;width:50%}.pods-admin #navigation-actions .next-item{display:block;text-align:right;float:right;width:50%}.form-table tr.pods-field:last-child>th,.form-table tr.pods-field:last-child>td{border-bottom:none}.form-table td .pods-form-ui-field{max-width:95%}.form-table.pods-form-ui-table-type-avatar tr.form-field>td,.form-table.pods-form-ui-table-type-file tr.form-field>td{padding:0 10px}.pods-field{padding:10px 0}.pods-field label{cursor:pointer;display:block;padding:0 0 4px 2px}.pods-field input,.pods-field textarea{display:block}.pods-field .quicktags-toolbar input{display:inline-block;width:auto}.pods-field p.pods-field-comment{color:#aaa;font-size:.9em;font-style:italic;margin:5px 0 0 2px !important}div.pods-textfield input,.pods-textarea textarea{width:100%}.pods-field .wp-editor-container{background-color:#FFF}textarea.pods-form-ui-field-type-paragraph{font-family:monospace;min-height:100px;resize:vertical}.pods-link-options{background:#fff;padding:5px 10px 10px;border:1px solid #dfdfdf}.pods-link-options>div{display:inline-block}.pods-date input.pods-date-field.hasDatepicker{background:#fff url(../../images/calendar16.png) no-repeat 5px 5px;cursor:pointer;padding-left:25px !important;padding-top:6px !important;width:150px}input.pods-form-ui-field-type-color{width:80px}.pods-field .CodeMirror{border:1px solid #999;background-color:#fff;margin:0}.pods-currency-container{position:relative}.pods-currency-container code{position:absolute;transform:translate(0, -50%);top:50%;pointer-events:none;min-width:10px;text-align:center;padding:1px 5px;line-height:25px}.pods-currency-container input{padding-left:25px}.pods-boolean{position:relative;padding:0}.form-field .pods-boolean input,.pods-boolean input{display:block;min-height:16px;left:2px;margin-left:3px;padding:0;position:absolute;top:10px;overflow:hidden}.pods-boolean label{padding:7px 5px 7px 26px;line-height:1;display:inline-block}.pods-pick select{display:block;min-width:125px}.pods-pick-values{border:1px solid #dfdfdf;border-radius:3px;min-width:125px;max-height:250px;overflow-y:auto;padding:2px 0}.pods-form-ui-field .pods-pick-values,.pods-form-ui-field .pods-pick-values li.pods-dfv-list-col{border:none;overflow:hidden;text-overflow:ellipsis}.pods-form-ui-row-type-pick .pods-form-ui-field select{width:25em}.pods-pick-values .pods-checkbox-view{border:1px solid #dfdfdf}select.pods-form-ui-field-type-pick[multiple]{background:#fff;border:1px solid #dfdfdf;border-radius:3px;width:100%;max-width:none;max-height:200px}select.pods-pick-multi{height:auto !important}.pods-pick-values ul{overflow:auto;margin:0;padding:0}.pods-pick-values li{background-color:#fff;border-bottom:1px solid #f4f4f4;line-height:1em;margin:0;padding:0}.pods-pick-values li:nth-child(even){background:#fcfcfc}.pods-pick-values .pods-dfv-list-item li{line-height:0}.pods-pick-values li li:nth-child(even),.pods-pick-values li li{background:transparent}.pods-pick-values li:hover{background:#f5f5f5}.pods-pick-values li:last-of-type{border-bottom:0}.pods-pick-values li .pods-field{padding:0}.pods-pick-values .pods-boolean label{display:block}.pods-pick-values .pods-radio{border:1px solid #dfdfdf}p.pods-add-file{padding:5px 0 10px}.pods-metabox tr.pods-field{border-top:1px solid #ececec}.pods-metabox tr.pods-field:first-child{border-top:0}.pods-form-ui-field .select2-container{width:100% !important}.pods-form-ui-field-type-select2{min-width:20%;width:auto;min-height:28px}.pods-ui-add-new{clear:both}#side-sortables .form-table .pods-field{display:block}#side-sortables .form-table th{display:block;width:100%;padding:0 0 10px;margin:0}#side-sortables .form-table tr.pods-field>td{display:block;line-height:inherit;padding:0;margin:0}.pods-form-front ul.pods-form-fields{list-style:none;margin:0}.pods-form-front .pods-field-label{width:20%;min-width:150px;padding-top:10px;float:left}.pods-form-front .pods-field-input{width:75%;min-width:200px;float:left}.pods-form-front .pods-field-input input,.pods-form .pods-field table.pods-metabox{width:95%}.pods-form .pods-field-input textarea{width:95%;min-height:200px}.pods-form-front .pods-field-input .quicktags-toolbar input{display:inline-block;width:auto}.pods-form-front .pods-field-input .pods-boolean input{width:auto}.pods-form-front .pods-field-input select{min-width:200px;border:1px solid #CCC;border-radius:3px;margin-top:10px}.pods-form-front .pods-field-input .CodeMirror{width:auto}.pods-form-front table.pods-metabox{width:100%}.pods-form-front ul.pods-dfv-list li.pods-dfv-list-icon img{width:40px}.pods-form-front .pods-file-add{display:block;margin:10px}.pods-form-front .pods-submit{float:right}.pods-form .pods-validate-error-message{color:#790000;font-weight:bold;padding:2px 0 5px;display:inline-block}.pods-form-front .pods-validate-error-message{padding:5px 10px 4px}.pods-form{overflow:hidden}.pods-form img.waiting{display:none;vertical-align:middle}.pods-form-front-success{color:#4F8A10;border:1px solid;margin:10px 0;padding:15px 10px 15px 50px;background:#DFF2BF url(../../images/green-check.png) no-repeat 10px center}.pods-form-ui-row-type-hidden{display:none;visibility:hidden}.pods-slider-field{max-width:300px}.pods-form div.pods-form-ui-field-type-avatar:after,.pods-form div.pods-form-ui-field-type-file:after,.pods-form div.pods-form-ui-field-type-pick:after,.pods-meta div.pods-form-ui-field-type-avatar:after,.pods-meta div.pods-form-ui-field-type-file:after,.pods-meta div.pods-form-ui-field-type-pick:after,.pods-form-front .pods-submittable-fields:after,.pods-form-front li.pods-field:after{content:"\00a0";clear:both;display:block;height:0}#wpbody .form-table td select.pods-form-ui-field-type-pick[multiple]{height:12em}.pods-related-add-new{margin-top:1em !important}@media screen and (max-width: 782px){.pods-boolean input,.form-field .pods-boolean input,.pods-pick-values li .pods-boolean input{height:25px;width:25px;top:4px;margin:0 3px}.pods-boolean label,.pods-pick-values .pods-boolean label{margin-left:36px;padding:10px 0}.form-table td .pods-form-ui-field{max-width:none}.form-table td input,.form-table td select{margin:0}.pods-metabox tr.pods-field>th{padding-top:15px}.pods-metabox tr.pods-field>td{padding-bottom:15px}.pods-form-ui-row-type-pick .pods-form-ui-field select{width:100%}}.pods-modal-frame.hide-menu .media-frame-title{left:0}.media-modal .media-modal-content .pods-modal-frame{height:100%}.media-modal .media-modal-content .pods-modal-frame .media-frame-iframe{height:100%;padding-top:50px;box-sizing:border-box}.media-modal .media-modal-content .pods-modal-frame .media-frame-iframe .media-iframe{height:100%;position:relative}.media-modal .media-modal-content .pods-modal-frame .media-frame-iframe .media-iframe iframe{position:absolute;height:100%;width:100%;border:none}ul.pods-dfv-list ul{list-style:none;margin:0;padding:0}ul.pods-dfv-list,.pods-dfv-field .pods-pick-values>ul{background:#fff;margin:0 0 5px 0;padding:0;border-radius:0;border:1px solid #dfdfdf;overflow:hidden;max-height:220px;overflow-y:auto}ul.pods-dfv-list:empty{display:none}ul.pods-dfv-list-meta{display:block;overflow:hidden;zoom:1;position:relative}ul.pods-dfv-list li.pods-dfv-list-col{float:left;margin:0;padding:0}ul.pods-dfv-list li.pods-dfv-list-icon{width:40px;margin:0 5px;height:32px;font-size:0;line-height:32px;text-align:center}ul.pods-dfv-list li.pods-dfv-list-icon img{display:inline-block;vertical-align:middle;float:none;border-radius:2px;margin:0;max-height:100%;width:auto}ul.pods-dfv-list li.pods-dfv-list-icon span.pinkynail{font-size:32px;width:32px;height:32px}ul.pods-dfv-list li.pods-dfv-list-handle{width:25px;height:32px;float:left;cursor:move}ul.pods-dfv-list li.pods-dfv-list-edit,ul.pods-dfv-list li.pods-dfv-list-link,ul.pods-dfv-list li.pods-dfv-list-download,ul.pods-dfv-list li.pods-dfv-list-remove{width:25px;height:32px;float:right}ul.pods-dfv-list li.pods-dfv-list-handle span,ul.pods-dfv-list li.pods-dfv-list-edit a,ul.pods-dfv-list li.pods-dfv-list-link a,ul.pods-dfv-list li.pods-dfv-list-download a,ul.pods-dfv-list li.pods-dfv-list-remove a{display:block;width:25px;height:32px;opacity:0.40;text-decoration:none;color:#616161}ul.pods-dfv-list li.pods-dfv-list-handle span:hover,ul.pods-dfv-list li.pods-dfv-list-edit a:hover,ul.pods-dfv-list li.pods-dfv-list-link a:hover,ul.pods-dfv-list li.pods-dfv-list-download a:hover,ul.pods-dfv-list li.pods-dfv-list-remove a:hover{opacity:1}ul.pods-dfv-list li.pods-dfv-list-handle span:focus,ul.pods-dfv-list li.pods-dfv-list-edit a:focus,ul.pods-dfv-list li.pods-dfv-list-link a:focus,ul.pods-dfv-list li.pods-dfv-list-download a:focus,ul.pods-dfv-list li.pods-dfv-list-remove a:focus{-webkit-box-shadow:none;box-shadow:none}ul.pods-dfv-list li.pods-dfv-list-handle span:before,ul.pods-dfv-list li.pods-dfv-list-edit a:before,ul.pods-dfv-list li.pods-dfv-list-link a:before,ul.pods-dfv-list li.pods-dfv-list-download a:before,ul.pods-dfv-list li.pods-dfv-list-remove a:before{margin:0 24px 0 -24px;font:400 20px/1 dashicons;line-height:32px}ul.pods-dfv-list li.pods-dfv-list-handle span:before{content:"\f156"}ul.pods-dfv-list li.pods-dfv-list-edit a:before{content:"\f464"}ul.pods-dfv-list li.pods-dfv-list-link a:before{content:"\f504"}ul.pods-dfv-list li.pods-dfv-list-download a:before{content:"\f316"}ul.pods-dfv-list li.pods-dfv-list-remove a:before{content:"\f158"}ul.pods-dfv-list li.pods-dfv-list-handle span,ul.pods-dfv-list li.pods-dfv-list-edit a,ul.pods-dfv-list li.pods-dfv-list-link a,ul.pods-dfv-list li.pods-dfv-list-download a,ul.pods-dfv-list li.pods-dfv-list-remove a{text-indent:100%;white-space:nowrap;overflow:hidden;box-shadow:none}ul.pods-dfv-list li.pods-dfv-list-name{position:absolute;left:80px;right:105px;padding:3px 0;line-height:24px;overflow:visible;white-space:nowrap}ul.pods-dfv-list li.pods-dfv-list-name input[type=text]{width:100% !important;font-size:1em;line-height:1;padding:.3vh 5px;margin:0}li.pods-dfv-list-item,.pods-pick-values li.pods-dfv-list-item{display:block;padding:6px 5px 6px 10px;margin:0;border-bottom:1px solid #efefef}li.pods-dfv-list-item:hover{background:#f5f5f5}li.pods-dfv-list-item:last-of-type{border-bottom:0}ul.pods-dfv-list-queue{margin:14px 0 5px}ul.pods-dfv-list-queue li.pods-dfv-list-name{position:relative;width:73%;left:auto;right:auto;padding-top:0}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress,ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress div.progress-bar{border-radius:10px;height:18px}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress{position:relative;width:23%;margin:2px 2% 0 0;background-color:#e8e8e8}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress div.progress-bar{width:0;background-color:#1073AA}li.pods-dfv-list-item:after,ul.pods-dfv-list li.pods-dfv-list-item ul.pods-dfv-list-meta:after,ul.pods-dfv-list-queue li.pods-dfv-list-item:after,ul.pods-dfv-list-queue li.pods-dfv-list-item ul.pods-dfv-list-meta:after{content:"";display:table;clear:both}.pods-field-template-tiles ul.pods-dfv-list{max-height:500px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-item{display:inline-block;width:150px;border-bottom:0;padding:5px 10px 10px;vertical-align:top}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-icon{width:auto;float:none;margin:32px 0 0;max-height:150px;height:150px;line-height:150px;text-align:center}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle span:before{content:"\f545"}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-icon img{max-width:none;max-height:none;float:none;display:inline-block;vertical-align:middle;margin:0}form.pods-form .pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-name{position:static;float:none}form.pods-form .pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-name input[type=text]{margin:0;padding:.3vh 6px}.pods-dfv-field .select2-container .select2-selection--single{height:30px}.pods-dfv-field .select2-container--default .select2-selection--single .select2-selection__clear{height:28px;line-height:26px}.pods-dfv-field .select2-container--default .select2-selection--multiple .select2-selection__rendered li{background:none}.pods-dfv-field .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px;line-height:1;vertical-align:top}.pods-dfv-field .select2-container--default .select2-selection--multiple li.select2-selection__choice{padding:3px 5px;background-color:#f5f5f5;border-color:#dfdfdf;line-height:1.2;margin:5px 5px 5px 0}.pods-dfv-field .select2-container--default .select2-selection--multiple li.select2-selection__choice:hover{background-color:#fafafa;border-color:#bbb;cursor:move}.pods-dfv-field .pods-select2 .select2-container-multi .select2-choices .select2-search-field input{height:auto}.pods-dfv-field .select2-container--default .select2-selection--multiple{border-color:#ddd;border-radius:1px}.pods-dfv-field .select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,0.8);box-shadow:0 0 2px rgba(30,140,190,0.8)}.pods-pick-values .select2-container li{padding:0;line-height:inherit}.select2-container .select2-selection--multiple .select2-search--inline{float:none}.select2-container .select2-selection--multiple .select2-search--inline:first-child .select2-search__field{width:100% !important}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-edit,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-link,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-download,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-remove{position:absolute;top:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle{left:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-edit{right:75px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-link{right:50px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-download{right:25px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-remove{right:0}ul.pods-dfv-list li.pods-dfv-list-actions{position:absolute;top:0;right:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-edit,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-link,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-download,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-remove{position:static;float:right}a.pods-quick-add,span.pods-quick-add{display:block;line-height:36px;float:right;margin-right:15px}div.open a.pods-quick-add,div.open span.pods-quick-add{display:none}.pods-ui-field .pods-dfv-list-add{margin-bottom:10px}
|
|
|
|
ui/styles/dist/pods-wizard.css
CHANGED
@@ -1,3 +1 @@
|
|
1 |
#pods-wizard-box{width:782px;color:#555555;margin:20px}#pods-wizard-box.pods-wizard-steps-1 #pods-wizard-heading ul li{width:780px}#pods-wizard-box.pods-wizard-steps-2 #pods-wizard-heading ul li{width:390px}#pods-wizard-box.pods-wizard-steps-3 #pods-wizard-heading ul li{width:260px}#pods-wizard-box.pods-wizard-steps-4 #pods-wizard-heading ul li{width:195px}#pods-wizard-box.pods-wizard-steps-5 #pods-wizard-heading ul li{width:156px}#pods-wizard-box #pods-wizard-heading ul{margin:0;padding:0}#pods-wizard-box #pods-wizard-heading ul li{list-style:none;display:block;float:left;height:30px;padding-top:5px;color:#ababab;margin-bottom:0;font:18px 'Garamond, Georgia';position:relative;border-top:1px solid #dfdfdf;border-bottom:1px solid #dfdfdf;background:#f3f3f3;background:-webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ededed));background:-moz-linear-gradient(center top, #f9f9f9 0%, #ededed 100%);background:-moz-gradient(center top, #f9f9f9 0%, #ededed 100%)}#pods-wizard-box #pods-wizard-heading ul li i{display:block;width:11px;height:35px;position:absolute;top:0;left:0;background:url(../../images/arrow_next.png)}#pods-wizard-box #pods-wizard-heading ul li span{display:inline-block;margin:0 5px 0 20px;width:25px;height:25px;line-height:25px;text-align:center;background:#ababab;color:#f2f2f2;box-shadow:none;font-size:20px;font-weight:bold;-webkit-border-top-left-radius:30px;-webkit-border-top-right-radius:30px;-webkit-border-bottom-right-radius:30px;-webkit-border-bottom-left-radius:30px;-moz-border-radius-topleft:30px;-moz-border-radius-topright:30px;-moz-border-radius-bottomright:30px;-moz-border-radius-bottomleft:30px;border-top-left-radius:30px;border-top-right-radius:30px;border-bottom-right-radius:30px;border-bottom-left-radius:30px}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-current{color:#fff;border-bottom:1px solid #6e6e6e;border-top:1px solid #808080;text-shadow:1px 1px 1px rgba(0,0,0,0.2);background:#777;background:-webkit-gradient(linear, left top, left bottom, from(gray), to(#6e6e6e));background:-moz-linear-gradient(center top, gray 0%, #6e6e6e 100%);background:-moz-gradient(center top, gray 0%, #6e6e6e 100%)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-current span{text-shadow:none;background:#fff;color:#6f6f6f;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);box-shadow:1px 1px 2px rgba(0,0,0,0.2)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-current+li>i{background:url(../../images/arrow_current.png)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete{color:#6f9472;border-bottom:1px solid #bbddbd;background:#c8e9ca;background:-webkit-gradient(linear, left top, left bottom, from(#d4f4d6), to(#bbddbd));background:-moz-linear-gradient(center top, #d4f4d6 0%, #bbddbd 100%);background:-moz-gradient(center top, #d4f4d6 0%, #bbddbd 100%)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete+li>i{background:url(../../images/arrow_complete.png)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete+li.pods-wizard-menu-complete>i{background:url(../../images/arrow_complete_previous.png)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete span{background:#6f9472;color:#caebcc}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete em{display:block;top:10px;right:5px;background:url(../../images/tick.png) no-repeat right center;width:17px;height:17px;position:absolute}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete:last-child em{right:15px}#pods-wizard-box #pods-wizard-heading ul li:first-child{border-left:1px solid #dfdfdf;-webkit-border-top-left-radius:8px;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-topleft:8px;-moz-border-radius-topright:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;border-top-left-radius:8px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0}#pods-wizard-box #pods-wizard-heading ul li:first-child i{background:none}#pods-wizard-box #pods-wizard-heading ul li:last-child{border-right:1px solid #dfdfdf;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:8px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:8px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;border-top-left-radius:0;border-top-right-radius:8px;border-bottom-right-radius:0;border-bottom-left-radius:0}#pods-wizard-box #pods-wizard-main{clear:both;overflow:auto}#pods-wizard-box #pods-wizard-main p{font-size:13px;line-height:22px}#pods-wizard-box #pods-wizard-main p.padded{padding:0 20px 20px}#pods-wizard-box #pods-wizard-main #pods-wizard-choices{margin:15px 20px 25px 20px}#pods-wizard-box #pods-wizard-main .pods-advanced-toggle{display:inline-block;text-decoration:underline;padding-left:15px}#pods-wizard-box #pods-wizard-main .pods-wizard-option-content{display:none}#pods-wizard-box #pods-wizard-main .pods-wizard-option-content .pods-package-import-group .pods-field-option-group{padding-top:0}#pods-wizard-box #pods-wizard-main .pods-wizard-option-content .pods-package-import-group .pods-field-option-group p{margin-top:0}#pods-wizard-box #pods-wizard-main .stuffbox{margin:15px 15px 0 15px}#pods-wizard-box #pods-wizard-main .stuffbox h3{font-size:15px;font-weight:normal;line-height:1;padding:7px 10px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif}#pods-wizard-box #pods-wizard-main .stuffbox .inside{padding:0}#pods-wizard-box #pods-wizard-main .stuffbox .inside div.pods-wizard-content h3{margin:1.33em 20px;font-size:1.35em}#pods-wizard-box #pods-wizard-main .stuffbox .inside div.pods-wizard-content h4{margin:1.33em 20px;font-size:1.2em}#pods-wizard-box #pods-wizard-main .stuffbox .inside div.pods-wizard-content ul.normal{margin:15px 20px;list-style:circle}#pods-wizard-box #pods-wizard-main .stuffbox .inside div.pods-wizard-content ul.normal li{margin:0 0 8px 30px;padding-left:4px;line-height:22px;font-size:14px;list-style:circle}#pods-wizard-box #pods-wizard-main .pods-wizard-panel{display:none;border-left:1px solid #dfdfdf;border-right:1px solid #dfdfdf;padding-bottom:25px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel:first-child{display:block}#pods-wizard-box #pods-wizard-main .pods-wizard-panel .button-primary,#pods-wizard-box #pods-wizard-main .pods-wizard-panel .button-secondary{padding:8px 15px;border-radius:14px 14px 14px 14px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel .pods-wizard-content{background:#fff}#pods-wizard-box #pods-wizard-main .pods-wizard-panel .pods-wizard-content.pods-wizard-grey{background:#f9f9f9}#pods-wizard-box #pods-wizard-main .pods-wizard-panel .pods-wizard-content p{padding:20px;margin-top:0}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table{width:100%}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table th,#pods-wizard-box #pods-wizard-main .pods-wizard-panel table td{height:47px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table th{text-align:left;background:#f9f9f9;text-transform:uppercase;padding-left:53px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td{font-size:20px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td.pods-wizard-right{text-align:right}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td.pods-wizard-name{padding-left:20px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td.pods-wizard-name em{color:#777;font-style:normal;font-size:14px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td.pods-wizard-name .pods-wizard-info{float:right;text-align:right;font-size:12px;padding-right:15px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td img{display:none}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-complete td{background:#e6f9e6;color:#6f9472;border-top:1px solid #fff}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-complete td i{display:inline-block;width:17px;height:17px;background:url(../../images/tick.png)}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-warning td{background:#ffffe0;border-top:1px solid #e7dd5f;border-bottom:1px solid #e7dd5f}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-warning td:first-child{border-left:1px solid #e7dd5f}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-warning td:last-child{border-right:1px solid #e7dd5f}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-error td{background:#ffebe8;border-top:1px solid #cc0000;border-bottom:1px solid #cc0000}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-error td:first-child{border-left:1px solid #cc0000}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-error td:last-child{border-right:1px solid #cc0000}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-active td{background:#fff4e0;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;color:#eba600}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-active td img{display:inline}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-pending td{border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;color:#ababab}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options{text-align:center}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option{width:290px;display:inline-block;vertical-align:top}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option:first-child{margin-right:40px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a{height:140px;padding-top:10px;display:block;background:#f9f9f9;position:relative;text-decoration:none;-webkit-border-top-left-radius:8px;-webkit-border-top-right-radius:8px;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:8px;-moz-border-radius-topright:8px;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:8px;border-top-right-radius:8px;border-bottom-right-radius:8px;border-bottom-left-radius:8px;-webkit-box-shadow:0px 0px 4px rgba(0,0,0,0.3);-moz-box-shadow:0px 0px 4px rgba(0,0,0,0.3);box-shadow:0px 0px 4px rgba(0,0,0,0.3)}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a h2{color:#21759B;font-weight:bold;font-size:1.5em;padding-right:0}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a p{font-style:normal;font-size:14px;color:#555555;margin:7px;line-height:17px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a:hover{background:#feffe0}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a:hover h2{color:#D54E21}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a span{display:none}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a.pods-wizard-option-active{background:#feffe0;color:#D54E21}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a.pods-wizard-option-active span{width:290px;height:30px;background:#D54E21;display:block;position:absolute;bottom:0;left:0;text-align:center;color:#fff;font:13px/30px bold Garamond, Georgia;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a:visited p{color:#555555}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option p{font-size:12px;line-height:17px;font-style:italic}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option p em{margin:0;padding:0}#pods-wizard-box #pods-wizard-actions{height:35px;border:1px solid #dfdfdf;position:relative;clear:both;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px;background:#f3f3f3;background:-webkit-gradient(linear, left top, left bottom, from(#ededed), to(#f9f9f9));background:-moz-linear-gradient(center top, #ededed 0%, #f9f9f9 100%);background:-moz-gradient(center top, #ededed 0%, #f9f9f9 100%)}#pods-wizard-box #pods-wizard-actions .button{display:block;height:35px;width:110px;position:absolute;top:0;line-height:35px;text-align:center;font-weight:bold;font-size:15px;padding:0;border:none !important}#pods-wizard-box #pods-wizard-actions .button.button-primary{right:0;color:#fff;background:#2581ac;background:-webkit-gradient(linear, left top, left bottom, from(#278ab8), to(#22789f));background:-moz-linear-gradient(center top, #278ab8 0%, #22789f 100%);background:-moz-gradient(center top, #278ab8 0%, #22789f 100%);-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:0;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:0}#pods-wizard-box #pods-wizard-actions .button.button-primary:hover{background:#22789f}#pods-wizard-box #pods-wizard-actions .button.button-secondary{left:0;color:#7b7b7b;background:#c9c9c9;background:-webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#b2b2b2));background:-moz-linear-gradient(center top, #dfdfdf 0%, #b2b2b2 100%);background:-moz-gradient(center top, #dfdfdf 0%, #b2b2b2 100%);-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:8px}#pods-wizard-box #pods-wizard-actions .button.button-secondary:hover{background:#b2b2b2}#pods-wizard-box #pods-wizard-actions #pods-wizard-finished{display:none;height:35px;line-height:35px;text-align:center;padding-right:142px;text-transform:uppercase;color:#fff;font-weight:bold;text-shadow:1px 1px 1px rgba(0,0,0,0.2);background:#777;background:-webkit-gradient(linear, left top, left bottom, from(gray), to(#6e6e6e));background:-moz-linear-gradient(center top, gray 0%, #6e6e6e 100%);background:-moz-gradient(center top, gray 0%, #6e6e6e 100%);-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}#pods-wizard-box #pods-wizard-actions #pods-wizard-next.finished{width:150px}#pods-wizard-box.pods-wizard-hide-first #pods-wizard-main{border-bottom:1px solid #dfdfdf;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}#pods-wizard-box.pods-wizard-hide-first #pods-wizard-actions{display:none}
|
2 |
-
|
3 |
-
/*# sourceMappingURL=../src/sourcemaps/pods-wizard.css.map */
|
1 |
#pods-wizard-box{width:782px;color:#555555;margin:20px}#pods-wizard-box.pods-wizard-steps-1 #pods-wizard-heading ul li{width:780px}#pods-wizard-box.pods-wizard-steps-2 #pods-wizard-heading ul li{width:390px}#pods-wizard-box.pods-wizard-steps-3 #pods-wizard-heading ul li{width:260px}#pods-wizard-box.pods-wizard-steps-4 #pods-wizard-heading ul li{width:195px}#pods-wizard-box.pods-wizard-steps-5 #pods-wizard-heading ul li{width:156px}#pods-wizard-box #pods-wizard-heading ul{margin:0;padding:0}#pods-wizard-box #pods-wizard-heading ul li{list-style:none;display:block;float:left;height:30px;padding-top:5px;color:#ababab;margin-bottom:0;font:18px 'Garamond, Georgia';position:relative;border-top:1px solid #dfdfdf;border-bottom:1px solid #dfdfdf;background:#f3f3f3;background:-webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ededed));background:-moz-linear-gradient(center top, #f9f9f9 0%, #ededed 100%);background:-moz-gradient(center top, #f9f9f9 0%, #ededed 100%)}#pods-wizard-box #pods-wizard-heading ul li i{display:block;width:11px;height:35px;position:absolute;top:0;left:0;background:url(../../images/arrow_next.png)}#pods-wizard-box #pods-wizard-heading ul li span{display:inline-block;margin:0 5px 0 20px;width:25px;height:25px;line-height:25px;text-align:center;background:#ababab;color:#f2f2f2;box-shadow:none;font-size:20px;font-weight:bold;-webkit-border-top-left-radius:30px;-webkit-border-top-right-radius:30px;-webkit-border-bottom-right-radius:30px;-webkit-border-bottom-left-radius:30px;-moz-border-radius-topleft:30px;-moz-border-radius-topright:30px;-moz-border-radius-bottomright:30px;-moz-border-radius-bottomleft:30px;border-top-left-radius:30px;border-top-right-radius:30px;border-bottom-right-radius:30px;border-bottom-left-radius:30px}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-current{color:#fff;border-bottom:1px solid #6e6e6e;border-top:1px solid #808080;text-shadow:1px 1px 1px rgba(0,0,0,0.2);background:#777;background:-webkit-gradient(linear, left top, left bottom, from(gray), to(#6e6e6e));background:-moz-linear-gradient(center top, gray 0%, #6e6e6e 100%);background:-moz-gradient(center top, gray 0%, #6e6e6e 100%)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-current span{text-shadow:none;background:#fff;color:#6f6f6f;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);box-shadow:1px 1px 2px rgba(0,0,0,0.2)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-current+li>i{background:url(../../images/arrow_current.png)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete{color:#6f9472;border-bottom:1px solid #bbddbd;background:#c8e9ca;background:-webkit-gradient(linear, left top, left bottom, from(#d4f4d6), to(#bbddbd));background:-moz-linear-gradient(center top, #d4f4d6 0%, #bbddbd 100%);background:-moz-gradient(center top, #d4f4d6 0%, #bbddbd 100%)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete+li>i{background:url(../../images/arrow_complete.png)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete+li.pods-wizard-menu-complete>i{background:url(../../images/arrow_complete_previous.png)}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete span{background:#6f9472;color:#caebcc}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete em{display:block;top:10px;right:5px;background:url(../../images/tick.png) no-repeat right center;width:17px;height:17px;position:absolute}#pods-wizard-box #pods-wizard-heading ul li.pods-wizard-menu-complete:last-child em{right:15px}#pods-wizard-box #pods-wizard-heading ul li:first-child{border-left:1px solid #dfdfdf;-webkit-border-top-left-radius:8px;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-topleft:8px;-moz-border-radius-topright:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;border-top-left-radius:8px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0}#pods-wizard-box #pods-wizard-heading ul li:first-child i{background:none}#pods-wizard-box #pods-wizard-heading ul li:last-child{border-right:1px solid #dfdfdf;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:8px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:8px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;border-top-left-radius:0;border-top-right-radius:8px;border-bottom-right-radius:0;border-bottom-left-radius:0}#pods-wizard-box #pods-wizard-main{clear:both;overflow:auto}#pods-wizard-box #pods-wizard-main p{font-size:13px;line-height:22px}#pods-wizard-box #pods-wizard-main p.padded{padding:0 20px 20px}#pods-wizard-box #pods-wizard-main #pods-wizard-choices{margin:15px 20px 25px 20px}#pods-wizard-box #pods-wizard-main .pods-advanced-toggle{display:inline-block;text-decoration:underline;padding-left:15px}#pods-wizard-box #pods-wizard-main .pods-wizard-option-content{display:none}#pods-wizard-box #pods-wizard-main .pods-wizard-option-content .pods-package-import-group .pods-field-option-group{padding-top:0}#pods-wizard-box #pods-wizard-main .pods-wizard-option-content .pods-package-import-group .pods-field-option-group p{margin-top:0}#pods-wizard-box #pods-wizard-main .stuffbox{margin:15px 15px 0 15px}#pods-wizard-box #pods-wizard-main .stuffbox h3{font-size:15px;font-weight:normal;line-height:1;padding:7px 10px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif}#pods-wizard-box #pods-wizard-main .stuffbox .inside{padding:0}#pods-wizard-box #pods-wizard-main .stuffbox .inside div.pods-wizard-content h3{margin:1.33em 20px;font-size:1.35em}#pods-wizard-box #pods-wizard-main .stuffbox .inside div.pods-wizard-content h4{margin:1.33em 20px;font-size:1.2em}#pods-wizard-box #pods-wizard-main .stuffbox .inside div.pods-wizard-content ul.normal{margin:15px 20px;list-style:circle}#pods-wizard-box #pods-wizard-main .stuffbox .inside div.pods-wizard-content ul.normal li{margin:0 0 8px 30px;padding-left:4px;line-height:22px;font-size:14px;list-style:circle}#pods-wizard-box #pods-wizard-main .pods-wizard-panel{display:none;border-left:1px solid #dfdfdf;border-right:1px solid #dfdfdf;padding-bottom:25px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel:first-child{display:block}#pods-wizard-box #pods-wizard-main .pods-wizard-panel .button-primary,#pods-wizard-box #pods-wizard-main .pods-wizard-panel .button-secondary{padding:8px 15px;border-radius:14px 14px 14px 14px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel .pods-wizard-content{background:#fff}#pods-wizard-box #pods-wizard-main .pods-wizard-panel .pods-wizard-content.pods-wizard-grey{background:#f9f9f9}#pods-wizard-box #pods-wizard-main .pods-wizard-panel .pods-wizard-content p{padding:20px;margin-top:0}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table{width:100%}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table th,#pods-wizard-box #pods-wizard-main .pods-wizard-panel table td{height:47px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table th{text-align:left;background:#f9f9f9;text-transform:uppercase;padding-left:53px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td{font-size:20px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td.pods-wizard-right{text-align:right}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td.pods-wizard-name{padding-left:20px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td.pods-wizard-name em{color:#777;font-style:normal;font-size:14px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td.pods-wizard-name .pods-wizard-info{float:right;text-align:right;font-size:12px;padding-right:15px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr td img{display:none}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-complete td{background:#e6f9e6;color:#6f9472;border-top:1px solid #fff}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-complete td i{display:inline-block;width:17px;height:17px;background:url(../../images/tick.png)}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-warning td{background:#ffffe0;border-top:1px solid #e7dd5f;border-bottom:1px solid #e7dd5f}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-warning td:first-child{border-left:1px solid #e7dd5f}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-warning td:last-child{border-right:1px solid #e7dd5f}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-error td{background:#ffebe8;border-top:1px solid #cc0000;border-bottom:1px solid #cc0000}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-error td:first-child{border-left:1px solid #cc0000}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-error td:last-child{border-right:1px solid #cc0000}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-active td{background:#fff4e0;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;color:#eba600}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-active td img{display:inline}#pods-wizard-box #pods-wizard-main .pods-wizard-panel table tr.pods-wizard-table-pending td{border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;color:#ababab}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options{text-align:center}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option{width:290px;display:inline-block;vertical-align:top}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option:first-child{margin-right:40px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a{height:140px;padding-top:10px;display:block;background:#f9f9f9;position:relative;text-decoration:none;-webkit-border-top-left-radius:8px;-webkit-border-top-right-radius:8px;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:8px;-moz-border-radius-topright:8px;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:8px;border-top-right-radius:8px;border-bottom-right-radius:8px;border-bottom-left-radius:8px;-webkit-box-shadow:0px 0px 4px rgba(0,0,0,0.3);-moz-box-shadow:0px 0px 4px rgba(0,0,0,0.3);box-shadow:0px 0px 4px rgba(0,0,0,0.3)}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a h2{color:#21759B;font-weight:bold;font-size:1.5em;padding-right:0}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a p{font-style:normal;font-size:14px;color:#555555;margin:7px;line-height:17px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a:hover{background:#feffe0}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a:hover h2{color:#D54E21}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a span{display:none}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a.pods-wizard-option-active{background:#feffe0;color:#D54E21}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a.pods-wizard-option-active span{width:290px;height:30px;background:#D54E21;display:block;position:absolute;bottom:0;left:0;text-align:center;color:#fff;font:13px/30px bold Garamond, Georgia;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option a:visited p{color:#555555}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option p{font-size:12px;line-height:17px;font-style:italic}#pods-wizard-box #pods-wizard-main .pods-wizard-panel #pods-wizard-options .pods-wizard-option p em{margin:0;padding:0}#pods-wizard-box #pods-wizard-actions{height:35px;border:1px solid #dfdfdf;position:relative;clear:both;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px;background:#f3f3f3;background:-webkit-gradient(linear, left top, left bottom, from(#ededed), to(#f9f9f9));background:-moz-linear-gradient(center top, #ededed 0%, #f9f9f9 100%);background:-moz-gradient(center top, #ededed 0%, #f9f9f9 100%)}#pods-wizard-box #pods-wizard-actions .button{display:block;height:35px;width:110px;position:absolute;top:0;line-height:35px;text-align:center;font-weight:bold;font-size:15px;padding:0;border:none !important}#pods-wizard-box #pods-wizard-actions .button.button-primary{right:0;color:#fff;background:#2581ac;background:-webkit-gradient(linear, left top, left bottom, from(#278ab8), to(#22789f));background:-moz-linear-gradient(center top, #278ab8 0%, #22789f 100%);background:-moz-gradient(center top, #278ab8 0%, #22789f 100%);-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:0;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:0}#pods-wizard-box #pods-wizard-actions .button.button-primary:hover{background:#22789f}#pods-wizard-box #pods-wizard-actions .button.button-secondary{left:0;color:#7b7b7b;background:#c9c9c9;background:-webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#b2b2b2));background:-moz-linear-gradient(center top, #dfdfdf 0%, #b2b2b2 100%);background:-moz-gradient(center top, #dfdfdf 0%, #b2b2b2 100%);-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:8px}#pods-wizard-box #pods-wizard-actions .button.button-secondary:hover{background:#b2b2b2}#pods-wizard-box #pods-wizard-actions #pods-wizard-finished{display:none;height:35px;line-height:35px;text-align:center;padding-right:142px;text-transform:uppercase;color:#fff;font-weight:bold;text-shadow:1px 1px 1px rgba(0,0,0,0.2);background:#777;background:-webkit-gradient(linear, left top, left bottom, from(gray), to(#6e6e6e));background:-moz-linear-gradient(center top, gray 0%, #6e6e6e 100%);background:-moz-gradient(center top, gray 0%, #6e6e6e 100%);-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}#pods-wizard-box #pods-wizard-actions #pods-wizard-next.finished{width:150px}#pods-wizard-box.pods-wizard-hide-first #pods-wizard-main{border-bottom:1px solid #dfdfdf;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}#pods-wizard-box.pods-wizard-hide-first #pods-wizard-actions{display:none}
|
|
|
|
ui/styles/dist/pods.css
CHANGED
@@ -1,3 +1 @@
|
|
1 |
@font-face{font-family:"pods";src:url("../../fonts/pods.eot");src:url("../../fonts/pods.eot?#iefix") format("embedded-opentype"),url("../../fonts/pods.woff") format("woff"),url("../../fonts/pods.ttf") format("truetype"),url("../../fonts/pods.svg#pods") format("svg");font-weight:normal;font-style:normal}[class^="pods-icon-"]:before,[class*=" pods-icon-"]:before{font-family:"pods" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pods-icon-dashicon:before{content:"c"}#toplevel_page_pods .dashicons-before,#toplevel_page_pods .dashicons-before:before,.dashicons-pods:before{font-family:"pods" !important;font-size:20px;content:"c"}.pods-hidden{display:none}.pods-admin .pods-leaf-watermark-right{position:fixed;width:250px;bottom:-50px;right:-50px;z-index:-1;opacity:0.1}.pods-admin .pods_floatmenu{width:200px}.pods-admin .pods-icon{display:inline-block;padding:1px 0 0 5px;vertical-align:top}.icon32#icon-pods{background:url(../../images/icon32.png) no-repeat}.pods-admin .waiting{display:none;vertical-align:middle}.pods-admin button,.pods-admin a.button,.pods-admin a.button-secondary,.pods-admin a.button-primary{vertical-align:middle}.pods-admin .pods-validate.pods-validate-error{border-color:#C89797;color:#790000;background-color:#FFDFDF}.pods-admin .pods-validate-error-message{color:#790000;font-weight:bold;padding:5px 10px 4px;display:inline-block}.pods-admin .pods-advanced-toggle{font-size:12px;text-decoration:underline}.pods-admin .pods-advanced{display:none;width:100%}.pods-wizard p{font-size:14px}.pods-wizard #poststuff h1,.pods-wizard h2,.pods-wizard h3{margin-bottom:0 !important}.pods-admin #poststuff h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.pods-tabbed ul.pods-tabs:before{content:"";display:table}.pods-tabbed ul.pods-tabs:after{content:"";display:table;clear:both}.pods-tabbed ul.pods-tabs{zoom:1;margin-bottom:0}.pods-tabbed ul.pods-tabs li.pods-tab{float:left;margin:0}.pods-tabbed ul.pods-tabs li.pods-tab a{-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;-webkit-border-radius:5px 5px 0 0;background:#e9e9e9;border:1px solid #CCD0D4;border-radius:5px 5px 0 0;display:block;float:left;font-size:14px;margin-right:5px;padding:5px 10px;text-decoration:none}.pods-tabbed ul.pods-tabs li.pods-tab a.selected{background:#FFF;border-bottom:1px solid #FFF}.pods-tabbed .pods-tab-group h4{margin:5px 10px}.pods-tabbed .pods-tab-group .pods-tab{display:none;margin-bottom:15px;margin-top:-1px;width:99%;border:1px solid #CCD0D4;border-bottom:0}.pods-nav-tabbed .pods-nav-tab-group .pods-nav-tab{display:none}.pods-nav-tabbed .pods-nav-tab-group .pods-nav-tab.pods-submittable-fields{border:1px solid #CCD0D4;border-bottom:0}tbody.pods-manage-list div{overflow:hidden;zoom:1}tbody.pods-manage-list div.pods-manage-row-wrapper{max-width:500px;display:none;width:100%}tbody.pods-manage-list tr.pods-manage-row-expanded{background:#f1f1f1}tbody.pods-manage-list tr.pods-manage-row-expanded td.pods-manage-row-name,tbody.pods-manage-list tr.pods-manage-row-expanded td.pods-manage-row-type,tbody.pods-manage-list tr.pods-manage-row-expanded td.pods-manage-row-comment,tbody.pods-manage-list tr.pods-manage-row-expanded span.pods-manage-row-id,tbody.pods-manage-list tr.pods-manage-row-expanded div.row-actions,tbody.pods-manage-list tr.pods-manage-row-expanded th.pods-manage-sort img{display:none}tbody.pods-manage-list tr.pods-manage-row th.pods-manage-sort{cursor:move}tbody.pods-manage-list tr.pods-manage-row th.pods-manage-sort img{vertical-align:top;margin-top:7px;margin-left:-5px}tbody.pods-manage-list tr.pods-manage-row td>span.pods-manage-row-more{display:none;margin-left:5px;color:#999}tbody.pods-manage-list tr.pods-manage-row td:hover>span.pods-manage-row-more{display:inline}tbody.pods-manage-list tr div.pods-manage-row-wrapper .pods-manage-row-actions{margin-bottom:4px;overflow:visible}tbody.pods-manage-list tr div.pods-manage-row-wrapper .pods-manage-row-delete{float:left;text-align:left;width:40%}tbody.pods-manage-list tr div.pods-manage-row-wrapper .pods-manage-row-save{float:right;text-align:right}tbody.pods-manage-list tr.pods-field-new div.pods-manage-row-wrapper .pods-manage-row-delete a.submitdelete,tbody.pods-manage-list tr div.pods-manage-row-wrapper .pods-manage-row-save a.pods-button-add,tbody.pods-manage-list tr.pods-field-new div.pods-manage-row-wrapper .pods-manage-row-save a.pods-button-update{display:none}tbody.pods-manage-list tr.pods-field-new div.pods-manage-row-wrapper .pods-manage-row-save a.pods-button-add{display:inline-block}tbody.pods-manage-list .pods-manage-row th.check-field{border:5px solid transparent;border-right:0;padding:3px 5px;transition:border-color 300ms ease}tbody.pods-manage-list .pods-field-updated th.check-field{border-left-color:#95BF3B}tbody.pods-manage-list .pods-manage-row-expanded th.check-field,tbody.pods-manage-list .pods-field-new th.check-field{border-left-color:#E35036}.pods-toggled{clear:both;margin-top:30px}.pods-toggled.pods-toggled-only{margin-top:0}.pods-toggled h3{cursor:pointer}.pods-no-toggle h3{cursor:default}tr.pods-toggled-on{background-color:#FFF}tr.pods-toggled-off{background-color:#F4F4F4}.pods-depends-on,.pods-excludes-on,.pods-wildcard-on{display:none}.pods-tabbed div{overflow:hidden;zoom:1}.pods-tab.pods-basic-options{display:block}.pods-tab#pods-advanced-labels,.pods-tab#pods-advanced-settings-labels{display:block}div.pods-manage-field div{overflow:hidden;zoom:1}div.pods-manage-field .description{clear:both}div.pods-manage-field .pods-field-option,div.pods-manage-field .pods-field-option-group{background:#fcfcfc;border-bottom:1px solid #CCD0D4;padding:10px}div.pods-manage-field .pods-pick-values li,div.pods-manage-field .pods-field{position:relative}div.pods-manage-field .pods-pick-values li{margin:0}div.pods-manage-field .pods-field-option:nth-child(odd),div.pods-manage-field .pods-field-option-group:nth-child(odd){background:#fff}div.pods-manage-field .pods-field-option label,div.pods-manage-field .pods-field-option-group .pods-field-option-group-label{padding-top:4px;float:left;width:30%;max-width:150px;margin-right:2%}.pods-manage-field .pods-field.pods-boolean label,.pods-manage-field .pods-field-option .pods-pick-values label{float:none;width:auto;max-width:100%;display:block;margin-left:22px;padding:7px 0;line-height:14px;margin-right:0}.pods-manage-field .pods-field-option .pods-pick-values .pods-field.pods-boolean{float:none;margin-left:0;width:auto;max-width:100%}.pods-manage-field .pods-field-option input[type="text"],.pods-manage-field .pods-field-option select,.pods-manage-field .pods-field-option textarea,.pods-manage-field .pods-field-option .pods-field.pods-boolean,.pods-manage-field .pods-pick-values,.pods-manage-field .pods-field-option .pods-form-ui-field-type-file,.pods-manage-field .pods-slider-field{display:block;float:left;width:65%;max-width:25em}.pods-manage-field label+div .pods-pick-values{width:96%}.pods-manage-field .pods-field-option .pods-form-ui-field-type-wysiwyg textarea{max-width:100%}.pods-manage-field .pods-field-option div select{float:none;width:100%;margin:0;max-width:100%}.pods-manage-field .pods-field-option .pods-form-ui-field-type-file{padding-bottom:8px}.pods-manage-field .pods-field-option .pods-form-ui-field-type-file table.form-table tr.form-field td{padding:0;border-bottom:none}.pods-manage-field .pods-field-option .pods-form-ui-field-type-file table.form-table,.pods-manage-field .pods-field-option-group p.pods-field-option-group-label{margin-top:0}.pods-manage-field input[type="checkbox"],.pods-manage-field input[type="radio"]{display:inline-block;margin:6px 6px 6px 1px;float:left;vertical-align:middle;position:static}.pods-manage-field .pods-pick-values input[type="checkbox"],.pods-manage-field .pods-pick-values input[type="radio"]{margin:6px}.pods-manage-field .pods-pick-values ul{overflow:auto;margin:5px 0}.pods-manage-field .pods-pick-values ul .pods-field.pods-boolean,.pods-manage-field .pods-pick-values ul ul{margin:0}.pods-manage-field .pods-pick-values.pods-zebra{width:100%;max-width:100%}.pods-manage-field .pods-pick-values.pods-zebra li{margin-bottom:4px}.pods-manage-field .pods-pick-values.pods-zebra div.pods-boolean input{margin:4px}.pods-manage-field .pods-pick-values.pods-zebra div.pods-boolean label{margin-left:26px;padding:5px 0}.pods-manage-field .pods-pick-values li.pods-zebra-odd{display:block;width:50%;float:left;clear:both}.pods-manage-field .pods-pick-values li.pods-zebra-even{display:block;width:50%;float:left;clear:none}.pods-manage-field .pods-pick-values .regular-text{max-width:95%}.pods-manage-field li>.pods-field.pods-boolean:hover{background:#f5f5f5}.pods-manage-field input.pods-form-ui-no-label{position:relative}.pods-sluggable .pods-slug em{cursor:pointer}.pods-sluggable a.cancel{font-size:12px}.pods-sluggable .pods-slug-edit{display:none}.pods-admin ul.ul-disc span.resolved:before{content:"Resolved: ";background:green;color:white;padding:2px;border-radius:5px;margin-right:5px}.pods-manage-field .pods-dfv-field .pods-ui-file-list.pods-field-template-rows,.pods-manage-field .pods-dfv-field .pods-ui-list-autocomplete{width:65%;max-width:25em}tbody.pods-manage-list tr.flexible-row{display:none}.pods-admin .pods-float-right{float:right}.pods-admin p.pods-manage-row-add{text-align:right}div.row-actions.row-actions-toggle{display:block;visibility:visible}table.pods-admin{table-layout:fixed}#pods-rest-api label[for="pods-form-ui-no-dependencies"]{width:100%;max-width:initial}body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option input[type="text"],body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option select,body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option textarea,body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option .pods-field.pods-boolean,body[class*="settings_page_pods-"] .pods-manage-field .pods-pick-values,body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option .pods-form-ui-field-type-file,body[class*="settings_page_pods-"] .pods-manage-field .pods-slider-field{float:none}@media only screen and (max-width: 850px){.pods-admin .pods_floatmenu{position:static !important;float:none;display:block;width:100%}.pods-admin .pods_floatmenu .inner-sidebar{float:none;width:auto}}@media screen and (max-width: 782px){.wp-list-table td.column-secondary{display:block !important;margin-top:-10px;margin-bottom:5px}.wp-list-table .is-expanded td.column-secondary{margin-top:0;margin-bottom:0}div.pods-manage-field .pods-field-option label,div.pods-manage-field .pods-field-option-group .pods-field-option-group-label{float:none;display:block;width:100%;max-width:none;padding-bottom:4px;margin-bottom:0;line-height:22px}.pods-manage-field .pods-field-option input[type="text"],.pods-manage-field .pods-field-option select,.pods-manage-field .pods-field-option textarea,.pods-manage-field .pods-field-option .pods-field.pods-boolean,.pods-manage-field .pods-pick-values,.pods-manage-field .pods-field-option .pods-form-ui-field-type-file,.pods-manage-field .pods-slider-field{display:block;margin:0;width:100%;max-width:none}.pods-manage-field .pods-field.pods-boolean label,.pods-manage-field .pods-field-option .pods-pick-values label{line-height:22px;font-size:14px;margin-left:34px}.pods-manage-field .pods-pick-values li.pods-zebra-odd,.pods-manage-field .pods-pick-values li.pods-zebra-even{display:block;width:100%;float:none;clear:both}}.pods-admin--flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.pods-admin--flex>*{flex-grow:1}.pods-admin_friends-callout_container{min-width:250px;width:100%;max-width:100%;border:1px solid #e5e5e5;border-bottom:5px solid #95bf3b;background:white;position:relative}@media (min-width: 851px){.pods-admin--flex{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.pods-admin_friends-callout_container{max-width:250px;margin-left:20px;margin-top:52px}}.pods-admin_friends-callout_logo-container{width:calc(100% - 40px);max-height:70px;background-color:#95BF3B;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:23px 20px 20px}.pods-admin_friends-callout_logo-container svg{width:80%}.pods-admin_friends-callout_content-container{padding:0 20px 20px}.pods-admin_friends-callout_close{background:none;border:none;position:absolute;top:4px;right:5px;z-index:999;width:25px;height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-transition:300ms ease background-color;-o-transition:300ms ease background-color;transition:300ms ease background-color;border-radius:100%}.pods-admin_friends-callout_close:hover{background-color:#85ab33;cursor:pointer}.pods-admin_friends-callout_close svg{width:15px;height:15px;display:block;fill:white;position:absolute;top:55%;left:50%;-webkit-transform:translate(-51%, -50%);-ms-transform:translate(-51%, -50%);transform:translate(-51%, -50%)}.pods-admin_friends-callout_logo{width:100%;max-width:175px}.pods-admin_friends-callout_headline{font-size:21px;line-height:1.3;font-weight:100;margin-bottom:.5em}.pods-admin_friends-callout_button-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pods-admin_friends-callout_button{padding:0;color:#444;display:block;font-weight:600;-webkit-transition:300ms ease color;-o-transition:300ms ease color;transition:300ms ease color}.pods-admin_friends-callout_button:hover{color:#95bf3b}.pods-admin_friends-callout_button--join{padding:8px 10px;color:#444;background:#f6f6e8;display:block;text-align:center;-webkit-transition:300ms ease all;-o-transition:300ms ease all;transition:300ms ease all;font-weight:600;text-transform:uppercase;text-decoration:none;border:1px solid #f6f6e8}.pods-admin_friends-callout_button--join:hover{background:#ececce;color:#000}.pods-admin_friends-callout_button--join:last-child{background:#95bf3b;border:1px solid #f6f6e8;color:#f6f6e8}.pods-admin_friends-callout_button--join:last-child:hover{background:#85ab33;color:#fff}.pods-admin_friends-you{font-weight:700;font-size:24px}.pods-admin_friends-callout_date{display:block;font-size:70%}@media (min-width: 1600px){.pods-admin_friends-callout_container{margin-left:40px;margin-right:80px}}.dialogWithDropShadow{-webkit-box-shadow:0 0 10px rgba(0,0,0,0.5);-moz-box-shadow:0 0 10px rgba(0,0,0,0.5);box-shadow:0 0 10px rgba(0,0,0,0.5)}#pods-parts-right{width:250px;margin-right:10px}.pods-parts-icon{display:inline-block;padding:10px 0 10px 25px;text-decoration:none}.pods-parts-icon-edit{background:url(../../images/page_white_edit.png) left center no-repeat}.pods-parts-icon-add{background:url(../../images/bullet_add.png) left center no-repeat}#pods-parts-left{margin-right:-260px;width:100%}#pods-parts-content-editors{margin-right:280px}.editor-wide{width:100%;height:369px;background:#f6f6f6;color:#666}.editor-wide:focus{background:#f9f9f9;color:#333}#pods-parts-popup label{width:70px;display:block;float:left;text-align:right;margin-right:10px;clear:left;margin-top:3px;font-size:12px;font-family:Georgia;font-style:italic;color:#6c6c6c;letter-spacing:.2px}#pods-parts-popup input[type=text],#pods-parts-popup select{width:188px;margin-bottom:10px;font-size:12px;padding:2px}#pods-parts-popup input[type=text]{padding:5px}#pods-parts-popup .button-primary{float:right;text-align:center}#pods-parts-popup p{color:#858585}#pods-parts-popup .blue{display:block}#pods-parts-popup .blue a{color:#21759B;text-decoration:none;font-weight:bold}#pods-parts-popup .gray{color:#9c9c9c;font-size:11px}#pods-parts-popup table{padding:0;margin:0}#pods-parts-popup table td .bluehighlight{padding:4px 6px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin:5px 0}#pods-parts-popup table td .bluehighlight .actions{display:none;font-size:11px}#pods-parts-popup table td .bluehighlight .actions a{color:#21759B;text-decoration:none}#pods-parts-popup table td .bluehighlight .actions a.deletepodspart{color:#ff0000}#pods-parts-popup table td .bluehighlight .actions a:hover{text-decoration:underline}#pods-parts-popup table td .bluehighlight:hover{background:#f6f6f6}#pods-parts-popup table td .bluehighlight:hover .actions{display:inline;float:right;text-align:right}#ui-dialog-title-pods-parts-popup{font-family:Georgia !important;font-weight:normal}.button-secondary{text-align:center}.lightgraybackground{background:#f6f6f6;padding:2px 7px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#pods-parts-search{width:390px;float:left}#pods-parts-search label,#pods-parts-filter label,#pods-parts-display-per-page label{width:auto;margin-top:6px;font-family:Georgia;color:#6c6c6c;font-style:italic;letter-spacing:.5px}#pods-parts-display-per-page select{width:50px}#pods-parts-search .button-secondary{width:120px;margin-left:5px}#pods-parts-filter{width:320px;float:right;text-align:right}#pods-parts-filter select{width:115px}#pods-parts-filter .button-secondary{width:60px;margin-left:5px}.pods-parts-pagination .current-page{width:40px !important;margin:0 2px}.pods-parts-pagination a{margin:0 2px}ul.pods-dfv-list ul{list-style:none;margin:0;padding:0}ul.pods-dfv-list,.pods-dfv-field .pods-pick-values>ul{background:#fff;margin:0 0 5px 0;padding:0;border-radius:0;border:1px solid #dfdfdf;overflow:hidden;max-height:220px;overflow-y:auto}ul.pods-dfv-list:empty{display:none}ul.pods-dfv-list-meta{display:block;overflow:hidden;zoom:1;position:relative}ul.pods-dfv-list li.pods-dfv-list-col{float:left;margin:0;padding:0}ul.pods-dfv-list li.pods-dfv-list-icon{width:40px;margin:0 5px;height:32px;font-size:0;line-height:32px;text-align:center}ul.pods-dfv-list li.pods-dfv-list-icon img{display:inline-block;vertical-align:middle;float:none;border-radius:2px;margin:0;max-height:100%;width:auto}ul.pods-dfv-list li.pods-dfv-list-icon span.pinkynail{font-size:32px;width:32px;height:32px}ul.pods-dfv-list li.pods-dfv-list-handle{width:25px;height:32px;float:left;cursor:move}ul.pods-dfv-list li.pods-dfv-list-edit,ul.pods-dfv-list li.pods-dfv-list-link,ul.pods-dfv-list li.pods-dfv-list-download,ul.pods-dfv-list li.pods-dfv-list-remove{width:25px;height:32px;float:right}ul.pods-dfv-list li.pods-dfv-list-handle span,ul.pods-dfv-list li.pods-dfv-list-edit a,ul.pods-dfv-list li.pods-dfv-list-link a,ul.pods-dfv-list li.pods-dfv-list-download a,ul.pods-dfv-list li.pods-dfv-list-remove a{display:block;width:25px;height:32px;opacity:0.40;text-decoration:none;color:#616161}ul.pods-dfv-list li.pods-dfv-list-handle span:hover,ul.pods-dfv-list li.pods-dfv-list-edit a:hover,ul.pods-dfv-list li.pods-dfv-list-link a:hover,ul.pods-dfv-list li.pods-dfv-list-download a:hover,ul.pods-dfv-list li.pods-dfv-list-remove a:hover{opacity:1}ul.pods-dfv-list li.pods-dfv-list-handle span:focus,ul.pods-dfv-list li.pods-dfv-list-edit a:focus,ul.pods-dfv-list li.pods-dfv-list-link a:focus,ul.pods-dfv-list li.pods-dfv-list-download a:focus,ul.pods-dfv-list li.pods-dfv-list-remove a:focus{-webkit-box-shadow:none;box-shadow:none}ul.pods-dfv-list li.pods-dfv-list-handle span:before,ul.pods-dfv-list li.pods-dfv-list-edit a:before,ul.pods-dfv-list li.pods-dfv-list-link a:before,ul.pods-dfv-list li.pods-dfv-list-download a:before,ul.pods-dfv-list li.pods-dfv-list-remove a:before{margin:0 24px 0 -24px;font:400 20px/1 dashicons;line-height:32px}ul.pods-dfv-list li.pods-dfv-list-handle span:before{content:"\f156"}ul.pods-dfv-list li.pods-dfv-list-edit a:before{content:"\f464"}ul.pods-dfv-list li.pods-dfv-list-link a:before{content:"\f504"}ul.pods-dfv-list li.pods-dfv-list-download a:before{content:"\f316"}ul.pods-dfv-list li.pods-dfv-list-remove a:before{content:"\f158"}ul.pods-dfv-list li.pods-dfv-list-handle span,ul.pods-dfv-list li.pods-dfv-list-edit a,ul.pods-dfv-list li.pods-dfv-list-link a,ul.pods-dfv-list li.pods-dfv-list-download a,ul.pods-dfv-list li.pods-dfv-list-remove a{text-indent:100%;white-space:nowrap;overflow:hidden;box-shadow:none}ul.pods-dfv-list li.pods-dfv-list-name{position:absolute;left:80px;right:105px;padding:3px 0;line-height:24px;overflow:visible;white-space:nowrap}ul.pods-dfv-list li.pods-dfv-list-name input[type=text]{width:100% !important;font-size:1em;line-height:1;padding:.3vh 5px;margin:0}li.pods-dfv-list-item,.pods-pick-values li.pods-dfv-list-item{display:block;padding:6px 5px 6px 10px;margin:0;border-bottom:1px solid #efefef}li.pods-dfv-list-item:hover{background:#f5f5f5}li.pods-dfv-list-item:last-of-type{border-bottom:0}ul.pods-dfv-list-queue{margin:14px 0 5px}ul.pods-dfv-list-queue li.pods-dfv-list-name{position:relative;width:73%;left:auto;right:auto;padding-top:0}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress,ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress div.progress-bar{border-radius:10px;height:18px}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress{position:relative;width:23%;margin:2px 2% 0 0;background-color:#e8e8e8}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress div.progress-bar{width:0;background-color:#1073AA}li.pods-dfv-list-item:after,ul.pods-dfv-list li.pods-dfv-list-item ul.pods-dfv-list-meta:after,ul.pods-dfv-list-queue li.pods-dfv-list-item:after,ul.pods-dfv-list-queue li.pods-dfv-list-item ul.pods-dfv-list-meta:after{content:"";display:table;clear:both}.pods-field-template-tiles ul.pods-dfv-list{max-height:500px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-item{display:inline-block;width:150px;border-bottom:0;padding:5px 10px 10px;vertical-align:top}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-icon{width:auto;float:none;margin:32px 0 0;max-height:150px;height:150px;line-height:150px;text-align:center}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle span:before{content:"\f545"}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-icon img{max-width:none;max-height:none;float:none;display:inline-block;vertical-align:middle;margin:0}form.pods-form .pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-name{position:static;float:none}form.pods-form .pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-name input[type=text]{margin:0;padding:.3vh 6px}.pods-dfv-field .select2-container .select2-selection--single{height:30px}.pods-dfv-field .select2-container--default .select2-selection--single .select2-selection__clear{height:28px;line-height:26px}.pods-dfv-field .select2-container--default .select2-selection--multiple .select2-selection__rendered li{background:none}.pods-dfv-field .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px;line-height:1;vertical-align:top}.pods-dfv-field .select2-container--default .select2-selection--multiple li.select2-selection__choice{padding:3px 5px;background-color:#f5f5f5;border-color:#dfdfdf;line-height:1.2;margin:5px 5px 5px 0}.pods-dfv-field .select2-container--default .select2-selection--multiple li.select2-selection__choice:hover{background-color:#fafafa;border-color:#bbb;cursor:move}.pods-dfv-field .pods-select2 .select2-container-multi .select2-choices .select2-search-field input{height:auto}.pods-dfv-field .select2-container--default .select2-selection--multiple{border-color:#ddd;border-radius:1px}.pods-dfv-field .select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,0.8);box-shadow:0 0 2px rgba(30,140,190,0.8)}.pods-pick-values .select2-container li{padding:0;line-height:inherit}.select2-container .select2-selection--multiple .select2-search--inline{float:none}.select2-container .select2-selection--multiple .select2-search--inline:first-child .select2-search__field{width:100% !important}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-edit,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-link,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-download,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-remove{position:absolute;top:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle{left:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-edit{right:75px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-link{right:50px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-download{right:25px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-remove{right:0}ul.pods-dfv-list li.pods-dfv-list-actions{position:absolute;top:0;right:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-edit,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-link,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-download,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-remove{position:static;float:right}a.pods-quick-add,span.pods-quick-add{display:block;line-height:36px;float:right;margin-right:15px}div.open a.pods-quick-add,div.open span.pods-quick-add{display:none}.pods-ui-field .pods-dfv-list-add{margin-bottom:10px}form.pods-manage ol.form-fields{list-style:none;padding-left:0;margin:0}form.pods-manage .chzn-container{display:block}form.pods-manage .pods-field label{cursor:pointer;display:inline-block;padding:0 0 4px 2px}form.pods-manage .pods-field input,form.pods-manage .pods-field textarea{display:block;width:100%}form.pods-manage .pods-field textarea{font-family:monospace;height:100%;resize:none}form.pods-manage .pods-field p.pods-field-comment{color:#aaa;font-size:.9em;font-style:italic;margin:5px 0 0 2px !important}form.pods-manage .pods-pick select{display:block;min-width:125px;padding:4px}form.pods-manage .pods-boolean{position:relative;cursor:pointer}form.pods-manage .pods-boolean input{display:block;height:auto;left:2px;margin:1px 7px 0 0;padding:0;position:absolute;top:10px;width:auto}form.pods-manage .pods-boolean label{margin-left:20px}form.pods-manage .pods-dfv-list-item label{padding-bottom:8px}form.pods-manage .pods-dfv-list-item input{display:none}form.pods-manage ul.pods-dfv-list{background:#fbfbfb;border:1px solid #dfdfdf;border-bottom:0;border-radius:3px;list-style:none;margin:0;padding:0}form.pods-manage ul.pods-dfv-list li{background:#fff;border-bottom:1px solid #dfdfdf;margin:0;position:relative;padding-bottom:10px}form.pods-manage ul.pods-dfv-list li span{display:inline-block;float:none}form.pods-manage ul.pods-dfv-list li span.pods-file-reorder{left:3px;position:absolute;top:15px;width:30px}form.pods-manage ul.pods-dfv-list li span.pods-file-reorder img{cursor:move;display:block}form.pods-manage ul.pods-dfv-list li span.pods-file-thumb{left:35px;position:absolute;top:2px;width:45px}form.pods-manage ul.pods-dfv-list li span.pods-file-thumb .pinkynail{float:none;margin:0;max-width:40px !important;max-height:40px !important}form.pods-manage ul.pods-dfv-list li span.pods-dfv-list-name{padding:11px 35px 0 85px}form.pods-manage ul.pods-dfv-list li span.pods-file-remove{position:absolute;right:10px;top:10px;width:25px}form.pods-manage ul.pods-dfv-list li span.pods-file-remove img{cursor:pointer;display:block}form.pods-manage .pods-pick-values{background:#fff;border:1px solid #dfdfdf;border-radius:3px;min-width:125px;overflow:auto;padding:2px 0}form.pods-manage .pods-pick-values ul{overflow:auto}form.pods-manage .pods-pick-values li{border-bottom:1px solid #f4f4f4;line-height:1em;margin:0;padding:3px 6px 2px}form.pods-manage .pods-pick-values li:nth-child(even){background:#fcfcfc}form.pods-manage .pods-pick-values label{padding-bottom:3px;padding-top:3px}form.pods-manage .pods-pick-values li:last-of-type{border-bottom:0}form.pods-manage .pods-pick-values li .pods-field{padding:3px 0 2px}form.pods-manage .pods-pick-values li .pods-boolean input{top:5px}form.pods-manage .pods-pick-values li:hover{background:#f5f5f5}form.pods-manage select.pods-pick-multi{height:auto !important}form.pods-manage .pods-field,form.pods-manage p.pods-add-file{clear:both;padding:10px 0}form.pods-manage .pods-textfield input,form.pods-manage .pods-textarea textarea{width:100%}form.pods-manage .pods-textfield input,form.pods-manage .pods-textarea textarea{padding:5px 7px;color:#808080}form.pods-manage .pods-textarea textarea{resize:vertical}form.pods-manage .pods-textfield input:focus,form.pods-manage .pods-textarea textarea:focus{border-color:#a0a0a0;box-shadow:0 0 5px rgba(0,0,0,0.1);color:#000}form.pods-manage .pods-date input,form.pods-manage .pods-number input{min-width:125px}form.pods-manage .pods-date input.pods-date-field.hasDatepicker{background:#fff url(../../images/calendar16.png) no-repeat 5px 5px;cursor:pointer;padding-left:25px !important;padding-top:6px !important;width:150px}form.pods-manage .pods-slider-field{margin:10px 0}form.pods-manage .pods-slider-field-display{padding:10px 0}form.pods-manage ul.ui-sortable li{cursor:move}form.pods-manage ul.ui-sortable li:hover{background:#f5f5f5;cursor:move}form.pods-manage ul.ui-sortable li:hover{background:#f5f5f5}form.pods-manage .ui-slider-handle{z-index:0 !important}form.pods-manage table.plupload-queue tr.hide{display:none}form.pods-manage table.plupload-queue td.progress{width:175px}form.pods-manage table.plupload-queue td.progress .progress-bar{width:0;height:14px;background:black}form.pods-manage .plupload-queue{width:250px}form.pods-manage .plupload-progress{position:relative}form.pods-manage .plupload-progress .progress-bar{position:absolute;height:14px;width:0%;background:#4d4d4d;margin-left:10px}form.pods-manage .plupload-progress .file-name{vertical-align:top}form.pods-manage .pods-inline-files li{margin-top:10px}form.pods-manage .pods-inline-files li .file-name{vertical-align:top !important}form.pods-manage .pods-inline-files li .remove{cursor:pointer}form.pods-manage .pods-inline-files .plupload-progress{width:150px}table.DMB_metabox td,table.DMB_metabox th{border-bottom:1px solid #f5f5f5}table.DMB_metabox th{text-align:right;font-weight:bold}table.DMB_metabox th label{margin-top:6px;display:block}p.DMB_metabox_description{color:#AAA;font-style:italic;margin:2px 0 !important}span.DMB_metabox_description{color:#AAA;font-style:italic}input.DMB_text_small{width:100px;margin-right:15px}input.DMB_text_money{width:90px;margin-right:15px}input.DMB_text_medium{width:230px;margin-right:15px}table.DMB_metabox input,table.DMB_metabox textarea{font-size:11px;padding:5px}table.DMB_metabox li{font-size:11px;float:left;width:25%;margin:0 10px}table.DMB_metabox ul{padding-top:5px}table.DMB_metabox select{font-size:11px;padding:5px 10px}table.DMB_metabox input:focus,table.DMB_metabox textarea:focus{background:#fffff8}.DMB_metabox_title{margin:0 0 5px 0;padding:5px 0 0 0;font:italic 24px/35px Georgia, "Times New Roman", "Bitstream Charter", Times, serif}.DMB_radio_inline{padding:4px 0 0 0}.DMB_radio_inline_option{display:inline;padding-right:18px}table.DMB_metabox input[type="radio"]{margin-right:3px}table.DMB_metabox input[type="checkbox"]{margin-right:6px}table.DMB_metabox .mceLayout{border:1px solid #DFDFDF !important}table.DMB_metabox .meta_mce{width:97%}table.DMB_metabox .meta_mce textarea{width:100%}table.DMB_metabox .DMB_upload_status{margin:10px 0 0 0}table.DMB_metabox .DMB_upload_status .img_status{position:relative}table.DMB_metabox .DMB_upload_status .img_status img{border:1px solid #DFDFDF;background:#FAFAFA;max-width:350px;padding:5px;-moz-border-radius:2px;border-radius:2px}table.DMB_metabox .DMB_upload_status .img_status .remove_file_button{text-indent:-9999px;width:16px;height:16px}table.DMB_metabox thead tr{border-bottom:1px solid #ccc}.pods-modal-window{margin-top:-32px}.pods-modal-window.edit-tags-php #col-left,.pods-modal-window.edit-tags-php #col-left input,.pods-modal-window.edit-tags-php #col-left textarea{width:100%}.pods-modal-window #wpadminbar,.pods-modal-window #adminmenuback,.pods-modal-window #adminmenuwrap,.pods-modal-window #preview-action,.pods-modal-window #wpfooter,.pods-modal-window body.edit-tags-php #col-right,.pods-modal-window body.edit-tags-php .search-form{display:none}.pods-modal-window #wpbody-content{padding-bottom:0}.pods-modal-window #wpcontent{padding:0;margin:0 1.25em}.pods-modal-window .wrap{margin:0}.pods-ui-filter-bar{margin:10px 0 20px}.pods-ui-filter-bar-primary{padding:8px 15px;background-color:#FFF;border:1px solid #CCD0D4;position:relative;height:auto;line-height:35px;text-shadow:0 1px 0 white;overflow:hidden;word-wrap:break-word}.pods-ui-filter-bar-primary ul.subsubsub{margin:0 0 0 4px}.pods-ui-filter-bar-primary ul.subsubsub li{margin-right:5px}.pods-ui-filter-bar-primary ul.subsubsub li.pods-ui-filter-view-label{margin-right:8px;color:#222;font-size:14px}.pods-ui-filter-bar-primary ul.subsubsub li a{text-decoration:none;font-size:12px;line-height:13px;padding:3px 10px;cursor:pointer;border-radius:3px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;border:1px solid #BBB;color:#464646;background:#F2F2F2;text-shadow:#fff 0 1px 0}.pods-ui-filter-bar-primary ul.subsubsub li a:hover{color:#000}.pods-ui-filter-bar-primary ul.subsubsub li a:active{background:#EEE}.pods-ui-filter-bar-primary ul.subsubsub li a.current{border:none;font-weight:bold;color:white;background:#21759B;text-shadow:rgba(0,0,0,0.3) 0 -1px 0}.pods-ui-filter-bar-primary ul.subsubsub li a.current:hover{border-color:#13455B}.pods-ui-filter-bar-primary ul.subsubsub li a.current:active{background:#21759B repeat-x scroll left top}.pods-ui-filter-bar-primary ul.subsubsub li a.current:hover,.pods-ui-filter-bar-primary ul.subsubsub li a.current:active{color:#EAF2FA}.pods-ui-filter-bar-primary ul.subsubsub li a span{font-size:11px}.pods-ui-filter-bar-primary ul.subsubsub li a.current span{color:#F7F7F7}.pods-ui-filter-bar-primary p.search-box{margin:0}.pods-ui-filter-bar-primary p.search-box a.pods-ui-filter-reset{margin-right:6px;font-size:11px}body.branch-3-5 .pods-ui-filter-bar-primary p.search-box input[name="s"]{float:none;line-height:24px}body.branch-3-5 .pods-ui-filter-bar-primary p.search-box input.button{float:none;line-height:23px}.pods-ui-filter-bar-secondary{margin:0 auto;width:97%;background:#e1ecf2;border:1px solid #c0d4e0;padding:6px 8px;text-align:right;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.pods-ui-filter-bar-secondary ul.subsubsub{margin:0;float:none}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-add-filter{margin-right:8px}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-add-filter a{font-size:13px;font-weight:normal}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter{text-decoration:none;font-size:12px;line-height:13px;margin-left:8px;padding:4px 12px;cursor:pointer;-webkit-border-radius:11px;border-radius:11px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;border:none;background:#21759B;text-shadow:rgba(0,0,0,0.3) 0 -1px 0}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter a{color:white}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:hover{border-color:#13455B}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:active{background:#21759B}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:hover a:hover,.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:active a{color:#EAF2FA}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter a.remove-filter{padding-left:7px;margin-left:3px;border-left:1px solid #888;text-transform:uppercase;font-size:11px;color:#CCC}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:hover a.remove-filter{color:#CCC}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:hover a.remove-filter:hover{color:#CCC}.pods-ui-posts-filter-popup .pods-ui-posts-filters,.pods-ui-posts-filter-popup .pods-ui-posts-filters p.clear{clear:both}.pods-ui-posts-filter-popup label{display:block;margin-bottom:9px;font-weight:bold;font-size:15px;color:#282828;cursor:pointer}.pods-ui-posts-filter-popup .pods-ui-posts-filter label{margin:4px 0;font-size:13px}.pods-ui-posts-filter-popup .pods-ui-posts-filter-toggle{color:#2175A4;font-size:10px;line-height:15px;text-transform:uppercase;margin-left:9px;vertical-align:1px;float:right;cursor:pointer}.pods-ui-posts-filter-popup .pods-ui-posts-filter{clear:both;display:block;margin-bottom:4px}.pods-ui-posts-filter-popup .pods-ui-posts-filter.pods-hidden{display:none}.pods-ui-posts-filter-popup .pods-ui-posts-filter-toggle.toggle-on{font-size:14px}.pods-ui-posts-filter-popup .pods-ui-posts-filter-toggle:active,.pods-ui-posts-filter-popup .pods-ui-posts-filter-toggle:hover{color:#D54E21}.pods-ui-posts-filter-popup p{display:block;float:left;width:47%;margin:7px 0 20px 5%;border-bottom:1px solid #BABABA}.pods-ui-posts-filter-popup p.clear{margin-left:0}.pods-ui-posts-filter-popup p input,.pods-ui-posts-filter-popup p select,.pods-ui-posts-filter-popup p textarea{max-width:100%}.pods-ui-posts-filter-popup p input[type="text"],.pods-ui-posts-filter-popup p textarea{width:100%}.pods-ui-posts-filter-popup p.pods-ui-posts-filter-search{padding-bottom:0;border-bottom:none}.pods-ui-posts-filter-popup p.submit{margin-top:30px;padding:0 !important;border-bottom:none}body.branch-3-5 .pods-ui-posts-filter-popup p.submit{margin-top:36px}.pods-ui-posts-filter-popup p.submit.clear{clear:none;float:right;text-align:right}body.branch-3-4 .pods-ui-posts-filter-popup p.submit input.button{font-size:13px !important;padding:5px 32px}body.branch-3-5 .pods-ui-posts-filter-popup p.submit input.button{padding:0 32px}.pods-ui-posts-filter-popup p:after,.pods-ui-posts-filter-popup .pods-ui-posts-filters:after{content:".";display:block;height:0;clear:both;visibility:hidden}.pods-ui .wp-list-table .toggle-row{display:none}.pods-ui p div.pods-pick-values{display:inline}.pods-compat-container .CodeMirror{font-family:monospace;height:300px}.pods-compat-container .CodeMirror-scroll{overflow:auto}.pods-compat-container .CodeMirror-lines{padding:4px 0}.pods-compat-container .CodeMirror pre{padding:0 4px}.pods-compat-container .CodeMirror-scrollbar-filler,.pods-compat-container .CodeMirror-gutter-filler{background-color:white}.pods-compat-container .CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.pods-compat-container .CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;-moz-box-sizing:content-box;box-sizing:content-box}.pods-compat-container .CodeMirror-guttermarker{color:black}.pods-compat-container .CodeMirror-guttermarker-subtle{color:#999}.pods-compat-container .CodeMirror div.CodeMirror-cursor{border-left:1px solid black}.pods-compat-container .CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.pods-compat-container .CodeMirror.cm-fat-cursor div.CodeMirror-cursor{width:auto;border:0;background:#7e7}.pods-compat-container .CodeMirror.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.pods-compat-container .cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}@-moz-keyframes blink{0%{background:#7e7}50%{background:none}100%{background:#7e7}}@-webkit-keyframes blink{0%{background:#7e7}50%{background:none}100%{background:#7e7}}@keyframes blink{0%{background:#7e7}50%{background:none}100%{background:#7e7}}.pods-compat-container .cm-tab{display:inline-block;text-decoration:inherit}.pods-compat-container .CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.pods-compat-container .cm-s-default .cm-keyword{color:#708}.pods-compat-container .cm-s-default .cm-atom{color:#219}.pods-compat-container .cm-s-default .cm-number{color:#164}.pods-compat-container .cm-s-default .cm-def{color:#00f}.pods-compat-container .cm-s-default .cm-variable-2{color:#05a}.pods-compat-container .cm-s-default .cm-variable-3{color:#085}.pods-compat-container .cm-s-default .cm-comment{color:#a50}.pods-compat-container .cm-s-default .cm-string{color:#a11}.pods-compat-container .cm-s-default .cm-string-2{color:#f50}.pods-compat-container .cm-s-default .cm-meta{color:#555}.pods-compat-container .cm-s-default .cm-qualifier{color:#555}.pods-compat-container .cm-s-default .cm-builtin{color:#30a}.pods-compat-container .cm-s-default .cm-bracket{color:#997}.pods-compat-container .cm-s-default .cm-tag{color:#170}.pods-compat-container .cm-s-default .cm-attribute{color:#00c}.pods-compat-container .cm-s-default .cm-header{color:blue}.pods-compat-container .cm-s-default .cm-quote{color:#090}.pods-compat-container .cm-s-default .cm-hr{color:#999}.pods-compat-container .cm-s-default .cm-link{color:#00c}.pods-compat-container .cm-negative{color:#d44}.pods-compat-container .cm-positive{color:#292}.pods-compat-container .cm-header,.pods-compat-container .cm-strong{font-weight:bold}.pods-compat-container .cm-em{font-style:italic}.pods-compat-container .cm-link{text-decoration:underline}.pods-compat-container .cm-strikethrough{text-decoration:line-through}.pods-compat-container .cm-s-default .cm-error{color:#f00}.pods-compat-container .cm-invalidchar{color:#f00}.pods-compat-container div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}.pods-compat-container div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.pods-compat-container .CodeMirror-matchingtag{background:rgba(255,150,0,0.3)}.pods-compat-container .CodeMirror-activeline-background{background:#e8f2ff}.pods-compat-container .CodeMirror{background:none repeat scroll 0 0 white;color:black;line-height:1;margin:-6px -12px -12px;overflow:hidden;position:relative}.pods-compat-container .CodeMirror-scroll{margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative;-moz-box-sizing:content-box;box-sizing:content-box;z-index:0}.pods-compat-container .CodeMirror-sizer{position:relative;border-right:30px solid transparent;-moz-box-sizing:content-box;box-sizing:content-box}.pods-compat-container .CodeMirror-vscrollbar,.pods-compat-container .CodeMirror-hscrollbar,.pods-compat-container .CodeMirror-scrollbar-filler,.pods-compat-container .CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.pods-compat-container .CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.pods-compat-container .CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.pods-compat-container .CodeMirror-scrollbar-filler{right:0;bottom:0}.pods-compat-container .CodeMirror-gutter-filler{left:0;bottom:0}.pods-compat-container .CodeMirror-gutters{position:absolute;left:0;top:0;padding-bottom:30px;z-index:3}.pods-compat-container .CodeMirror-gutter{white-space:normal;height:100%;-moz-box-sizing:content-box;box-sizing:content-box;padding-bottom:30px;margin-bottom:-32px;display:inline-block;*zoom:1;*display:inline}.pods-compat-container .CodeMirror-gutter-wrapper{position:absolute;z-index:4;height:100%}.pods-compat-container .CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.pods-compat-container .CodeMirror-lines{cursor:text;min-height:1px}.pods-compat-container .CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible}.pods-compat-container .CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:break-all}.pods-compat-container .CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.pods-compat-container .CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.pods-compat-container .CodeMirror-wrap .CodeMirror-scroll{overflow-x:hidden}.pods-compat-container .CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.pods-compat-container .CodeMirror-measure pre{position:static}.pods-compat-container .CodeMirror div.CodeMirror-cursor{position:absolute;border-right:none;width:0}.pods-compat-container div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.pods-compat-container .CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.pods-compat-container .CodeMirror-selected{background:#d9d9d9}.pods-compat-container .CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.pods-compat-container .CodeMirror-crosshair{cursor:crosshair}.pods-compat-container .cm-searching{background:#ffa;background:rgba(255,255,0,0.4)}.pods-compat-container .CodeMirror span{*vertical-align:text-bottom}.pods-compat-container .cm-force-border{padding-right:.1px}@media print{.pods-compat-container .CodeMirror div.CodeMirror-cursors{visibility:hidden}}.pods-compat-container .cm-tab-wrap-hack:after{content:''}.pods-compat-container span.CodeMirror-selectedtext{background:none}.pods-compat-container .ui-timepicker-div .ui-widget-header{margin-bottom:8px}.pods-compat-container .ui-timepicker-div dl{text-align:left}.pods-compat-container .ui-timepicker-div dl dt{height:25px;margin-bottom:-25px}.pods-compat-container .ui-timepicker-div dl dd{margin:0 10px 10px 65px}.pods-compat-container .ui-timepicker-div td{font-size:90%}.pods-compat-container .ui-timepicker-div .ui_tpicker_unit_hide{display:none}.pods-compat-container .ui-timepicker-div .ui_tpicker_time_input{width:100%}.pods-compat-container .ui-tpicker-grid-label{background:none;border:none;margin:0;padding:0}.pods-compat-container .ui-timepicker-rtl{direction:rtl}.pods-compat-container .ui-timepicker-rtl dl{text-align:right}.pods-compat-container .ui-timepicker-rtl dl dd{margin:0 65px 10px 10px}.pods-compat-container .ui-helper-hidden{display:none}.pods-compat-container .ui-helper-hidden-accessible{position:absolute !important;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px)}.pods-compat-container .ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.pods-compat-container .ui-helper-clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}.pods-compat-container .ui-helper-clearfix{display:inline-block}.pods-compat-container * html .ui-helper-clearfix{height:1%}.pods-compat-container .ui-helper-clearfix{display:block}.pods-compat-container .ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.pods-compat-container .ui-state-disabled{cursor:default !important}.pods-compat-container .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.pods-compat-container .ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.pods-compat-container .ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.pods-compat-container .ui-widget .ui-widget{font-size:1em}.pods-compat-container .ui-widget input,.pods-compat-container .ui-widget select,.pods-compat-container .ui-widget textarea,.pods-compat-container .ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.pods-compat-container .ui-widget-content{border:1px solid #aaaaaa;background:#fff url(../../images/smoothness/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222222}.pods-compat-container .ui-widget-content a{color:#222222}.pods-compat-container .ui-widget-header{border:1px solid #aaaaaa;background:#ccc url(../../images/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222222;font-weight:bold}.pods-compat-container .ui-widget-header a{color:#222222}.pods-compat-container .ui-state-default,.pods-compat-container .ui-widget-content .ui-state-default,.pods-compat-container .ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(../../images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555555}.pods-compat-container .ui-state-default a,.pods-compat-container .ui-state-default a:link,.pods-compat-container .ui-state-default a:visited{color:#555555;text-decoration:none}.pods-compat-container .ui-state-hover,.pods-compat-container .ui-widget-content .ui-state-hover,.pods-compat-container .ui-widget-header .ui-state-hover,.pods-compat-container .ui-state-focus,.pods-compat-container .ui-widget-content .ui-state-focus,.pods-compat-container .ui-widget-header .ui-state-focus{border:1px solid #999999;background:#dadada url(../../images/smoothness/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.pods-compat-container .ui-state-hover a,.pods-compat-container .ui-state-hover a:hover{color:#212121;text-decoration:none}.pods-compat-container .ui-state-active,.pods-compat-container .ui-widget-content .ui-state-active,.pods-compat-container .ui-widget-header .ui-state-active{border:1px solid #aaaaaa;background:#fff url(../../images/smoothness/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.pods-compat-container .ui-state-active a,.pods-compat-container .ui-state-active a:link,.pods-compat-container .ui-state-active a:visited{color:#212121;text-decoration:none}.pods-compat-container .ui-widget :active{outline:none}.pods-compat-container .ui-state-highlight,.pods-compat-container .ui-widget-content .ui-state-highlight,.pods-compat-container .ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(../../images/smoothness/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.pods-compat-container .ui-state-highlight a,.pods-compat-container .ui-widget-content .ui-state-highlight a,.pods-compat-container .ui-widget-header .ui-state-highlight a{color:#363636}.pods-compat-container .ui-state-error,.pods-compat-container .ui-widget-content .ui-state-error,.pods-compat-container .ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(../../images/smoothness/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.pods-compat-container .ui-state-error a,.pods-compat-container .ui-widget-content .ui-state-error a,.pods-compat-container .ui-widget-header .ui-state-error a{color:#cd0a0a}.pods-compat-container .ui-state-error-text,.pods-compat-container .ui-widget-content .ui-state-error-text,.pods-compat-container .ui-widget-header .ui-state-error-text{color:#cd0a0a}.pods-compat-container .ui-priority-primary,.pods-compat-container .ui-widget-content .ui-priority-primary,.pods-compat-container .ui-widget-header .ui-priority-primary{font-weight:bold}.pods-compat-container .ui-priority-secondary,.pods-compat-container .ui-widget-content .ui-priority-secondary,.pods-compat-container .ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.pods-compat-container .ui-state-disabled,.pods-compat-container .ui-widget-content .ui-state-disabled,.pods-compat-container .ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.pods-compat-container .ui-icon{width:16px;height:16px;background-image:url(../../images/smoothness/ui-icons_222222_256x240.png)}.pods-compat-container .ui-widget-content .ui-icon{background-image:url(../../images/smoothness/ui-icons_222222_256x240.png)}.pods-compat-container .ui-widget-header .ui-icon{background-image:url(../../images/smoothness/ui-icons_222222_256x240.png)}.pods-compat-container .ui-state-default .ui-icon{background-image:url(../../images/smoothness/ui-icons_888888_256x240.png)}.pods-compat-container .ui-state-hover .ui-icon,.pods-compat-container .ui-state-focus .ui-icon{background-image:url(../../images/smoothness/ui-icons_454545_256x240.png)}.pods-compat-container .ui-state-active .ui-icon{background-image:url(../../images/smoothness/ui-icons_454545_256x240.png)}.pods-compat-container .ui-state-highlight .ui-icon{background-image:url(../../images/smoothness/ui-icons_2e83ff_256x240.png)}.pods-compat-container .ui-state-error .ui-icon,.pods-compat-container .ui-state-error-text .ui-icon{background-image:url(../../images/smoothness/ui-icons_cd0a0a_256x240.png)}.pods-compat-container .ui-icon-carat-1-n{background-position:0 0}.pods-compat-container .ui-icon-carat-1-ne{background-position:-16px 0}.pods-compat-container .ui-icon-carat-1-e{background-position:-32px 0}.pods-compat-container .ui-icon-carat-1-se{background-position:-48px 0}.pods-compat-container .ui-icon-carat-1-s{background-position:-64px 0}.pods-compat-container .ui-icon-carat-1-sw{background-position:-80px 0}.pods-compat-container .ui-icon-carat-1-w{background-position:-96px 0}.pods-compat-container .ui-icon-carat-1-nw{background-position:-112px 0}.pods-compat-container .ui-icon-carat-2-n-s{background-position:-128px 0}.pods-compat-container .ui-icon-carat-2-e-w{background-position:-144px 0}.pods-compat-container .ui-icon-triangle-1-n{background-position:0 -16px}.pods-compat-container .ui-icon-triangle-1-ne{background-position:-16px -16px}.pods-compat-container .ui-icon-triangle-1-e{background-position:-32px -16px}.pods-compat-container .ui-icon-triangle-1-se{background-position:-48px -16px}.pods-compat-container .ui-icon-triangle-1-s{background-position:-64px -16px}.pods-compat-container .ui-icon-triangle-1-sw{background-position:-80px -16px}.pods-compat-container .ui-icon-triangle-1-w{background-position:-96px -16px}.pods-compat-container .ui-icon-triangle-1-nw{background-position:-112px -16px}.pods-compat-container .ui-icon-triangle-2-n-s{background-position:-128px -16px}.pods-compat-container .ui-icon-triangle-2-e-w{background-position:-144px -16px}.pods-compat-container .ui-icon-arrow-1-n{background-position:0 -32px}.pods-compat-container .ui-icon-arrow-1-ne{background-position:-16px -32px}.pods-compat-container .ui-icon-arrow-1-e{background-position:-32px -32px}.pods-compat-container .ui-icon-arrow-1-se{background-position:-48px -32px}.pods-compat-container .ui-icon-arrow-1-s{background-position:-64px -32px}.pods-compat-container .ui-icon-arrow-1-sw{background-position:-80px -32px}.pods-compat-container .ui-icon-arrow-1-w{background-position:-96px -32px}.pods-compat-container .ui-icon-arrow-1-nw{background-position:-112px -32px}.pods-compat-container .ui-icon-arrow-2-n-s{background-position:-128px -32px}.pods-compat-container .ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.pods-compat-container .ui-icon-arrow-2-e-w{background-position:-160px -32px}.pods-compat-container .ui-icon-arrow-2-se-nw{background-position:-176px -32px}.pods-compat-container .ui-icon-arrowstop-1-n{background-position:-192px -32px}.pods-compat-container .ui-icon-arrowstop-1-e{background-position:-208px -32px}.pods-compat-container .ui-icon-arrowstop-1-s{background-position:-224px -32px}.pods-compat-container .ui-icon-arrowstop-1-w{background-position:-240px -32px}.pods-compat-container .ui-icon-arrowthick-1-n{background-position:0 -48px}.pods-compat-container .ui-icon-arrowthick-1-ne{background-position:-16px -48px}.pods-compat-container .ui-icon-arrowthick-1-e{background-position:-32px -48px}.pods-compat-container .ui-icon-arrowthick-1-se{background-position:-48px -48px}.pods-compat-container .ui-icon-arrowthick-1-s{background-position:-64px -48px}.pods-compat-container .ui-icon-arrowthick-1-sw{background-position:-80px -48px}.pods-compat-container .ui-icon-arrowthick-1-w{background-position:-96px -48px}.pods-compat-container .ui-icon-arrowthick-1-nw{background-position:-112px -48px}.pods-compat-container .ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.pods-compat-container .ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.pods-compat-container .ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.pods-compat-container .ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.pods-compat-container .ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.pods-compat-container .ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.pods-compat-container .ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.pods-compat-container .ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.pods-compat-container .ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.pods-compat-container .ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.pods-compat-container .ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.pods-compat-container .ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.pods-compat-container .ui-icon-arrowreturn-1-w{background-position:-64px -64px}.pods-compat-container .ui-icon-arrowreturn-1-n{background-position:-80px -64px}.pods-compat-container .ui-icon-arrowreturn-1-e{background-position:-96px -64px}.pods-compat-container .ui-icon-arrowreturn-1-s{background-position:-112px -64px}.pods-compat-container .ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.pods-compat-container .ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.pods-compat-container .ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.pods-compat-container .ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.pods-compat-container .ui-icon-arrow-4{background-position:0 -80px}.pods-compat-container .ui-icon-arrow-4-diag{background-position:-16px -80px}.pods-compat-container .ui-icon-extlink{background-position:-32px -80px}.pods-compat-container .ui-icon-newwin{background-position:-48px -80px}.pods-compat-container .ui-icon-refresh{background-position:-64px -80px}.pods-compat-container .ui-icon-shuffle{background-position:-80px -80px}.pods-compat-container .ui-icon-transfer-e-w{background-position:-96px -80px}.pods-compat-container .ui-icon-transferthick-e-w{background-position:-112px -80px}.pods-compat-container .ui-icon-folder-collapsed{background-position:0 -96px}.pods-compat-container .ui-icon-folder-open{background-position:-16px -96px}.pods-compat-container .ui-icon-document{background-position:-32px -96px}.pods-compat-container .ui-icon-document-b{background-position:-48px -96px}.pods-compat-container .ui-icon-note{background-position:-64px -96px}.pods-compat-container .ui-icon-mail-closed{background-position:-80px -96px}.pods-compat-container .ui-icon-mail-open{background-position:-96px -96px}.pods-compat-container .ui-icon-suitcase{background-position:-112px -96px}.pods-compat-container .ui-icon-comment{background-position:-128px -96px}.pods-compat-container .ui-icon-person{background-position:-144px -96px}.pods-compat-container .ui-icon-print{background-position:-160px -96px}.pods-compat-container .ui-icon-trash{background-position:-176px -96px}.pods-compat-container .ui-icon-locked{background-position:-192px -96px}.pods-compat-container .ui-icon-unlocked{background-position:-208px -96px}.pods-compat-container .ui-icon-bookmark{background-position:-224px -96px}.pods-compat-container .ui-icon-tag{background-position:-240px -96px}.pods-compat-container .ui-icon-home{background-position:0 -112px}.pods-compat-container .ui-icon-flag{background-position:-16px -112px}.pods-compat-container .ui-icon-calendar{background-position:-32px -112px}.pods-compat-container .ui-icon-cart{background-position:-48px -112px}.pods-compat-container .ui-icon-pencil{background-position:-64px -112px}.pods-compat-container .ui-icon-clock{background-position:-80px -112px}.pods-compat-container .ui-icon-disk{background-position:-96px -112px}.pods-compat-container .ui-icon-calculator{background-position:-112px -112px}.pods-compat-container .ui-icon-zoomin{background-position:-128px -112px}.pods-compat-container .ui-icon-zoomout{background-position:-144px -112px}.pods-compat-container .ui-icon-search{background-position:-160px -112px}.pods-compat-container .ui-icon-wrench{background-position:-176px -112px}.pods-compat-container .ui-icon-gear{background-position:-192px -112px}.pods-compat-container .ui-icon-heart{background-position:-208px -112px}.pods-compat-container .ui-icon-star{background-position:-224px -112px}.pods-compat-container .ui-icon-link{background-position:-240px -112px}.pods-compat-container .ui-icon-cancel{background-position:0 -128px}.pods-compat-container .ui-icon-plus{background-position:-16px -128px}.pods-compat-container .ui-icon-plusthick{background-position:-32px -128px}.pods-compat-container .ui-icon-minus{background-position:-48px -128px}.pods-compat-container .ui-icon-minusthick{background-position:-64px -128px}.pods-compat-container .ui-icon-close{background-position:-80px -128px}.pods-compat-container .ui-icon-closethick{background-position:-96px -128px}.pods-compat-container .ui-icon-key{background-position:-112px -128px}.pods-compat-container .ui-icon-lightbulb{background-position:-128px -128px}.pods-compat-container .ui-icon-scissors{background-position:-144px -128px}.pods-compat-container .ui-icon-clipboard{background-position:-160px -128px}.pods-compat-container .ui-icon-copy{background-position:-176px -128px}.pods-compat-container .ui-icon-contact{background-position:-192px -128px}.pods-compat-container .ui-icon-image{background-position:-208px -128px}.pods-compat-container .ui-icon-video{background-position:-224px -128px}.pods-compat-container .ui-icon-script{background-position:-240px -128px}.pods-compat-container .ui-icon-alert{background-position:0 -144px}.pods-compat-container .ui-icon-info{background-position:-16px -144px}.pods-compat-container .ui-icon-notice{background-position:-32px -144px}.pods-compat-container .ui-icon-help{background-position:-48px -144px}.pods-compat-container .ui-icon-check{background-position:-64px -144px}.pods-compat-container .ui-icon-bullet{background-position:-80px -144px}.pods-compat-container .ui-icon-radio-off{background-position:-96px -144px}.pods-compat-container .ui-icon-radio-on{background-position:-112px -144px}.pods-compat-container .ui-icon-pin-w{background-position:-128px -144px}.pods-compat-container .ui-icon-pin-s{background-position:-144px -144px}.pods-compat-container .ui-icon-play{background-position:0 -160px}.pods-compat-container .ui-icon-pause{background-position:-16px -160px}.pods-compat-container .ui-icon-seek-next{background-position:-32px -160px}.pods-compat-container .ui-icon-seek-prev{background-position:-48px -160px}.pods-compat-container .ui-icon-seek-end{background-position:-64px -160px}.pods-compat-container .ui-icon-seek-start{background-position:-80px -160px}.pods-compat-container .ui-icon-seek-first{background-position:-80px -160px}.pods-compat-container .ui-icon-stop{background-position:-96px -160px}.pods-compat-container .ui-icon-eject{background-position:-112px -160px}.pods-compat-container .ui-icon-volume-off{background-position:-128px -160px}.pods-compat-container .ui-icon-volume-on{background-position:-144px -160px}.pods-compat-container .ui-icon-power{background-position:0 -176px}.pods-compat-container .ui-icon-signal-diag{background-position:-16px -176px}.pods-compat-container .ui-icon-signal{background-position:-32px -176px}.pods-compat-container .ui-icon-battery-0{background-position:-48px -176px}.pods-compat-container .ui-icon-battery-1{background-position:-64px -176px}.pods-compat-container .ui-icon-battery-2{background-position:-80px -176px}.pods-compat-container .ui-icon-battery-3{background-position:-96px -176px}.pods-compat-container .ui-icon-circle-plus{background-position:0 -192px}.pods-compat-container .ui-icon-circle-minus{background-position:-16px -192px}.pods-compat-container .ui-icon-circle-close{background-position:-32px -192px}.pods-compat-container .ui-icon-circle-triangle-e{background-position:-48px -192px}.pods-compat-container .ui-icon-circle-triangle-s{background-position:-64px -192px}.pods-compat-container .ui-icon-circle-triangle-w{background-position:-80px -192px}.pods-compat-container .ui-icon-circle-triangle-n{background-position:-96px -192px}.pods-compat-container .ui-icon-circle-arrow-e{background-position:-112px -192px}.pods-compat-container .ui-icon-circle-arrow-s{background-position:-128px -192px}.pods-compat-container .ui-icon-circle-arrow-w{background-position:-144px -192px}.pods-compat-container .ui-icon-circle-arrow-n{background-position:-160px -192px}.pods-compat-container .ui-icon-circle-zoomin{background-position:-176px -192px}.pods-compat-container .ui-icon-circle-zoomout{background-position:-192px -192px}.pods-compat-container .ui-icon-circle-check{background-position:-208px -192px}.pods-compat-container .ui-icon-circlesmall-plus{background-position:0 -208px}.pods-compat-container .ui-icon-circlesmall-minus{background-position:-16px -208px}.pods-compat-container .ui-icon-circlesmall-close{background-position:-32px -208px}.pods-compat-container .ui-icon-squaresmall-plus{background-position:-48px -208px}.pods-compat-container .ui-icon-squaresmall-minus{background-position:-64px -208px}.pods-compat-container .ui-icon-squaresmall-close{background-position:-80px -208px}.pods-compat-container .ui-icon-grip-dotted-vertical{background-position:0 -224px}.pods-compat-container .ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.pods-compat-container .ui-icon-grip-solid-vertical{background-position:-32px -224px}.pods-compat-container .ui-icon-grip-solid-horizontal{background-position:-48px -224px}.pods-compat-container .ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.pods-compat-container .ui-icon-grip-diagonal-se{background-position:-80px -224px}.pods-compat-container .ui-corner-all,.pods-compat-container .ui-corner-top,.pods-compat-container .ui-corner-left,.pods-compat-container .ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px}.pods-compat-container .ui-corner-all,.pods-compat-container .ui-corner-top,.pods-compat-container .ui-corner-right,.pods-compat-container .ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px}.pods-compat-container .ui-corner-all,.pods-compat-container .ui-corner-bottom,.pods-compat-container .ui-corner-left,.pods-compat-container .ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px}.pods-compat-container .ui-corner-all,.pods-compat-container .ui-corner-bottom,.pods-compat-container .ui-corner-right,.pods-compat-container .ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px}.pods-compat-container .ui-widget-overlay{background:#aaa url(../../images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30)}.pods-compat-container .ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(../../images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.pods-compat-container .ui-resizable{position:relative}.pods-compat-container .ui-resizable-handle{position:absolute;font-size:0.1px;z-index:99999;display:block}.pods-compat-container .ui-resizable-disabled .ui-resizable-handle,.pods-compat-container .ui-resizable-autohide .ui-resizable-handle{display:none}.pods-compat-container .ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.pods-compat-container .ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.pods-compat-container .ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.pods-compat-container .ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.pods-compat-container .ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.pods-compat-container .ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.pods-compat-container .ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.pods-compat-container .ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.pods-compat-container .ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.pods-compat-container .ui-accordion{width:100%}.pods-compat-container .ui-accordion .ui-accordion-header{cursor:pointer;position:relative;margin-top:1px;zoom:1}.pods-compat-container .ui-accordion .ui-accordion-li-fix{display:inline}.pods-compat-container .ui-accordion .ui-accordion-header-active{border-bottom:0 !important}.pods-compat-container .ui-accordion .ui-accordion-header a{display:block;font-size:1em;padding:.5em .5em .5em .7em}.pods-compat-container .ui-accordion-icons .ui-accordion-header a{padding-left:2.2em}.pods-compat-container .ui-accordion .ui-accordion-header .ui-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.pods-compat-container .ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;margin-top:-2px;position:relative;top:1px;margin-bottom:2px;overflow:auto;display:none;zoom:1}.pods-compat-container .ui-accordion .ui-accordion-content-active{display:block}.pods-compat-container .ui-autocomplete{position:absolute;cursor:default}.pods-compat-container * html .ui-autocomplete{width:1px}.pods-compat-container .ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left}.pods-compat-container .ui-menu .ui-menu{margin-top:-3px}.pods-compat-container .ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%}.pods-compat-container .ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1}.pods-compat-container .ui-menu .ui-menu-item a.ui-state-hover,.pods-compat-container .ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.pods-compat-container .ui-button{display:inline-block;position:relative;padding:0;margin-right:.1em;text-decoration:none !important;cursor:pointer;text-align:center;zoom:1;overflow:visible}.pods-compat-container .ui-button-icon-only{width:2.2em}.pods-compat-container button.ui-button-icon-only{width:2.4em}.pods-compat-container .ui-button-icons-only{width:3.4em}.pods-compat-container button.ui-button-icons-only{width:3.7em}.pods-compat-container .ui-button .ui-button-text{display:block;line-height:1.4}.pods-compat-container .ui-button-text-only .ui-button-text{padding:.4em 1em}.pods-compat-container .ui-button-icon-only .ui-button-text,.pods-compat-container .ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.pods-compat-container .ui-button-text-icon-primary .ui-button-text,.pods-compat-container .ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.pods-compat-container .ui-button-text-icon-secondary .ui-button-text,.pods-compat-container .ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.pods-compat-container .ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}.pods-compat-container input.ui-button{padding:.4em 1em}.pods-compat-container .ui-button-icon-only .ui-icon,.pods-compat-container .ui-button-text-icon-primary .ui-icon,.pods-compat-container .ui-button-text-icon-secondary .ui-icon,.pods-compat-container .ui-button-text-icons .ui-icon,.pods-compat-container .ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.pods-compat-container .ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.pods-compat-container .ui-button-text-icon-primary .ui-button-icon-primary,.pods-compat-container .ui-button-text-icons .ui-button-icon-primary,.pods-compat-container .ui-button-icons-only .ui-button-icon-primary{left:.5em}.pods-compat-container .ui-button-text-icon-secondary .ui-button-icon-secondary,.pods-compat-container .ui-button-text-icons .ui-button-icon-secondary,.pods-compat-container .ui-button-icons-only .ui-button-icon-secondary{right:.5em}.pods-compat-container .ui-button-text-icons .ui-button-icon-secondary,.pods-compat-container .ui-button-icons-only .ui-button-icon-secondary{right:.5em}.pods-compat-container .ui-buttonset{margin-right:7px}.pods-compat-container .ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}.pods-compat-container button.ui-button::-moz-focus-inner{border:0;padding:0}.pods-compat-container .ui-dialog{position:absolute;padding:.2em;width:300px;overflow:hidden}.pods-compat-container .ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.pods-compat-container .ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0}.pods-compat-container .ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px}.pods-compat-container .ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px}.pods-compat-container .ui-dialog .ui-dialog-titlebar-close:hover,.pods-compat-container .ui-dialog .ui-dialog-titlebar-close:focus{padding:0}.pods-compat-container .ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.pods-compat-container .ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.pods-compat-container .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.pods-compat-container .ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.pods-compat-container .ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.pods-compat-container .ui-draggable .ui-dialog-titlebar{cursor:move}.pods-compat-container .ui-slider{position:relative;text-align:left}.pods-compat-container .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.pods-compat-container .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.pods-compat-container .ui-slider-horizontal{height:.8em}.pods-compat-container .ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.pods-compat-container .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.pods-compat-container .ui-slider-horizontal .ui-slider-range-min{left:0}.pods-compat-container .ui-slider-horizontal .ui-slider-range-max{right:0}.pods-compat-container .ui-slider-vertical{width:.8em;height:100px}.pods-compat-container .ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.pods-compat-container .ui-slider-vertical .ui-slider-range{left:0;width:100%}.pods-compat-container .ui-slider-vertical .ui-slider-range-min{bottom:0}.pods-compat-container .ui-slider-vertical .ui-slider-range-max{top:0}.pods-compat-container .ui-tabs{position:relative;padding:.2em;zoom:1}.pods-compat-container .ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.pods-compat-container .ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:1px;margin:0 .2em 1px 0;border-bottom:0 !important;padding:0;white-space:nowrap}.pods-compat-container .ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.pods-compat-container .ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px}.pods-compat-container .ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.pods-compat-container .ui-tabs .ui-tabs-nav li.ui-state-disabled a,.pods-compat-container .ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text}.pods-compat-container .ui-tabs .ui-tabs-nav li a,.pods-compat-container .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a{cursor:pointer}.pods-compat-container .ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.pods-compat-container .ui-tabs .ui-tabs-hide{display:none !important}.pods-compat-container .ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.pods-compat-container .ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.pods-compat-container .ui-datepicker .ui-datepicker-prev,.pods-compat-container .ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.pods-compat-container .ui-datepicker .ui-datepicker-prev-hover,.pods-compat-container .ui-datepicker .ui-datepicker-next-hover{top:1px}.pods-compat-container .ui-datepicker .ui-datepicker-prev{left:2px}.pods-compat-container .ui-datepicker .ui-datepicker-next{right:2px}.pods-compat-container .ui-datepicker .ui-datepicker-prev-hover{left:1px}.pods-compat-container .ui-datepicker .ui-datepicker-next-hover{right:1px}.pods-compat-container .ui-datepicker .ui-datepicker-prev span,.pods-compat-container .ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.pods-compat-container .ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.pods-compat-container .ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.pods-compat-container .ui-datepicker select.ui-datepicker-month-year{width:100%}.pods-compat-container .ui-datepicker select.ui-datepicker-month,.pods-compat-container .ui-datepicker select.ui-datepicker-year{width:49%}.pods-compat-container .ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.pods-compat-container .ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.pods-compat-container .ui-datepicker td{border:0;padding:1px}.pods-compat-container .ui-datepicker td span,.pods-compat-container .ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.pods-compat-container .ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.pods-compat-container .ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.pods-compat-container .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.pods-compat-container .ui-datepicker.ui-datepicker-multi{width:auto}.pods-compat-container .ui-datepicker-multi .ui-datepicker-group{float:left}.pods-compat-container .ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.pods-compat-container .ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.pods-compat-container .ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.pods-compat-container .ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.pods-compat-container .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0}.pods-compat-container .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.pods-compat-container .ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.pods-compat-container .ui-datepicker-row-break{clear:both;width:100%;font-size:0}.pods-compat-container .ui-datepicker-rtl{direction:rtl}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-group{float:right}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.pods-compat-container .ui-datepicker-cover{display:none;display/**/:block;position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}.pods-compat-container .ui-progressbar{height:2em;text-align:left}.pods-compat-container .ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.pods-submittable .qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.pods-submittable .qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.pods-submittable .qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.pods-submittable .qtip-titlebar+.qtip-content{border-top-width:0 !important}.pods-submittable .qtip-close{position:absolute;right:-9px;top:-9px;cursor:pointer;outline:medium none;border-width:1px;border-style:solid;border-color:transparent}.pods-submittable .qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}.pods-submittable * html .qtip-titlebar .qtip-close{top:16px}.pods-submittable .qtip-titlebar .ui-icon,.pods-submittable .qtip-icon .ui-icon{display:block;text-indent:-1000em;direction:ltr}.pods-submittable .qtip-icon,.pods-submittable .qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.pods-submittable .qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma, sans-serif;color:inherit;background:transparent none no-repeat -100em -100em}.pods-submittable .qtip-default{border-width:1px;border-style:solid;border-color:#F1D031;background-color:#FFFFA3;color:#555}.pods-submittable .qtip-default .qtip-titlebar{background-color:#FFEF93}.pods-submittable .qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.pods-submittable .qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111}.pods-submittable .qtip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15)}.pods-submittable .qtip-rounded,.pods-submittable .qtip-tipsy,.pods-submittable .qtip-bootstrap{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.pods-submittable .qtip-rounded .qtip-titlebar{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.pods-submittable .qtip-youtube{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;color:#fff;border-width:0;background:#4A4A4A;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #4A4A4A), color-stop(100%, #000));background-image:-webkit-linear-gradient(top, #4A4A4A 0, #000 100%);background-image:-moz-linear-gradient(top, #4A4A4A 0, #000 100%);background-image:-ms-linear-gradient(top, #4A4A4A 0, #000 100%);background-image:-o-linear-gradient(top, #4A4A4A 0, #000 100%)}.pods-submittable .qtip-youtube .qtip-titlebar{background-color:#4A4A4A;background-color:rgba(0,0,0,0)}.pods-submittable .qtip-youtube .qtip-content{padding:.75em;font:12px arial, sans-serif;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);"}.pods-submittable .qtip-youtube .qtip-icon{border-color:#222}.pods-submittable .qtip-youtube .qtip-titlebar .ui-state-hover{border-color:#303030}.pods-submittable .qtip-jtools{background:#232323;background:rgba(0,0,0,0.7);background-image:-webkit-gradient(linear, left top, left bottom, from(#717171), to(#232323));background-image:-moz-linear-gradient(top, #717171, #232323);background-image:-webkit-linear-gradient(top, #717171, #232323);background-image:-ms-linear-gradient(top, #717171, #232323);background-image:-o-linear-gradient(top, #717171, #232323);border:2px solid #ddd;border:2px solid #f1f1f1;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.pods-submittable .qtip-jtools .qtip-titlebar{background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A)"}.pods-submittable .qtip-jtools .qtip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323)"}.pods-submittable .qtip-jtools .qtip-titlebar,.pods-submittable .qtip-jtools .qtip-content{background:transparent;color:#fff;border:0 dashed transparent}.pods-submittable .qtip-jtools .qtip-icon{border-color:#555}.pods-submittable .qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.pods-submittable .qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,0.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,0.4);box-shadow:4px 4px 5px rgba(0,0,0,0.4);background-color:#D9D9C2;color:#111;border:0 dashed transparent}.pods-submittable .qtip-cluetip .qtip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.pods-submittable .qtip-cluetip .qtip-icon{border-color:#808064}.pods-submittable .qtip-cluetip .qtip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.pods-submittable .qtip-tipsy{background:#000;background:rgba(0,0,0,0.87);color:#fff;border:0 solid transparent;font-size:11px;font-family:'Lucida Grande', sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px #000}.pods-submittable .qtip-tipsy .qtip-titlebar{padding:6px 35px 0 10px;background-color:transparent}.pods-submittable .qtip-tipsy .qtip-content{padding:6px 10px}.pods-submittable .qtip-tipsy .qtip-icon{border-color:#222;text-shadow:none}.pods-submittable .qtip-tipsy .qtip-titlebar .ui-state-hover{border-color:#303030}.pods-submittable .qtip-tipped{border:3px solid #959FA9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#F9F9F9;color:#454545;font-weight:400;font-family:serif}.pods-submittable .qtip-tipped .qtip-titlebar{border-bottom-width:0;color:#fff;background:#3A79B8;background-image:-webkit-gradient(linear, left top, left bottom, from(#3A79B8), to(#2E629D));background-image:-webkit-linear-gradient(top, #3A79B8, #2E629D);background-image:-moz-linear-gradient(top, #3A79B8, #2E629D);background-image:-ms-linear-gradient(top, #3A79B8, #2E629D);background-image:-o-linear-gradient(top, #3A79B8, #2E629D);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D)"}.pods-submittable .qtip-tipped .qtip-icon{border:2px solid #285589;background:#285589}.pods-submittable .qtip-tipped .qtip-icon .ui-icon{background-color:#FBFBFB;color:#555}.pods-submittable .qtip-bootstrap{font-size:14px;line-height:20px;color:#333;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.pods-submittable .qtip-bootstrap .qtip-titlebar{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.pods-submittable .qtip-bootstrap .qtip-titlebar .qtip-close{right:11px;top:45%;border-style:none}.pods-submittable .qtip-bootstrap .qtip-content{padding:9px 14px}.pods-submittable .qtip-bootstrap .qtip-icon{background:transparent}.pods-submittable .qtip-bootstrap .qtip-icon .ui-icon{width:auto;height:auto;float:right;font-size:20px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.pods-submittable .qtip-bootstrap .qtip-icon .ui-icon:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.pods-submittable .qtip:not(.ie9haxors) div.qtip-content,.pods-submittable .qtip:not(.ie9haxors) div.qtip-titlebar{filter:none;-ms-filter:none}.pods-submittable .qtip .qtip-tip{margin:0 auto;overflow:hidden;z-index:10}.pods-submittable x:-o-prefocus,.pods-submittable .qtip .qtip-tip{visibility:hidden}.pods-submittable .qtip .qtip-tip,.pods-submittable .qtip .qtip-tip .qtip-vml,.pods-submittable .qtip .qtip-tip canvas{position:absolute;color:#123456;background:transparent;border:0 dashed transparent}.pods-submittable .qtip .qtip-tip canvas{top:0;left:0}.pods-submittable .qtip .qtip-tip .qtip-vml{behavior:url(#default#VML);display:inline-block;visibility:visible}.pods-submittable .cleditorMain{border:1px solid #999;padding:0 0 1px;background-color:white}.pods-submittable .cleditorMain iframe{border:none;margin:0;padding:0}.pods-submittable .cleditorMain textarea{border:none;margin:0;padding:0;overflow-y:scroll;font:10pt Arial,Verdana;resize:none;outline:none}.pods-submittable .cleditorToolbar{background-color:#f2f2f2;border-bottom:1px solid #999}.pods-submittable .cleditorGroup{float:left;height:26px}.pods-submittable .cleditorButton{float:left;width:24px;height:24px;margin:1px 0 1px 0;background:url("../../images/buttons.gif")}.pods-submittable .cleditorDisabled{opacity:0.3;filter:alpha(opacity=30)}.pods-submittable .cleditorDivider{float:left;width:1px;height:23px;margin:1px 0 1px 0;background:#CCC}.pods-submittable .cleditorPopup{border:solid 1px #999;background-color:white;position:absolute;font:10pt Arial,Verdana;cursor:default;z-index:10000}.pods-submittable .cleditorList div{padding:2px 4px 2px 4px}.pods-submittable .cleditorList p,.pods-submittable .cleditorList h1,.pods-submittable .cleditorList h2,.pods-submittable .cleditorList h3,.pods-submittable .cleditorList h4,.pods-submittable .cleditorList h5,.pods-submittable .cleditorList h6,.pods-submittable .cleditorList font{padding:0;margin:0;background-color:Transparent}.pods-submittable .cleditorColor{width:150px;padding:1px 0 0 1px}.pods-submittable .cleditorColor div{float:left;width:14px;height:14px;margin:0 1px 1px 0}.pods-submittable .cleditorPrompt{background-color:#F6F7F9;padding:4px;font-size:8.5pt}.pods-submittable .cleditorPrompt input,.pods-submittable .cleditorPrompt textarea{font:8.5pt Arial,Verdana}.pods-submittable .cleditorMsg{background-color:#FDFCEE;width:150px;padding:4px;font-size:8.5pt}.pods-submittable .pods-pick-values .select2-container .select2-selection--multiple .select2-selection__rendered{max-height:245px;overflow-y:scroll}.pods-qtip-container{display:inline}
|
2 |
-
|
3 |
-
/*# sourceMappingURL=../src/sourcemaps/pods.css.map */
|
1 |
@font-face{font-family:"pods";src:url("../../fonts/pods.eot");src:url("../../fonts/pods.eot?#iefix") format("embedded-opentype"),url("../../fonts/pods.woff") format("woff"),url("../../fonts/pods.ttf") format("truetype"),url("../../fonts/pods.svg#pods") format("svg");font-weight:normal;font-style:normal}[class^="pods-icon-"]:before,[class*=" pods-icon-"]:before{font-family:"pods" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pods-icon-dashicon:before{content:"c"}#toplevel_page_pods .dashicons-before,#toplevel_page_pods .dashicons-before:before,.dashicons-pods:before{font-family:"pods" !important;font-size:20px;content:"c"}.pods-hidden{display:none}.pods-admin .pods-leaf-watermark-right{position:fixed;width:250px;bottom:-50px;right:-50px;z-index:-1;opacity:0.1}.pods-admin .pods_floatmenu{width:200px}.pods-admin .pods-icon{display:inline-block;padding:1px 0 0 5px;vertical-align:top}.icon32#icon-pods{background:url(../../images/icon32.png) no-repeat}.pods-admin .waiting{display:none;vertical-align:middle}.pods-admin button,.pods-admin a.button,.pods-admin a.button-secondary,.pods-admin a.button-primary{vertical-align:middle}.pods-admin .pods-validate.pods-validate-error{border-color:#C89797;color:#790000;background-color:#FFDFDF}.pods-admin .pods-validate-error-message{color:#790000;font-weight:bold;padding:5px 10px 4px;display:inline-block}.pods-admin .pods-advanced-toggle{font-size:12px;text-decoration:underline}.pods-admin .pods-advanced{display:none;width:100%}.pods-wizard p{font-size:14px}.pods-wizard #poststuff h1,.pods-wizard h2,.pods-wizard h3{margin-bottom:0 !important}.pods-admin #poststuff h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.pods-tabbed ul.pods-tabs:before{content:"";display:table}.pods-tabbed ul.pods-tabs:after{content:"";display:table;clear:both}.pods-tabbed ul.pods-tabs{zoom:1;margin-bottom:0}.pods-tabbed ul.pods-tabs li.pods-tab{float:left;margin:0}.pods-tabbed ul.pods-tabs li.pods-tab a{-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;-webkit-border-radius:5px 5px 0 0;background:#e9e9e9;border:1px solid #CCD0D4;border-radius:5px 5px 0 0;display:block;float:left;font-size:14px;margin-right:5px;padding:5px 10px;text-decoration:none}.pods-tabbed ul.pods-tabs li.pods-tab a.selected{background:#FFF;border-bottom:1px solid #FFF}.pods-tabbed .pods-tab-group h4{margin:5px 10px}.pods-tabbed .pods-tab-group .pods-tab{display:none;margin-bottom:15px;margin-top:-1px;width:99%;border:1px solid #CCD0D4;border-bottom:0}.pods-nav-tabbed .pods-nav-tab-group .pods-nav-tab{display:none}.pods-nav-tabbed .pods-nav-tab-group .pods-nav-tab.pods-submittable-fields{border:1px solid #CCD0D4;border-bottom:0}tbody.pods-manage-list div{overflow:hidden;zoom:1}tbody.pods-manage-list div.pods-manage-row-wrapper{max-width:500px;display:none;width:100%}tbody.pods-manage-list tr.pods-manage-row-expanded{background:#f1f1f1}tbody.pods-manage-list tr.pods-manage-row-expanded td.pods-manage-row-name,tbody.pods-manage-list tr.pods-manage-row-expanded td.pods-manage-row-type,tbody.pods-manage-list tr.pods-manage-row-expanded td.pods-manage-row-comment,tbody.pods-manage-list tr.pods-manage-row-expanded span.pods-manage-row-id,tbody.pods-manage-list tr.pods-manage-row-expanded div.row-actions,tbody.pods-manage-list tr.pods-manage-row-expanded th.pods-manage-sort img{display:none}tbody.pods-manage-list tr.pods-manage-row th.pods-manage-sort{cursor:move}tbody.pods-manage-list tr.pods-manage-row th.pods-manage-sort img{vertical-align:top;margin-top:7px;margin-left:-5px}tbody.pods-manage-list tr.pods-manage-row td>span.pods-manage-row-more{display:none;margin-left:5px;color:#999}tbody.pods-manage-list tr.pods-manage-row td:hover>span.pods-manage-row-more{display:inline}tbody.pods-manage-list tr div.pods-manage-row-wrapper .pods-manage-row-actions{margin-bottom:4px;overflow:visible}tbody.pods-manage-list tr div.pods-manage-row-wrapper .pods-manage-row-delete{float:left;text-align:left;width:40%}tbody.pods-manage-list tr div.pods-manage-row-wrapper .pods-manage-row-save{float:right;text-align:right}tbody.pods-manage-list tr.pods-field-new div.pods-manage-row-wrapper .pods-manage-row-delete a.submitdelete,tbody.pods-manage-list tr div.pods-manage-row-wrapper .pods-manage-row-save a.pods-button-add,tbody.pods-manage-list tr.pods-field-new div.pods-manage-row-wrapper .pods-manage-row-save a.pods-button-update{display:none}tbody.pods-manage-list tr.pods-field-new div.pods-manage-row-wrapper .pods-manage-row-save a.pods-button-add{display:inline-block}tbody.pods-manage-list .pods-manage-row th.check-field{border:5px solid transparent;border-right:0;padding:3px 5px;transition:border-color 300ms ease}tbody.pods-manage-list .pods-field-updated th.check-field{border-left-color:#95BF3B}tbody.pods-manage-list .pods-manage-row-expanded th.check-field,tbody.pods-manage-list .pods-field-new th.check-field{border-left-color:#E35036}.pods-toggled{clear:both;margin-top:30px}.pods-toggled.pods-toggled-only{margin-top:0}.pods-toggled h3{cursor:pointer}.pods-no-toggle h3{cursor:default}tr.pods-toggled-on{background-color:#FFF}tr.pods-toggled-off{background-color:#F4F4F4}.pods-depends-on,.pods-excludes-on,.pods-wildcard-on{display:none}.pods-tabbed div{overflow:hidden;zoom:1}.pods-tab.pods-basic-options{display:block}.pods-tab#pods-advanced-labels,.pods-tab#pods-advanced-settings-labels{display:block}div.pods-manage-field div{overflow:hidden;zoom:1}div.pods-manage-field .description{clear:both}div.pods-manage-field .pods-field-option,div.pods-manage-field .pods-field-option-group{background:#fcfcfc;border-bottom:1px solid #CCD0D4;padding:10px}div.pods-manage-field .pods-pick-values li,div.pods-manage-field .pods-field{position:relative}div.pods-manage-field .pods-pick-values li{margin:0}div.pods-manage-field .pods-field-option:nth-child(odd),div.pods-manage-field .pods-field-option-group:nth-child(odd){background:#fff}div.pods-manage-field .pods-field-option label,div.pods-manage-field .pods-field-option-group .pods-field-option-group-label{padding-top:4px;float:left;width:30%;max-width:150px;margin-right:2%}.pods-manage-field .pods-field.pods-boolean label,.pods-manage-field .pods-field-option .pods-pick-values label{float:none;width:auto;max-width:100%;display:block;margin-left:22px;padding:7px 0;line-height:14px;margin-right:0}.pods-manage-field .pods-field-option .pods-pick-values .pods-field.pods-boolean{float:none;margin-left:0;width:auto;max-width:100%}.pods-manage-field .pods-field-option input[type="text"],.pods-manage-field .pods-field-option select,.pods-manage-field .pods-field-option textarea,.pods-manage-field .pods-field-option .pods-field.pods-boolean,.pods-manage-field .pods-pick-values,.pods-manage-field .pods-field-option .pods-form-ui-field-type-file,.pods-manage-field .pods-slider-field{display:block;float:left;width:65%;max-width:25em}.pods-manage-field label+div .pods-pick-values{width:96%}.pods-manage-field .pods-field-option .pods-form-ui-field-type-wysiwyg textarea{max-width:100%}.pods-manage-field .pods-field-option div select{float:none;width:100%;margin:0;max-width:100%}.pods-manage-field .pods-field-option .pods-form-ui-field-type-file{padding-bottom:8px}.pods-manage-field .pods-field-option .pods-form-ui-field-type-file table.form-table tr.form-field td{padding:0;border-bottom:none}.pods-manage-field .pods-field-option .pods-form-ui-field-type-file table.form-table,.pods-manage-field .pods-field-option-group p.pods-field-option-group-label{margin-top:0}.pods-manage-field input[type="checkbox"],.pods-manage-field input[type="radio"]{display:inline-block;margin:6px 6px 6px 1px;float:left;vertical-align:middle;position:static}.pods-manage-field .pods-pick-values input[type="checkbox"],.pods-manage-field .pods-pick-values input[type="radio"]{margin:6px}.pods-manage-field .pods-pick-values ul{overflow:auto;margin:5px 0}.pods-manage-field .pods-pick-values ul .pods-field.pods-boolean,.pods-manage-field .pods-pick-values ul ul{margin:0}.pods-manage-field .pods-pick-values.pods-zebra{width:100%;max-width:100%}.pods-manage-field .pods-pick-values.pods-zebra li{margin-bottom:4px}.pods-manage-field .pods-pick-values.pods-zebra div.pods-boolean input{margin:4px}.pods-manage-field .pods-pick-values.pods-zebra div.pods-boolean label{margin-left:26px;padding:5px 0}.pods-manage-field .pods-pick-values li.pods-zebra-odd{display:block;width:50%;float:left;clear:both}.pods-manage-field .pods-pick-values li.pods-zebra-even{display:block;width:50%;float:left;clear:none}.pods-manage-field .pods-pick-values .regular-text{max-width:95%}.pods-manage-field li>.pods-field.pods-boolean:hover{background:#f5f5f5}.pods-manage-field input.pods-form-ui-no-label{position:relative}.pods-sluggable .pods-slug em{cursor:pointer}.pods-sluggable a.cancel{font-size:12px}.pods-sluggable .pods-slug-edit{display:none}.pods-admin ul.ul-disc span.resolved:before{content:"Resolved: ";background:green;color:white;padding:2px;border-radius:5px;margin-right:5px}.pods-manage-field .pods-dfv-field .pods-ui-file-list.pods-field-template-rows,.pods-manage-field .pods-dfv-field .pods-ui-list-autocomplete{width:65%;max-width:25em}tbody.pods-manage-list tr.flexible-row{display:none}.pods-admin .pods-float-right{float:right}.pods-admin p.pods-manage-row-add{text-align:right}div.row-actions.row-actions-toggle{display:block;visibility:visible}table.pods-admin{table-layout:fixed}#pods-rest-api label[for="pods-form-ui-no-dependencies"]{width:100%;max-width:initial}body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option input[type="text"],body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option select,body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option textarea,body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option .pods-field.pods-boolean,body[class*="settings_page_pods-"] .pods-manage-field .pods-pick-values,body[class*="settings_page_pods-"] .pods-manage-field .pods-field-option .pods-form-ui-field-type-file,body[class*="settings_page_pods-"] .pods-manage-field .pods-slider-field{float:none}@media only screen and (max-width: 850px){.pods-admin .pods_floatmenu{position:static !important;float:none;display:block;width:100%}.pods-admin .pods_floatmenu .inner-sidebar{float:none;width:auto}}@media screen and (max-width: 782px){.wp-list-table td.column-secondary{display:block !important;margin-top:-10px;margin-bottom:5px}.wp-list-table .is-expanded td.column-secondary{margin-top:0;margin-bottom:0}div.pods-manage-field .pods-field-option label,div.pods-manage-field .pods-field-option-group .pods-field-option-group-label{float:none;display:block;width:100%;max-width:none;padding-bottom:4px;margin-bottom:0;line-height:22px}.pods-manage-field .pods-field-option input[type="text"],.pods-manage-field .pods-field-option select,.pods-manage-field .pods-field-option textarea,.pods-manage-field .pods-field-option .pods-field.pods-boolean,.pods-manage-field .pods-pick-values,.pods-manage-field .pods-field-option .pods-form-ui-field-type-file,.pods-manage-field .pods-slider-field{display:block;margin:0;width:100%;max-width:none}.pods-manage-field .pods-field.pods-boolean label,.pods-manage-field .pods-field-option .pods-pick-values label{line-height:22px;font-size:14px;margin-left:34px}.pods-manage-field .pods-pick-values li.pods-zebra-odd,.pods-manage-field .pods-pick-values li.pods-zebra-even{display:block;width:100%;float:none;clear:both}}.pods-admin--flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.pods-admin--flex>*{flex-grow:1}.pods-admin_friends-callout_container{min-width:250px;width:100%;max-width:100%;border:1px solid #e5e5e5;border-bottom:5px solid #95bf3b;background:white;position:relative}@media (min-width: 851px){.pods-admin--flex{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.pods-admin_friends-callout_container{max-width:250px;margin-left:20px;margin-top:52px}}.pods-admin_friends-callout_logo-container{width:calc(100% - 40px);max-height:70px;background-color:#95BF3B;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:23px 20px 20px}.pods-admin_friends-callout_logo-container svg{width:80%}.pods-admin_friends-callout_content-container{padding:0 20px 20px}.pods-admin_friends-callout_close{background:none;border:none;position:absolute;top:4px;right:5px;z-index:999;width:25px;height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-transition:300ms ease background-color;-o-transition:300ms ease background-color;transition:300ms ease background-color;border-radius:100%}.pods-admin_friends-callout_close:hover{background-color:#85ab33;cursor:pointer}.pods-admin_friends-callout_close svg{width:15px;height:15px;display:block;fill:white;position:absolute;top:55%;left:50%;-webkit-transform:translate(-51%, -50%);-ms-transform:translate(-51%, -50%);transform:translate(-51%, -50%)}.pods-admin_friends-callout_logo{width:100%;max-width:175px}.pods-admin_friends-callout_headline{font-size:21px;line-height:1.3;font-weight:100;margin-bottom:.5em}.pods-admin_friends-callout_button-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pods-admin_friends-callout_button{padding:0;color:#444;display:block;font-weight:600;-webkit-transition:300ms ease color;-o-transition:300ms ease color;transition:300ms ease color}.pods-admin_friends-callout_button:hover{color:#95bf3b}.pods-admin_friends-callout_button--join{padding:8px 10px;color:#444;background:#f6f6e8;display:block;text-align:center;-webkit-transition:300ms ease all;-o-transition:300ms ease all;transition:300ms ease all;font-weight:600;text-transform:uppercase;text-decoration:none;border:1px solid #f6f6e8}.pods-admin_friends-callout_button--join:hover{background:#ececce;color:#000}.pods-admin_friends-callout_button--join:last-child{background:#95bf3b;border:1px solid #f6f6e8;color:#f6f6e8}.pods-admin_friends-callout_button--join:last-child:hover{background:#85ab33;color:#fff}.pods-admin_friends-you{font-weight:700;font-size:24px}.pods-admin_friends-callout_date{display:block;font-size:70%}@media (min-width: 1600px){.pods-admin_friends-callout_container{margin-left:40px;margin-right:80px}}.dialogWithDropShadow{-webkit-box-shadow:0 0 10px rgba(0,0,0,0.5);-moz-box-shadow:0 0 10px rgba(0,0,0,0.5);box-shadow:0 0 10px rgba(0,0,0,0.5)}#pods-parts-right{width:250px;margin-right:10px}.pods-parts-icon{display:inline-block;padding:10px 0 10px 25px;text-decoration:none}.pods-parts-icon-edit{background:url(../../images/page_white_edit.png) left center no-repeat}.pods-parts-icon-add{background:url(../../images/bullet_add.png) left center no-repeat}#pods-parts-left{margin-right:-260px;width:100%}#pods-parts-content-editors{margin-right:280px}.editor-wide{width:100%;height:369px;background:#f6f6f6;color:#666}.editor-wide:focus{background:#f9f9f9;color:#333}#pods-parts-popup label{width:70px;display:block;float:left;text-align:right;margin-right:10px;clear:left;margin-top:3px;font-size:12px;font-family:Georgia;font-style:italic;color:#6c6c6c;letter-spacing:.2px}#pods-parts-popup input[type=text],#pods-parts-popup select{width:188px;margin-bottom:10px;font-size:12px;padding:2px}#pods-parts-popup input[type=text]{padding:5px}#pods-parts-popup .button-primary{float:right;text-align:center}#pods-parts-popup p{color:#858585}#pods-parts-popup .blue{display:block}#pods-parts-popup .blue a{color:#21759B;text-decoration:none;font-weight:bold}#pods-parts-popup .gray{color:#9c9c9c;font-size:11px}#pods-parts-popup table{padding:0;margin:0}#pods-parts-popup table td .bluehighlight{padding:4px 6px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin:5px 0}#pods-parts-popup table td .bluehighlight .actions{display:none;font-size:11px}#pods-parts-popup table td .bluehighlight .actions a{color:#21759B;text-decoration:none}#pods-parts-popup table td .bluehighlight .actions a.deletepodspart{color:#ff0000}#pods-parts-popup table td .bluehighlight .actions a:hover{text-decoration:underline}#pods-parts-popup table td .bluehighlight:hover{background:#f6f6f6}#pods-parts-popup table td .bluehighlight:hover .actions{display:inline;float:right;text-align:right}#ui-dialog-title-pods-parts-popup{font-family:Georgia !important;font-weight:normal}.button-secondary{text-align:center}.lightgraybackground{background:#f6f6f6;padding:2px 7px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#pods-parts-search{width:390px;float:left}#pods-parts-search label,#pods-parts-filter label,#pods-parts-display-per-page label{width:auto;margin-top:6px;font-family:Georgia;color:#6c6c6c;font-style:italic;letter-spacing:.5px}#pods-parts-display-per-page select{width:50px}#pods-parts-search .button-secondary{width:120px;margin-left:5px}#pods-parts-filter{width:320px;float:right;text-align:right}#pods-parts-filter select{width:115px}#pods-parts-filter .button-secondary{width:60px;margin-left:5px}.pods-parts-pagination .current-page{width:40px !important;margin:0 2px}.pods-parts-pagination a{margin:0 2px}ul.pods-dfv-list ul{list-style:none;margin:0;padding:0}ul.pods-dfv-list,.pods-dfv-field .pods-pick-values>ul{background:#fff;margin:0 0 5px 0;padding:0;border-radius:0;border:1px solid #dfdfdf;overflow:hidden;max-height:220px;overflow-y:auto}ul.pods-dfv-list:empty{display:none}ul.pods-dfv-list-meta{display:block;overflow:hidden;zoom:1;position:relative}ul.pods-dfv-list li.pods-dfv-list-col{float:left;margin:0;padding:0}ul.pods-dfv-list li.pods-dfv-list-icon{width:40px;margin:0 5px;height:32px;font-size:0;line-height:32px;text-align:center}ul.pods-dfv-list li.pods-dfv-list-icon img{display:inline-block;vertical-align:middle;float:none;border-radius:2px;margin:0;max-height:100%;width:auto}ul.pods-dfv-list li.pods-dfv-list-icon span.pinkynail{font-size:32px;width:32px;height:32px}ul.pods-dfv-list li.pods-dfv-list-handle{width:25px;height:32px;float:left;cursor:move}ul.pods-dfv-list li.pods-dfv-list-edit,ul.pods-dfv-list li.pods-dfv-list-link,ul.pods-dfv-list li.pods-dfv-list-download,ul.pods-dfv-list li.pods-dfv-list-remove{width:25px;height:32px;float:right}ul.pods-dfv-list li.pods-dfv-list-handle span,ul.pods-dfv-list li.pods-dfv-list-edit a,ul.pods-dfv-list li.pods-dfv-list-link a,ul.pods-dfv-list li.pods-dfv-list-download a,ul.pods-dfv-list li.pods-dfv-list-remove a{display:block;width:25px;height:32px;opacity:0.40;text-decoration:none;color:#616161}ul.pods-dfv-list li.pods-dfv-list-handle span:hover,ul.pods-dfv-list li.pods-dfv-list-edit a:hover,ul.pods-dfv-list li.pods-dfv-list-link a:hover,ul.pods-dfv-list li.pods-dfv-list-download a:hover,ul.pods-dfv-list li.pods-dfv-list-remove a:hover{opacity:1}ul.pods-dfv-list li.pods-dfv-list-handle span:focus,ul.pods-dfv-list li.pods-dfv-list-edit a:focus,ul.pods-dfv-list li.pods-dfv-list-link a:focus,ul.pods-dfv-list li.pods-dfv-list-download a:focus,ul.pods-dfv-list li.pods-dfv-list-remove a:focus{-webkit-box-shadow:none;box-shadow:none}ul.pods-dfv-list li.pods-dfv-list-handle span:before,ul.pods-dfv-list li.pods-dfv-list-edit a:before,ul.pods-dfv-list li.pods-dfv-list-link a:before,ul.pods-dfv-list li.pods-dfv-list-download a:before,ul.pods-dfv-list li.pods-dfv-list-remove a:before{margin:0 24px 0 -24px;font:400 20px/1 dashicons;line-height:32px}ul.pods-dfv-list li.pods-dfv-list-handle span:before{content:"\f156"}ul.pods-dfv-list li.pods-dfv-list-edit a:before{content:"\f464"}ul.pods-dfv-list li.pods-dfv-list-link a:before{content:"\f504"}ul.pods-dfv-list li.pods-dfv-list-download a:before{content:"\f316"}ul.pods-dfv-list li.pods-dfv-list-remove a:before{content:"\f158"}ul.pods-dfv-list li.pods-dfv-list-handle span,ul.pods-dfv-list li.pods-dfv-list-edit a,ul.pods-dfv-list li.pods-dfv-list-link a,ul.pods-dfv-list li.pods-dfv-list-download a,ul.pods-dfv-list li.pods-dfv-list-remove a{text-indent:100%;white-space:nowrap;overflow:hidden;box-shadow:none}ul.pods-dfv-list li.pods-dfv-list-name{position:absolute;left:80px;right:105px;padding:3px 0;line-height:24px;overflow:visible;white-space:nowrap}ul.pods-dfv-list li.pods-dfv-list-name input[type=text]{width:100% !important;font-size:1em;line-height:1;padding:.3vh 5px;margin:0}li.pods-dfv-list-item,.pods-pick-values li.pods-dfv-list-item{display:block;padding:6px 5px 6px 10px;margin:0;border-bottom:1px solid #efefef}li.pods-dfv-list-item:hover{background:#f5f5f5}li.pods-dfv-list-item:last-of-type{border-bottom:0}ul.pods-dfv-list-queue{margin:14px 0 5px}ul.pods-dfv-list-queue li.pods-dfv-list-name{position:relative;width:73%;left:auto;right:auto;padding-top:0}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress,ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress div.progress-bar{border-radius:10px;height:18px}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress{position:relative;width:23%;margin:2px 2% 0 0;background-color:#e8e8e8}ul.pods-dfv-list-queue li.pods-dfv-list-item li.pods-progress div.progress-bar{width:0;background-color:#1073AA}li.pods-dfv-list-item:after,ul.pods-dfv-list li.pods-dfv-list-item ul.pods-dfv-list-meta:after,ul.pods-dfv-list-queue li.pods-dfv-list-item:after,ul.pods-dfv-list-queue li.pods-dfv-list-item ul.pods-dfv-list-meta:after{content:"";display:table;clear:both}.pods-field-template-tiles ul.pods-dfv-list{max-height:500px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-item{display:inline-block;width:150px;border-bottom:0;padding:5px 10px 10px;vertical-align:top}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-icon{width:auto;float:none;margin:32px 0 0;max-height:150px;height:150px;line-height:150px;text-align:center}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle span:before{content:"\f545"}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-icon img{max-width:none;max-height:none;float:none;display:inline-block;vertical-align:middle;margin:0}form.pods-form .pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-name{position:static;float:none}form.pods-form .pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-name input[type=text]{margin:0;padding:.3vh 6px}.pods-dfv-field .select2-container .select2-selection--single{height:30px}.pods-dfv-field .select2-container--default .select2-selection--single .select2-selection__clear{height:28px;line-height:26px}.pods-dfv-field .select2-container--default .select2-selection--multiple .select2-selection__rendered li{background:none}.pods-dfv-field .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px;line-height:1;vertical-align:top}.pods-dfv-field .select2-container--default .select2-selection--multiple li.select2-selection__choice{padding:3px 5px;background-color:#f5f5f5;border-color:#dfdfdf;line-height:1.2;margin:5px 5px 5px 0}.pods-dfv-field .select2-container--default .select2-selection--multiple li.select2-selection__choice:hover{background-color:#fafafa;border-color:#bbb;cursor:move}.pods-dfv-field .pods-select2 .select2-container-multi .select2-choices .select2-search-field input{height:auto}.pods-dfv-field .select2-container--default .select2-selection--multiple{border-color:#ddd;border-radius:1px}.pods-dfv-field .select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,0.8);box-shadow:0 0 2px rgba(30,140,190,0.8)}.pods-pick-values .select2-container li{padding:0;line-height:inherit}.select2-container .select2-selection--multiple .select2-search--inline{float:none}.select2-container .select2-selection--multiple .select2-search--inline:first-child .select2-search__field{width:100% !important}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-edit,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-link,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-download,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-remove{position:absolute;top:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-handle{left:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-edit{right:75px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-link{right:50px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-download{right:25px}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-remove{right:0}ul.pods-dfv-list li.pods-dfv-list-actions{position:absolute;top:0;right:0}.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-edit,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-link,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-download,.pods-field-template-tiles ul.pods-dfv-list li.pods-dfv-list-actions li.pods-dfv-list-remove{position:static;float:right}a.pods-quick-add,span.pods-quick-add{display:block;line-height:36px;float:right;margin-right:15px}div.open a.pods-quick-add,div.open span.pods-quick-add{display:none}.pods-ui-field .pods-dfv-list-add{margin-bottom:10px}form.pods-manage ol.form-fields{list-style:none;padding-left:0;margin:0}form.pods-manage .chzn-container{display:block}form.pods-manage .pods-field label{cursor:pointer;display:inline-block;padding:0 0 4px 2px}form.pods-manage .pods-field input,form.pods-manage .pods-field textarea{display:block;width:100%}form.pods-manage .pods-field textarea{font-family:monospace;height:100%;resize:none}form.pods-manage .pods-field p.pods-field-comment{color:#aaa;font-size:.9em;font-style:italic;margin:5px 0 0 2px !important}form.pods-manage .pods-pick select{display:block;min-width:125px;padding:4px}form.pods-manage .pods-boolean{position:relative;cursor:pointer}form.pods-manage .pods-boolean input{display:block;height:auto;left:2px;margin:1px 7px 0 0;padding:0;position:absolute;top:10px;width:auto}form.pods-manage .pods-boolean label{margin-left:20px}form.pods-manage .pods-dfv-list-item label{padding-bottom:8px}form.pods-manage .pods-dfv-list-item input{display:none}form.pods-manage ul.pods-dfv-list{background:#fbfbfb;border:1px solid #dfdfdf;border-bottom:0;border-radius:3px;list-style:none;margin:0;padding:0}form.pods-manage ul.pods-dfv-list li{background:#fff;border-bottom:1px solid #dfdfdf;margin:0;position:relative;padding-bottom:10px}form.pods-manage ul.pods-dfv-list li span{display:inline-block;float:none}form.pods-manage ul.pods-dfv-list li span.pods-file-reorder{left:3px;position:absolute;top:15px;width:30px}form.pods-manage ul.pods-dfv-list li span.pods-file-reorder img{cursor:move;display:block}form.pods-manage ul.pods-dfv-list li span.pods-file-thumb{left:35px;position:absolute;top:2px;width:45px}form.pods-manage ul.pods-dfv-list li span.pods-file-thumb .pinkynail{float:none;margin:0;max-width:40px !important;max-height:40px !important}form.pods-manage ul.pods-dfv-list li span.pods-dfv-list-name{padding:11px 35px 0 85px}form.pods-manage ul.pods-dfv-list li span.pods-file-remove{position:absolute;right:10px;top:10px;width:25px}form.pods-manage ul.pods-dfv-list li span.pods-file-remove img{cursor:pointer;display:block}form.pods-manage .pods-pick-values{background:#fff;border:1px solid #dfdfdf;border-radius:3px;min-width:125px;overflow:auto;padding:2px 0}form.pods-manage .pods-pick-values ul{overflow:auto}form.pods-manage .pods-pick-values li{border-bottom:1px solid #f4f4f4;line-height:1em;margin:0;padding:3px 6px 2px}form.pods-manage .pods-pick-values li:nth-child(even){background:#fcfcfc}form.pods-manage .pods-pick-values label{padding-bottom:3px;padding-top:3px}form.pods-manage .pods-pick-values li:last-of-type{border-bottom:0}form.pods-manage .pods-pick-values li .pods-field{padding:3px 0 2px}form.pods-manage .pods-pick-values li .pods-boolean input{top:5px}form.pods-manage .pods-pick-values li:hover{background:#f5f5f5}form.pods-manage select.pods-pick-multi{height:auto !important}form.pods-manage .pods-field,form.pods-manage p.pods-add-file{clear:both;padding:10px 0}form.pods-manage .pods-textfield input,form.pods-manage .pods-textarea textarea{width:100%}form.pods-manage .pods-textfield input,form.pods-manage .pods-textarea textarea{padding:5px 7px;color:#808080}form.pods-manage .pods-textarea textarea{resize:vertical}form.pods-manage .pods-textfield input:focus,form.pods-manage .pods-textarea textarea:focus{border-color:#a0a0a0;box-shadow:0 0 5px rgba(0,0,0,0.1);color:#000}form.pods-manage .pods-date input,form.pods-manage .pods-number input{min-width:125px}form.pods-manage .pods-date input.pods-date-field.hasDatepicker{background:#fff url(../../images/calendar16.png) no-repeat 5px 5px;cursor:pointer;padding-left:25px !important;padding-top:6px !important;width:150px}form.pods-manage .pods-slider-field{margin:10px 0}form.pods-manage .pods-slider-field-display{padding:10px 0}form.pods-manage ul.ui-sortable li{cursor:move}form.pods-manage ul.ui-sortable li:hover{background:#f5f5f5;cursor:move}form.pods-manage ul.ui-sortable li:hover{background:#f5f5f5}form.pods-manage .ui-slider-handle{z-index:0 !important}form.pods-manage table.plupload-queue tr.hide{display:none}form.pods-manage table.plupload-queue td.progress{width:175px}form.pods-manage table.plupload-queue td.progress .progress-bar{width:0;height:14px;background:black}form.pods-manage .plupload-queue{width:250px}form.pods-manage .plupload-progress{position:relative}form.pods-manage .plupload-progress .progress-bar{position:absolute;height:14px;width:0%;background:#4d4d4d;margin-left:10px}form.pods-manage .plupload-progress .file-name{vertical-align:top}form.pods-manage .pods-inline-files li{margin-top:10px}form.pods-manage .pods-inline-files li .file-name{vertical-align:top !important}form.pods-manage .pods-inline-files li .remove{cursor:pointer}form.pods-manage .pods-inline-files .plupload-progress{width:150px}table.DMB_metabox td,table.DMB_metabox th{border-bottom:1px solid #f5f5f5}table.DMB_metabox th{text-align:right;font-weight:bold}table.DMB_metabox th label{margin-top:6px;display:block}p.DMB_metabox_description{color:#AAA;font-style:italic;margin:2px 0 !important}span.DMB_metabox_description{color:#AAA;font-style:italic}input.DMB_text_small{width:100px;margin-right:15px}input.DMB_text_money{width:90px;margin-right:15px}input.DMB_text_medium{width:230px;margin-right:15px}table.DMB_metabox input,table.DMB_metabox textarea{font-size:11px;padding:5px}table.DMB_metabox li{font-size:11px;float:left;width:25%;margin:0 10px}table.DMB_metabox ul{padding-top:5px}table.DMB_metabox select{font-size:11px;padding:5px 10px}table.DMB_metabox input:focus,table.DMB_metabox textarea:focus{background:#fffff8}.DMB_metabox_title{margin:0 0 5px 0;padding:5px 0 0 0;font:italic 24px/35px Georgia, "Times New Roman", "Bitstream Charter", Times, serif}.DMB_radio_inline{padding:4px 0 0 0}.DMB_radio_inline_option{display:inline;padding-right:18px}table.DMB_metabox input[type="radio"]{margin-right:3px}table.DMB_metabox input[type="checkbox"]{margin-right:6px}table.DMB_metabox .mceLayout{border:1px solid #DFDFDF !important}table.DMB_metabox .meta_mce{width:97%}table.DMB_metabox .meta_mce textarea{width:100%}table.DMB_metabox .DMB_upload_status{margin:10px 0 0 0}table.DMB_metabox .DMB_upload_status .img_status{position:relative}table.DMB_metabox .DMB_upload_status .img_status img{border:1px solid #DFDFDF;background:#FAFAFA;max-width:350px;padding:5px;-moz-border-radius:2px;border-radius:2px}table.DMB_metabox .DMB_upload_status .img_status .remove_file_button{text-indent:-9999px;width:16px;height:16px}table.DMB_metabox thead tr{border-bottom:1px solid #ccc}.pods-modal-window{margin-top:-32px}.pods-modal-window.edit-tags-php #col-left,.pods-modal-window.edit-tags-php #col-left input,.pods-modal-window.edit-tags-php #col-left textarea{width:100%}.pods-modal-window #wpadminbar,.pods-modal-window #adminmenuback,.pods-modal-window #adminmenuwrap,.pods-modal-window #preview-action,.pods-modal-window #wpfooter,.pods-modal-window body.edit-tags-php #col-right,.pods-modal-window body.edit-tags-php .search-form{display:none}.pods-modal-window #wpbody-content{padding-bottom:0}.pods-modal-window #wpcontent{padding:0;margin:0 1.25em}.pods-modal-window .wrap{margin:0}.pods-ui-filter-bar{margin:10px 0 20px}.pods-ui-filter-bar-primary{padding:8px 15px;background-color:#FFF;border:1px solid #CCD0D4;position:relative;height:auto;line-height:35px;text-shadow:0 1px 0 white;overflow:hidden;word-wrap:break-word}.pods-ui-filter-bar-primary ul.subsubsub{margin:0 0 0 4px}.pods-ui-filter-bar-primary ul.subsubsub li{margin-right:5px}.pods-ui-filter-bar-primary ul.subsubsub li.pods-ui-filter-view-label{margin-right:8px;color:#222;font-size:14px}.pods-ui-filter-bar-primary ul.subsubsub li a{text-decoration:none;font-size:12px;line-height:13px;padding:3px 10px;cursor:pointer;border-radius:3px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;border:1px solid #BBB;color:#464646;background:#F2F2F2;text-shadow:#fff 0 1px 0}.pods-ui-filter-bar-primary ul.subsubsub li a:hover{color:#000}.pods-ui-filter-bar-primary ul.subsubsub li a:active{background:#EEE}.pods-ui-filter-bar-primary ul.subsubsub li a.current{border:none;font-weight:bold;color:white;background:#21759B;text-shadow:rgba(0,0,0,0.3) 0 -1px 0}.pods-ui-filter-bar-primary ul.subsubsub li a.current:hover{border-color:#13455B}.pods-ui-filter-bar-primary ul.subsubsub li a.current:active{background:#21759B repeat-x scroll left top}.pods-ui-filter-bar-primary ul.subsubsub li a.current:hover,.pods-ui-filter-bar-primary ul.subsubsub li a.current:active{color:#EAF2FA}.pods-ui-filter-bar-primary ul.subsubsub li a span{font-size:11px}.pods-ui-filter-bar-primary ul.subsubsub li a.current span{color:#F7F7F7}.pods-ui-filter-bar-primary p.search-box{margin:0}.pods-ui-filter-bar-primary p.search-box a.pods-ui-filter-reset{margin-right:6px;font-size:11px}body.branch-3-5 .pods-ui-filter-bar-primary p.search-box input[name="s"]{float:none;line-height:24px}body.branch-3-5 .pods-ui-filter-bar-primary p.search-box input.button{float:none;line-height:23px}.pods-ui-filter-bar-secondary{margin:0 auto;width:97%;background:#e1ecf2;border:1px solid #c0d4e0;padding:6px 8px;text-align:right;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-bottomright:8px;-moz-border-radius-bottomleft:8px;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.pods-ui-filter-bar-secondary ul.subsubsub{margin:0;float:none}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-add-filter{margin-right:8px}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-add-filter a{font-size:13px;font-weight:normal}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter{text-decoration:none;font-size:12px;line-height:13px;margin-left:8px;padding:4px 12px;cursor:pointer;-webkit-border-radius:11px;border-radius:11px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;border:none;background:#21759B;text-shadow:rgba(0,0,0,0.3) 0 -1px 0}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter a{color:white}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:hover{border-color:#13455B}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:active{background:#21759B}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:hover a:hover,.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:active a{color:#EAF2FA}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter a.remove-filter{padding-left:7px;margin-left:3px;border-left:1px solid #888;text-transform:uppercase;font-size:11px;color:#CCC}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:hover a.remove-filter{color:#CCC}.pods-ui-filter-bar-secondary ul.subsubsub li.pods-ui-filter-bar-filter:hover a.remove-filter:hover{color:#CCC}.pods-ui-posts-filter-popup .pods-ui-posts-filters,.pods-ui-posts-filter-popup .pods-ui-posts-filters p.clear{clear:both}.pods-ui-posts-filter-popup label{display:block;margin-bottom:9px;font-weight:bold;font-size:15px;color:#282828;cursor:pointer}.pods-ui-posts-filter-popup .pods-ui-posts-filter label{margin:4px 0;font-size:13px}.pods-ui-posts-filter-popup .pods-ui-posts-filter-toggle{color:#2175A4;font-size:10px;line-height:15px;text-transform:uppercase;margin-left:9px;vertical-align:1px;float:right;cursor:pointer}.pods-ui-posts-filter-popup .pods-ui-posts-filter{clear:both;display:block;margin-bottom:4px}.pods-ui-posts-filter-popup .pods-ui-posts-filter.pods-hidden{display:none}.pods-ui-posts-filter-popup .pods-ui-posts-filter-toggle.toggle-on{font-size:14px}.pods-ui-posts-filter-popup .pods-ui-posts-filter-toggle:active,.pods-ui-posts-filter-popup .pods-ui-posts-filter-toggle:hover{color:#D54E21}.pods-ui-posts-filter-popup p{display:block;float:left;width:47%;margin:7px 0 20px 5%;border-bottom:1px solid #BABABA}.pods-ui-posts-filter-popup p.clear{margin-left:0}.pods-ui-posts-filter-popup p input,.pods-ui-posts-filter-popup p select,.pods-ui-posts-filter-popup p textarea{max-width:100%}.pods-ui-posts-filter-popup p input[type="text"],.pods-ui-posts-filter-popup p textarea{width:100%}.pods-ui-posts-filter-popup p.pods-ui-posts-filter-search{padding-bottom:0;border-bottom:none}.pods-ui-posts-filter-popup p.submit{margin-top:30px;padding:0 !important;border-bottom:none}body.branch-3-5 .pods-ui-posts-filter-popup p.submit{margin-top:36px}.pods-ui-posts-filter-popup p.submit.clear{clear:none;float:right;text-align:right}body.branch-3-4 .pods-ui-posts-filter-popup p.submit input.button{font-size:13px !important;padding:5px 32px}body.branch-3-5 .pods-ui-posts-filter-popup p.submit input.button{padding:0 32px}.pods-ui-posts-filter-popup p:after,.pods-ui-posts-filter-popup .pods-ui-posts-filters:after{content:".";display:block;height:0;clear:both;visibility:hidden}.pods-ui .wp-list-table .toggle-row{display:none}.pods-ui p div.pods-pick-values{display:inline}.pods-compat-container .CodeMirror{font-family:monospace;height:300px}.pods-compat-container .CodeMirror-scroll{overflow:auto}.pods-compat-container .CodeMirror-lines{padding:4px 0}.pods-compat-container .CodeMirror pre{padding:0 4px}.pods-compat-container .CodeMirror-scrollbar-filler,.pods-compat-container .CodeMirror-gutter-filler{background-color:white}.pods-compat-container .CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.pods-compat-container .CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;-moz-box-sizing:content-box;box-sizing:content-box}.pods-compat-container .CodeMirror-guttermarker{color:black}.pods-compat-container .CodeMirror-guttermarker-subtle{color:#999}.pods-compat-container .CodeMirror div.CodeMirror-cursor{border-left:1px solid black}.pods-compat-container .CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.pods-compat-container .CodeMirror.cm-fat-cursor div.CodeMirror-cursor{width:auto;border:0;background:#7e7}.pods-compat-container .CodeMirror.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.pods-compat-container .cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}@-moz-keyframes blink{0%{background:#7e7}50%{background:none}100%{background:#7e7}}@-webkit-keyframes blink{0%{background:#7e7}50%{background:none}100%{background:#7e7}}@keyframes blink{0%{background:#7e7}50%{background:none}100%{background:#7e7}}.pods-compat-container .cm-tab{display:inline-block;text-decoration:inherit}.pods-compat-container .CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.pods-compat-container .cm-s-default .cm-keyword{color:#708}.pods-compat-container .cm-s-default .cm-atom{color:#219}.pods-compat-container .cm-s-default .cm-number{color:#164}.pods-compat-container .cm-s-default .cm-def{color:#00f}.pods-compat-container .cm-s-default .cm-variable-2{color:#05a}.pods-compat-container .cm-s-default .cm-variable-3{color:#085}.pods-compat-container .cm-s-default .cm-comment{color:#a50}.pods-compat-container .cm-s-default .cm-string{color:#a11}.pods-compat-container .cm-s-default .cm-string-2{color:#f50}.pods-compat-container .cm-s-default .cm-meta{color:#555}.pods-compat-container .cm-s-default .cm-qualifier{color:#555}.pods-compat-container .cm-s-default .cm-builtin{color:#30a}.pods-compat-container .cm-s-default .cm-bracket{color:#997}.pods-compat-container .cm-s-default .cm-tag{color:#170}.pods-compat-container .cm-s-default .cm-attribute{color:#00c}.pods-compat-container .cm-s-default .cm-header{color:blue}.pods-compat-container .cm-s-default .cm-quote{color:#090}.pods-compat-container .cm-s-default .cm-hr{color:#999}.pods-compat-container .cm-s-default .cm-link{color:#00c}.pods-compat-container .cm-negative{color:#d44}.pods-compat-container .cm-positive{color:#292}.pods-compat-container .cm-header,.pods-compat-container .cm-strong{font-weight:bold}.pods-compat-container .cm-em{font-style:italic}.pods-compat-container .cm-link{text-decoration:underline}.pods-compat-container .cm-strikethrough{text-decoration:line-through}.pods-compat-container .cm-s-default .cm-error{color:#f00}.pods-compat-container .cm-invalidchar{color:#f00}.pods-compat-container div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}.pods-compat-container div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.pods-compat-container .CodeMirror-matchingtag{background:rgba(255,150,0,0.3)}.pods-compat-container .CodeMirror-activeline-background{background:#e8f2ff}.pods-compat-container .CodeMirror{background:none repeat scroll 0 0 white;color:black;line-height:1;margin:-6px -12px -12px;overflow:hidden;position:relative}.pods-compat-container .CodeMirror-scroll{margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative;-moz-box-sizing:content-box;box-sizing:content-box;z-index:0}.pods-compat-container .CodeMirror-sizer{position:relative;border-right:30px solid transparent;-moz-box-sizing:content-box;box-sizing:content-box}.pods-compat-container .CodeMirror-vscrollbar,.pods-compat-container .CodeMirror-hscrollbar,.pods-compat-container .CodeMirror-scrollbar-filler,.pods-compat-container .CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.pods-compat-container .CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.pods-compat-container .CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.pods-compat-container .CodeMirror-scrollbar-filler{right:0;bottom:0}.pods-compat-container .CodeMirror-gutter-filler{left:0;bottom:0}.pods-compat-container .CodeMirror-gutters{position:absolute;left:0;top:0;padding-bottom:30px;z-index:3}.pods-compat-container .CodeMirror-gutter{white-space:normal;height:100%;-moz-box-sizing:content-box;box-sizing:content-box;padding-bottom:30px;margin-bottom:-32px;display:inline-block;*zoom:1;*display:inline}.pods-compat-container .CodeMirror-gutter-wrapper{position:absolute;z-index:4;height:100%}.pods-compat-container .CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.pods-compat-container .CodeMirror-lines{cursor:text;min-height:1px}.pods-compat-container .CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible}.pods-compat-container .CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:break-all}.pods-compat-container .CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.pods-compat-container .CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.pods-compat-container .CodeMirror-wrap .CodeMirror-scroll{overflow-x:hidden}.pods-compat-container .CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.pods-compat-container .CodeMirror-measure pre{position:static}.pods-compat-container .CodeMirror div.CodeMirror-cursor{position:absolute;border-right:none;width:0}.pods-compat-container div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.pods-compat-container .CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.pods-compat-container .CodeMirror-selected{background:#d9d9d9}.pods-compat-container .CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.pods-compat-container .CodeMirror-crosshair{cursor:crosshair}.pods-compat-container .cm-searching{background:#ffa;background:rgba(255,255,0,0.4)}.pods-compat-container .CodeMirror span{*vertical-align:text-bottom}.pods-compat-container .cm-force-border{padding-right:.1px}@media print{.pods-compat-container .CodeMirror div.CodeMirror-cursors{visibility:hidden}}.pods-compat-container .cm-tab-wrap-hack:after{content:''}.pods-compat-container span.CodeMirror-selectedtext{background:none}.pods-compat-container .ui-timepicker-div .ui-widget-header{margin-bottom:8px}.pods-compat-container .ui-timepicker-div dl{text-align:left}.pods-compat-container .ui-timepicker-div dl dt{height:25px;margin-bottom:-25px}.pods-compat-container .ui-timepicker-div dl dd{margin:0 10px 10px 65px}.pods-compat-container .ui-timepicker-div td{font-size:90%}.pods-compat-container .ui-timepicker-div .ui_tpicker_unit_hide{display:none}.pods-compat-container .ui-timepicker-div .ui_tpicker_time_input{width:100%}.pods-compat-container .ui-tpicker-grid-label{background:none;border:none;margin:0;padding:0}.pods-compat-container .ui-timepicker-rtl{direction:rtl}.pods-compat-container .ui-timepicker-rtl dl{text-align:right}.pods-compat-container .ui-timepicker-rtl dl dd{margin:0 65px 10px 10px}.pods-compat-container .ui-helper-hidden{display:none}.pods-compat-container .ui-helper-hidden-accessible{position:absolute !important;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px)}.pods-compat-container .ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.pods-compat-container .ui-helper-clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}.pods-compat-container .ui-helper-clearfix{display:inline-block}.pods-compat-container * html .ui-helper-clearfix{height:1%}.pods-compat-container .ui-helper-clearfix{display:block}.pods-compat-container .ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.pods-compat-container .ui-state-disabled{cursor:default !important}.pods-compat-container .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.pods-compat-container .ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.pods-compat-container .ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.pods-compat-container .ui-widget .ui-widget{font-size:1em}.pods-compat-container .ui-widget input,.pods-compat-container .ui-widget select,.pods-compat-container .ui-widget textarea,.pods-compat-container .ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.pods-compat-container .ui-widget-content{border:1px solid #aaaaaa;background:#fff url(../../images/smoothness/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222222}.pods-compat-container .ui-widget-content a{color:#222222}.pods-compat-container .ui-widget-header{border:1px solid #aaaaaa;background:#ccc url(../../images/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222222;font-weight:bold}.pods-compat-container .ui-widget-header a{color:#222222}.pods-compat-container .ui-state-default,.pods-compat-container .ui-widget-content .ui-state-default,.pods-compat-container .ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(../../images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555555}.pods-compat-container .ui-state-default a,.pods-compat-container .ui-state-default a:link,.pods-compat-container .ui-state-default a:visited{color:#555555;text-decoration:none}.pods-compat-container .ui-state-hover,.pods-compat-container .ui-widget-content .ui-state-hover,.pods-compat-container .ui-widget-header .ui-state-hover,.pods-compat-container .ui-state-focus,.pods-compat-container .ui-widget-content .ui-state-focus,.pods-compat-container .ui-widget-header .ui-state-focus{border:1px solid #999999;background:#dadada url(../../images/smoothness/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.pods-compat-container .ui-state-hover a,.pods-compat-container .ui-state-hover a:hover{color:#212121;text-decoration:none}.pods-compat-container .ui-state-active,.pods-compat-container .ui-widget-content .ui-state-active,.pods-compat-container .ui-widget-header .ui-state-active{border:1px solid #aaaaaa;background:#fff url(../../images/smoothness/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.pods-compat-container .ui-state-active a,.pods-compat-container .ui-state-active a:link,.pods-compat-container .ui-state-active a:visited{color:#212121;text-decoration:none}.pods-compat-container .ui-widget :active{outline:none}.pods-compat-container .ui-state-highlight,.pods-compat-container .ui-widget-content .ui-state-highlight,.pods-compat-container .ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(../../images/smoothness/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.pods-compat-container .ui-state-highlight a,.pods-compat-container .ui-widget-content .ui-state-highlight a,.pods-compat-container .ui-widget-header .ui-state-highlight a{color:#363636}.pods-compat-container .ui-state-error,.pods-compat-container .ui-widget-content .ui-state-error,.pods-compat-container .ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(../../images/smoothness/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.pods-compat-container .ui-state-error a,.pods-compat-container .ui-widget-content .ui-state-error a,.pods-compat-container .ui-widget-header .ui-state-error a{color:#cd0a0a}.pods-compat-container .ui-state-error-text,.pods-compat-container .ui-widget-content .ui-state-error-text,.pods-compat-container .ui-widget-header .ui-state-error-text{color:#cd0a0a}.pods-compat-container .ui-priority-primary,.pods-compat-container .ui-widget-content .ui-priority-primary,.pods-compat-container .ui-widget-header .ui-priority-primary{font-weight:bold}.pods-compat-container .ui-priority-secondary,.pods-compat-container .ui-widget-content .ui-priority-secondary,.pods-compat-container .ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.pods-compat-container .ui-state-disabled,.pods-compat-container .ui-widget-content .ui-state-disabled,.pods-compat-container .ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.pods-compat-container .ui-icon{width:16px;height:16px;background-image:url(../../images/smoothness/ui-icons_222222_256x240.png)}.pods-compat-container .ui-widget-content .ui-icon{background-image:url(../../images/smoothness/ui-icons_222222_256x240.png)}.pods-compat-container .ui-widget-header .ui-icon{background-image:url(../../images/smoothness/ui-icons_222222_256x240.png)}.pods-compat-container .ui-state-default .ui-icon{background-image:url(../../images/smoothness/ui-icons_888888_256x240.png)}.pods-compat-container .ui-state-hover .ui-icon,.pods-compat-container .ui-state-focus .ui-icon{background-image:url(../../images/smoothness/ui-icons_454545_256x240.png)}.pods-compat-container .ui-state-active .ui-icon{background-image:url(../../images/smoothness/ui-icons_454545_256x240.png)}.pods-compat-container .ui-state-highlight .ui-icon{background-image:url(../../images/smoothness/ui-icons_2e83ff_256x240.png)}.pods-compat-container .ui-state-error .ui-icon,.pods-compat-container .ui-state-error-text .ui-icon{background-image:url(../../images/smoothness/ui-icons_cd0a0a_256x240.png)}.pods-compat-container .ui-icon-carat-1-n{background-position:0 0}.pods-compat-container .ui-icon-carat-1-ne{background-position:-16px 0}.pods-compat-container .ui-icon-carat-1-e{background-position:-32px 0}.pods-compat-container .ui-icon-carat-1-se{background-position:-48px 0}.pods-compat-container .ui-icon-carat-1-s{background-position:-64px 0}.pods-compat-container .ui-icon-carat-1-sw{background-position:-80px 0}.pods-compat-container .ui-icon-carat-1-w{background-position:-96px 0}.pods-compat-container .ui-icon-carat-1-nw{background-position:-112px 0}.pods-compat-container .ui-icon-carat-2-n-s{background-position:-128px 0}.pods-compat-container .ui-icon-carat-2-e-w{background-position:-144px 0}.pods-compat-container .ui-icon-triangle-1-n{background-position:0 -16px}.pods-compat-container .ui-icon-triangle-1-ne{background-position:-16px -16px}.pods-compat-container .ui-icon-triangle-1-e{background-position:-32px -16px}.pods-compat-container .ui-icon-triangle-1-se{background-position:-48px -16px}.pods-compat-container .ui-icon-triangle-1-s{background-position:-64px -16px}.pods-compat-container .ui-icon-triangle-1-sw{background-position:-80px -16px}.pods-compat-container .ui-icon-triangle-1-w{background-position:-96px -16px}.pods-compat-container .ui-icon-triangle-1-nw{background-position:-112px -16px}.pods-compat-container .ui-icon-triangle-2-n-s{background-position:-128px -16px}.pods-compat-container .ui-icon-triangle-2-e-w{background-position:-144px -16px}.pods-compat-container .ui-icon-arrow-1-n{background-position:0 -32px}.pods-compat-container .ui-icon-arrow-1-ne{background-position:-16px -32px}.pods-compat-container .ui-icon-arrow-1-e{background-position:-32px -32px}.pods-compat-container .ui-icon-arrow-1-se{background-position:-48px -32px}.pods-compat-container .ui-icon-arrow-1-s{background-position:-64px -32px}.pods-compat-container .ui-icon-arrow-1-sw{background-position:-80px -32px}.pods-compat-container .ui-icon-arrow-1-w{background-position:-96px -32px}.pods-compat-container .ui-icon-arrow-1-nw{background-position:-112px -32px}.pods-compat-container .ui-icon-arrow-2-n-s{background-position:-128px -32px}.pods-compat-container .ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.pods-compat-container .ui-icon-arrow-2-e-w{background-position:-160px -32px}.pods-compat-container .ui-icon-arrow-2-se-nw{background-position:-176px -32px}.pods-compat-container .ui-icon-arrowstop-1-n{background-position:-192px -32px}.pods-compat-container .ui-icon-arrowstop-1-e{background-position:-208px -32px}.pods-compat-container .ui-icon-arrowstop-1-s{background-position:-224px -32px}.pods-compat-container .ui-icon-arrowstop-1-w{background-position:-240px -32px}.pods-compat-container .ui-icon-arrowthick-1-n{background-position:0 -48px}.pods-compat-container .ui-icon-arrowthick-1-ne{background-position:-16px -48px}.pods-compat-container .ui-icon-arrowthick-1-e{background-position:-32px -48px}.pods-compat-container .ui-icon-arrowthick-1-se{background-position:-48px -48px}.pods-compat-container .ui-icon-arrowthick-1-s{background-position:-64px -48px}.pods-compat-container .ui-icon-arrowthick-1-sw{background-position:-80px -48px}.pods-compat-container .ui-icon-arrowthick-1-w{background-position:-96px -48px}.pods-compat-container .ui-icon-arrowthick-1-nw{background-position:-112px -48px}.pods-compat-container .ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.pods-compat-container .ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.pods-compat-container .ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.pods-compat-container .ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.pods-compat-container .ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.pods-compat-container .ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.pods-compat-container .ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.pods-compat-container .ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.pods-compat-container .ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.pods-compat-container .ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.pods-compat-container .ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.pods-compat-container .ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.pods-compat-container .ui-icon-arrowreturn-1-w{background-position:-64px -64px}.pods-compat-container .ui-icon-arrowreturn-1-n{background-position:-80px -64px}.pods-compat-container .ui-icon-arrowreturn-1-e{background-position:-96px -64px}.pods-compat-container .ui-icon-arrowreturn-1-s{background-position:-112px -64px}.pods-compat-container .ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.pods-compat-container .ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.pods-compat-container .ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.pods-compat-container .ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.pods-compat-container .ui-icon-arrow-4{background-position:0 -80px}.pods-compat-container .ui-icon-arrow-4-diag{background-position:-16px -80px}.pods-compat-container .ui-icon-extlink{background-position:-32px -80px}.pods-compat-container .ui-icon-newwin{background-position:-48px -80px}.pods-compat-container .ui-icon-refresh{background-position:-64px -80px}.pods-compat-container .ui-icon-shuffle{background-position:-80px -80px}.pods-compat-container .ui-icon-transfer-e-w{background-position:-96px -80px}.pods-compat-container .ui-icon-transferthick-e-w{background-position:-112px -80px}.pods-compat-container .ui-icon-folder-collapsed{background-position:0 -96px}.pods-compat-container .ui-icon-folder-open{background-position:-16px -96px}.pods-compat-container .ui-icon-document{background-position:-32px -96px}.pods-compat-container .ui-icon-document-b{background-position:-48px -96px}.pods-compat-container .ui-icon-note{background-position:-64px -96px}.pods-compat-container .ui-icon-mail-closed{background-position:-80px -96px}.pods-compat-container .ui-icon-mail-open{background-position:-96px -96px}.pods-compat-container .ui-icon-suitcase{background-position:-112px -96px}.pods-compat-container .ui-icon-comment{background-position:-128px -96px}.pods-compat-container .ui-icon-person{background-position:-144px -96px}.pods-compat-container .ui-icon-print{background-position:-160px -96px}.pods-compat-container .ui-icon-trash{background-position:-176px -96px}.pods-compat-container .ui-icon-locked{background-position:-192px -96px}.pods-compat-container .ui-icon-unlocked{background-position:-208px -96px}.pods-compat-container .ui-icon-bookmark{background-position:-224px -96px}.pods-compat-container .ui-icon-tag{background-position:-240px -96px}.pods-compat-container .ui-icon-home{background-position:0 -112px}.pods-compat-container .ui-icon-flag{background-position:-16px -112px}.pods-compat-container .ui-icon-calendar{background-position:-32px -112px}.pods-compat-container .ui-icon-cart{background-position:-48px -112px}.pods-compat-container .ui-icon-pencil{background-position:-64px -112px}.pods-compat-container .ui-icon-clock{background-position:-80px -112px}.pods-compat-container .ui-icon-disk{background-position:-96px -112px}.pods-compat-container .ui-icon-calculator{background-position:-112px -112px}.pods-compat-container .ui-icon-zoomin{background-position:-128px -112px}.pods-compat-container .ui-icon-zoomout{background-position:-144px -112px}.pods-compat-container .ui-icon-search{background-position:-160px -112px}.pods-compat-container .ui-icon-wrench{background-position:-176px -112px}.pods-compat-container .ui-icon-gear{background-position:-192px -112px}.pods-compat-container .ui-icon-heart{background-position:-208px -112px}.pods-compat-container .ui-icon-star{background-position:-224px -112px}.pods-compat-container .ui-icon-link{background-position:-240px -112px}.pods-compat-container .ui-icon-cancel{background-position:0 -128px}.pods-compat-container .ui-icon-plus{background-position:-16px -128px}.pods-compat-container .ui-icon-plusthick{background-position:-32px -128px}.pods-compat-container .ui-icon-minus{background-position:-48px -128px}.pods-compat-container .ui-icon-minusthick{background-position:-64px -128px}.pods-compat-container .ui-icon-close{background-position:-80px -128px}.pods-compat-container .ui-icon-closethick{background-position:-96px -128px}.pods-compat-container .ui-icon-key{background-position:-112px -128px}.pods-compat-container .ui-icon-lightbulb{background-position:-128px -128px}.pods-compat-container .ui-icon-scissors{background-position:-144px -128px}.pods-compat-container .ui-icon-clipboard{background-position:-160px -128px}.pods-compat-container .ui-icon-copy{background-position:-176px -128px}.pods-compat-container .ui-icon-contact{background-position:-192px -128px}.pods-compat-container .ui-icon-image{background-position:-208px -128px}.pods-compat-container .ui-icon-video{background-position:-224px -128px}.pods-compat-container .ui-icon-script{background-position:-240px -128px}.pods-compat-container .ui-icon-alert{background-position:0 -144px}.pods-compat-container .ui-icon-info{background-position:-16px -144px}.pods-compat-container .ui-icon-notice{background-position:-32px -144px}.pods-compat-container .ui-icon-help{background-position:-48px -144px}.pods-compat-container .ui-icon-check{background-position:-64px -144px}.pods-compat-container .ui-icon-bullet{background-position:-80px -144px}.pods-compat-container .ui-icon-radio-off{background-position:-96px -144px}.pods-compat-container .ui-icon-radio-on{background-position:-112px -144px}.pods-compat-container .ui-icon-pin-w{background-position:-128px -144px}.pods-compat-container .ui-icon-pin-s{background-position:-144px -144px}.pods-compat-container .ui-icon-play{background-position:0 -160px}.pods-compat-container .ui-icon-pause{background-position:-16px -160px}.pods-compat-container .ui-icon-seek-next{background-position:-32px -160px}.pods-compat-container .ui-icon-seek-prev{background-position:-48px -160px}.pods-compat-container .ui-icon-seek-end{background-position:-64px -160px}.pods-compat-container .ui-icon-seek-start{background-position:-80px -160px}.pods-compat-container .ui-icon-seek-first{background-position:-80px -160px}.pods-compat-container .ui-icon-stop{background-position:-96px -160px}.pods-compat-container .ui-icon-eject{background-position:-112px -160px}.pods-compat-container .ui-icon-volume-off{background-position:-128px -160px}.pods-compat-container .ui-icon-volume-on{background-position:-144px -160px}.pods-compat-container .ui-icon-power{background-position:0 -176px}.pods-compat-container .ui-icon-signal-diag{background-position:-16px -176px}.pods-compat-container .ui-icon-signal{background-position:-32px -176px}.pods-compat-container .ui-icon-battery-0{background-position:-48px -176px}.pods-compat-container .ui-icon-battery-1{background-position:-64px -176px}.pods-compat-container .ui-icon-battery-2{background-position:-80px -176px}.pods-compat-container .ui-icon-battery-3{background-position:-96px -176px}.pods-compat-container .ui-icon-circle-plus{background-position:0 -192px}.pods-compat-container .ui-icon-circle-minus{background-position:-16px -192px}.pods-compat-container .ui-icon-circle-close{background-position:-32px -192px}.pods-compat-container .ui-icon-circle-triangle-e{background-position:-48px -192px}.pods-compat-container .ui-icon-circle-triangle-s{background-position:-64px -192px}.pods-compat-container .ui-icon-circle-triangle-w{background-position:-80px -192px}.pods-compat-container .ui-icon-circle-triangle-n{background-position:-96px -192px}.pods-compat-container .ui-icon-circle-arrow-e{background-position:-112px -192px}.pods-compat-container .ui-icon-circle-arrow-s{background-position:-128px -192px}.pods-compat-container .ui-icon-circle-arrow-w{background-position:-144px -192px}.pods-compat-container .ui-icon-circle-arrow-n{background-position:-160px -192px}.pods-compat-container .ui-icon-circle-zoomin{background-position:-176px -192px}.pods-compat-container .ui-icon-circle-zoomout{background-position:-192px -192px}.pods-compat-container .ui-icon-circle-check{background-position:-208px -192px}.pods-compat-container .ui-icon-circlesmall-plus{background-position:0 -208px}.pods-compat-container .ui-icon-circlesmall-minus{background-position:-16px -208px}.pods-compat-container .ui-icon-circlesmall-close{background-position:-32px -208px}.pods-compat-container .ui-icon-squaresmall-plus{background-position:-48px -208px}.pods-compat-container .ui-icon-squaresmall-minus{background-position:-64px -208px}.pods-compat-container .ui-icon-squaresmall-close{background-position:-80px -208px}.pods-compat-container .ui-icon-grip-dotted-vertical{background-position:0 -224px}.pods-compat-container .ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.pods-compat-container .ui-icon-grip-solid-vertical{background-position:-32px -224px}.pods-compat-container .ui-icon-grip-solid-horizontal{background-position:-48px -224px}.pods-compat-container .ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.pods-compat-container .ui-icon-grip-diagonal-se{background-position:-80px -224px}.pods-compat-container .ui-corner-all,.pods-compat-container .ui-corner-top,.pods-compat-container .ui-corner-left,.pods-compat-container .ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px}.pods-compat-container .ui-corner-all,.pods-compat-container .ui-corner-top,.pods-compat-container .ui-corner-right,.pods-compat-container .ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px}.pods-compat-container .ui-corner-all,.pods-compat-container .ui-corner-bottom,.pods-compat-container .ui-corner-left,.pods-compat-container .ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px}.pods-compat-container .ui-corner-all,.pods-compat-container .ui-corner-bottom,.pods-compat-container .ui-corner-right,.pods-compat-container .ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px}.pods-compat-container .ui-widget-overlay{background:#aaa url(../../images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30)}.pods-compat-container .ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(../../images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.pods-compat-container .ui-resizable{position:relative}.pods-compat-container .ui-resizable-handle{position:absolute;font-size:0.1px;z-index:99999;display:block}.pods-compat-container .ui-resizable-disabled .ui-resizable-handle,.pods-compat-container .ui-resizable-autohide .ui-resizable-handle{display:none}.pods-compat-container .ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.pods-compat-container .ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.pods-compat-container .ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.pods-compat-container .ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.pods-compat-container .ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.pods-compat-container .ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.pods-compat-container .ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.pods-compat-container .ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.pods-compat-container .ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.pods-compat-container .ui-accordion{width:100%}.pods-compat-container .ui-accordion .ui-accordion-header{cursor:pointer;position:relative;margin-top:1px;zoom:1}.pods-compat-container .ui-accordion .ui-accordion-li-fix{display:inline}.pods-compat-container .ui-accordion .ui-accordion-header-active{border-bottom:0 !important}.pods-compat-container .ui-accordion .ui-accordion-header a{display:block;font-size:1em;padding:.5em .5em .5em .7em}.pods-compat-container .ui-accordion-icons .ui-accordion-header a{padding-left:2.2em}.pods-compat-container .ui-accordion .ui-accordion-header .ui-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.pods-compat-container .ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;margin-top:-2px;position:relative;top:1px;margin-bottom:2px;overflow:auto;display:none;zoom:1}.pods-compat-container .ui-accordion .ui-accordion-content-active{display:block}.pods-compat-container .ui-autocomplete{position:absolute;cursor:default}.pods-compat-container * html .ui-autocomplete{width:1px}.pods-compat-container .ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left}.pods-compat-container .ui-menu .ui-menu{margin-top:-3px}.pods-compat-container .ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%}.pods-compat-container .ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1}.pods-compat-container .ui-menu .ui-menu-item a.ui-state-hover,.pods-compat-container .ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.pods-compat-container .ui-button{display:inline-block;position:relative;padding:0;margin-right:.1em;text-decoration:none !important;cursor:pointer;text-align:center;zoom:1;overflow:visible}.pods-compat-container .ui-button-icon-only{width:2.2em}.pods-compat-container button.ui-button-icon-only{width:2.4em}.pods-compat-container .ui-button-icons-only{width:3.4em}.pods-compat-container button.ui-button-icons-only{width:3.7em}.pods-compat-container .ui-button .ui-button-text{display:block;line-height:1.4}.pods-compat-container .ui-button-text-only .ui-button-text{padding:.4em 1em}.pods-compat-container .ui-button-icon-only .ui-button-text,.pods-compat-container .ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.pods-compat-container .ui-button-text-icon-primary .ui-button-text,.pods-compat-container .ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.pods-compat-container .ui-button-text-icon-secondary .ui-button-text,.pods-compat-container .ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.pods-compat-container .ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}.pods-compat-container input.ui-button{padding:.4em 1em}.pods-compat-container .ui-button-icon-only .ui-icon,.pods-compat-container .ui-button-text-icon-primary .ui-icon,.pods-compat-container .ui-button-text-icon-secondary .ui-icon,.pods-compat-container .ui-button-text-icons .ui-icon,.pods-compat-container .ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.pods-compat-container .ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.pods-compat-container .ui-button-text-icon-primary .ui-button-icon-primary,.pods-compat-container .ui-button-text-icons .ui-button-icon-primary,.pods-compat-container .ui-button-icons-only .ui-button-icon-primary{left:.5em}.pods-compat-container .ui-button-text-icon-secondary .ui-button-icon-secondary,.pods-compat-container .ui-button-text-icons .ui-button-icon-secondary,.pods-compat-container .ui-button-icons-only .ui-button-icon-secondary{right:.5em}.pods-compat-container .ui-button-text-icons .ui-button-icon-secondary,.pods-compat-container .ui-button-icons-only .ui-button-icon-secondary{right:.5em}.pods-compat-container .ui-buttonset{margin-right:7px}.pods-compat-container .ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}.pods-compat-container button.ui-button::-moz-focus-inner{border:0;padding:0}.pods-compat-container .ui-dialog{position:absolute;padding:.2em;width:300px;overflow:hidden}.pods-compat-container .ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.pods-compat-container .ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0}.pods-compat-container .ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px}.pods-compat-container .ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px}.pods-compat-container .ui-dialog .ui-dialog-titlebar-close:hover,.pods-compat-container .ui-dialog .ui-dialog-titlebar-close:focus{padding:0}.pods-compat-container .ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.pods-compat-container .ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.pods-compat-container .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.pods-compat-container .ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.pods-compat-container .ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.pods-compat-container .ui-draggable .ui-dialog-titlebar{cursor:move}.pods-compat-container .ui-slider{position:relative;text-align:left}.pods-compat-container .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.pods-compat-container .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.pods-compat-container .ui-slider-horizontal{height:.8em}.pods-compat-container .ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.pods-compat-container .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.pods-compat-container .ui-slider-horizontal .ui-slider-range-min{left:0}.pods-compat-container .ui-slider-horizontal .ui-slider-range-max{right:0}.pods-compat-container .ui-slider-vertical{width:.8em;height:100px}.pods-compat-container .ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.pods-compat-container .ui-slider-vertical .ui-slider-range{left:0;width:100%}.pods-compat-container .ui-slider-vertical .ui-slider-range-min{bottom:0}.pods-compat-container .ui-slider-vertical .ui-slider-range-max{top:0}.pods-compat-container .ui-tabs{position:relative;padding:.2em;zoom:1}.pods-compat-container .ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.pods-compat-container .ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:1px;margin:0 .2em 1px 0;border-bottom:0 !important;padding:0;white-space:nowrap}.pods-compat-container .ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.pods-compat-container .ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px}.pods-compat-container .ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.pods-compat-container .ui-tabs .ui-tabs-nav li.ui-state-disabled a,.pods-compat-container .ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text}.pods-compat-container .ui-tabs .ui-tabs-nav li a,.pods-compat-container .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a{cursor:pointer}.pods-compat-container .ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.pods-compat-container .ui-tabs .ui-tabs-hide{display:none !important}.pods-compat-container .ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.pods-compat-container .ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.pods-compat-container .ui-datepicker .ui-datepicker-prev,.pods-compat-container .ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.pods-compat-container .ui-datepicker .ui-datepicker-prev-hover,.pods-compat-container .ui-datepicker .ui-datepicker-next-hover{top:1px}.pods-compat-container .ui-datepicker .ui-datepicker-prev{left:2px}.pods-compat-container .ui-datepicker .ui-datepicker-next{right:2px}.pods-compat-container .ui-datepicker .ui-datepicker-prev-hover{left:1px}.pods-compat-container .ui-datepicker .ui-datepicker-next-hover{right:1px}.pods-compat-container .ui-datepicker .ui-datepicker-prev span,.pods-compat-container .ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.pods-compat-container .ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.pods-compat-container .ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.pods-compat-container .ui-datepicker select.ui-datepicker-month-year{width:100%}.pods-compat-container .ui-datepicker select.ui-datepicker-month,.pods-compat-container .ui-datepicker select.ui-datepicker-year{width:49%}.pods-compat-container .ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.pods-compat-container .ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.pods-compat-container .ui-datepicker td{border:0;padding:1px}.pods-compat-container .ui-datepicker td span,.pods-compat-container .ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.pods-compat-container .ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.pods-compat-container .ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.pods-compat-container .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.pods-compat-container .ui-datepicker.ui-datepicker-multi{width:auto}.pods-compat-container .ui-datepicker-multi .ui-datepicker-group{float:left}.pods-compat-container .ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.pods-compat-container .ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.pods-compat-container .ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.pods-compat-container .ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.pods-compat-container .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0}.pods-compat-container .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.pods-compat-container .ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.pods-compat-container .ui-datepicker-row-break{clear:both;width:100%;font-size:0}.pods-compat-container .ui-datepicker-rtl{direction:rtl}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-group{float:right}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px}.pods-compat-container .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.pods-compat-container .ui-datepicker-cover{display:none;display/**/:block;position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}.pods-compat-container .ui-progressbar{height:2em;text-align:left}.pods-compat-container .ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.pods-submittable .qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.pods-submittable .qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.pods-submittable .qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.pods-submittable .qtip-titlebar+.qtip-content{border-top-width:0 !important}.pods-submittable .qtip-close{position:absolute;right:-9px;top:-9px;cursor:pointer;outline:medium none;border-width:1px;border-style:solid;border-color:transparent}.pods-submittable .qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}.pods-submittable * html .qtip-titlebar .qtip-close{top:16px}.pods-submittable .qtip-titlebar .ui-icon,.pods-submittable .qtip-icon .ui-icon{display:block;text-indent:-1000em;direction:ltr}.pods-submittable .qtip-icon,.pods-submittable .qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.pods-submittable .qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma, sans-serif;color:inherit;background:transparent none no-repeat -100em -100em}.pods-submittable .qtip-default{border-width:1px;border-style:solid;border-color:#F1D031;background-color:#FFFFA3;color:#555}.pods-submittable .qtip-default .qtip-titlebar{background-color:#FFEF93}.pods-submittable .qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.pods-submittable .qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111}.pods-submittable .qtip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15)}.pods-submittable .qtip-rounded,.pods-submittable .qtip-tipsy,.pods-submittable .qtip-bootstrap{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.pods-submittable .qtip-rounded .qtip-titlebar{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.pods-submittable .qtip-youtube{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;color:#fff;border-width:0;background:#4A4A4A;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #4A4A4A), color-stop(100%, #000));background-image:-webkit-linear-gradient(top, #4A4A4A 0, #000 100%);background-image:-moz-linear-gradient(top, #4A4A4A 0, #000 100%);background-image:-ms-linear-gradient(top, #4A4A4A 0, #000 100%);background-image:-o-linear-gradient(top, #4A4A4A 0, #000 100%)}.pods-submittable .qtip-youtube .qtip-titlebar{background-color:#4A4A4A;background-color:rgba(0,0,0,0)}.pods-submittable .qtip-youtube .qtip-content{padding:.75em;font:12px arial, sans-serif;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);"}.pods-submittable .qtip-youtube .qtip-icon{border-color:#222}.pods-submittable .qtip-youtube .qtip-titlebar .ui-state-hover{border-color:#303030}.pods-submittable .qtip-jtools{background:#232323;background:rgba(0,0,0,0.7);background-image:-webkit-gradient(linear, left top, left bottom, from(#717171), to(#232323));background-image:-moz-linear-gradient(top, #717171, #232323);background-image:-webkit-linear-gradient(top, #717171, #232323);background-image:-ms-linear-gradient(top, #717171, #232323);background-image:-o-linear-gradient(top, #717171, #232323);border:2px solid #ddd;border:2px solid #f1f1f1;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.pods-submittable .qtip-jtools .qtip-titlebar{background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A)"}.pods-submittable .qtip-jtools .qtip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323)"}.pods-submittable .qtip-jtools .qtip-titlebar,.pods-submittable .qtip-jtools .qtip-content{background:transparent;color:#fff;border:0 dashed transparent}.pods-submittable .qtip-jtools .qtip-icon{border-color:#555}.pods-submittable .qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.pods-submittable .qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,0.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,0.4);box-shadow:4px 4px 5px rgba(0,0,0,0.4);background-color:#D9D9C2;color:#111;border:0 dashed transparent}.pods-submittable .qtip-cluetip .qtip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.pods-submittable .qtip-cluetip .qtip-icon{border-color:#808064}.pods-submittable .qtip-cluetip .qtip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.pods-submittable .qtip-tipsy{background:#000;background:rgba(0,0,0,0.87);color:#fff;border:0 solid transparent;font-size:11px;font-family:'Lucida Grande', sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px #000}.pods-submittable .qtip-tipsy .qtip-titlebar{padding:6px 35px 0 10px;background-color:transparent}.pods-submittable .qtip-tipsy .qtip-content{padding:6px 10px}.pods-submittable .qtip-tipsy .qtip-icon{border-color:#222;text-shadow:none}.pods-submittable .qtip-tipsy .qtip-titlebar .ui-state-hover{border-color:#303030}.pods-submittable .qtip-tipped{border:3px solid #959FA9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#F9F9F9;color:#454545;font-weight:400;font-family:serif}.pods-submittable .qtip-tipped .qtip-titlebar{border-bottom-width:0;color:#fff;background:#3A79B8;background-image:-webkit-gradient(linear, left top, left bottom, from(#3A79B8), to(#2E629D));background-image:-webkit-linear-gradient(top, #3A79B8, #2E629D);background-image:-moz-linear-gradient(top, #3A79B8, #2E629D);background-image:-ms-linear-gradient(top, #3A79B8, #2E629D);background-image:-o-linear-gradient(top, #3A79B8, #2E629D);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D)"}.pods-submittable .qtip-tipped .qtip-icon{border:2px solid #285589;background:#285589}.pods-submittable .qtip-tipped .qtip-icon .ui-icon{background-color:#FBFBFB;color:#555}.pods-submittable .qtip-bootstrap{font-size:14px;line-height:20px;color:#333;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.pods-submittable .qtip-bootstrap .qtip-titlebar{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.pods-submittable .qtip-bootstrap .qtip-titlebar .qtip-close{right:11px;top:45%;border-style:none}.pods-submittable .qtip-bootstrap .qtip-content{padding:9px 14px}.pods-submittable .qtip-bootstrap .qtip-icon{background:transparent}.pods-submittable .qtip-bootstrap .qtip-icon .ui-icon{width:auto;height:auto;float:right;font-size:20px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.pods-submittable .qtip-bootstrap .qtip-icon .ui-icon:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.pods-submittable .qtip:not(.ie9haxors) div.qtip-content,.pods-submittable .qtip:not(.ie9haxors) div.qtip-titlebar{filter:none;-ms-filter:none}.pods-submittable .qtip .qtip-tip{margin:0 auto;overflow:hidden;z-index:10}.pods-submittable x:-o-prefocus,.pods-submittable .qtip .qtip-tip{visibility:hidden}.pods-submittable .qtip .qtip-tip,.pods-submittable .qtip .qtip-tip .qtip-vml,.pods-submittable .qtip .qtip-tip canvas{position:absolute;color:#123456;background:transparent;border:0 dashed transparent}.pods-submittable .qtip .qtip-tip canvas{top:0;left:0}.pods-submittable .qtip .qtip-tip .qtip-vml{behavior:url(#default#VML);display:inline-block;visibility:visible}.pods-submittable .cleditorMain{border:1px solid #999;padding:0 0 1px;background-color:white}.pods-submittable .cleditorMain iframe{border:none;margin:0;padding:0}.pods-submittable .cleditorMain textarea{border:none;margin:0;padding:0;overflow-y:scroll;font:10pt Arial,Verdana;resize:none;outline:none}.pods-submittable .cleditorToolbar{background-color:#f2f2f2;border-bottom:1px solid #999}.pods-submittable .cleditorGroup{float:left;height:26px}.pods-submittable .cleditorButton{float:left;width:24px;height:24px;margin:1px 0 1px 0;background:url("../../images/buttons.gif")}.pods-submittable .cleditorDisabled{opacity:0.3;filter:alpha(opacity=30)}.pods-submittable .cleditorDivider{float:left;width:1px;height:23px;margin:1px 0 1px 0;background:#CCC}.pods-submittable .cleditorPopup{border:solid 1px #999;background-color:white;position:absolute;font:10pt Arial,Verdana;cursor:default;z-index:10000}.pods-submittable .cleditorList div{padding:2px 4px 2px 4px}.pods-submittable .cleditorList p,.pods-submittable .cleditorList h1,.pods-submittable .cleditorList h2,.pods-submittable .cleditorList h3,.pods-submittable .cleditorList h4,.pods-submittable .cleditorList h5,.pods-submittable .cleditorList h6,.pods-submittable .cleditorList font{padding:0;margin:0;background-color:Transparent}.pods-submittable .cleditorColor{width:150px;padding:1px 0 0 1px}.pods-submittable .cleditorColor div{float:left;width:14px;height:14px;margin:0 1px 1px 0}.pods-submittable .cleditorPrompt{background-color:#F6F7F9;padding:4px;font-size:8.5pt}.pods-submittable .cleditorPrompt input,.pods-submittable .cleditorPrompt textarea{font:8.5pt Arial,Verdana}.pods-submittable .cleditorMsg{background-color:#FDFCEE;width:150px;padding:4px;font-size:8.5pt}.pods-submittable .pods-pick-values .select2-container .select2-selection--multiple .select2-selection__rendered{max-height:245px;overflow-y:scroll}.pods-qtip-container{display:inline}
|
|
|
|