Changeset 2792313
- Timestamp:
- 09/30/2022 07:51:26 AM (3 years ago)
- Location:
- project-notebooks
- Files:
-
- 14 edited
-
assets/banner-1544x500.png (modified) (previous)
-
assets/banner-772x250.png (modified) (previous)
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
trunk/assets/css/pto-admin-custom.css (modified) (4 diffs)
-
trunk/assets/css/pto-project-frontend-css.css (modified) (6 diffs)
-
trunk/assets/js/pto-admin-custom.js (modified) (1 diff)
-
trunk/includes/cpt-project.php (modified) (3 diffs)
-
trunk/includes/structure/admin/pto_admin_setting_add_own_admin.php (modified) (1 diff)
-
trunk/includes/structure/admin/pto_admin_setting_add_project_admin.php (modified) (1 diff)
-
trunk/includes/structure/admin/pto_admin_settings.php (modified) (4 diffs)
-
trunk/includes/structure/pto_listing_project_cpt/pto_listing_cpt_project_header.php (modified) (2 diffs)
-
trunk/ptoffice.php (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
project-notebooks/trunk/assets/css/pto-admin-custom.css
r2736046 r2792313 417 417 418 418 .pto-project-tab-addnew-btn-block-header { 419 display: flex;419 /* display: flex; */ 420 420 justify-content: space-between; 421 421 align-items: flex-end; … … 621 621 } 622 622 623 .wp-admin.pto-custom-style #titlediv #title-prompt-text {624 padding: 0 0 0 14px;625 top: 50%;626 transform: translateY(-50%);627 z-index: 1;628 font-size: 18px;629 }623 /*.wp-admin.pto-custom-style #titlediv #title-prompt-text {*/ 624 /* padding: 0 0 0 14px;*/ 625 /* top: 50%;*/ 626 /* transform: translateY(-50%);*/ 627 /* z-index: 1;*/ 628 /* font-size: 18px;*/ 629 /*}*/ 630 630 631 631 /*.wp-admin.pto-custom-style .widefat tfoot td, … … 1704 1704 1705 1705 .pto-heading-setting > div.clear-all-button { 1706 justify-content: flex-end; 1706 justify-content: left; 1707 padding: 10px 0; 1707 1708 } 1708 1709 … … 1716 1717 font-size: 18px; 1717 1718 } 1719 1720 /* Start New Css 15-9-22 */ 1721 1722 .post-type-pto-project #poststuff a.add_new { 1723 padding: 6px !important; 1724 margin-bottom: 10px; 1725 } 1726 1727 .post-type-pto-project .pto-admin-setting-user-search { 1728 float: left; 1729 } 1730 1731 .post-type-pto-project #poststuff button.add-pm-user{ 1732 padding: 6px !important; 1733 } 1734 1735 .post-type-pto-project .pto-allow-user-permision { 1736 margin-bottom: 10px; 1737 } 1738 1739 .post-type-pto-project .updated 1740 { 1741 display:none; 1742 } 1743 1744 .post-type-pto-project #wpwrap a.page-title-action:before { 1745 content: "\2b"; 1746 font-weight: 700; 1747 font-size: 17px; 1748 position: absolute; 1749 left: 5px; 1750 top: 45%; 1751 transform: translateY(-50%); 1752 color: #ffff; 1753 } 1754 1755 .post-type-pto-project #wpwrap a.page-title-action { 1756 border: 1px solid #2271b1; 1757 background: #2271b1 !important; 1758 color: #ffff !important; 1759 max-height: 30px; 1760 display: inline-flex; 1761 align-items: center; 1762 padding: 0 10px 0 20px !important; 1763 height: 30px; 1764 } 1765 1766 .post-type-pto-project .pto-admin-setting-user-create { 1767 padding-bottom: 10px; 1768 } 1769 1770 .post-type-pto-project .pto-admin-setting-user-search a.button.button-primary { 1771 position: relative; 1772 padding: 0 10px 0 20px; 1773 } 1774 1775 .post-type-pto-project .pto-admin-setting-user-search a.button.button-primary:after { 1776 content: "\2b"; 1777 font-weight: 700; 1778 font-size: 17px; 1779 position: absolute; 1780 left: 5px; 1781 top: 45%; 1782 transform: translateY(-50%); 1783 color: #ffff; 1784 } 1785 1786 .post-type-pto-project .media-router .media-menu-item 1787 { 1788 height: 36px; 1789 } 1790 1791 .post-type-pto-project a.accepts-req:after { 1792 display: none; 1793 } 1794 1795 .post-type-pto-project a.accepts-req { 1796 padding: 0 10px 0 10px !important; 1797 } 1798 1799 /* End New Css 15-9-22 */ -
project-notebooks/trunk/assets/css/pto-project-frontend-css.css
r2762677 r2792313 107 107 .fl-full-width .container{ 108 108 width: 100% !important; 109 max-width: 1 440px!important;109 max-width: 100% !important; 110 110 } 111 111 … … 230 230 231 231 ul.projects-list-block > li { 232 width: calc( 33.33% - 30px);232 width: calc(19% - 30px); 233 233 background-color: #fff; 234 234 margin-right: 15px; … … 244 244 overflow: hidden; 245 245 padding-top: 50%; 246 } 247 246 margin-bottom: 0px; 247 margin-top: 0px; 248 } 249 .single-project-block img { 250 object-fit: cover !important; 251 } 252 select#notes-filter,select#metting-filter { 253 padding: 10px 10px 10px 6px; 254 width: 200px; 255 } 248 256 .small-priject-banner-img > img{ 249 257 position: absolute; … … 254 262 width: 100%; 255 263 height: 100%; 256 object-fit: co ver;264 object-fit: contain; 257 265 object-position: top center; 258 266 } … … 265 273 padding: 5px 12px !important; 266 274 border: 1px solid transparent !important; 267 min-width: 80px;275 /* min-width: 80px; */ 268 276 font-weight: 500 !important; 269 277 transition: all 0.5s ease 0s; … … 304 312 305 313 .main-project-lists > div{ 306 max-width: 1 440px;314 max-width: 100%; 307 315 margin-left: auto; 308 316 margin-right: auto; -
project-notebooks/trunk/assets/js/pto-admin-custom.js
r2740770 r2792313 1173 1173 } 1174 1174 } 1175 1175 jQuery( document ).on( "click" , "span.order-higher-indicator , span.order-lower-indicator" , function(){ 1176 tinyMCE.remove(); 1177 tinymce.init( window.tinyMCEPreInit.mceInit[ "keyinfo" ] ); 1178 } ) -
project-notebooks/trunk/includes/cpt-project.php
r2749979 r2792313 35 35 /*admin submenu add in project */ 36 36 add_action('admin_menu' , array( $this ,'wpnb_add_submenu_page_to_post_type' ) ) ; 37 38 /* rewrite rule flush */ 39 add_action( 'wp_loaded', array( $this, 'pto_sign_up_flush_rewrite_rules' ) ); 37 40 38 41 /* project inside cpt render */ … … 141 144 update_post_meta( $project_id , "pto_sub_menu_cpt_add" , $get_assign3 ); 142 145 wp_delete_post( sanitize_text_field($_POST['delet_id']) ); 143 } 144 } 145 } 146 } 147 } 148 } 149 150 151 /** 152 * Rewrite rule flush 153 * @since 1.0.0 154 * @access public 155 **/ 156 public function pto_sign_up_flush_rewrite_rules() { 157 if ( ! get_option( 'notebook_flush_rewrite_rules_flag' ) ) { 158 add_option( 'notebook_flush_rewrite_rules_flag', true ); 159 flush_rewrite_rules(); 160 } 161 } 162 163 146 164 /** 147 165 * Fontend side body in class add … … 310 328 /* task cpts metabox */ 311 329 add_meta_box('custom_meta_box-tasks' , // $id 312 "Tasks <i class='fa fa-info-circle fas-tooltip ' title='Keep track of all to-do`s - complete with assigned users, due dates and more!'></i>" , // $title330 "Tasks <i class='fa fa-info-circle fas-tooltip ' title='Keep track of all to-do`s - complete with assigned users, due dates and more!'></i>" , // $title 313 331 array( $this ,'wpnb_render_meta_box_content_tasks') , // $callback 314 332 'pto-project' , // $page -
project-notebooks/trunk/includes/structure/admin/pto_admin_setting_add_own_admin.php
r2736046 r2792313 26 26 <div class="pto-admin-setting-user-search"> 27 27 <!-- <input type="search" name="usersearch" class="useradminsearch" autocomplete="nope"> --> 28 <input type="button" name="useradd" value="Add Project Administrators" class="button button-primary" onclick="jQuery('#user_adddata').addClass('pto-modal-open'); jQuery('#user_adddata #user_type').val(1);jQuery('.pto-add-new-status input').val('');jQuery('ul.pto-project-user-section-desc-details-ul').html('');jQuery('.user-titl').html('Create Your Own Project Users');"> 28 <a type="button" name="useradd" value="Add Project Administrators" class="button button-primary" onclick="jQuery('#user_adddata').addClass('pto-modal-open'); jQuery('#user_adddata #user_type').val(1);jQuery('.pto-add-new-status input').val('');jQuery('ul.pto-project-user-section-desc-details-ul').html('');jQuery('.user-titl').html('Create Your Own Project Users');"> 29 Add Project Administrators 30 </a> 29 31 <div class="pto-admin-search-result-data" style="display:none;"> 30 32 </div> -
project-notebooks/trunk/includes/structure/admin/pto_admin_setting_add_project_admin.php
r2736046 r2792313 6 6 <div class="pto-admin-setting-user-search"> 7 7 <!-- <input type="search" name="usersearch" class="useradminsearch" autocomplete="nope"> --> 8 < input type="button" name="useradd" value="Add Plugin Administrators" class="button button-primary" onclick="jQuery('#user_adddata').addClass('pto-modal-open'); jQuery('#user_adddata #user_type').val(2);jQuery('.pto-add-new-status input').val('');jQuery('ul.pto-project-user-section-desc-details-ul').html('');jQuery('.user-title').html('Add new plugin administrators');">8 <a type="button" name="useradd" value="Add Plugin Administrators" class="button button-primary" onclick="jQuery('#user_adddata').addClass('pto-modal-open'); jQuery('#user_adddata #user_type').val(2);jQuery('.pto-add-new-status input').val('');jQuery('ul.pto-project-user-section-desc-details-ul').html('');jQuery('.user-title').html('Add new plugin administrators');"> Add Plugin Administrators </a> 9 9 <div class="pto-admin-search-result-data" style="display:none;"> 10 10 </div> -
project-notebooks/trunk/includes/structure/admin/pto_admin_settings.php
r2762677 r2792313 381 381 382 382 if (!in_array($get_current_id, $proj_user_id)) { 383 echo "You don't have any access to this post."; 384 die(); 383 if( !current_user_can('manage_network') ){ 384 echo esc_html_e("You don't have any access to this post."); 385 die(); 386 } 385 387 } else { 386 388 $current_user->add_cap('edit_posts'); … … 395 397 }else { 396 398 if (strpos($actual_link, 'edit.php?post_type=pto-project') !== false) { 397 echo esc_html_e("You don't have any access to this post."); 398 die(); 399 if( !current_user_can('manage_network') ){ 400 echo esc_html_e("You don't have any access to this post."); 401 die(); 402 } 399 403 } else { 400 404 $current_user->add_cap('edit_posts'); … … 412 416 413 417 } else { 414 echo esc_html_e("You don't have any access to this post."); 415 die(); 418 if( !current_user_can('manage_network') ){ 419 echo esc_html_e("You don't have any access to this post."); 420 die(); 421 } 416 422 } 417 423 } else { … … 423 429 } 424 430 if (strpos($actual_link, 'edit.php?post_type=pto-project&page=projects_archive') !== false) { 425 echo esc_html_e("You don't have any access to this post."); 426 die(); 431 if( !current_user_can('manage_network') ){ 432 echo esc_html_e("You don't have any access to this post."); 433 die(); 434 } 427 435 } else { 428 436 $current_user->add_cap('edit_posts'); -
project-notebooks/trunk/includes/structure/pto_listing_project_cpt/pto_listing_cpt_project_header.php
r2736046 r2792313 12 12 <div class="heder-section justify-content-between"> 13 13 <div class="pto-project-tab-addnew-btn-block-header"> 14 <div class="action-heder-addnew-btn-block"> 15 <a class="add_new outline_btn button-primary <?php 16 if ($post_type == "pto-budget-items") { 17 echo "button_check"; 18 } 19 ?>" href="javascript:void(window.open('<?php echo esc_html($url_add); ?>'))"><i class="fa fa-plus"></i> Add New </a> 20 14 21 <div class="pto-project-cust-tab"> 15 22 … … 39 46 <?php } ?> 40 47 </div> 41 <div class="action-heder-addnew-btn-block"> 42 <a class="add_new outline_btn button-primary <?php 43 if ($post_type == "pto-budget-items") { 44 echo "button_check"; 45 } 46 ?>" href="javascript:void(window.open('<?php echo esc_html($url_add); ?>'))"><i class="fa fa-plus"></i> Add New </a> 48 47 49 </div> 48 50 </div> -
project-notebooks/trunk/ptoffice.php
r2780448 r2792313 2 2 3 3 /** 4 * Plugin Name: WP Project Notebooks5 * Description: A unique information manager, WP Notebook allows you to assign, plan, organize, share and manage any event, committee, or meeting with a simple-to-use interface. Perfect for committee chairs or event coordinators. Don’t recreate the wheel event after event - use WP Notebook.6 * Version: 1.0. 44 * Plugin Name: PT Project Notebooks - Take meeting minutes, create budgets, track task management and more 5 * Description: A unique information manager, PT Project Notebooks allows you to assign, plan, organize, share and manage any event, committee, or meeting with a simple-to-use interface. Perfect for committee chairs or event coordinators. Don’t recreate the wheel event after event - use PT Project Notebooks. 6 * Version: 1.0.5 7 7 * Author: MJS Software 8 8 * Author URI: https://mjssoftware.com -
project-notebooks/trunk/readme.txt
r2780448 r2792313 1 === P roject Notebooks===1 === PT Project Notebooks - Take Meeting minutes, create budgets, track task management, and more === 2 2 Contributors: blafoley 3 3 Tags: project management, notebook, committee, event planner, event notebook, ptoffice … … 5 5 Tested up to: 6.0 6 6 Requires PHP: 7.2 7 Stable tag: 1.0. 47 Stable tag: 1.0.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Project Notebooks is the most popular group project management solution. 11 Wordpress event project management plugin: track tasks, create budgets, store note, document meeting minutes and display it all on the front-end for user involvement. 12 12 13 13 == Description == 14 [ WP Project Notebooks](https://ptoffice.com) is the latest and greatest event and group management tool available on WordPress.14 [PT Project Notebooks](https://www.mjssoftware.com) is the latest and greatest event and group management tool available on WordPress. 15 15 16 16 Our core platform is free, flexible, and driven by its users. The freedom of open-source means you retain full ownership of your project’s content and data forever. … … 29 29 Built-in tools and a simple-to-use interface help you efficiently manage your next big project or event with ease. Transitioning the management of projects or committees from user to user is as easy as adding the new person as an administrator of the project – allowing users like Committee Chairs to easily pass their work on to the next chair. 30 30 31 - **Only use the components you want when setting up a project notebook.** Don’t over clutter your project with items that don’t make sense.32 - **Publish your project notebook to allow interested parties to see what is expected if they were to take over the project.** Great for volunteer recruitment!33 - **Front-end editing access** to make it as easy as possible for your project notebook managers.31 - **Only use the components you want when setting up a PT Project Notebook.** Don’t over clutter your project with items that don’t make sense. 32 - **Publish your PT Project Notebook to allow interested parties to see what is expected if they were to take over the project.** Great for volunteer recruitment! 33 - **Front-end editing access** to make it as easy as possible for your PT Project Notebook managers. 34 34 35 35 OWN AND CONTROL YOUR STORE DATA – FOREVER … … 59 59 60 60 = My question is not listed here. Where can I find more answers? = 61 Visit our website at [https:// ptoffice.com](https://ptoffice.com)61 Visit our website at [https://www.mjssoftware.com](https://www.mjssoftware.com) 62 62 63 63 == Changelog == 64 = 1.0.5 2022-09-30 = 65 66 * Fix - Minor bug fixes 64 67 65 68 = 1.0.1 2022-06-11 =
Note: See TracChangeset
for help on using the changeset viewer.