Changeset 3082049
- Timestamp:
- 05/06/2024 05:06:15 PM (22 months ago)
- Location:
- constellation-client-portal
- Files:
-
- 131 added
- 1 deleted
- 12 edited
-
tags/1.8.2 (deleted)
-
tags/1.8.4 (added)
-
tags/1.8.4/LICENSE.txt (added)
-
tags/1.8.4/README.txt (added)
-
tags/1.8.4/admin (added)
-
tags/1.8.4/admin/class-ars-constellation-client-portal-admin.php (added)
-
tags/1.8.4/admin/class-ars-constellation-client-portal-client-pages.php (added)
-
tags/1.8.4/admin/class-ars-constellation-client-portal-company.php (added)
-
tags/1.8.4/admin/class-ars-constellation-client-portal-core-authorization.php (added)
-
tags/1.8.4/admin/class-ars-constellation-client-portal-core-file-checks.php (added)
-
tags/1.8.4/admin/class-ars-constellation-client-portal-file.php (added)
-
tags/1.8.4/admin/class-ars-constellation-client-portal-invoice.php (added)
-
tags/1.8.4/admin/class-ars-constellation-client-portal-settings.php (added)
-
tags/1.8.4/admin/class-ars-constellation-client-portal-users.php (added)
-
tags/1.8.4/admin/css (added)
-
tags/1.8.4/admin/css/ars-constellation-client-portal-admin.css (added)
-
tags/1.8.4/admin/css/jquery-ui (added)
-
tags/1.8.4/admin/css/jquery-ui/1.11.1 (added)
-
tags/1.8.4/admin/css/jquery-ui/1.11.1/themes (added)
-
tags/1.8.4/admin/css/jquery-ui/1.11.1/themes/cupertino (added)
-
tags/1.8.4/admin/css/jquery-ui/1.11.1/themes/cupertino/jquery-ui.css (added)
-
tags/1.8.4/admin/css/select2.min.css (added)
-
tags/1.8.4/admin/index.php (added)
-
tags/1.8.4/admin/js (added)
-
tags/1.8.4/admin/js/ars-constellation-client-portal-admin.js (added)
-
tags/1.8.4/admin/js/i18n (added)
-
tags/1.8.4/admin/js/i18n/af.js (added)
-
tags/1.8.4/admin/js/i18n/ar.js (added)
-
tags/1.8.4/admin/js/i18n/az.js (added)
-
tags/1.8.4/admin/js/i18n/bg.js (added)
-
tags/1.8.4/admin/js/i18n/bs.js (added)
-
tags/1.8.4/admin/js/i18n/ca.js (added)
-
tags/1.8.4/admin/js/i18n/cs.js (added)
-
tags/1.8.4/admin/js/i18n/da.js (added)
-
tags/1.8.4/admin/js/i18n/de.js (added)
-
tags/1.8.4/admin/js/i18n/dsb.js (added)
-
tags/1.8.4/admin/js/i18n/el.js (added)
-
tags/1.8.4/admin/js/i18n/en.js (added)
-
tags/1.8.4/admin/js/i18n/es.js (added)
-
tags/1.8.4/admin/js/i18n/et.js (added)
-
tags/1.8.4/admin/js/i18n/eu.js (added)
-
tags/1.8.4/admin/js/i18n/fa.js (added)
-
tags/1.8.4/admin/js/i18n/fi.js (added)
-
tags/1.8.4/admin/js/i18n/fr.js (added)
-
tags/1.8.4/admin/js/i18n/gl.js (added)
-
tags/1.8.4/admin/js/i18n/he.js (added)
-
tags/1.8.4/admin/js/i18n/hi.js (added)
-
tags/1.8.4/admin/js/i18n/hr.js (added)
-
tags/1.8.4/admin/js/i18n/hsb.js (added)
-
tags/1.8.4/admin/js/i18n/hu.js (added)
-
tags/1.8.4/admin/js/i18n/hy.js (added)
-
tags/1.8.4/admin/js/i18n/id.js (added)
-
tags/1.8.4/admin/js/i18n/is.js (added)
-
tags/1.8.4/admin/js/i18n/it.js (added)
-
tags/1.8.4/admin/js/i18n/ja.js (added)
-
tags/1.8.4/admin/js/i18n/km.js (added)
-
tags/1.8.4/admin/js/i18n/ko.js (added)
-
tags/1.8.4/admin/js/i18n/lt.js (added)
-
tags/1.8.4/admin/js/i18n/lv.js (added)
-
tags/1.8.4/admin/js/i18n/mk.js (added)
-
tags/1.8.4/admin/js/i18n/ms.js (added)
-
tags/1.8.4/admin/js/i18n/nb.js (added)
-
tags/1.8.4/admin/js/i18n/nl.js (added)
-
tags/1.8.4/admin/js/i18n/pl.js (added)
-
tags/1.8.4/admin/js/i18n/ps.js (added)
-
tags/1.8.4/admin/js/i18n/pt-BR.js (added)
-
tags/1.8.4/admin/js/i18n/pt.js (added)
-
tags/1.8.4/admin/js/i18n/ro.js (added)
-
tags/1.8.4/admin/js/i18n/ru.js (added)
-
tags/1.8.4/admin/js/i18n/sk.js (added)
-
tags/1.8.4/admin/js/i18n/sl.js (added)
-
tags/1.8.4/admin/js/i18n/sr-Cyrl.js (added)
-
tags/1.8.4/admin/js/i18n/sr.js (added)
-
tags/1.8.4/admin/js/i18n/sv.js (added)
-
tags/1.8.4/admin/js/i18n/th.js (added)
-
tags/1.8.4/admin/js/i18n/tr.js (added)
-
tags/1.8.4/admin/js/i18n/uk.js (added)
-
tags/1.8.4/admin/js/i18n/vi.js (added)
-
tags/1.8.4/admin/js/i18n/zh-CN.js (added)
-
tags/1.8.4/admin/js/i18n/zh-TW.js (added)
-
tags/1.8.4/admin/js/select2.full.min.js (added)
-
tags/1.8.4/admin/js/select2.min.js (added)
-
tags/1.8.4/ars-constellation-client-portal.php (added)
-
tags/1.8.4/assets (added)
-
tags/1.8.4/assets/css (added)
-
tags/1.8.4/assets/css/font-awesome (added)
-
tags/1.8.4/assets/css/font-awesome/css (added)
-
tags/1.8.4/assets/css/font-awesome/css/all.css (added)
-
tags/1.8.4/assets/css/font-awesome/css/all.min.css (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-brands-400.eot (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-brands-400.svg (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-brands-400.ttf (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-brands-400.woff (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-brands-400.woff2 (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-regular-400.eot (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-regular-400.svg (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-regular-400.ttf (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-regular-400.woff (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-regular-400.woff2 (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-solid-900.eot (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-solid-900.svg (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-solid-900.ttf (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-solid-900.woff (added)
-
tags/1.8.4/assets/css/font-awesome/webfonts/fa-solid-900.woff2 (added)
-
tags/1.8.4/assets/img (added)
-
tags/1.8.4/assets/img/accp-full-logo.png (added)
-
tags/1.8.4/includes (added)
-
tags/1.8.4/includes/ars-constellation-client-portal-install-uninstall.php (added)
-
tags/1.8.4/includes/class-ars-constellation-client-portal-activator.php (added)
-
tags/1.8.4/includes/class-ars-constellation-client-portal-deactivator.php (added)
-
tags/1.8.4/includes/class-ars-constellation-client-portal-i18n.php (added)
-
tags/1.8.4/includes/class-ars-constellation-client-portal-loader.php (added)
-
tags/1.8.4/includes/class-ars-constellation-client-portal-utility-functions.php (added)
-
tags/1.8.4/includes/class-ars-constellation-client-portal.php (added)
-
tags/1.8.4/includes/index.php (added)
-
tags/1.8.4/index.php (added)
-
tags/1.8.4/languages (added)
-
tags/1.8.4/languages/ars-constellation-client-portal.pot (added)
-
tags/1.8.4/public (added)
-
tags/1.8.4/public/assets (added)
-
tags/1.8.4/public/assets/index.php (added)
-
tags/1.8.4/public/class-ars-constellation-client-portal-public.php (added)
-
tags/1.8.4/public/css (added)
-
tags/1.8.4/public/css/ars-constellation-client-portal-list-shortcode-styles.css (added)
-
tags/1.8.4/public/css/ars-constellation-client-portal-public.css (added)
-
tags/1.8.4/public/index.php (added)
-
tags/1.8.4/public/js (added)
-
tags/1.8.4/public/js/ars-constellation-client-portal-public.js (added)
-
tags/1.8.4/public/shortcodes (added)
-
tags/1.8.4/public/shortcodes/class-ars-constellation-client-portal-list-shortcodes.php (added)
-
tags/1.8.4/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-ars-constellation-client-portal-admin.php (modified) (2 diffs)
-
trunk/admin/class-ars-constellation-client-portal-company.php (modified) (1 diff)
-
trunk/admin/class-ars-constellation-client-portal-file.php (modified) (1 diff)
-
trunk/admin/class-ars-constellation-client-portal-invoice.php (modified) (2 diffs)
-
trunk/admin/css/ars-constellation-client-portal-admin.css (modified) (4 diffs)
-
trunk/ars-constellation-client-portal.php (modified) (2 diffs)
-
trunk/includes/ars-constellation-client-portal-install-uninstall.php (modified) (1 diff)
-
trunk/includes/class-ars-constellation-client-portal-activator.php (modified) (1 diff)
-
trunk/includes/class-ars-constellation-client-portal-loader.php (modified) (3 diffs)
-
trunk/includes/class-ars-constellation-client-portal-utility-functions.php (modified) (14 diffs)
-
trunk/includes/class-ars-constellation-client-portal.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
constellation-client-portal/trunk/README.txt
r3079876 r3082049 5 5 Requires at least: 5.0.0 6 6 Tested up to: 6.5 7 Stable tag: 1.8. 37 Stable tag: 1.8.4 8 8 Requires PHP: 7.4 9 9 License: GPLv3 or later … … 206 206 207 207 == Changelog == 208 = 1.8.4 (Pro) - 2024-5-6 = 209 * Update: Code formatting updates. 210 211 = 1.8.4 (Core) - 2024-5-6 = 212 * Update: Updated full file path composition method in the post reassign UI to work better with PHP versions prior to PHP 8, and on sites that may be installed in a sub dir. 213 * Update: Updated the client page access check for better clarity. 214 208 215 = 1.8.3 (Pro) - 2024-5-1 = 209 216 * Update: Updated product meta field include functionality to clear preg_replace PHP 8.1+ deprecation warning. -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-admin.php
r3079876 r3082049 1129 1129 1130 1130 /** 1131 * Check if the current user is logged in or if their user id 1132 * is in the list of users assigned to the company - Admins are exempt. 1131 * Exit early and grant access if this is a WP admin. 1133 1132 */ 1134 if ( ! current_user_can( 'manage_options' ) && 0 === $current_user_id || ! current_user_can( 'manage_options' ) && ! in_array( $current_user_id, $user_id_array, true ) ) { 1135 1136 /** 1137 * If the current user id is 0 redirect to the home page. 1138 */ 1133 if ( current_user_can( 'manage_options' ) ) { 1134 return; 1135 } 1136 1137 /** 1138 * Check if the current user is logged in and that 1139 * they are assigned to a company that has access to the page. 1140 */ 1141 if ( ! is_user_logged_in() || 0 === $current_user_id || ! in_array( $current_user_id, $user_id_array, true ) ) { 1142 1139 1143 wp_safe_redirect( '/' ); 1140 1144 exit; … … 1350 1354 */ 1351 1355 if ( ! empty( $accp_file ) ) { 1352 1353 $accp_file_full_path = untrailingslashit( get_home_path() ) . $accp_file_path;1354 1356 1355 1357 if ( file_exists( $accp_file_full_path ) ) { -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-company.php
r3079876 r3082049 1399 1399 echo esc_html( str_replace( '!', '.', $error[0] ?? '' ) ); 1400 1400 } 1401 1402 1401 } 1403 1402 -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-file.php
r3079876 r3082049 716 716 /** 717 717 * Save File quick edit fields. 718 * 718 * 719 719 * @param int $post_id - The post ID. 720 720 */ -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-invoice.php
r3079876 r3082049 539 539 /** 540 540 * Add WP List Table Filter Fields 541 * 541 * 542 542 * @param string $post_type - The post type. 543 543 */ … … 585 585 * Update the invoice WP list filter query based on 586 586 * additional filters. 587 * 587 * 588 588 * @param array $query - The query array. 589 589 */ -
constellation-client-portal/trunk/admin/css/ars-constellation-client-portal-admin.css
r3079876 r3082049 1 1 /** 2 2 * Core Admin CSS. 3 */ 3 */ 4 4 #client-meta .select2{ 5 width: 100% !important;5 width: 100% !important; 6 6 } 7 7 8 8 .inside .select2{ 9 width: 100% !important; 9 width: 100% !important; 10 10 } 11 11 12 12 ul.home-page-hov-nav.row-actions{ 13 margin-top: 0;13 margin-top: 0; 14 14 } 15 15 16 16 .home-page-hov-nav li{ 17 display: inline;17 display: inline; 18 18 font-size: 13px; 19 19 } 20 20 21 21 .home-page-hov-nav li:first-child::after{ 22 content: "|";23 color: #ddd;24 margin-right: 4px;25 margin-left: 4px;26 font-size: 12px;22 content: "|"; 23 color: #ddd; 24 margin-right: 4px; 25 margin-left: 4px; 26 font-size: 12px; 27 27 } 28 28 … … 32 32 33 33 .blue-text{ 34 color: #00a0d2;34 color: #00a0d2; 35 35 } 36 36 37 37 .accp-number-column{ 38 width: 40px;39 text-align: center;38 width: 40px; 39 text-align: center; 40 40 } 41 41 42 42 .dir-explorer-icon{ 43 margin-right: 10px;44 cursor: pointer;45 color: #afafaf;43 margin-right: 10px; 44 cursor: pointer; 45 color: #afafaf; 46 46 } 47 47 48 48 .fa.fa-folder.dir-explorer-icon, .fa.fa-folder-open.dir-explorer-icon{ 49 font-size: 19px;49 font-size: 19px; 50 50 } 51 51 52 52 .file-detail-row{ 53 display: none;53 display: none; 54 54 } 55 55 56 56 .main-dir-row.even-row, .file-detail-row.even-row{ 57 background-color: #f9f9f9;57 background-color: #f9f9f9; 58 58 } 59 59 60 60 .main-dir-row.odd-row, .file-detail-row.odd-row{ 61 background-color: transparent !important;61 background-color: transparent !important; 62 62 } 63 63 64 64 .unassigned-text{ 65 color: #B1B1B1;65 color: #B1B1B1; 66 66 } 67 67 68 68 .file-controls{ 69 display: block;70 width: 100%;71 margin-bottom: 10px;69 display: block; 70 width: 100%; 71 margin-bottom: 10px; 72 72 } 73 73 74 74 .file-del-confirm-div, .dir-del-confirm-div{ 75 margin-bottom: 30px;76 padding-bottom: 30px;77 background: #e6e8ff50;78 width: 63%;79 padding-left: 15px;80 padding-top: 25px;81 display: none;75 margin-bottom: 30px; 76 padding-bottom: 30px; 77 background: #e6e8ff50; 78 width: 63%; 79 padding-left: 15px; 80 padding-top: 25px; 81 display: none; 82 82 } 83 83 84 84 .del-btn-container, .del-dir-btn-container{ 85 display: block;86 margin-top: 8px;85 display: block; 86 margin-top: 8px; 87 87 } 88 88 89 89 .inactive-text{ 90 color: #B1B1B1;90 color: #B1B1B1; 91 91 } 92 92 93 93 .small-note{ 94 font-size: 11px;95 font-style: italic;94 font-size: 11px; 95 font-style: italic; 96 96 } 97 97 98 98 .tax-role-exclude{ 99 margin-top: 15px;100 margin-bottom: 40px;99 margin-top: 15px; 100 margin-bottom: 40px; 101 101 } 102 102 103 103 .tax-company-exclude{ 104 margin-bottom: 15px;104 margin-bottom: 15px; 105 105 } 106 106 … … 109 109 .tax-company-exclude .select2, 110 110 .tax-custom-select .select2{ 111 width: 95% !important;111 width: 95% !important; 112 112 } 113 113 114 114 .accp-settings-messages-and-errors-item.notice{ 115 padding-top: 20px;116 padding-bottom: 20px;115 padding-top: 20px; 116 padding-bottom: 20px; 117 117 } 118 118 119 119 .accp-settings-note.small-note{ 120 display: block;121 margin-top: 7px;120 display: block; 121 margin-top: 7px; 122 122 } 123 123 124 124 #accp-admin-main-content{ 125 max-width: 100%;126 background-color: #fff;127 padding: 20px 30px 30px 30px;125 max-width: 100%; 126 background-color: #fff; 127 padding: 20px 30px 30px 30px; 128 128 } 129 129 130 130 .accp-functioning-correctly{ 131 border: 1px solid green;132 padding: 7px;133 background-color: #cee8ce;131 border: 1px solid green; 132 padding: 7px; 133 background-color: #cee8ce; 134 134 } 135 135 136 136 .accp-function-error{ 137 border: 1px solid red;138 padding: 7px;139 background-color: #ffcece;137 border: 1px solid red; 138 padding: 7px; 139 background-color: #ffcece; 140 140 } 141 141 142 142 .company-assign-container .select2-selection__arrow{ 143 top: 10px !important;144 right: 3px !important;143 top: 10px !important; 144 right: 3px !important; 145 145 } 146 146 147 147 .accp-upgrade-tab-banner{ 148 background-color: #005be0;149 color: #FFF;150 padding: 40px;151 margin-top: 17px;152 margin-bottom: 20px;153 border-radius: 10px;148 background-color: #005be0; 149 color: #FFF; 150 padding: 40px; 151 margin-top: 17px; 152 margin-bottom: 20px; 153 border-radius: 10px; 154 154 } 155 155 156 156 .accp-upgrade-tab-banner h2{ 157 color: #fff;158 font-size: 40px;159 font-weight: normal;157 color: #fff; 158 font-size: 40px; 159 font-weight: normal; 160 160 } 161 161 162 162 .accp-upgrade-tab-banner p{ 163 font-size: 18px;164 font-style: italic;163 font-size: 18px; 164 font-style: italic; 165 165 } 166 166 167 167 .accp-upgrade-feature-list-heading{ 168 color: #005be0;169 font-size: 24px;170 font-weight: normal;171 margin-left: 20px;168 color: #005be0; 169 font-size: 24px; 170 font-weight: normal; 171 margin-left: 20px; 172 172 } 173 173 174 174 .accp-upgrade-tab-banner a{ 175 color: #fff;176 text-decoration: none;177 display: block;178 margin-bottom: 10px;179 text-align: right;180 font-size: 22px;175 color: #fff; 176 text-decoration: none; 177 display: block; 178 margin-bottom: 10px; 179 text-align: right; 180 font-size: 22px; 181 181 } 182 182 183 183 .accp-upgrade-tab-banner a::after{ 184 content: '>';185 font-weight: bold;186 font-size: 22px;187 margin-left: 5px;184 content: '>'; 185 font-weight: bold; 186 font-size: 22px; 187 margin-left: 5px; 188 188 } 189 189 190 190 .accp-upgrade-button{ 191 background-color: orange;192 display: block;193 text-decoration: none;194 text-align: center;195 font-size: 26px;196 padding: 18px;197 width: 126px;198 margin-top: 15px;199 border-radius: 2px;200 color: #fff;201 border: 3px solid;202 margin-left: auto;203 margin-right: auto;204 text-transform: uppercase;205 border-radius: 5px;206 margin-bottom: 30px;207 margin-top: 35px;191 background-color: orange; 192 display: block; 193 text-decoration: none; 194 text-align: center; 195 font-size: 26px; 196 padding: 18px; 197 width: 126px; 198 margin-top: 15px; 199 border-radius: 2px; 200 color: #fff; 201 border: 3px solid; 202 margin-left: auto; 203 margin-right: auto; 204 text-transform: uppercase; 205 border-radius: 5px; 206 margin-bottom: 30px; 207 margin-top: 35px; 208 208 } 209 209 210 210 .accp-settings-page-container .accp-upgrade-button{ 211 border-radius: 8px;211 border-radius: 8px; 212 212 } 213 213 214 214 .accp-upgrade-button:hover{ 215 background-color: #ffa500e0;215 background-color: #ffa500e0; 216 216 } 217 217 218 218 .accp-upgrade-button:hover{ 219 color: #fff;219 color: #fff; 220 220 } 221 221 222 222 .accp-setting-logo-container{ 223 background-color: #fff; 224 } 225 226 .accp-setting-logo-container img{ 227 width: 80%;228 max-width: 300px;223 background-color: #fff; 224 } 225 226 .accp-setting-logo-container img{ 227 width: 80%; 228 max-width: 300px; 229 229 } 230 230 231 231 #accp-admin-sidebar{ 232 width: 27%;233 float: right;232 width: 27%; 233 float: right; 234 234 } 235 235 236 236 .delete-screen-notice{ 237 display: inline-block;238 margin-top: 6px;239 color: orangered;240 font-size: 15px;241 background: #fff;242 padding: 20px;243 width: 95%;237 display: inline-block; 238 margin-top: 6px; 239 color: orangered; 240 font-size: 15px; 241 background: #fff; 242 padding: 20px; 243 width: 95%; 244 244 } 245 245 246 246 .accp-filemgmt-tablenav .pagination-links{ 247 display: inline-block;248 margin-left: 5px;247 display: inline-block; 248 margin-left: 5px; 249 249 } 250 250 251 251 .accp-filemgmt-button .page-numbers{ 252 color: #23282d; 252 color: #23282d; 253 253 } 254 254 .accp-filemgmt-button .page-numbers .disabled{ 255 color: #a0a5aa !important;255 color: #a0a5aa !important; 256 256 } 257 257 258 258 .accp-filemgmt-button.button{ 259 margin-right: 5px !important;259 margin-right: 5px !important; 260 260 } 261 261 .accp-filemgmt-button.button:last-child{ 262 margin-right: 0px !important;262 margin-right: 0px !important; 263 263 } 264 264 265 265 .accp-filemgmt-button a{ 266 text-decoration: none;266 text-decoration: none; 267 267 } 268 268 269 269 .accp-filemgmt-button .page-numbers{ 270 font-size: 12px;271 display: flex;272 justify-content: center;273 align-items: center;274 height: 100%;270 font-size: 12px; 271 display: flex; 272 justify-content: center; 273 align-items: center; 274 height: 100%; 275 275 } 276 276 277 277 li.accp-filemgmt-button.button{ 278 padding: 0 !important;279 overflow: hidden;280 height: 30px;278 padding: 0 !important; 279 overflow: hidden; 280 height: 30px; 281 281 } 282 282 283 283 .shortcode-markup{ 284 border: 1px solid #ccc;285 background-color: #efefef;286 padding: 15px;287 margin-bottom: 20px;284 border: 1px solid #ccc; 285 background-color: #efefef; 286 padding: 15px; 287 margin-bottom: 20px; 288 288 } 289 289 290 290 .accp-filemgmt-button .page-numbers.prev, .accp-filemgmt-button .page-numbers.next{ 291 font-size: 15px;292 top: -2px;293 position: relative;291 font-size: 15px; 292 top: -2px; 293 position: relative; 294 294 } 295 295 .accp-row-add, .accp-row-delete{ 296 cursor: pointer;296 cursor: pointer; 297 297 } 298 298 299 299 .accp-row-delete{ 300 margin-left: 15px;300 margin-left: 15px; 301 301 } 302 302 303 303 .accp-hide-assigment{ 304 display: none;304 display: none; 305 305 } 306 306 .accp-file-replace-hide{ 307 display: none;307 display: none; 308 308 } 309 309 310 310 .inline.accp-admin-notice.notice{ 311 margin-left: 0px;311 margin-left: 0px; 312 312 } 313 313 314 314 #curr_file_container{ 315 border-bottom: 1px solid #eee;316 padding-bottom: 25px;317 margin-bottom: 20px;315 border-bottom: 1px solid #eee; 316 padding-bottom: 25px; 317 margin-bottom: 20px; 318 318 } 319 319 320 320 .accp-hide-assigment .select2-container--default .select2-selection--single, 321 321 .company-assign-container .select2-container--default .select2-selection--single{ 322 height: 45px;323 padding-top: 7px;322 height: 45px; 323 padding-top: 7px; 324 324 } 325 325 326 326 .wp-admin input[type="file"].accp-upload-btn{ 327 padding-left: 7px;328 padding-right: 7px;329 min-height: 35px;327 padding-left: 7px; 328 padding-right: 7px; 329 min-height: 35px; 330 330 } 331 331 332 332 .accp-settings-section{ 333 background-color: #fff;334 padding-top: 10px;335 padding-left: 25px;336 padding-bottom: 25px;337 padding-right: 25px;338 margin-bottom: 25px;339 box-shadow: 2px 2px 7px rgba(0,0,0, 0.1);340 color: #5C5C5C;333 background-color: #fff; 334 padding-top: 10px; 335 padding-left: 25px; 336 padding-bottom: 25px; 337 padding-right: 25px; 338 margin-bottom: 25px; 339 box-shadow: 2px 2px 7px rgba(0,0,0, 0.1); 340 color: #5C5C5C; 341 341 } 342 342 343 343 .accp-settings-section h3{ 344 color: #3A3A3A;344 color: #3A3A3A; 345 345 } 346 346 347 347 .accp-settings-section h2{ 348 color: #005be0;349 font-weight: normal;350 font-size: 22px;348 color: #005be0; 349 font-weight: normal; 350 font-size: 22px; 351 351 } 352 352 353 353 ul.theme-thumb-list{ 354 list-style: none;354 list-style: none; 355 355 } 356 356 357 357 ul.theme-thumb-list li{ 358 border: 1px solid #ccc;359 background: #efefef;360 padding: 5px;361 width: 47%;358 border: 1px solid #ccc; 359 background: #efefef; 360 padding: 5px; 361 width: 47%; 362 362 } 363 363 364 364 /* Odd */ 365 365 ul.theme-thumb-list li:nth-child(2n+1){ 366 float: left;366 float: left; 367 367 } 368 368 369 369 /* Even */ 370 370 ul.theme-thumb-list li:nth-child(2n){ 371 float: right;371 float: right; 372 372 } 373 373 374 374 .floated-container{ 375 float: left;375 float: left; 376 376 } 377 377 378 378 .accp-license-display{ 379 border: 1px solid #ccc;380 background: #efefef;381 padding: 5px;382 margin-bottom: 10px;379 border: 1px solid #ccc; 380 background: #efefef; 381 padding: 5px; 382 margin-bottom: 10px; 383 383 } 384 384 385 385 select[name="accp_login_redirect_select"]{ 386 margin-top: 7px;386 margin-top: 7px; 387 387 } 388 388 389 389 ul.accp-settings-tabs{ 390 border-bottom: 1px solid #ddd;391 margin-bottom: 25px;390 border-bottom: 1px solid #ddd; 391 margin-bottom: 25px; 392 392 } 393 393 394 394 .accp-settings-tabs li{ 395 display: inline-block;396 background-color: #e0e0e0;397 padding-left: 10px;398 padding-right: 10px;399 padding-top: 10px;400 padding-bottom: 10px;401 margin-right: 5px;402 border-top: 1px solid #d3d3d3;403 border-left: 1px solid #d3d3d3;404 border-right: 1px solid #d3d3d3;405 border-top-left-radius: 3px;406 border-top-right-radius: 3px;407 margin-bottom: 0;408 cursor: pointer;395 display: inline-block; 396 background-color: #e0e0e0; 397 padding-left: 10px; 398 padding-right: 10px; 399 padding-top: 10px; 400 padding-bottom: 10px; 401 margin-right: 5px; 402 border-top: 1px solid #d3d3d3; 403 border-left: 1px solid #d3d3d3; 404 border-right: 1px solid #d3d3d3; 405 border-top-left-radius: 3px; 406 border-top-right-radius: 3px; 407 margin-bottom: 0; 408 cursor: pointer; 409 409 } 410 410 411 411 #accp-shorcode-list-table-container{ 412 display: table;413 width: 100%;414 border-collapse: collapse;415 } 416 417 .accp-shortcode-col-heading-row, 412 display: table; 413 width: 100%; 414 border-collapse: collapse; 415 } 416 417 .accp-shortcode-col-heading-row, 418 418 .accp-saved-shortcode-item-row{ 419 display: table-row;420 height: 60px;421 border-bottom: 1px solid #eee;419 display: table-row; 420 height: 60px; 421 border-bottom: 1px solid #eee; 422 422 } 423 423 424 424 .accp-shortcode-col-heading{ 425 font-weight: bold;426 color: #777;425 font-weight: bold; 426 color: #777; 427 427 } 428 428 429 429 .accp-add-shortcode-btn-container{ 430 text-align: right;431 margin-top: 15px;430 text-align: right; 431 margin-top: 15px; 432 432 } 433 433 434 434 .accp-row-action-col-heading{ 435 visibility: hidden;435 visibility: hidden; 436 436 } 437 437 438 438 .accp-shortcode-item-cell{ 439 display: table-cell;440 padding: 5px;441 vertical-align: middle; 439 display: table-cell; 440 padding: 5px; 441 vertical-align: middle; 442 442 } 443 443 444 444 .accp-shortcode-item-cell a{ 445 text-decoration: none;445 text-decoration: none; 446 446 } 447 447 448 448 input.accp-copy-text-enabled{ 449 cursor: pointer;450 background-color: #eee;451 padding: 5px 7px 7px 7px;452 border-radius: 3px;453 border: none;454 text-align: center;449 cursor: pointer; 450 background-color: #eee; 451 padding: 5px 7px 7px 7px; 452 border-radius: 3px; 453 border: none; 454 text-align: center; 455 455 } 456 456 457 457 .accp-shortcode-input-container{ 458 position: relative;458 position: relative; 459 459 } 460 460 461 461 .accp-shortcode-input-container:hover::after{ 462 display: block;462 display: block; 463 463 } 464 464 465 465 .accp-shortcode-input-container::after{ 466 content: "\f0c5";467 font-family: "Font Awesome 5 Free";468 font-weight: 400;469 position: absolute;470 right: 5px;471 display: none;466 content: "\f0c5"; 467 font-family: "Font Awesome 5 Free"; 468 font-weight: 400; 469 position: absolute; 470 right: 5px; 471 display: none; 472 472 } 473 473 474 474 .accp-shortcode-input-container.accp-element-copied::after{ 475 content: "\f00c";476 font-family: "Font Awesome 5 Free";477 font-weight: 600;478 position: absolute;479 right: 5px;480 top: 0;481 color: #259d25; 475 content: "\f00c"; 476 font-family: "Font Awesome 5 Free"; 477 font-weight: 600; 478 position: absolute; 479 right: 5px; 480 top: 0; 481 color: #259d25; 482 482 } 483 483 484 484 .accp-settings-tabs li:hover{ 485 background-color: #fff; 485 background-color: #fff; 486 486 } 487 487 488 488 .accp-settings-tabs li:hover a{ 489 color: #135e96;489 color: #135e96; 490 490 } 491 491 .accp-settings-tabs li a:focus{ 492 color: #135e96;492 color: #135e96; 493 493 } 494 494 495 495 .accp-settings-tabs li[data-tab-status="active"]{ 496 background-color: #fff;497 color: #135e96; 496 background-color: #fff; 497 color: #135e96; 498 498 } 499 499 500 500 .accp-settings-tabs li[data-tab-status="active"] > a{ 501 color: #135e96;501 color: #135e96; 502 502 } 503 503 504 504 .accp-settings-tabs a{ 505 text-decoration: none;506 font-size: 11px;507 font-weight: bold;508 text-transform: uppercase;509 color: #8F8F8F;505 text-decoration: none; 506 font-size: 11px; 507 font-weight: bold; 508 text-transform: uppercase; 509 color: #8F8F8F; 510 510 } 511 511 512 512 .accp-settings-tabs a:focus{ 513 outline: none;514 -webkit-box-shadow: none;515 box-shadow: none;513 outline: none; 514 -webkit-box-shadow: none; 515 box-shadow: none; 516 516 } 517 517 518 518 .accp-settings-tab{ 519 display: none;519 display: none; 520 520 } 521 521 522 522 .accp-settings-tab[data-tab-content-status="active"]{ 523 display: block;523 display: block; 524 524 } 525 525 526 526 .accp-create-page-container{ 527 margin-top: 15px;528 } 529 530 .accp-new-page-title{ 531 margin-bottom: 10px;527 margin-top: 15px; 528 } 529 530 .accp-new-page-title{ 531 margin-bottom: 10px; 532 532 } 533 533 534 534 .accp-generate-page-form .accp-create-new-page-instructions{ 535 margin-top: 25px;536 display: block;535 margin-top: 25px; 536 display: block; 537 537 } 538 538 539 539 .accp-generate-page-form{ 540 display: none;540 display: none; 541 541 } 542 542 543 543 .tablenav .select2-selection.select2-selection--single{ 544 height: 100%;545 border-radius: 3px;546 border: 1px solid #8c8f94;547 background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;548 background-size: auto;549 background-size: 16px 16px;544 height: 100%; 545 border-radius: 3px; 546 border: 1px solid #8c8f94; 547 background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%; 548 background-size: auto; 549 background-size: 16px 16px; 550 550 } 551 551 552 552 .tablenav .select2-selection.select2-selection--single b{ 553 display: none;553 display: none; 554 554 } 555 555 556 556 label .title.accp-quickedit-invoice-status-label{ 557 width: auto !important;558 margin-right: 5px !important;557 width: auto !important; 558 margin-right: 5px !important; 559 559 } 560 560 561 561 .accp-admin-invoice-data-quickedit{ 562 margin-bottom: 0;562 margin-bottom: 0; 563 563 } 564 564 565 565 .accp-duplicate-dir-assignment-notice{ 566 padding: 15px;567 border: 2px solid #ff5e5e;568 background-color: #ffdbdb;569 margin-bottom: 15px;566 padding: 15px; 567 border: 2px solid #ff5e5e; 568 background-color: #ffdbdb; 569 margin-bottom: 15px; 570 570 } 571 571 572 572 .accp-reassign-directory-button.button{ 573 margin-top: 15px;574 margin-bottom: 15px;573 margin-top: 15px; 574 margin-bottom: 15px; 575 575 } 576 576 577 577 .accp-dir-reassign-option{ 578 background-color: #f6f7f7;579 padding-top: 10px;580 padding-bottom: 10px;581 padding-left: 20px;582 padding-right: 20px;583 margin-bottom: 25px;584 border: 1px solid #eeefef;578 background-color: #f6f7f7; 579 padding-top: 10px; 580 padding-bottom: 10px; 581 padding-left: 20px; 582 padding-right: 20px; 583 margin-bottom: 25px; 584 border: 1px solid #eeefef; 585 585 } 586 586 587 587 .accp-field-note{ 588 font-style: italic;589 color: #808080;590 font-size: 12px;591 display: block;592 margin-top: 5px;593 margin-bottom: 5px;588 font-style: italic; 589 color: #808080; 590 font-size: 12px; 591 display: block; 592 margin-top: 5px; 593 margin-bottom: 5px; 594 594 } 595 595 596 596 .accp-boxed-container{ 597 background-color: #f6f7f7;598 border: 1px solid #eeefef;599 padding-left: 15px;600 padding-right: 15px;597 background-color: #f6f7f7; 598 border: 1px solid #eeefef; 599 padding-left: 15px; 600 padding-right: 15px; 601 601 } 602 602 603 603 .accp-boxed-container.current-assigned-company-container{ 604 margin-bottom: 20px;604 margin-bottom: 20px; 605 605 } 606 606 607 607 .accp-boxed-container label{ 608 font-weight: 600;609 padding-top: 15px;608 font-weight: 600; 609 padding-top: 15px; 610 610 } 611 611 612 612 .accp-or-sparator{ 613 font-weight: 600;613 font-weight: 600; 614 614 } 615 615 616 616 .accp-admin-tooltip-icon{ 617 content: 'i';618 color: #fff;619 background-color: #5A5A5A;620 border-radius: 50%;621 width: 12px;622 height: 12px;623 font-family: Georgia, 'Times New Roman', Times, serif;624 display: inline-block;625 text-align: center;626 font-size: 9px;627 padding-top: 1px;628 position: relative;629 top: -10px;630 cursor: pointer;617 content: 'i'; 618 color: #fff; 619 background-color: #5A5A5A; 620 border-radius: 50%; 621 width: 12px; 622 height: 12px; 623 font-family: Georgia, 'Times New Roman', Times, serif; 624 display: inline-block; 625 text-align: center; 626 font-size: 9px; 627 padding-top: 1px; 628 position: relative; 629 top: -10px; 630 cursor: pointer; 631 631 } 632 632 633 633 .accp-admin-tooltip-icon:hover + .accp-wp-admin-tooltip{ 634 visibility: visible;634 visibility: visible; 635 635 } 636 636 637 637 .accp-wp-admin-tooltip{ 638 position: absolute;639 z-index: 1;640 width: 150px;641 background-color: #fff;642 padding: 10px;643 border-radius: 5px;644 visibility: hidden;645 margin-top: -100px;646 font-weight: normal;647 font-size: 12px;648 color: #3c434a;649 line-height: 18px;650 pointer-events: none;638 position: absolute; 639 z-index: 1; 640 width: 150px; 641 background-color: #fff; 642 padding: 10px; 643 border-radius: 5px; 644 visibility: hidden; 645 margin-top: -100px; 646 font-weight: normal; 647 font-size: 12px; 648 color: #3c434a; 649 line-height: 18px; 650 pointer-events: none; 651 651 } 652 652 653 653 .accp-wp-admin-tooltip-dark{ 654 position: absolute;655 z-index: 1;656 width: 150px;657 background-color: #3c434a;658 padding: 10px;659 border-radius: 5px;660 visibility: hidden;661 margin-top: -100px;662 font-weight: normal;663 font-size: 12px;664 color: #fff;665 line-height: 18px;666 pointer-events: none;654 position: absolute; 655 z-index: 1; 656 width: 150px; 657 background-color: #3c434a; 658 padding: 10px; 659 border-radius: 5px; 660 visibility: hidden; 661 margin-top: -100px; 662 font-weight: normal; 663 font-size: 12px; 664 color: #fff; 665 line-height: 18px; 666 pointer-events: none; 667 667 } 668 668 669 669 .accp-wp-admin-tooltip.accp-user-status-tooltip{ 670 left: 0;670 left: 0; 671 671 } 672 672 673 673 .accp-wp-admin-tooltip::after{ 674 content:'';675 position: absolute;676 top: 100%;677 left: 50%; 678 border-top: solid 10px #ffffff;679 border-left: solid 10px transparent;680 border-right: solid 10px transparent;681 margin-left: -60px;682 width: 0;683 height: 0;674 content:''; 675 position: absolute; 676 top: 100%; 677 left: 50%; 678 border-top: solid 10px #ffffff; 679 border-left: solid 10px transparent; 680 border-right: solid 10px transparent; 681 margin-left: -60px; 682 width: 0; 683 height: 0; 684 684 } 685 685 686 686 .accp-wp-admin-tooltip-dark::after{ 687 border-top: solid 10px #3c434a;687 border-top: solid 10px #3c434a; 688 688 } 689 689 690 690 .accp-wp-admin-has-tooltip-center{ 691 left: 12%;692 margin-top: -115px;691 left: 12%; 692 margin-top: -115px; 693 693 } 694 694 695 695 .accp-company-global-page-tooltip{ 696 margin-top: -143px;696 margin-top: -143px; 697 697 } 698 698 699 699 .accp-generate-page-form p.accp-create-new-page-instructions{ 700 margin-top: 20px;700 margin-top: 20px; 701 701 } 702 702 703 703 .accp-generate-new-page-field-container{ 704 display: block;705 margin-bottom: 10px;704 display: block; 705 margin-bottom: 10px; 706 706 } 707 707 708 708 .button.button-primary.accp-generate-new-page{ 709 margin-top: 15px;709 margin-top: 15px; 710 710 } 711 711 712 712 .accp-unpublished-company-item{ 713 padding: 10px;714 background-color: #fff;715 margin-right: 7px;716 border-radius: 3px;713 padding: 10px; 714 background-color: #fff; 715 margin-right: 7px; 716 border-radius: 3px; 717 717 } 718 718 719 719 .accp-delete-unpublished-company-item{ 720 display: inline-block;721 background-color: #C3C3C3;722 width: 15px;723 text-align: center;724 padding-right: 1px;725 cursor: pointer;720 display: inline-block; 721 background-color: #C3C3C3; 722 width: 15px; 723 text-align: center; 724 padding-right: 1px; 725 cursor: pointer; 726 726 } 727 727 728 728 .accp-column-pointer-item{ 729 cursor: pointer;729 cursor: pointer; 730 730 } 731 731 732 732 .accp-spinner.spinner{ 733 margin-top: 20px;733 margin-top: 20px; 734 734 } 735 735 736 736 .accp-spinner.spinner.accp-spinner-after-bulk-edit{ 737 margin-top: 0px;737 margin-top: 0px; 738 738 } 739 739 740 740 .accp-spinner.spinner.accp-reassign-company-button-spinner{ 741 margin-top: 0;741 margin-top: 0; 742 742 } 743 743 744 744 .accp-reassign-company-notice{ 745 color: #b32d2e;745 color: #b32d2e; 746 746 } 747 747 748 748 option.accp-non-published-post-option{ 749 color: #717171;749 color: #717171; 750 750 } 751 751 752 752 .accp-boxed-container label[for="accp_make_page_global"]{ 753 display: block;754 padding-bottom: 15px;753 display: block; 754 padding-bottom: 15px; 755 755 } 756 756 757 757 .accp-boxed-container.accp-specify-company-field-container .select2-container{ 758 padding-bottom: 15px;758 padding-bottom: 15px; 759 759 } 760 760 761 761 .accp-boxed-container.current-assigned-company-container p{ 762 padding-top: 15px;763 padding-bottom: 15px;762 padding-top: 15px; 763 padding-bottom: 15px; 764 764 } 765 765 766 766 .accp-directory-assigned{ 767 display: none;767 display: none; 768 768 } 769 769 770 770 .accp-reassign-btn-cancel{ 771 display: none;771 display: none; 772 772 } 773 773 774 774 .accp-dir-update-notice{ 775 border: 2px solid #c9d1de;776 background-color: #e0e8f5;777 padding: 10px;775 border: 2px solid #c9d1de; 776 background-color: #e0e8f5; 777 padding: 10px; 778 778 } 779 779 780 780 .accp-dir-update-check-label{ 781 display: block;782 margin-bottom: 10px;781 display: block; 782 margin-bottom: 10px; 783 783 } 784 784 785 785 #accp-create-user-container{ 786 margin-top: 25px;786 margin-top: 25px; 787 787 } 788 788 789 789 .accp-new-user-field{ 790 display: block;791 margin-bottom: 20px;790 display: block; 791 margin-bottom: 20px; 792 792 } 793 793 794 794 .accp-set-width-label-85{ 795 width: 85px;796 display: inline-block;795 width: 85px; 796 display: inline-block; 797 797 } 798 798 799 799 #accp-autogenerate-password{ 800 margin-left: 10px;800 margin-left: 10px; 801 801 } 802 802 803 803 .accp-generate-user-message{ 804 display: block;805 margin-bottom: 7px;806 color: #b72a0a;804 display: block; 805 margin-bottom: 7px; 806 color: #b72a0a; 807 807 } 808 808 809 809 .accp-create-user-cancel-button-text{ 810 display: none;810 display: none; 811 811 } 812 812 813 813 #accp-create-user-container{ 814 display: none;814 display: none; 815 815 } 816 816 817 817 #accp-assign-primary-user-container{ 818 border: 1px solid #eeefef;819 margin-top: 25px;820 margin-bottom: 15px;821 background-color: #f6f7f7;822 padding-left: 15px;823 padding-right: 15px;824 padding-bottom: 25px;818 border: 1px solid #eeefef; 819 margin-top: 25px; 820 margin-bottom: 15px; 821 background-color: #f6f7f7; 822 padding-left: 15px; 823 padding-right: 15px; 824 padding-bottom: 25px; 825 825 } 826 826 827 827 .accp-assign-primary-user-heading{ 828 display: block;829 margin-top: 20px;830 font-weight: 600;828 display: block; 829 margin-top: 20px; 830 font-weight: 600; 831 831 } 832 832 833 833 .accp-upgrade-pro-feature-item-container{ 834 box-shadow: 2px 2px 7px rgba(0,0,0, 0.1);835 border-radius: 8px;836 padding: 25px;837 margin: 20px; 834 box-shadow: 2px 2px 7px rgba(0,0,0, 0.1); 835 border-radius: 8px; 836 padding: 25px; 837 margin: 20px; 838 838 } 839 839 840 840 .accp-upgrade-pro-feature-item-container:hover{ 841 background-color: #005be0;841 background-color: #005be0; 842 842 } 843 843 844 844 .accp-upgrade-pro-feature-content-container{ 845 position: relative; 845 position: relative; 846 846 } 847 847 848 848 .accp-hover-upgrade-button{ 849 display: none;850 color: #fff; 851 font-size: 20px;852 text-transform: uppercase;853 border: 2px solid;854 text-align: center;855 max-width: 90%; 856 padding-top: 7px;857 padding-bottom: 9px;858 width: 220px;859 position: absolute;860 top: 40%;849 display: none; 850 color: #fff; 851 font-size: 20px; 852 text-transform: uppercase; 853 border: 2px solid; 854 text-align: center; 855 max-width: 90%; 856 padding-top: 7px; 857 padding-bottom: 9px; 858 width: 220px; 859 position: absolute; 860 top: 40%; 861 861 } 862 862 863 863 .accp-upgrade-pro-feature-item-container:hover > a .accp-upgrade-pro-feature-content-container{ 864 display: flex;865 justify-content: center;864 display: flex; 865 justify-content: center; 866 866 } 867 867 868 868 .accp-upgrade-pro-feature-item-container:hover > a .accp-upgrade-pro-feature-item-title{ 869 color: #fff;869 color: #fff; 870 870 } 871 871 872 872 .accp-upgrade-pro-feature-item-container:hover > a p{ 873 visibility: hidden;873 visibility: hidden; 874 874 } 875 875 876 876 .accp-upgrade-pro-feature-item-container:hover > a .accp-hover-upgrade-button{ 877 display: block;877 display: block; 878 878 } 879 879 880 880 .accp-upgrade-pro-feature-item-title{ 881 font-size: 21px;882 line-height: 27px;883 color: #005be0;881 font-size: 21px; 882 line-height: 27px; 883 color: #005be0; 884 884 } 885 885 886 886 .accp-upgrade-pro-feature-item-container p{ 887 color: #777;888 font-size: 14px;887 color: #777; 888 font-size: 14px; 889 889 } 890 890 891 891 .accp-upgrade-pro-feature-item-container a{ 892 text-decoration: none;893 width: 100%;894 height: 100%;895 display: block;892 text-decoration: none; 893 width: 100%; 894 height: 100%; 895 display: block; 896 896 } 897 897 898 898 .accp-settings-section-inner{ 899 border-bottom: 1px solid #eee;900 padding-bottom: 15px;901 margin-bottom: 30px;899 border-bottom: 1px solid #eee; 900 padding-bottom: 15px; 901 margin-bottom: 30px; 902 902 } 903 903 904 904 .company_status_row{ 905 margin-bottom: 15px;905 margin-bottom: 15px; 906 906 } 907 907 … … 909 909 .company_status_row input, 910 910 .company_status_row select{ 911 margin-right: 5px;911 margin-right: 5px; 912 912 } 913 913 914 914 .company_status_row .accp-row-add{ 915 margin-left: 5px;916 margin-right: 10px;915 margin-left: 5px; 916 margin-right: 10px; 917 917 } 918 918 919 919 .company_status_row i{ 920 font-size: 15px;921 position: relative;922 top: 2px;923 color: #737373;920 font-size: 15px; 921 position: relative; 922 top: 2px; 923 color: #737373; 924 924 } 925 925 926 926 .accp-add-status-row.button{ 927 cursor: pointer; 927 cursor: pointer; 928 928 } 929 929 930 930 .accp-action-pending{ 931 pointer-events: none;931 pointer-events: none; 932 932 } 933 933 934 934 #accp-settings-sidebar-container{ 935 padding-left: 20px;936 padding-top: 20px;935 padding-left: 20px; 936 padding-top: 20px; 937 937 } 938 938 939 939 #accp-settings-sidebar-container a{ 940 text-decoration: none;940 text-decoration: none; 941 941 } 942 942 943 943 .accp-settings-page-container.wrap{ 944 background-color: #fff;945 min-height: 800px;944 background-color: #fff; 945 min-height: 800px; 946 946 } 947 947 948 948 .accp-admin-main-content-header{ 949 margin-bottom: 15px;949 margin-bottom: 15px; 950 950 } 951 951 952 952 #accp-admin-main-content h1{ 953 color: #005be0;954 font-weight: normal;955 font-size: 28px;956 padding-left: 20px;953 color: #005be0; 954 font-weight: normal; 955 font-size: 28px; 956 padding-left: 20px; 957 957 } 958 958 959 959 #accp-post-edit-nonce{ 960 display: none !important;960 display: none !important; 961 961 } 962 962 963 963 @media screen and (min-width: 980px){ 964 964 965 .accp-upgrade-pro-feature-short-list{966 display: grid;967 grid-template-columns: auto auto auto;968 }969 970 #accp-settings-sidebar-container{ 971 width: 200px;972 float: left; 973 }974 975 #accp-admin-main-content{976 margin-left: 200px;977 }978 979 } 965 .accp-upgrade-pro-feature-short-list{ 966 display: grid; 967 grid-template-columns: auto auto auto; 968 } 969 970 #accp-settings-sidebar-container{ 971 width: 200px; 972 float: left; 973 } 974 975 #accp-admin-main-content{ 976 margin-left: 200px; 977 } 978 979 } -
constellation-client-portal/trunk/ars-constellation-client-portal.php
r3079876 r3082049 7 7 * Plugin URI: https://adrianrodriguezstudios.com/constellation-client-portal/ 8 8 * Description: Create private pages for each of your clients, post private files, and protect your client files from unauthorized users and search engines. <strong>Important:</strong> All Site-level File Protection features will cease to function if the plugin is disabled or uninstalled. 9 * Version: 1.8. 39 * Version: 1.8.4 10 10 * Author: ARS 11 11 * Author URI: https://adrianrodriguezstudios.com … … 57 57 */ 58 58 define('ACCP_PLUGIN_NAME', 'ARS_CONSTELLATION_CLIENT_PORTAL'); 59 define('ACCP_PLUGIN_VERSION', '1.8. 3'); // Change the version in the header as well.59 define('ACCP_PLUGIN_VERSION', '1.8.4'); // Change the version in the header as well. 60 60 define( ACCP_PLUGIN_NAME, ACCP_PLUGIN_VERSION ); 61 61 define( 'ACCP_PLUGIN_FILE_NAME', __FILE__ ); -
constellation-client-portal/trunk/includes/ars-constellation-client-portal-install-uninstall.php
r3079876 r3082049 89 89 * check for the existence of each default value in the saved options. 90 90 */ 91 if ( is_array( $company_status_rows ) && ! empty( $company_status_rows ) && $company_status_rows != null) {91 if ( is_array( $company_status_rows ) && ! empty( $company_status_rows ) && null !== $company_status_rows ) { 92 92 93 93 $new = array(); -
constellation-client-portal/trunk/includes/class-ars-constellation-client-portal-activator.php
r3079876 r3082049 47 47 $enabled_options = $pro_emails->accp_get_enabled_automated_email_option_names(); 48 48 49 if ( ! empty( $enabled_options ) && $enabled_options !== false) {49 if ( ! empty( $enabled_options ) && false !== $enabled_options ) { 50 50 51 51 if ( ! wp_next_scheduled( 'accp_automated_email_cron' ) ) { -
constellation-client-portal/trunk/includes/class-ars-constellation-client-portal-loader.php
r3079876 r3082049 39 39 * 40 40 * @since 1.0.0 41 * @var array $shortcodes The shortcodes registered with WordPress to fire when the plugin loads. 41 42 */ 42 43 protected $shortcodes; 43 44 45 /** 46 * The class construct. 47 */ 44 48 public function __construct() { 45 49 … … 71 75 * @param string $callback The name of the function definition on the $component. 72 76 * @param int $priority Optional. The priority at which the function should be fired. Default is 10. 73 * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1 77 * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1. 74 78 */ 75 79 public function add_filter( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) { … … 78 82 79 83 /** 80 * Add shortcode 84 * Add shortcode. 81 85 * 82 86 * @since 1.0.0 83 87 * @param string $tag The name of the new shortcode. 84 * @param object $component A reference to the instance of the object on which the shortcode is defined. 85 * @param string $callback The name of the function that defines the shortcode. 88 * @param object $component A reference to the instance of the object on which the shortcode is defined. 89 * @param string $callback The name of the function that defines the shortcode. 90 * @param int $priority The hook priority. 91 * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1. 86 92 */ 87 93 public function add_shortcode( $tag, $component, $callback, $priority = 10, $accepted_args = 1 ) { -
constellation-client-portal/trunk/includes/class-ars-constellation-client-portal-utility-functions.php
r3079876 r3082049 2 2 /** 3 3 * ACCP Core Utility Functions. 4 * 5 * @package ARS_Constellation_Client_Portal 4 6 */ 5 7 … … 35 37 * 36 38 * @since 1.0.0 37 * @param string $plugin_name The name of this plugin.38 * @param string $version The version of this plugin.39 39 */ 40 40 public function __construct() { 41 42 if ( defined( 'ARS_CONSTELLATION_CLIENT_PORTAL_PRO' ) ) {41 42 if ( defined( 'ARS_CONSTELLATION_CLIENT_PORTAL_PRO' ) ) { 43 43 44 44 // Check for Pro version. … … 63 63 /** 64 64 * Prep integers for use. 65 * 65 * 66 66 * @param string $input_string - The string to sanitize. 67 67 */ 68 function accp_sanitize_integers( $input_string ) {68 public function accp_sanitize_integers( $input_string ) { 69 69 70 70 // Strip out non-numeric characters, except "-" that … … 80 80 $integer = filter_var( $prelim_int, FILTER_SANITIZE_NUMBER_INT ); 81 81 82 } else { 82 } else { 83 83 84 84 $integer = ''; … … 95 95 * Example return: 'wp-content'. 96 96 */ 97 function accp_get_wp_content_dir_name() {97 public function accp_get_wp_content_dir_name() { 98 98 99 99 $wp_content_dir_name = basename( WP_CONTENT_DIR ); … … 112 112 * Example return: 'uploads'. 113 113 */ 114 function accp_get_wp_uploads_dir_name() {114 public function accp_get_wp_uploads_dir_name() { 115 115 116 116 $wp_uploads_dir = wp_get_upload_dir(); … … 131 131 * Example return: '/var/www/html/wp-content/uploads/accp-clientfiles'. 132 132 */ 133 function accp_get_clientfiles_path() {133 public function accp_get_clientfiles_path() { 134 134 135 135 $clientfiles_dir_name = '/accp-clientfiles'; … … 152 152 * Example return: 'https://www.example.com/wp-content/uploads/accp-clientfiles'. 153 153 */ 154 function accp_get_clientfiles_upload_dir_url() {154 public function accp_get_clientfiles_upload_dir_url() { 155 155 156 156 $clientfiles_dir_name = '/accp-clientfiles'; … … 179 179 * @return string $slug - The sanitized slug. 180 180 */ 181 function sanitize_url_slug_name( $slug ) {181 public function sanitize_url_slug_name( $slug ) { 182 182 183 183 if ( ! $slug ) { … … 213 213 * @return bool $is_unique - True if the slug is unique or false if not. 214 214 */ 215 function check_if_post_type_slug_is_unique( $slug ) {215 public function check_if_post_type_slug_is_unique( $slug ) { 216 216 217 217 $is_unique = true; … … 282 282 * @return bool $is_valid_post_type - True if the slug is a valid post type or false if not. 283 283 */ 284 function check_if_post_type_slug_is_valid_post_type( $slug ) {284 public function check_if_post_type_slug_is_valid_post_type( $slug ) { 285 285 286 286 if ( ! $slug ) { … … 304 304 * matches the slug being checked. 305 305 */ 306 if ( $name === sanitize_text_field( strtolower( $slug ) )) {306 if ( sanitize_text_field( strtolower( $slug ) ) === $name ) { 307 307 308 308 $is_valid_post_type = true; … … 326 326 * @return bool $is_unique - True if the slug is unique or false if not. 327 327 */ 328 function check_if_taxonomy_slug_is_unique( $slug ) {328 public function check_if_taxonomy_slug_is_unique( $slug ) { 329 329 330 330 $is_unique = true; … … 395 395 * @return bool $is_pro - True if this is the pro plugin, false if not. 396 396 */ 397 function is_pro_plugin( $plugin_name ) {397 public function is_pro_plugin( $plugin_name ) { 398 398 399 399 $is_pro = false; -
constellation-client-portal/trunk/includes/class-ars-constellation-client-portal.php
r3079876 r3082049 125 125 * Pro tier Admin functions. 126 126 */ 127 if ( $this->plugin_name == 'ars-constellation-client-portal-pro') {128 129 // Include the Pro functions 127 if ( 'ars-constellation-client-portal-pro' === $this->plugin_name ) { 128 129 // Include the Pro functions. 130 130 require_once dirname( __DIR__ ) . '/pro/admin/ars-constellation-client-portal-pro-admin-functions.php'; 131 131 132 // Pro Email Class 132 // Pro Email Class. 133 133 require_once dirname( __DIR__ ) . '/pro/admin/class-ars-constellation-client-portal-pro-emails.php'; 134 134 135 // Pro Authorization Class 135 // Pro Authorization Class. 136 136 require_once dirname( __DIR__ ) . '/pro/admin/class-ars-constellation-client-portal-pro-authorization.php'; 137 137 … … 141 141 * Pro tier Public functions. 142 142 */ 143 if ( $this->plugin_name == 'ars-constellation-client-portal-pro') {144 145 // Include the Pro functions 143 if ( 'ars-constellation-client-portal-pro' === $this->plugin_name ) { 144 145 // Include the Pro functions. 146 146 require_once dirname( __DIR__ ) . '/pro/public/class-ars-constellation-client-portal-pro-public.php'; 147 147 … … 528 528 * Add an upgrade link to the plugin menu in the WP plugin list - base plugin only. 529 529 */ 530 if ( $this->plugin_name !== 'ars-constellation-client-portal-pro') {530 if ( 'ars-constellation-client-portal-pro' !== $this->plugin_name ) { 531 531 532 532 $this->loader->add_filter( 'plugin_action_links_' . plugin_basename( dirname( __DIR__ ) ) . '/ars-constellation-client-portal.php', $plugin_admin, 'accp_add_upgrade_link_to_plugin_row_actions_menu', 10, 1 ); … … 542 542 * Pro tier hooks 543 543 */ 544 if ( $this->plugin_name == 'ars-constellation-client-portal-pro') {544 if ( 'ars-constellation-client-portal-pro' === $this->plugin_name ) { 545 545 546 546 $plugin_pro_admin = new ARS_Constellation_Client_Portal_Pro_Admin( $this->get_plugin_name(), $this->get_version() ); … … 585 585 * Pro tier hooks 586 586 */ 587 if ( $this->plugin_name == 'ars-constellation-client-portal-pro') {587 if ( 'ars-constellation-client-portal-pro' === $this->plugin_name ) { 588 588 589 589 $plugin_pro_public = new ARS_Constellation_Client_Portal_Pro_Public( $this->get_plugin_name(), $this->get_version() );
Note: See TracChangeset
for help on using the changeset viewer.