WordPress.org

Plugin Directory

Changeset 442577


Ignore:
Timestamp:
09/23/11 13:01:49 (3 years ago)
Author:
williamsba1
Message:

Committing v1.2 of CollabPress

Location:
collabpress/trunk
Files:
17 added
17 edited

Legend:

Unmodified
Added
Removed
  • collabpress/trunk/cp-loader.php

    r378433 r442577  
    44Plugin URI: http://collabpress.org/ 
    55Description: A Project Management Plugin for WordPress 
    6 Version: 1.1.3 
     6Version: 1.2 
    77Author: WebDevStudios.com 
    88Author URI: http://webdevstudios.com/ 
     
    2727 
    2828// CollabPress Define(s) 
    29 define( 'CP_VERSION', '1.1.3' ); 
     29define( 'CP_VERSION', '1.2' ); 
    3030define( 'CP_BASENAME', plugin_basename(__FILE__) ); 
    3131define( 'CP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 
    3232define( 'CP_PLUGIN_URL', plugins_url( $path = 'collabpress/' ) ); 
    3333define( 'CP_RSS_URL', 'http://collabpress.org/feed' ); 
     34 
     35// Before CollabPress 
     36do_action( 'cp_before_collabpress' ); 
    3437 
    3538//front-end querystring support 
  • collabpress/trunk/includes/admin_init.php

    r378433 r442577  
    4444    wp_enqueue_script('jquery-ui'); 
    4545    wp_enqueue_script('cp_frontend'); 
     46    ?> 
     47    <script language="JavaScript"> 
     48 
     49    function checkAll(field) 
     50    { 
     51    for (i = 0; i < field.length; i++) 
     52        field[i].checked = true ; 
     53    } 
     54 
     55    function uncheckAll(field) 
     56    { 
     57    for (i = 0; i < field.length; i++) 
     58        field[i].checked = false ; 
     59    } 
     60    </script> 
     61<?php 
    4662} 
    4763 
    4864// CollabPress Init 
    49 add_action( 'init', 'collabpress_init' ); 
     65add_action( 'init', 'collabpress_init', 5 ); 
    5066function collabpress_init() { 
    5167 
     
    5975 
    6076    // Projects 
    61     $args_projects = array('label' => 'Projects', 
    62                                 'description' => 'Custom Post Type for CollabPress Projects', 
     77    $args_projects = array('label' => __('Projects', 'collabpress'), 
     78                                'description' => __('Custom Post Type for CollabPress Projects', 'collabpress'), 
    6379                                'public' => $cp_debug_mode, 
    6480                                'supports' => array('title','author','thumbnail','comments','custom-fields'), 
     
    6985 
    7086    // Task Lists 
    71     $args_task_lists = array('label' => 'Task Lists', 
    72                                 'description' => 'Custom Post Type for CollabPress Task Lists', 
     87    $args_task_lists = array('label' => __('Task Lists', 'collabpress'), 
     88                                'description' => __('Custom Post Type for CollabPress Task Lists', 'collabpress'), 
    7389                                'public' => $cp_debug_mode, 
    7490                                'supports' => array('title','author','thumbnail','comments','custom-fields'), 
    7591                                'exclude_from_search' => true 
    7692                                ); 
    77     // Register Projects Custom Post Type 
     93    // Register Task List Custom Post Type 
    7894    register_post_type( 'cp-task-lists', $args_task_lists ); 
    7995 
    8096    // Tasks 
    81     $args_tasks = array('label' => 'Tasks', 
    82                             'description' => 'Custom Post Type for CollabPress Tasks', 
     97    $args_tasks = array('label' => __('Tasks', 'collabpress'), 
     98                            'description' => __('Custom Post Type for CollabPress Tasks', 'collabpress'), 
    8399                            'public' => $cp_debug_mode, 
    84100                            'supports' => array('title','author','thumbnail','comments','custom-fields'), 
    85101                            'exclude_from_search' => true 
    86102                            ); 
    87     // Register Projects Custom Post Type 
     103    // Register Tasks Custom Post Type 
    88104    register_post_type( 'cp-tasks', $args_tasks ); 
    89      
     105 
    90106    // Meta Data 
    91     $args_tasks = array('label' => 'Meta Data', 
    92                             'description' => 'Custom Post Type for CollabPress Meta Data', 
     107    $args_tasks = array('label' => __('Meta Data', 'collabpress'), 
     108                            'description' => __('Custom Post Type for CollabPress Meta Data', 'collabpress'), 
    93109                            'public' => $cp_debug_mode, 
    94110                            'supports' => array('title','author','thumbnail','comments','custom-fields'), 
     
    97113    // Register CollabPress Meta Data 
    98114    register_post_type( 'cp-meta-data', $args_tasks ); 
    99      
     115 
     116    do_action( 'cp_registered_post_types' ); 
     117 
    100118} 
  • collabpress/trunk/includes/cp-core.php

    r336510 r442577  
    11<?php 
     2 
     3// Core 
     4do_action( 'cp_core' ); 
    25 
    36// Install CollabPress 
    47register_activation_hook( __FILE__, 'cp_install' ); 
    58 
     9// Check for Pro Version 
     10if ( file_exists( CP_PLUGIN_DIR . '/collabpress-pro.php' ) ) 
     11    require_once( CP_PLUGIN_DIR . '/collabpress-pro.php' ); 
     12 
    613// CollabPress Admin Init Functions 
    714require_once( 'admin_init.php' ); 
     15do_action( 'cp_after_admin_init' ); 
    816 
    917// CollabPress Functions 
    1018require_once( 'functions.php' ); 
     19do_action( 'cp_after_functions' ); 
    1120 
    1221// Administration Menus 
    1322require_once( 'menus.php' ); 
     23do_action( 'cp_after_menus' ); 
    1424 
    1525// CollabPress shortcode support 
    1626require_once( 'shortcode.php' ); 
     27do_action( 'cp_after_shortcode' ); 
    1728 
    1829// CollabPress widgets 
    1930require_once( 'cp-widgets.php' ); 
     31do_action( 'cp_after_widgets' ); 
     32 
     33// Load BuddyPress integration, if BP is enabled 
     34add_action( 'bp_include', 'cp_load_bp_functions' ); 
    2035 
    2136// Add "View CollabPress Dashboard" link on plugins page 
    2237add_filter( 'plugin_action_links_' . CP_BASENAME, 'filter_plugin_actions' ); 
    2338 
    24 function filter_plugin_actions ( $links ) {  
    25     $settings_link = '<a href="'.CP_DASHBOARD.'">'.__('View Dashboard', 'collabpress').'</a>';  
    26     array_unshift ( $links, $settings_link );  
     39function filter_plugin_actions ( $links ) { 
     40    $settings_link = '<a href="'.CP_DASHBOARD.'">'.__('View Dashboard', 'collabpress').'</a>'; 
     41    array_unshift ( $links, $settings_link ); 
    2742    return $links; 
    2843} 
     
    3752    wp_add_dashboard_widget('cp_wp_dashboard_widget', __('CollabPress - Recent Activity', 'collabpress'), 'cp_wp_dashboard_widget_function'); 
    3853    } 
    39      
     54 
    4055} 
    4156function cp_wp_dashboard_widget_function() { 
    4257    cp_recent_activity(); 
    4358} 
     59 
     60function cp_load_bp_functions() { 
     61    // A rough-n-ready check to enforce that BP files aren't loaded if you're not running at 
     62    // least BuddyPress 1.5. 
     63    if ( function_exists( 'bp_get_current_group_id' ) ) { 
     64        require_once( CP_PLUGIN_DIR . 'includes/cp-bp.php' ); 
     65    }else{ 
     66        //BuddyPress is older than 1.5, display a notice 
     67        add_action( 'admin_notices', create_function( '', 'echo \'<div class="updated fade"><p>CollabPress BuddyPress integration requires v1.5+ of BuddyPress to work.  You can download a copy on the <a href="http://buddypress.org/blog/" target="_blank">BuddyPress site</a>.</p><p>Not ready to upgrade to BuddyPress 1.5? No problem. You can continue to use CollabPress - you just won&#39;t get any BuddyPress integration yet.</p></div>\';' ) ); 
     68    } 
     69} 
     70 
     71// End 
     72do_action( 'cp_end' ); 
  • collabpress/trunk/includes/cp-widgets.php

    r336510 r442577  
    1515        $widget_ops = array( 
    1616            'classname' => 'cp_widget_overview_class', 
    17             'description' => 'Display CollabPress overview stats' 
     17            'description' => __('Display CollabPress overview stats', 'collabpress') 
    1818            ); 
    19         $this->WP_Widget( 'cp_widget_overview', 'CollabPress: Overview Widget', $widget_ops ); 
     19        $this->WP_Widget( 'cp_widget_overview', __('CollabPress: Overview Widget', 'collabpress'), $widget_ops ); 
    2020    } 
    2121 
    2222     //build the widget settings form 
    2323    function form( $instance ) { 
    24         $defaults = array( 'title' => 'CollabPress Overview', 'cp_projects' => 'on', 'cp_task_lists' => 'on', 'cp_tasks' => 'on', 'cp_users' => 'on' ); 
     24        $defaults = array( 'title' => __('CollabPress Overview', 'collabpress'), 'cp_projects' => 'on', 'cp_task_lists' => 'on', 'cp_tasks' => 'on', 'cp_users' => 'on' ); 
    2525        $instance = wp_parse_args( (array) $instance, $defaults ); 
    2626         
     
    7171            $projectCount = wp_count_posts('cp-projects'); 
    7272            $projectCount = $projectCount->publish; 
    73             echo '<p class="overview-count">' .$projectCount.'</span> Project' .( ( $projectCount == 1 ) ? '' : 's' ) .'</p>'; 
     73            echo '<p class="overview-count">' .$projectCount.'</span> '.__('Project', 'collabpress') .( ( $projectCount == 1 ) ? '' : 's' ) .'</p>'; 
    7474        endif; 
    7575         
     
    7878            $taskListCount = wp_count_posts('cp-task-lists'); 
    7979            $taskListCount = $taskListCount->publish; 
    80             echo '<p class="overview-count">' .$taskListCount.'</span> Task List' .( ( $taskListCount == 1 ) ? '' : 's' ) .'</p>'; 
     80            echo '<p class="overview-count">' .$taskListCount.'</span> '.__('Task List', 'collabpress') .( ( $taskListCount == 1 ) ? '' : 's' ) .'</p>'; 
    8181        endif; 
    8282 
     
    8585            $taskCount = wp_count_posts('cp-tasks'); 
    8686            $taskCount = $taskCount->publish; 
    87             echo '<p class="overview-count">' .$taskCount.'</span> Task' .( ( $taskCount == 1 ) ? '' : 's' ) .'</p>'; 
     87            echo '<p class="overview-count">' .$taskCount.'</span> '.__('Task', 'collabpress') .( ( $taskCount == 1 ) ? '' : 's' ) .'</p>'; 
    8888        endif; 
    8989 
     
    9191        if ( $cp_users == 'on' ) : 
    9292            $result = count_users(); 
    93             echo '<p class="overview-count">' .$result['total_users'] .'</span> User' .( ( $result['total_users'] == 1 ) ? '' : 's' ) .'</p>'; 
     93            echo '<p class="overview-count">' .$result['total_users'] .'</span> '.__('User', 'collabpress') .( ( $result['total_users'] == 1 ) ? '' : 's' ) .'</p>'; 
    9494        endif; 
    9595 
  • collabpress/trunk/includes/footer.php

    r336510 r442577  
    11<p class="cp_about"> 
    2     <a target="_blank" href="http://collabpress.org">CollabPress</a> v<?php echo CP_VERSION; ?> - <a href="http://collabpress.org/support/forum/" target="_blank">Please Report Bugs</a> &middot; Follow us on Twitter: <a href="http://twitter.com/collabpress/" target="_blank">CollabPress</a> &middot; <a href="http://twitter.com/scottbasgaard/" target="_blank">Scott</a> &middot; <a href="http://twitter.com/williamsba/" target="_blank">Brad</a> &middot; <a href="http://twitter.com/tweetsfromchris/" target="_blank">Chris</a> &middot; <a href="http://twitter.com/webdevstudios/" target="_blank">WDS</a> 
     2    <a target="_blank" href="http://collabpress.org"><?php _e('CollabPress', 'collabpress'); ?></a> v<?php echo CP_VERSION; ?> - <a href="http://collabpress.org/support/forum/" target="_blank"><?php _e('Please Report Bugs', 'collabpress'); ?></a> &middot; <?php _e('Follow us on Twitter: ', 'collabpress'); ?><a href="http://twitter.com/collabpress/" target="_blank"><?php _e('CollabPress', 'collabpress'); ?></a> &middot; <a href="http://twitter.com/scottbasgaard/" target="_blank"><?php _e('Scott', 'collabpress'); ?></a> &middot; <a href="http://twitter.com/williamsba/" target="_blank"><?php _e('Brad', 'collabpress'); ?></a> &middot; <a href="http://twitter.com/tweetsfromchris/" target="_blank"><?php _e('Chris', 'collabpress'); ?></a> &middot; <a href="http://twitter.com/webdevstudios/" target="_blank"><?php _e('WDS', 'collabpress'); ?></a> &middot; <a href="http://twitter.com/boone/" target="_blank"><?php _e('Boone', 'collabpress'); ?></a> 
    33</p> 
  • collabpress/trunk/includes/functions.php

    r378433 r442577  
    33// Get Page Title 
    44function cp_get_page_title() { 
    5      
     5 
    66    global $cp_dashboard_page; 
    77    global $cp_project_page; 
     
    1111    global $cp_calendar_page; 
    1212    global $cp_view_projects; 
    13      
     13 
    1414    global $cp_project; 
    1515    global $cp_task_list; 
    1616    global $cp_task; 
    1717    global $cp_user; 
    18      
     18 
    1919    // Task 
    2020    if ( $cp_task_page ) : 
    21      
     21 
    2222        // Edit Task 
    2323        if ( isset($_GET['view']) && $_GET['view'] == 'edit' ) : 
    2424            $dashboardTitle = '<h2>'.cp_screen_icon('collabpress').get_the_title($cp_task->id).' - <a title="'.__('Back', 'collabpress').'" href="'.CP_DASHBOARD.'&project='.$cp_project->id.'&task='.$cp_task->id.'">'.__('Back', 'collabpress').'</a></h2>'; 
    25          
     25 
    2626        // Normal Task 
    2727        else : 
    2828            $dashboardTitle = '<h2>'.cp_screen_icon('collabpress').get_the_title($cp_task->id); 
    29                  
     29 
    3030            //check if user can view edit/delete links 
    3131            if ( cp_check_permissions( 'settings_user_role' ) ) { 
     
    3535            $dashboardTitle .= '</h2>'; 
    3636        endif; 
    37      
     37 
    3838    // Task List 
    3939    elseif ( $cp_task_list_page ) : 
    4040        $task_list_desc = get_post_meta( $cp_task_list->id, '_cp-task-list-description', true ); 
    41      
     41 
    4242        // Edit Task List 
    4343        if ( isset($_GET['view']) && $_GET['view'] == 'edit' ) : 
    4444            $dashboardTitle = '<h2>'.cp_screen_icon('collabpress').get_the_title($cp_task_list->id).' - <a title="'.__('Back', 'collabpress').'" href="'.CP_DASHBOARD.'&project='.$cp_project->id.'&task-list='.$cp_task_list->id.'">'.__('Back', 'collabpress').'</a></h2>'; 
    45          
     45 
    4646        // Normal Task List 
    4747        else : 
    4848            $dashboardTitle = '<h2>'.cp_screen_icon('collabpress').get_the_title($cp_task_list->id); 
    49          
     49 
    5050            //check if user can view edit/delete links 
    5151            if ( cp_check_permissions( 'settings_user_role' ) ) { 
     
    5656 
    5757        endif; 
    58      
     58 
    5959        if ($task_list_desc) : $dashboardTitle .= '<p class="description">'.$task_list_desc.'</p>'; endif; 
    60      
     60 
    6161    // Project 
    6262    elseif ( $cp_project_page ) : 
    6363        $project_desc = get_post_meta( $cp_project->id, '_cp-project-description', true ); 
    64          
     64 
    6565        // Edit Project 
    6666        if ( isset($_GET['view']) && $_GET['view'] == 'edit' ) : 
    6767            $dashboardTitle = '<h2>'.cp_screen_icon('collabpress').get_the_title($cp_project->id).' - <a title="'.__('Back', 'collabpress').'" href="'.CP_DASHBOARD.'&project='.$cp_project->id.'">'.__('Back', 'collabpress').'</a></h2>'; 
    68              
     68 
    6969        // Normal Project 
    7070        else : 
     
    7777            //check if user can view edit/delete links 
    7878            if ( cp_check_permissions( 'settings_user_role' ) ) { 
    79                 $dashboardTitle .= ' - <a title="'.__('Edit', 'collabpress').'" href="'.CP_DASHBOARD.'&project='.$cp_project->id.'&view=edit">'.__('Edit', 'collabpress').'</a>&middot; <a href="'. $cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected project, including ALL task lists and tasks in the project.\n\nChoose [Cancel] to Stop, [OK] to delete.\n' ) .'\');if(check==false) return false;">'.__( 'Delete', 'collabpress' ). '</a>'; 
     79                $dashboardTitle .= ' - <a title="'.__('Edit', 'collabpress').'" href="'.CP_DASHBOARD.'&project='.$cp_project->id.'&view=edit">'.__('Edit', 'collabpress').'</a>&middot; <a href="'. $cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected project, including ALL task lists and tasks in the project.\n\nChoose [Cancel] to Stop, [OK] to delete.\n', 'collabpress' ) .'\');if(check==false) return false;">'.__( 'Delete', 'collabpress' ). '</a>'; 
    8080            } 
    8181 
     
    8383 
    8484        endif; 
    85          
     85 
    8686        if ($project_desc) : $dashboardTitle .= '<p class="description">'.$project_desc.'</p>'; endif; 
    87          
     87 
    8888    // User 
    8989    elseif ( $cp_user_page ) : 
    9090        $userdata = get_userdata($cp_user->id); 
    9191        $dashboardTitle = '<h2>'.cp_screen_icon('collabpress').$userdata->display_name.'</h2>'; 
    92          
     92 
    9393    // Calendar 
    9494    elseif ( $cp_calendar_page ) : 
    9595        $dashboardTitle = '<h2>'.cp_screen_icon('collabpress').__('Calendar', 'collabpress').'</h2>'; 
    96          
     96 
    9797    // View All Projects 
    9898    elseif ( $cp_view_projects ) : 
    9999        $dashboardTitle = '<h2>'.cp_screen_icon('collabpress').__('View All Projects', 'collabpress').'</h2>'; 
    100          
     100 
    101101    // Dashboard 
    102102    else : 
    103103        $dashboardTitle = '<h2><a title="'.__('CollabPress Dashboard', 'collabpress').'" href="'.CP_DASHBOARD.'">'.cp_screen_icon('collabpress').__('CollabPress Dashboard', 'collabpress').'</a></h2>'; 
    104104    endif; 
    105      
     105 
    106106    return $dashboardTitle; 
    107107} 
    108108 
    109 // Create breadcrumb  
     109// Create breadcrumb 
    110110function cp_get_breadcrumb() { 
    111111 
     
    128128        echo '<ul>'; 
    129129        if ( $cp_project_page ) : 
    130          
    131             echo '<li class="dash-crumb"><a href="' .CP_DASHBOARD. '">Dashboard</a></li><li class="proj-crumb"><span>' .get_the_title( $cp_project->id ) .'</span></li>'; 
    132      
     130 
     131            echo '<li class="dash-crumb"><a href="' .CP_DASHBOARD. '">'.__('Dashboard', 'collabpress').'</a></li><li class="proj-crumb"><span>' .get_the_title( $cp_project->id ) .'</span></li>'; 
     132 
    133133        elseif ( $cp_task_list_page ) : 
    134134            //load the project ID for this task list 
    135135            $cp_project_id = get_post_meta( $cp_task_list->id, '_cp-project-id', true ); 
    136      
    137             echo '<li class="dash-crumb"><a href="' .CP_DASHBOARD. '">Dashboard</a></li><li class="proj-crumb"><a href="'.CP_DASHBOARD.'&project='.$cp_project_id.'">' .get_the_title($cp_project_id). '</a></li><li class="list-crumb"><span>' .get_the_title($cp_task_list->id).'</span></li>'; 
    138          
     136 
     137            echo '<li class="dash-crumb"><a href="' .CP_DASHBOARD. '">'.__('Dashboard', 'collabpress').'</a></li><li class="proj-crumb"><a href="'.CP_DASHBOARD.'&project='.$cp_project_id.'">' .get_the_title($cp_project_id). '</a></li><li class="list-crumb"><span>' .get_the_title($cp_task_list->id).'</span></li>'; 
     138 
    139139        elseif ( $cp_task_page ) : 
    140140            //load the project ID for this task list 
    141141            $cp_project_id = get_post_meta( $cp_task->id, '_cp-project-id', true ); 
    142      
     142 
    143143            //load the task list ID for this task 
    144144            $cp_task_list_id = get_post_meta( $cp_task->id, '_cp-task-list-id', true ); 
    145          
    146             echo '<li class="dash-crumb"><a href="' .CP_DASHBOARD. '">Dashboard</a></li><li class="proj-crumb"><a href="'.CP_DASHBOARD.'&project='.$cp_project_id.'">' .get_the_title($cp_project_id). '</a></li><li class="list-crumb"><a href="'.CP_DASHBOARD.'&project='.$cp_project_id.'&task-list='.$cp_task_list_id.'">' .get_the_title( $cp_task_list_id ). '</a></li><li class="task-crumb"><span>' .get_the_title( $cp_task->id ).'</span></li>'; 
    147      
     145 
     146            echo '<li class="dash-crumb"><a href="' .CP_DASHBOARD. '">'.__('Dashboard', 'collabpress').'</a></li><li class="proj-crumb"><a href="'.CP_DASHBOARD.'&project='.$cp_project_id.'">' .get_the_title($cp_project_id). '</a></li><li class="list-crumb"><a href="'.CP_DASHBOARD.'&project='.$cp_project_id.'&task-list='.$cp_task_list_id.'">' .get_the_title( $cp_task_list_id ). '</a></li><li class="task-crumb"><span>' .get_the_title( $cp_task->id ).'</span></li>'; 
     147 
    148148        else : 
    149      
    150             echo '<li class="dash-crumb"><span>Dashboard</span></li>'; 
    151              
     149 
     150            echo '<li class="dash-crumb"><span>'.__('Dashboard', 'collabpress').'</span></li>'; 
     151 
    152152        endif; 
    153153        echo '</ul>'; 
     
    172172    $cp_footer = __('Powered by ', 'collabpress').'<a href="http://collabpress.org">'.__( 'CollabPress.org', 'collabpress' ).'</a>.'; 
    173173    $cp_message = $message . "\n\n" .$cp_footer; 
    174      
     174 
    175175    // Send Away 
    176176    wp_mail( $cp_email, $cp_subject, $cp_message ); 
     
    180180// User Notice 
    181181function cp_user_notice($data) { 
    182      
     182 
    183183    // Project Added 
    184184    if ( isset( $data['cp-add-project'] ) ) 
     
    204204    if ( isset( $data['cp-delete-task-list-id'] ) ) 
    205205        echo '<div class="error fade"><p><strong>'.__('Task List Deleted', 'collabpress').'</strong></p></div>'; 
    206      
     206 
    207207    // Task Added 
    208208    if ( isset( $data['cp-add-task'] ) ) 
     
    236236    $activity_id = wp_insert_post( $add_activity ); 
    237237    update_post_meta( $activity_id, '_cp-meta-type', 'activity'); 
    238      
     238 
    239239    // Action 
    240240    if ( $action ) 
     
    249249    if ( $ID ) 
    250250        update_post_meta( $activity_id, '_cp-activity-ID', $ID ); 
     251 
     252    do_action( 'cp_add_activity', $action, $type, $author, $ID, $activity_id ); 
    251253} 
    252254 
     
    258260// List CollabPress Projects 
    259261function cp_projects() { 
    260      
     262 
    261263    // Get Current User 
    262264    global $current_user; 
     
    266268    $projects_args = array( 'post_type' => 'cp-projects', 'showposts' => '-1' ); 
    267269    $projects_query = new WP_Query( $projects_args ); 
    268      
     270 
    269271    // WP_Query(); 
    270272    if ( $projects_query->have_posts() ) : 
    271273        while( $projects_query->have_posts() ) : $projects_query->the_post(); 
    272274 
    273         //generate delete project link 
    274         $cp_del_link = CP_DASHBOARD .'&cp-delete-project-id='.get_the_ID(); 
    275         $cp_del_link = ( function_exists('wp_nonce_url') ) ? wp_nonce_url( $cp_del_link, 'cp-action-delete_project' ) : $cp_del_link; 
    276  
    277         //generate edit project link 
    278         $cp_edit_link = CP_DASHBOARD.'&project='.get_the_ID().'&view=edit'; 
    279  
    280         echo '<p><a href="'.CP_DASHBOARD.'&project='.get_the_ID().'">'.get_the_title().'</a>'; 
    281  
    282         //check if user can view edit/delete links 
    283         if ( cp_check_permissions( 'settings_user_role' ) ) { 
    284             echo ' - <a href="' .$cp_edit_link. '">' .__( 'edit', 'collabpress'). '</a> &middot; <a href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected project, including ALL task lists and tasks in the project.\n\nChoose [Cancel] to Stop, [OK] to delete.\n' ) .'\');if(check==false) return false;">delete</a></p>'; 
     275        //verify logged in user has access to this project 
     276        if ( cp_check_project_permissions( $current_user->ID, get_the_ID() ) ) { 
     277 
     278            //generate delete project link 
     279            $cp_del_link = CP_DASHBOARD .'&cp-delete-project-id='.get_the_ID(); 
     280            $cp_del_link = ( function_exists('wp_nonce_url') ) ? wp_nonce_url( $cp_del_link, 'cp-action-delete_project' ) : $cp_del_link; 
     281 
     282            //generate edit project link 
     283            $cp_edit_link = CP_DASHBOARD.'&project='.get_the_ID().'&view=edit'; 
     284 
     285            echo '<p><a href="'.CP_DASHBOARD.'&project='.get_the_ID().'">'.get_the_title().'</a>'; 
     286 
     287            //check if user can view edit/delete links 
     288            if ( cp_check_permissions( 'settings_user_role' ) ) { 
     289            echo ' - <a href="' .$cp_edit_link. '">' .__( 'edit', 'collabpress'). '</a> &middot; <a href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected project, including ALL task lists and tasks in the project.\n\nChoose [Cancel] to Stop, [OK] to delete.\n', 'collabpress' ) .'\');if(check==false) return false;">'.__('delete', 'collabpress').'</a></p>'; 
     290            } 
     291 
    285292        } 
    286          
     293 
    287294        endwhile; 
    288295        wp_reset_query(); 
    289      
     296 
    290297    // No Results 
    291298    else : 
    292299        echo '<p>'.__( 'No Projects...', 'collabpress' ).'</p>'; 
    293300    endif; 
    294      
     301 
    295302    echo '<p><a class="button" title="'.__('View All Projects', 'collabpress').'" href="'.CP_DASHBOARD.'&view-projects=1">'.__('View All Projects', 'collabpress').'</a></p>'; 
    296      
     303 
    297304} 
    298305 
     
    314321    foreach ($users as $user) { 
    315322        $userdata = get_userdata( $user->ID ); 
    316          
     323 
    317324        if ( ($avatarCount % 4) == 0 ) { 
    318325            $last = 'class="last"'; 
     
    320327            $last = ''; 
    321328        } 
    322          
     329 
    323330        echo '<a '.$last.' title="'.$userdata->display_name.'" href="'.CP_DASHBOARD.'&user='.$userdata->ID.'">'.get_avatar($userdata->ID, '64').'</a>'; 
    324331        $avatarCount++; 
     
    326333        //display users based on setting value 
    327334        if ( $avatarCount > $cp_num_users_display && $limit == 'yes' ) break; 
    328          
     335 
    329336    } 
    330      
     337 
    331338    // Get Current User 
    332339    global $current_user; 
    333340    get_currentuserinfo(); 
    334      
     341 
    335342    if ( $cp_users_count > $cp_num_users_display ) : 
    336343        echo '<div style="clear:both;"></div>'; 
    337344        echo '<p><a title="' .__( 'View All Users', 'collabpress' ) .'" href="' .CP_DASHBOARD .'&allusers=1">' .__( 'View All Users', 'collabpress' ) .'</a></p>'; 
    338345    endif; 
    339      
     346 
    340347} 
    341348 
    342349// Show Overview 
    343350function cp_overview() { 
    344      
     351 
    345352    echo '<div class="cp-overview">'; 
    346      
     353 
    347354    // Project Count 
    348355    $projectCount = wp_count_posts('cp-projects'); 
    349356    $projectCount = $projectCount->publish; 
    350     echo '<p><span class="overview-count">'.$projectCount.'</span> Project'.(($projectCount == 1) ? '' : 's').'</p>'; 
    351      
     357    echo '<p><span class="overview-count">'.$projectCount.'</span> '.__('Project', 'collabpress').(($projectCount == 1) ? '' : 's').'</p>'; 
     358 
    352359    // Task Lists Count 
    353360    $taskListCount = wp_count_posts('cp-task-lists'); 
    354361    $taskListCount = $taskListCount->publish; 
    355     echo '<p><span class="overview-count">'.$taskListCount.'</span> Task List'.(($taskListCount == 1) ? '' : 's').'</p>'; 
    356      
     362    echo '<p><span class="overview-count">'.$taskListCount.'</span> '.__('Task List', 'collabpress').(($taskListCount == 1) ? '' : 's').'</p>'; 
     363 
    357364    // Tasks Count 
    358365    $taskCount = wp_count_posts('cp-tasks'); 
    359366    $taskCount = $taskCount->publish; 
    360     echo '<p><span class="overview-count">'.$taskCount.'</span> Task'.(($taskCount == 1) ? '' : 's').'</p>'; 
    361      
     367    echo '<p><span class="overview-count">'.$taskCount.'</span> '.__('Task', 'collabpress').(($taskCount == 1) ? '' : 's').'</p>'; 
     368 
    362369    // User Count 
    363370    $result = count_users(); 
    364     echo '<p><span class="overview-count">' .$result['total_users'] .'</span> User' .( ( $result['total_users'] == 1 ) ? '' : 's' ) .'</p>'; 
    365      
     371    echo '<p><span class="overview-count">' .$result['total_users'] .'</span> '.__('User', 'collabpress') .( ( $result['total_users'] == 1 ) ? '' : 's' ) .'</p>'; 
     372 
    366373    echo '</div>'; 
    367374} 
     
    374381    <input id="upload_image_button" type="button" value="<?php _e('Click to Upload', 'collabpress'); ?>" /> 
    375382    <?php 
    376      
     383 
    377384    echo '<div id="collabpress-uploaded-files">'; 
    378      
     385 
    379386        $args = array( 
    380387            'post_type' => 'attachment', 
     
    398405            echo '<p>'.__('No file attachments...', 'collabpress') . '</p>'; 
    399406        } 
    400      
     407 
    401408    echo '</div>'; 
    402      
     409 
    403410    echo '</form>'; 
    404411} 
     
    406413// Show Recent Activity 
    407414function cp_recent_activity($data = NULL) { 
    408      
     415 
    409416    // Get Current User 
    410417    global $current_user; 
    411418    get_currentuserinfo(); 
    412      
     419 
    413420    // Get Activities 
    414421    $paged = (isset($_GET['paged'])) ? esc_html($_GET['paged']) : 1; 
     
    422429    $activities_args = array( 'post_type' => 'cp-meta-data', 'showposts' => $cp_num_recent, 'paged' => $paged ); 
    423430    $activities_query = new WP_Query( $activities_args ); 
    424      
     431 
    425432    echo '<div class="cp-activity-list">'; 
    426      
     433 
    427434    // WP_Query(); 
    428435    if ( $activities_query->have_posts() ) : 
     
    450457                <a class="cp-activity-author" title="<?php $activityUser->display_name ?>" href="<?php echo CP_DASHBOARD; ?>&user=<?php echo $activityUser->ID ?>"><?php echo get_avatar($activityUser->ID, 32) ?></a> 
    451458                <div class="cp-activity-wrap"> 
    452                 <p class="cp-activity-description"><?php echo $activityUser->display_name . ' ' . $activityAction . ' a ' . $activityType ?>: <a href="<?php echo cp_get_url( $activityID, $activityType ); ?>"><?php echo get_the_title( $activityID ); ?></a></p> 
     459                <p class="cp-activity-description"><?php echo $activityUser->display_name . ' ' . $activityAction . ' ' . __('a', 'collabpress') . ' '. $activityType ?>: <a href="<?php echo cp_get_url( $activityID, $activityType ); ?>"><?php echo get_the_title( $activityID ); ?></a></p> 
    453460                </div> 
    454461            </div> 
     
    470477        } 
    471478        echo '</p>'; 
    472     } 
    473      
    474     echo '</div>'; 
     479    } ?> 
     480 
     481    <style type="text/css"> 
     482        .cp-activity-list { 
     483            position: relative; 
     484        } 
     485        .cp-activity-row { 
     486            margin: 0; 
     487            overflow: hidden; 
     488            padding: 2px 10px; 
     489        } 
     490        .cp-activity-list .even { 
     491            background-color: #FFFFE0; 
     492        } 
     493        .cp-activity-list .cp-activity-author { 
     494            float: left; 
     495            margin: 5px 0; 
     496        } 
     497        .cp-activity-list .cp-activity-wrap { 
     498            margin: 6px 0; 
     499            overflow: hidden; 
     500            word-wrap: break-word; 
     501        } 
     502        .cp-activity-list p { 
     503            font-size: 11px; 
     504            margin: 6px 6px 8px; 
     505        } 
     506    </style> 
     507 
     508    <?php echo '</div>'; 
    475509} 
    476510 
    477511// Add Task 
    478512function cp_add_task($data = NULL) { 
    479      
     513 
    480514    global $cp_project; 
    481515    global $cp_task_list; 
     
    493527    // WP_Query(); 
    494528    while( $task_list_query->have_posts() ) : $task_list_query->the_post(); 
    495          
     529 
    496530        echo '<form action="'.cp_clean_querystring().'" method="post">'; 
    497531            wp_nonce_field('cp-add-task'); 
     
    517551                            <p> 
    518552                                <?php 
    519                                 wp_dropdown_users( array( 'name' => 'cp-task-assign' ) ); 
     553                                $wp_user_search = new WP_User_Query( array( 'fields' => 'all' ) ); 
     554                                $wp_users = $wp_user_search->get_results(); 
     555 
     556                                $user_list = '<select name="cp-task-assign" id="cp-task-assign">'; 
     557 
     558                                foreach ( $wp_users as $wp_user ) { 
     559                                    //verify user has access to this project 
     560                                    if ( cp_check_project_permissions ( $wp_user->ID, $cp_project->id ) ) { 
     561                                        $user_list .= '<option value="' . $wp_user->ID . '">' . $wp_user->user_login . '</option>'; 
     562                                    } 
     563                                } 
     564                                $user_list .= '</select>'; 
     565 
     566                                                $user_list = apply_filters( 'cp_task_user_list_html', $user_list, false ); 
     567 
     568                                                echo $user_list 
    520569                                ?> 
    521570                            </p> 
     571                        </td> 
     572                    </tr> 
     573                    <tr valign="top"> 
     574                        <th scope="row"><label for="cp-task-priority"><?php _e('Priority: ', 'collabpress') ?></label></th> 
     575                        <td> 
     576                            <select name="cp-task-priority" id="cp-task-priority"> 
     577                                <option value="Urgent">Urgent</option> 
     578                                <option value="High">High</option> 
     579                                <option value="Normal">Normal</option> 
     580                                <option value="Low">Low</option> 
     581                                <option value="Very Low">Very Low</option> 
     582                                <option value="None" selected="selected">None</option> 
     583                            </select> 
    522584                        </td> 
    523585                    </tr> 
     
    539601// Edit Task 
    540602function cp_edit_task() { 
    541      
    542     global $cp_task; 
    543      
     603 
     604    global $cp_task, $cp_project; 
     605 
    544606    echo '<form action="" method="post">'; 
    545607        wp_nonce_field('cp-edit-task'); 
     
    567629                            <?php 
    568630                            $selected = get_post_meta( $cp_task->id, '_cp-task-assign', true ); 
    569                             wp_dropdown_users( array( 'selected' => $selected, 'name' => 'cp-task-assign' ) ); 
     631 
     632                            $wp_user_search = new WP_User_Query( array( 'fields' => 'all' ) ); 
     633                            $wp_users = $wp_user_search->get_results(); 
     634 
     635                            $users = '<select name="cp-task-assign" id="cp-task-assign">'; 
     636                            foreach ( $wp_users as $wp_user ) { 
     637                                //verify user has access to this project 
     638                                if ( cp_check_project_permissions ( $wp_user->ID, $cp_project->id ) ) { 
     639                                    $users .= '<option value="' . $wp_user->ID . '" ' . selected( $wp_user->ID, $selected, false ) . '>' . $wp_user->user_login . '</option>'; 
     640                                } 
     641                            } 
     642                            $users .= '</select>'; 
     643 
     644                            $users = apply_filters( 'cp_task_user_list_html', $users, $selected ); 
     645 
     646                            echo $users; 
    570647                            ?> 
    571648                        </p> 
    572649                    </td> 
    573650                </tr> 
     651                    <tr valign="top"> 
     652                        <th scope="row"><label for="cp-task-priority"><?php _e('Priority: ', 'collabpress') ?></label></th> 
     653                        <td> 
     654                            <?php 
     655                            $task_priority = get_post_meta( $cp_task->id, '_cp-task-priority', true ); 
     656                            ?> 
     657                            <select name="cp-task-priority" id="cp-task-priority"> 
     658                                <option value="Urgent" <?php selected( $task_priority, 'Urgent' ); ?>>Urgent</option> 
     659                                <option value="High" <?php selected( $task_priority, 'High' ); ?>>High</option> 
     660                                <option value="Normal" <?php selected( $task_priority, 'Normal' ); ?>>Normal</option> 
     661                                <option value="Low" <?php selected( $task_priority, 'Low' ); ?>>Low</option> 
     662                                <option value="Very Low" <?php selected( $task_priority, 'Very Low' ); ?>>Very Low</option> 
     663                                <option value="None" <?php selected( $task_priority, 'None' ); ?>>None</option> 
     664                            </select> 
     665                        </td> 
     666                    </tr> 
    574667            </tbody> 
    575668        </table> 
     
    578671 
    579672    echo '</form>'; 
    580      
     673 
    581674} 
    582675 
    583676// Task 
    584677function cp_task() { 
    585      
     678 
    586679        global $cp_project; 
    587680        global $cp_task_list; 
     
    596689        foreach ($tasks_query as $post): 
    597690        setup_postdata($post); 
    598      
     691 
    599692            $user = get_post_meta(get_the_ID(), '_cp-task-assign', true); 
    600693            $user = get_userdata($user); 
    601694 
    602             //get due date 
     695            //get task due date 
    603696            $task_due_date = get_post_meta( get_the_ID(), '_cp-task-due', true ); 
     697 
     698            //get task priority 
     699            $task_priority = get_post_meta( get_the_ID(), '_cp-task-priority', true ); 
    604700 
    605701            //get comment count 
     
    618714 
    619715            //generate edit task link 
    620             $cp_edit_link = CP_DASHBOARD.'&project='.$cp_project->id.'&task='.get_the_ID().'&view=edit'; 
     716            $cp_edit_link = apply_filters( 'cp_task_link', CP_DASHBOARD . '&project=' . $cp_project->id . '&task=' . get_the_ID(), get_the_ID(), $cp_project->id ) . '&view=edit'; 
    621717 
    622718            //check task status 
     
    626722            echo '<div id="cp-gravatar">' .get_avatar( $task_user_id, 32 ). '</div><p><input type="checkbox" name="" value="0" onclick="window.location=\''. $link. '\'; return true;"  /> '; 
    627723 
    628             echo '<a href="'.CP_DASHBOARD.'&project='.$cp_project->id.'&task='.get_the_ID().'">'.get_the_title().'</a> - Due: ' .$task_due_date; 
     724            echo '<a href="' . apply_filters( 'cp_task_link', CP_DASHBOARD . '&project=' . $cp_project->id . '&task=' . get_the_ID(), get_the_ID(), $cp_project->id ) .'">'.get_the_title().'</a> - '.__('Due: ', 'collabpress') .$task_due_date; 
    629725 
    630726            //check if user can view edit/delete links 
    631727            if ( cp_check_permissions( 'settings_user_role' ) ) { 
    632                 echo '  <a href="'.$cp_edit_link.'">' .__('edit', 'collabpress'). '</a> &middot; <a href="'. $cp_del_link .'" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected task.\n\nChoose [Cancel] to Stop, [OK] to delete.\n' ) .'\');if(check==false) return false;">'.__( 'delete', 'collabpress' ). '</a>'; 
     728                echo '  <a href="'.$cp_edit_link.'">' .__('edit', 'collabpress'). '</a> &middot; <a href="'. $cp_del_link .'" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected task.\n\nChoose [Cancel] to Stop, [OK] to delete.\n', 'collabpress' ) .'\');if(check==false) return false;">'.__( 'delete', 'collabpress' ). '</a>'; 
    633729            } 
    634730 
    635731            echo '</p>'; 
    636              
    637             echo $num_comments. ' comments'; 
     732 
     733            echo '<p>Priority: ' .esc_html( $task_priority ); 
     734 
     735            echo ' - ' .$num_comments. ' comments'; 
     736            echo '</p>'; 
    638737            echo '</div>'; 
    639738 
     
    654753        foreach ($tasks_query as $post): 
    655754        setup_postdata($post); 
    656      
     755 
    657756            $user = get_post_meta(get_the_ID(), '_cp-task-assign', true); 
    658757            $user = get_userdata($user); 
     
    681780            } 
    682781 
    683             echo '<a href="'.CP_DASHBOARD.'&project='.$cp_project->id.'&task='.get_the_ID().'">'.get_the_title().'</a> - Due: ' .$task_due_date; 
     782            echo '<a href="'.CP_DASHBOARD.'&project='.$cp_project->id.'&task='.get_the_ID().'">'.get_the_title().'</a> - '.__('Due: ', 'collabpress') .$task_due_date; 
    684783 
    685784            if ( $task_status == 'complete') { 
    686785                echo '</span>'; 
    687786            } 
    688              
     787 
    689788            echo '</p>'; 
    690789 
     
    703802// Add Task list 
    704803function cp_add_task_list() { 
    705      
     804 
    706805    global $cp_project; 
    707      
     806 
    708807    // Get Project 
    709808    $project_args = array ( 'post_type' => 'cp-projects', 
     
    737836            <?php 
    738837            echo '<p class="submit"><input class="button-primary" type="submit" name="cp-add-task-list" value="'.__( 'Submit', 'collabpress' ).'"/></p>'; 
    739          
     838 
    740839        echo '</form>'; 
    741840 
     
    746845// Edit Task List 
    747846function cp_edit_task_list() { 
    748      
     847 
    749848    global $cp_task_list; 
    750      
     849 
    751850    echo '<form action="" method="post">'; 
    752851        wp_nonce_field('cp-edit-task-list'); 
     
    772871        <?php 
    773872        echo '<p class="submit"><input class="button-primary" type="submit" name="cp-edit-task-list" value="'.__( 'Submit', 'collabpress' ).'"/></p>'; 
    774          
     873 
    775874    echo '</form>'; 
    776      
     875 
    777876} 
    778877 
    779878// Task List 
    780879function cp_task_list() { 
    781      
     880 
    782881    global $cp_project; 
    783      
     882 
    784883    // Get Task Lists 
    785884    $task_lists_args = array( 
     
    802901 
    803902    //generate edit task list link 
    804     $cp_edit_link = CP_DASHBOARD .'&project='.$cp_project->id.'&task-list='.get_the_ID().'&view=edit'; 
    805  
    806     echo '<p><a href="'.CP_DASHBOARD.'&project='.$cp_project->id.'&task-list='.get_the_ID().'">'.get_the_title().'</a>'; 
     903    $cp_edit_link = apply_filters( 'cp_task_list_link', CP_DASHBOARD . '&project=' . $cp_project->id . '&task-list=' . get_the_ID(), get_the_ID(), $cp_project->id ) . '&view=edit'; 
     904 
     905    echo '<p><a href="'. apply_filters( 'cp_task_list_link', CP_DASHBOARD . '&project=' . $cp_project->id . '&task-list=' . get_the_ID(), get_the_ID(), $cp_project->id ) . '">'.get_the_title().'</a>'; 
    807906 
    808907    //check if user can view edit/delete links 
    809908    if ( cp_check_permissions( 'settings_user_role' ) ) { 
    810         echo '  - <a href="' .$cp_edit_link. '">edit</a> &middot; <a href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected task list and all tasks in the list.\n\nChoose [Cancel] to Stop, [OK] to delete.\n' ) .'\');if(check==false) return false;">delete</a></p>'; 
     909        echo '  - <a href="' .$cp_edit_link. '">edit</a> &middot; <a href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected task list and all tasks in the list.\n\nChoose [Cancel] to Stop, [OK] to delete.\n', 'collabpress' ) .'\');if(check==false) return false;">'.__('delete', 'collabpress').'</a></p>'; 
    811910    } 
    812      
     911 
    813912    endwhile; 
    814913    wp_reset_query(); 
     
    820919// Add Project 
    821920function cp_add_project() { 
    822      
     921 
    823922    // Get Current User 
    824923    global $current_user; 
    825924    get_currentuserinfo(); 
    826      
     925 
     926    $wp_user_search = new WP_User_Query( array( 'fields' => 'all' ) ); 
     927    $wp_users = $wp_user_search->get_results(); 
     928 
    827929    // Add Project Form 
    828     echo '<form action="'.cp_clean_querystring().'" method="post">'; 
     930    echo '<form action="'.cp_clean_querystring().'" method="post" name="new_project_form">'; 
    829931        wp_nonce_field('cp-add-project'); 
    830932        ?> 
     
    832934            <tbody> 
    833935                <tr valign="top"> 
    834                     <th scope="row"><label for="cp-project"><?php _e('Name: ', 'collabpress') ?></label></th> 
     936                    <th scope="row"><label for="cp-project"><?php _e( 'Name: ', 'collabpress' ) ?></label></th> 
    835937                    <td><p><input type="text" class="regular-text" value="" id="blogname" name="cp-project" /></p></td> 
    836938                </tr> 
    837939                <tr valign="top"> 
    838                     <th scope="row"><?php _e('Description: ', 'collabpress') ?></th> 
     940                    <th scope="row"><?php _e( 'Description: ', 'collabpress' ) ?></th> 
    839941                    <td><fieldset><legend class="screen-reader-text"><span></span></legend> 
    840                         <p><label for="cp-project-description"></label></p> 
    841                         <p> 
    842                             <textarea class="large-text code" id="cp-project-description" cols="30" rows="10" name="cp-project-description"></textarea> 
    843                         </p> 
     942                        <p><label for="cp-project-description"></label></p> 
     943                        <p> 
     944                        <textarea class="large-text code" id="cp-project-description" cols="30" rows="10" name="cp-project-description"></textarea> 
     945                        </p> 
    844946                    </fieldset></td> 
    845947                </tr> 
     948 
     949                <?php if ( !function_exists( 'bp_is_active' ) || !bp_is_active( 'groups' ) || !bp_is_group() ) : ?> 
     950                <tr valign="top"> 
     951                    <th scope="row"><label for="cp-project-users"><?php _e( 'Users: ', 'collabpress' ) ?></label></th> 
     952                    <td> 
     953                    <p> 
     954                        <input type="button" name="CheckAll" value="<?php _e( 'Check All', 'collabpress' ); ?>" onClick="checkAll(document.new_project_form['cp_project_users[]'])" /> 
     955                        <input type="button" name="UnCheckAll" value="<?php _e( 'Uncheck All', 'collabpress' ); ?>" onClick="uncheckAll(document.new_project_form['cp_project_users[]'])" /> 
     956                    </p> 
     957                    <?php 
     958                    foreach ( $wp_users as $wp_user ) { 
     959                        echo '<input type="checkbox" name="cp_project_users[]" value="'.$wp_user->ID .'" checked="checked" />&nbsp;' .$wp_user->user_login .'<br />'; 
     960                    } 
     961                    ?> 
     962                    </td> 
     963                </tr> 
     964                <?php endif ?> 
    846965            </tbody> 
    847966        </table> 
    848967        <?php 
    849968        echo '<p class="submit"><input class="button-primary" type="submit" name="cp-add-project" value="'.__( 'Submit', 'collabpress' ).'"/></p>'; 
    850          
     969 
    851970    echo '</form>'; 
    852971} 
     
    854973// Edit Project 
    855974function cp_edit_project() { 
    856      
    857     global $cp_project; 
    858      
     975 
     976    global $cp_project, $bp; 
     977 
    859978    // Get Current User 
    860979    global $current_user; 
    861980    get_currentuserinfo(); 
    862      
     981 
     982    $wp_user_search = new WP_User_Query( array( 'fields' => 'all' ) ); 
     983    $wp_users = $wp_user_search->get_results(); 
     984 
    863985    // Add Project Form 
    864     echo '<form action="" method="post">'; 
     986    echo '<form action="" method="post" name="edit_project_form">'; 
    865987        wp_nonce_field('cp-edit-project'); 
    866988        ?> 
     
    8811003                    </fieldset></td> 
    8821004                </tr> 
     1005 
     1006                <?php /* Don't show this on BP group tabs */ ?> 
     1007                <?php if ( empty( $bp->groups->current_group ) ) : ?> 
     1008                <tr valign="top"> 
     1009                    <th scope="row"><label for="cp-project-users"><?php _e( 'Users: ', 'collabpress' ) ?></label></th> 
     1010                    <td> 
     1011                    <p> 
     1012                        <input type="button" name="CheckAll" value="<?php _e( 'Check All', 'collabpress' ); ?>" onClick="checkAll(document.edit_project_form['cp_project_users[]'])" /> 
     1013                        <input type="button" name="UnCheckAll" value="<?php _e( 'Uncheck All', 'collabpress' ); ?>" onClick="uncheckAll(document.edit_project_form['cp_project_users[]'])" /> 
     1014                    </p> 
     1015                    <?php 
     1016                    //get existing project users 
     1017                    $cp_project_users = get_post_meta( $cp_project->id, '_cp-project-users', true ); 
     1018 
     1019                    foreach ( $wp_users as $wp_user ) { 
     1020                        if ( is_array( $cp_project_users ) ) { 
     1021                        $checked = ( in_array( $wp_user->ID, $cp_project_users ) ) ? 'checked="checked"' : ''; 
     1022                        }else{ 
     1023                        $checked=''; 
     1024                        } 
     1025                        echo '<input type="checkbox" name="cp_project_users[]" value="'.$wp_user->ID .'" '.$checked.'>&nbsp;' .$wp_user->user_login .'<br />'; 
     1026                    } 
     1027                    ?> 
     1028                    </td> 
     1029                </tr> 
     1030                <?php endif ?> 
    8831031            </tbody> 
    8841032        </table> 
    8851033        <?php 
    8861034        echo '<p class="submit"><input class="button-primary" type="submit" name="cp-edit-project" value="'.__( 'Submit', 'collabpress' ).'"/></p>'; 
    887          
     1035 
    8881036    echo '</form>'; 
    8891037} 
     
    8931041    global $cp_task; 
    8941042    global $cp_project; 
    895      
     1043 
    8961044    // Get Current User 
    8971045    global $current_user; 
     
    8991047 
    9001048    $comments = get_comments('post_id='.$cp_task->id); 
    901      
     1049 
    9021050    echo '<div id="cp_task_comments_wrap">'; 
    903      
     1051 
    9041052    if ($comments) : 
    9051053        $commentCount = 1; 
    9061054        // Display each comment 
    907         foreach( $comments as $comm ) :  
    908          
     1055        foreach( $comments as $comm ) : 
     1056 
    9091057            if ( ($commentCount % 2) == 0 ) { 
    9101058                $row = " even"; 
     
    9121060                $row = " odd"; 
    9131061            } 
    914              
     1062 
    9151063        ?> 
    9161064            <div class="cp_task_comment<?php echo $row ?>"> 
     
    9181066                <div class="cp_task_comment_content"> 
    9191067                    <p class="cp_comment_author"><a title="<?php echo $comm->comment_author ?>" href="<?php echo CP_DASHBOARD; ?>&user=<?php echo $comm->user_id ?>"><?php echo $comm->comment_author ?></a> 
    920                     <?php  
     1068                    <?php 
    9211069                    //generate delete comment link 
    9221070                    $cp_del_link = CP_DASHBOARD .'&project='.$cp_project->id.'&task='.$cp_task->id.'&cp-delete-comment-id='.$comm->comment_ID; 
    9231071                    $cp_del_link = ( function_exists('wp_nonce_url') ) ? wp_nonce_url( $cp_del_link, 'cp-action-delete_comment' ) : $cp_del_link; 
    924                      
     1072 
    9251073                    if ( $current_user->ID == $comm->user_id || current_user_can( 'manage_options' ) ) 
    926                         echo ' - <a href="'.$cp_del_link.'" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected comment.\n\nChoose [Cancel] to Stop, [OK] to delete.\n' ) .'\');if(check==false) return false;">'.__( 'delete', 'collabpress' ). '</a>'; 
     1074                        echo ' - <a href="'.$cp_del_link.'" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected comment.\n\nChoose [Cancel] to Stop, [OK] to delete.\n', 'collabpress' ) .'\');if(check==false) return false;">'.__( 'delete', 'collabpress' ). '</a>'; 
    9271075                    ?> 
    9281076                    </p> 
     
    9301078                </div> 
    9311079            </div> 
    932         <?php  
     1080        <?php 
    9331081            $commentCount++; 
    9341082        endforeach; 
    9351083    // No Comments 
    936     else:  
     1084    else: 
    9371085        echo '<div class="cp_task_comment"><p>'.__('No comments...', 'collabpress').'</p></div>'; 
    9381086    endif; 
    939      
     1087 
    9401088    echo '</div>'; 
    9411089 
     
    9521100        <?php 
    9531101        echo '<p class="submit"><input class="button-primary" type="submit" name="cp-add-comment" value="'.__( 'Submit', 'collabpress' ).'"/></p>'; 
    954          
     1102 
    9551103    echo '</form>'; 
    9561104} 
     
    9581106// User Page 
    9591107function cp_user_page() { 
    960      
     1108 
    9611109    global $wpdb; 
    9621110    global $post; 
    9631111    global $cp_user; 
    9641112    $userdata = get_userdata($cp_user->id); 
    965      
     1113 
    9661114    ?> 
    967      
     1115 
    9681116    <div id="cp_user_page_wrap"> 
    969          
     1117 
    9701118        <?php echo get_avatar($userdata->ID, 128) ?> 
    971          
     1119 
    9721120        <div class="cp_user_page_right"> 
    9731121            <h3><?php _e('Recent Activity', 'collabpress') ?></h3> 
     
    9811129            ORDER BY wposts.post_date DESC "; 
    9821130            $tasks_query = $wpdb->get_results( $wpdb->prepare( $sql, 'activity', $cp_user->id ) ); 
    983          
     1131 
    9841132            // WP_Query(); 
    9851133            if ($tasks_query) : 
    9861134            foreach ($tasks_query as $post): 
    9871135                setup_postdata($post); 
    988                  
     1136 
    9891137                $activityUser = get_post_meta($post->ID, '_cp-activity-author', true); 
    9901138                $activityUser = get_userdata($activityUser); 
     
    9921140                $activityType = get_post_meta($post->ID, '_cp-activity-type', true); 
    9931141                $activityID = get_post_meta($post->ID, '_cp-activity-ID', true); 
    994                  
    9951142                ?> 
    996                  
     1143 
    9971144                    <p><?php echo $activityUser->display_name . ' ' . $activityAction . ' a ' . $activityType ?>: <a href="<?php echo cp_get_url( $activityID, $activityType ); ?>"><?php echo get_the_title( $activityID ); ?></a></p> 
    998                  
     1145 
    9991146                <?php 
    1000                  
     1147 
    10011148            endforeach; 
    10021149            else : 
     
    10141161            ORDER BY wposts.post_date DESC "; 
    10151162            $tasks_query = $wpdb->get_results( $wpdb->prepare( $sql, $cp_user->id, 'open' ) ); 
    1016          
     1163 
    10171164            // WP_Query(); 
    10181165            if ($tasks_query) : 
     
    10261173            ?> 
    10271174        </div> 
    1028          
     1175 
    10291176    </div> 
    1030      
     1177 
    10311178    <?php 
    10321179} 
     
    10351182// CollabPress Calendar 
    10361183function cp_draw_calendar($month = NULL, $year = NULL) { 
    1037      
     1184 
    10381185    echo '<div id="cp-calendar-wrap">'; 
    1039      
     1186 
    10401187    if ( !isset($_GET['month']) && !isset($_GET['day']) ) : 
    10411188        $month = date('n'); 
     
    10451192        $year = absint($_GET['year']); 
    10461193    endif; 
    1047      
     1194 
    10481195    $monthName= date("F",mktime(0,0,0,$month,1,2000)); 
    10491196    echo '<h3 style="clear:both; text-align: center">'.$monthName.' - '.$year.'</h3>'; 
    1050      
     1197 
    10511198    // Previous Link 
    10521199    if ($month == 1) : 
     
    10591206    $previousmonthName= date("F",mktime(0,0,0,$previousMonth,1,2000)) . ', ' . $previousYear; 
    10601207    echo '<a title="" class="cp_previous_month" href="'.CP_DASHBOARD.'&calendar=1&month='.$previousMonth.'&year='.$previousYear.'">'.$previousmonthName.'</a>'; 
    1061      
     1208 
    10621209    // Next Link 
    10631210    if ($month == 12) : 
     
    11001247            $calendar.= '<div class="day-number">'.$list_day.'</div>'; 
    11011248            $formatDate = $month.'/'.$list_day.'/'.$year; 
    1102              
     1249 
    11031250            // Get Task Lists 
    1104             $tasks_args = array( 
     1251            $tasks_args = apply_filters( 'cp_calendar_tasks_args', array( 
    11051252                                'post_type' => 'cp-tasks', 
    11061253                                'meta_key' => '_cp-task-due', 
    11071254                                'meta_value' => $formatDate, 
    11081255                                'showposts' => '-1' 
    1109                                 ); 
     1256                                ) ); 
    11101257            $tasks_query = new WP_Query( $tasks_args ); 
    11111258 
     
    11131260            if ( $tasks_query->have_posts() ) : 
    11141261            while( $tasks_query->have_posts() ) : $tasks_query->the_post(); 
    1115                  
     1262 
    11161263                // Project ID 
    11171264                $projectID = get_post_meta(get_the_ID(), '_cp-project-id', true); 
    11181265                $task_user_id = get_post_meta(get_the_ID(), '_cp-task-assign', true); 
    11191266                $task_status = get_post_meta (get_the_ID(), '_cp-task-status', true); 
    1120                  
     1267 
    11211268                if ($task_status == 'open') : 
    11221269                    $calendar .= '<p><a href="'.cp_get_url(get_the_ID(), 'task').'">'.get_avatar($task_user_id, 32).' '.get_the_title().'</a></p>'; 
     
    11271274            else : 
    11281275            endif; 
    1129              
     1276 
    11301277            $calendar.= str_repeat('<p>&nbsp;</p>',2); 
    1131              
     1278 
    11321279        $calendar.= '</td>'; 
    11331280        if($running_day == 6): 
     
    11541301    /* end the table */ 
    11551302    $calendar.= '</table>'; 
    1156      
     1303 
    11571304    /* all done, return result */ 
    11581305    echo $calendar; 
    1159      
     1306 
    11601307    echo '</div>'; 
    11611308} 
     
    11631310// View All Projects 
    11641311function cp_view_all_projects() { 
    1165      
     1312 
    11661313    // Get Current User 
    11671314    global $current_user; 
     
    11731320    $projects_args = array( 'post_type' => 'cp-projects', 'showposts' => '-1' ); 
    11741321    $projects_query = new WP_Query( $projects_args ); 
    1175      
     1322 
    11761323    // WP_Query(); 
    11771324    if ( $projects_query->have_posts() ) : 
    11781325        while( $projects_query->have_posts() ) : $projects_query->the_post(); 
    11791326 
    1180         //generate delete project link 
    1181         $cp_del_link = CP_DASHBOARD .'&cp-delete-project-id='.get_the_ID(); 
    1182         $cp_del_link = ( function_exists('wp_nonce_url') ) ? wp_nonce_url( $cp_del_link, 'cp-action-delete_project' ) : $cp_del_link; 
    1183  
    1184         //generate edit project link 
    1185         $cp_edit_link = CP_DASHBOARD.'&project='.get_the_ID().'&view=edit'; 
    1186  
    1187         echo '<p><a href="'.CP_DASHBOARD.'&project='.get_the_ID().'">'.get_the_title().'</a>'; 
    1188  
    1189         //check if user can view edit/delete links 
    1190         if ( cp_check_permissions( 'settings_user_role' ) ) { 
    1191             echo ' - <a href="' .$cp_edit_link. '">' .__( 'edit', 'collabpress'). '</a> &middot; <a href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected project, including ALL task lists and tasks in the project.\n\nChoose [Cancel] to Stop, [OK] to delete.\n' ) .'\');if(check==false) return false;">delete</a></p>'; 
     1327        //verify user has permission to view this project 
     1328        if ( cp_check_project_permissions( $current_user->ID, get_the_ID() ) ) { 
     1329 
     1330            //generate delete project link 
     1331            $cp_del_link = CP_DASHBOARD .'&cp-delete-project-id='.get_the_ID(); 
     1332            $cp_del_link = ( function_exists('wp_nonce_url') ) ? wp_nonce_url( $cp_del_link, 'cp-action-delete_project' ) : $cp_del_link; 
     1333 
     1334            //generate edit project link 
     1335            $cp_edit_link = CP_DASHBOARD.'&project='.get_the_ID().'&view=edit'; 
     1336 
     1337            echo '<p><a href="'.CP_DASHBOARD.'&project='.get_the_ID().'">'.get_the_title().'</a>'; 
     1338 
     1339            //check if user can view edit/delete links 
     1340            if ( cp_check_permissions( 'settings_user_role' ) ) { 
     1341            echo ' - <a href="' .$cp_edit_link. '">' .__( 'edit', 'collabpress'). '</a> &middot; <a href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected project, including ALL task lists and tasks in the project.\n\nChoose [Cancel] to Stop, [OK] to delete.\n', 'collabpress' ) .'\');if(check==false) return false;">'.__('delete', 'collabpress').'</a></p>'; 
     1342            } 
     1343 
    11921344        } 
    1193          
     1345 
    11941346        endwhile; 
    11951347        wp_reset_query(); 
    1196      
     1348 
    11971349    // No Results 
    11981350    else : 
    11991351        echo '<p>'.__( 'No Projects...', 'collabpress' ).'</p>'; 
    12001352    endif; 
    1201      
     1353 
    12021354} 
    12031355 
     
    12451397    endif; 
    12461398 
    1247     return $cp_url; 
     1399    // Constructs a custom filter for each type. Annoying, but this is how the CP-BP filters work 
     1400    $filter_name = 'task list' == $type ? 'cp_task_list_link' : 'cp_' . $type . '_link'; 
     1401 
     1402    return apply_filters( $filter_name, $cp_url, $ID ); 
    12481403} 
    12491404 
     
    12511406function cp_get_tasks( $task_list_id, $status ) { 
    12521407    global $wpdb; 
    1253      
     1408 
    12541409    if ( $task_list_id && $status ) { 
    12551410        $sql = " SELECT wposts.* FROM $wpdb->posts wposts 
     
    12651420 
    12661421// Validate Date 
    1267 function cp_validate_date( $value = NULL ) {  
     1422function cp_validate_date( $value = NULL ) { 
    12681423    return preg_match( '`^\d{1,2}/\d{1,2}/\d{4}$`' , $value ); 
    12691424} 
     
    12711426// Check user permissions 
    12721427function cp_check_permissions( $type = NULL ) { 
    1273      
     1428 
    12741429    //load settings user role 
    12751430    $options = get_option( 'cp_options' ); 
     
    12851440 
    12861441            return true; 
    1287              
     1442 
    12881443        endif; 
    12891444 
     
    12911446 
    12921447    return false; 
    1293      
     1448 
    12941449} 
    12951450 
     
    13111466    return $cp_cleaned_querystring; 
    13121467} 
     1468 
     1469//verify user has access to view a project 
     1470function cp_check_project_permissions( $user_id=1, $project_id=1 ) { 
     1471 
     1472    $cp_project_users = get_post_meta( $project_id, '_cp-project-users', true ); 
     1473    $has_access = false; 
     1474 
     1475    if ( is_array( $cp_project_users ) ) { 
     1476    if ( in_array( $user_id, $cp_project_users ) ) { 
     1477        $has_access = true; 
     1478    } 
     1479    }else{ 
     1480    //old projects don't have users set so allow access 
     1481    $has_access = true; 
     1482    } 
     1483 
     1484    return apply_filters( 'cp_check_project_permissions', $has_access, $user_id, $project_id, $cp_project_users ); 
     1485} 
     1486 
     1487/** 
     1488 * Utility function for calling up CP's options array, providing any necessary defaults 
     1489 * 
     1490 * @package CollabPress 
     1491 * @since 1.2 
     1492 * 
     1493 * @return array $options 
     1494 */ 
     1495function cp_get_options() { 
     1496    $options = get_option('cp_options'); 
     1497 
     1498    $saved_options = $options; 
     1499 
     1500    // BP settings 
     1501    if ( function_exists( 'bp_is_active' ) ) { 
     1502        // Set some defaults if necessary 
     1503        if ( empty( $options['bp'] ) ) { 
     1504            $options['bp'] = array(); 
     1505        } 
     1506 
     1507        // Default group settings 
     1508        if ( bp_is_active( 'groups' ) ) { 
     1509            $groups_defaults = array( 
     1510                'groups_enabled'        => 'enabled', 
     1511                'groups_admins_can_disable'     => 'allow', 
     1512                'groups_admins_can_customize'   => 'allow', 
     1513                'groups_default_tab_name'   => __( 'Projects', 'collabpress' ), 
     1514                'groups_default_tab_slug'   => sanitize_title( __( 'Projects', 'collabpress' ) ) 
     1515            ); 
     1516 
     1517            foreach ( $groups_defaults as $key => $value ) { 
     1518                if ( !isset( $options['bp'][$key] ) ) 
     1519                    $options['bp'][$key] = $value; 
     1520            } 
     1521        } 
     1522    } 
     1523 
     1524    return apply_filters( 'cp_get_options', $options, $saved_options ); 
     1525} 
  • collabpress/trunk/includes/menus/dashboard.php

    r378433 r442577  
    6969        $cp_settings_user_role = ( isset( $cp_options['settings_user_role'] ) ) ? esc_attr( $cp_options['settings_user_role'] ) : 'manage_options'; 
    7070 
    71         $this->pagehook = add_menu_page( 'CollabPress Dashboard', 'CollabPress', $cp_user_role, COLLABPRESS_DASHBOARD_PAGE, array( &$this, 'on_show_page' ), CP_PLUGIN_URL .'includes/images/collabpress-menu-icon.png' ); 
     71        $this->pagehook = add_menu_page( __('CollabPress Dashboard', 'collabpress'), __('CollabPress', 'collabpress'), $cp_user_role, COLLABPRESS_DASHBOARD_PAGE, array( &$this, 'on_show_page' ), CP_PLUGIN_URL .'includes/images/collabpress-menu-icon.png' ); 
    7272        // Call Back 
    7373        add_action('load-'.$this->pagehook, array(&$this, 'on_load_page')); 
     
    129129     
    130130    // Before Render 
    131     function on_load_page() { 
     131    function on_load_page( $args = array() ) { 
    132132         
    133133        global $current_user; 
     
    148148        global $cp_user; 
    149149 
    150         if ( isset($_GET['project']) ) : 
     150        // Set up the default keys 
     151        $defaults = array( 
     152            'project'    => false, 
     153            'task'       => false, 
     154            'task_list'      => false, 
     155            'user'       => false, 
     156            'all_users'      => false, 
     157            'calendar'   => false, 
     158            'view_projects'  => false, 
     159            'add_meta_boxes' => true 
     160        ); 
     161 
     162        // Get values out of $_GET, if available 
     163        foreach ( $defaults as $key => $value ) { 
     164            // $_GET keys have dashes instead of underscores 
     165            $gkey = str_replace( '_', '-', $key); 
     166 
     167            if ( isset( $_GET[$gkey] ) ) { 
     168                $defaults[$key] = $_GET[$gkey]; 
     169            } 
     170        } 
     171         
     172        $r = wp_parse_args( $args, $defaults ); 
     173        extract( $r, EXTR_SKIP ); 
     174 
     175        if ( $project ) : 
    151176             
    152177            // Set Project ID 
    153178            $cp_project = new CP_Project(); 
    154             $cp_project->id = absint( $_GET['project'] ); 
     179            $cp_project->id = absint( $project ); 
    155180         
    156181            // Task Page 
    157             if ( isset($_GET['task']) ) : 
     182            if ( $task ) : 
    158183             
    159184                // Set Task List ID 
    160185                $cp_task = new CP_Task(); 
    161                 $cp_task->id = absint( $_GET['task'] ); 
     186                $cp_task->id = absint( $task ); 
    162187                 
    163188                $cp_task_page = true; 
    164189             
    165190            // Task List Page 
    166             elseif ( isset($_GET['task-list']) ) : 
     191            elseif ( $task_list ) : 
    167192             
    168193                // Set Task List ID 
    169194                $cp_task_list = new CP_TaskList(); 
    170                 $cp_task_list->id = absint( $_GET['task-list'] ); 
     195                $cp_task_list->id = absint( $task_list ); 
    171196                 
    172197                $cp_task_list_page = true; 
     
    180205         
    181206        // User Page 
    182         elseif ( isset($_GET['user']) ) : 
     207        elseif ( $user ) : 
    183208         
    184209            // Set User ID 
    185210            $cp_user = new CP_User(); 
    186             $cp_user->id = absint( $_GET['user'] ); 
     211            $cp_user->id = absint( $user ); 
    187212         
    188213            $cp_user_page = true; 
    189214 
    190215        // All Users Page 
    191         elseif ( isset( $_GET['allusers'] ) ) : 
     216        elseif ( $all_users ) : 
    192217            $cp_all_users_page = true; 
    193218             
    194219        // Calendar Page 
    195         elseif ( isset($_GET['calendar']) ) : 
     220        elseif ( $calendar ) : 
    196221            $cp_calendar_page = true; 
    197222             
    198223        // View Projects 
    199         elseif ( isset($_GET['view-projects']) ) : 
     224        elseif ( $view_projects ) : 
    200225            $cp_view_projects = true; 
    201226             
    202         // Dashbaord 
     227        // Dashboard 
    203228        else: 
    204229            $cp_dashboard_page = true; 
     
    218243        /* Add Meta Boxes */ 
    219244         
    220         // Core Sidebar 
    221         add_meta_box('cp-sidebar-meta-box-calendar', __('Calendar', 'collabpress'), array(&$this, 'cp_calendar_meta'), $this->pagehook, 'collabpress-side', 'core'); 
    222         add_meta_box('cp-sidebar-meta-box-projects', __('Projects', 'collabpress'), array(&$this, 'cp_projects_meta'), $this->pagehook, 'collabpress-side', 'core'); 
    223         add_meta_box('cp-sidebar-meta-box-users', __('Users', 'collabpress'), array(&$this, 'cp_users_meta'), $this->pagehook, 'collabpress-side', 'core'); 
    224         add_meta_box('cp-sidebar-meta-box-overview', __('Overview', 'collabpress'), array(&$this, 'cp_overview_meta'), $this->pagehook, 'collabpress-side', 'core'); 
    225          
    226         // Dashboard Landing 
    227         if ($cp_dashboard_page) : 
    228             add_meta_box('cp-recent-activity', __('Recent Activity', 'collabpress'), array(&$this, 'cp_recent_activity_meta'), $this->pagehook, 'collabpress-project', 'core'); 
    229             add_meta_box('cp-add-project', __('Add New Project', 'collabpress'), array(&$this, 'cp_add_project_meta'), $this->pagehook, 'collabpress-project', 'core'); 
    230             add_meta_box('cp-edit-project', __('Edit Project', 'collabpress'), array(&$this, 'cp_edit_project_meta'), $this->pagehook, 'collabpress-project-edit', 'core'); 
    231         endif; 
    232          
    233         // Project 
    234         if ($cp_project_page) : 
    235             // Main 
    236             add_meta_box('cp-add-task-list', __('Add New Task List', 'collabpress'), array(&$this, 'cp_add_task_list_meta'), $this->pagehook, 'collabpress-task-list', 'core'); 
    237             add_meta_box('cp-edit-task-list', __('Edit Task List', 'collabpress'), array(&$this, 'cp_edit_task_list_meta'), $this->pagehook, 'collabpress-task-list-edit', 'core'); 
    238             add_meta_box('cp-query-task-list', __('Project Overview', 'collabpress'), array(&$this, 'cp_task_list_meta'), $this->pagehook, 'collabpress-task-list-query', 'core'); 
    239             // Sidebar 
    240             add_meta_box('cp-sidebar-meta-box-files', __('Files', 'collabpress'), array(&$this, 'cp_files_meta'), $this->pagehook, 'collabpress-files', 'core'); 
    241             add_meta_box('cp-edit-project', __('Edit Project', 'collabpress'), array(&$this, 'cp_edit_project_meta'), $this->pagehook, 'collabpress-project-edit', 'core'); 
    242         endif; 
    243          
    244         // Tasks List 
    245         if ($cp_task_list_page) : 
    246             // Main 
    247             add_meta_box('cp-add-task', __('Add New Task', 'collabpress'), array(&$this, 'cp_add_task_meta'), $this->pagehook, 'collabpress-task', 'core'); 
    248             add_meta_box('cp-edit-task', __('Edit Task', 'collabpress'), array(&$this, 'cp_edit_task_list_meta'), $this->pagehook, 'collabpress-task-list-edit', 'core'); 
    249             add_meta_box('cp-query-task', __('Task List Overview', 'collabpress'), array(&$this, 'cp_task_meta'), $this->pagehook, 'collabpress-task-query', 'core'); 
    250             // Sidebar 
    251             add_meta_box('cp-sidebar-meta-box-files', __('Files', 'collabpress'), array(&$this, 'cp_files_meta'), $this->pagehook, 'collabpress-files', 'core'); 
    252         endif; 
    253          
    254         // Task 
    255         if ($cp_task_page) : 
    256             // Main 
    257             add_meta_box('cp-edit-task', __('Edit Task', 'collabpress'), array(&$this, 'cp_edit_task_meta'), $this->pagehook, 'collabpress-task-edit', 'core'); 
    258             // Sidebar 
    259             add_meta_box('cp-sidebar-meta-box-files', __('Files', 'collabpress'), array(&$this, 'cp_files_meta'), $this->pagehook, 'collabpress-files', 'core'); 
    260         endif; 
    261          
    262         // Footer 
    263         add_meta_box('cp-footer', __('Credits', 'collabpress'), array(&$this, 'cp_footer_meta'), $this->pagehook, 'collabpress-footer', 'core'); 
     245        if ( $add_meta_boxes ) { 
     246            // Core Sidebar 
     247            add_meta_box('cp-sidebar-meta-box-calendar', __('Calendar', 'collabpress'), array(&$this, 'cp_calendar_meta'), $this->pagehook, 'collabpress-side', 'core'); 
     248            add_meta_box('cp-sidebar-meta-box-projects', __('Projects', 'collabpress'), array(&$this, 'cp_projects_meta'), $this->pagehook, 'collabpress-side', 'core'); 
     249            add_meta_box('cp-sidebar-meta-box-users', __('Users', 'collabpress'), array(&$this, 'cp_users_meta'), $this->pagehook, 'collabpress-side', 'core'); 
     250            add_meta_box('cp-sidebar-meta-box-overview', __('Overview', 'collabpress'), array(&$this, 'cp_overview_meta'), $this->pagehook, 'collabpress-side', 'core'); 
     251             
     252            // Dashboard Landing 
     253            if ($cp_dashboard_page) : 
     254                add_meta_box('cp-recent-activity', __('Recent Activity', 'collabpress'), array(&$this, 'cp_recent_activity_meta'), $this->pagehook, 'collabpress-project', 'core'); 
     255                add_meta_box('cp-add-project', __('Add New Project', 'collabpress'), array(&$this, 'cp_add_project_meta'), $this->pagehook, 'collabpress-project', 'core'); 
     256                add_meta_box('cp-edit-project', __('Edit Project', 'collabpress'), array(&$this, 'cp_edit_project_meta'), $this->pagehook, 'collabpress-project-edit', 'core'); 
     257            endif; 
     258             
     259            // Project 
     260            if ($cp_project_page) : 
     261     
     262                //verify user has permission to view the project 
     263                if ( cp_check_project_permissions( $current_user->ID, $cp_project->id ) ) { 
     264                // Main 
     265                add_meta_box('cp-add-task-list', __('Add New Task List', 'collabpress'), array(&$this, 'cp_add_task_list_meta'), $this->pagehook, 'collabpress-task-list', 'core'); 
     266                add_meta_box('cp-edit-task-list', __('Edit Task List', 'collabpress'), array(&$this, 'cp_edit_task_list_meta'), $this->pagehook, 'collabpress-task-list-edit', 'core'); 
     267                add_meta_box('cp-query-task-list', __('Project Overview', 'collabpress'), array(&$this, 'cp_task_list_meta'), $this->pagehook, 'collabpress-task-list-query', 'core'); 
     268                // Sidebar 
     269                add_meta_box('cp-sidebar-meta-box-files', __('Files', 'collabpress'), array(&$this, 'cp_files_meta'), $this->pagehook, 'collabpress-files', 'core'); 
     270                add_meta_box('cp-edit-project', __('Edit Project', 'collabpress'), array(&$this, 'cp_edit_project_meta'), $this->pagehook, 'collabpress-project-edit', 'core'); 
     271                }else{ 
     272                wp_redirect( CP_DASHBOARD ); 
     273                } 
     274                 
     275            endif; 
     276             
     277            // Tasks List 
     278            if ($cp_task_list_page) : 
     279                // Main 
     280                add_meta_box('cp-add-task', __('Add New Task', 'collabpress'), array(&$this, 'cp_add_task_meta'), $this->pagehook, 'collabpress-task', 'core'); 
     281                add_meta_box('cp-edit-task', __('Edit Task', 'collabpress'), array(&$this, 'cp_edit_task_list_meta'), $this->pagehook, 'collabpress-task-list-edit', 'core'); 
     282                add_meta_box('cp-query-task', __('Task List Overview', 'collabpress'), array(&$this, 'cp_task_meta'), $this->pagehook, 'collabpress-task-query', 'core'); 
     283                // Sidebar 
     284                add_meta_box('cp-sidebar-meta-box-files', __('Files', 'collabpress'), array(&$this, 'cp_files_meta'), $this->pagehook, 'collabpress-files', 'core'); 
     285            endif; 
     286             
     287            // Task 
     288            if ($cp_task_page) : 
     289                // Main 
     290                add_meta_box('cp-edit-task', __('Edit Task', 'collabpress'), array(&$this, 'cp_edit_task_meta'), $this->pagehook, 'collabpress-task-edit', 'core'); 
     291                // Sidebar 
     292                add_meta_box('cp-sidebar-meta-box-files', __('Files', 'collabpress'), array(&$this, 'cp_files_meta'), $this->pagehook, 'collabpress-files', 'core'); 
     293            endif; 
     294             
     295            // Footer 
     296            add_meta_box('cp-footer', __('Credits', 'collabpress'), array(&$this, 'cp_footer_meta'), $this->pagehook, 'collabpress-footer', 'core'); 
     297        } 
    264298    } 
    265299     
  • collabpress/trunk/includes/menus/debug.php

    r336510 r442577  
    2929                foreach ( $field_values as $key => $value ) { 
    3030                    echo '<p style="font-weight:bold; color: blue;">'.__('name: ', 'collabpress'). $field_key . '</strong></p>'; 
    31                     echo '<p><strong>value</strong>: '. $value . '</p>'; 
     31                    echo '<p><strong>'.__('value', 'collabpress').'</strong>: '. $value . '</p>'; 
    3232                } 
    3333            } 
     
    106106        <form method="post"> 
    107107            <input type="hidden" name="cp-delete-data" /> 
    108             <label for="cp-debug-delete-all">Delete All CollabPress Data: </label> 
    109             <input type="submit" name="<?php _e('cp-debug-delete-all', 'collabpress') ?>" value="<?php _e('Submit', 'collabpress') ?>" /> 
     108            <label for="cp-debug-delete-all"><?php _e('Delete All CollabPress Data: ', 'collabpress'); ?></label> 
     109            <input type="submit" name="cp-debug-delete-all" value="<?php _e('Submit', 'collabpress') ?>" /> 
    110110            <br /><br /> 
    111             <label for="cp-debug-delete-all">Delete CollabPress Projects: </label> 
    112             <input type="submit" name="<?php _e('cp-debug-delete-projects', 'collabpress') ?>" value="<?php _e('Submit', 'collabpress') ?>" /> 
     111            <label for="cp-debug-delete-all"><?php _e('Delete CollabPress Projects: ', 'collabpress'); ?></label> 
     112            <input type="submit" name="cp-debug-delete-projects" value="<?php _e('Submit', 'collabpress') ?>" /> 
    113113            <br /><br /> 
    114             <label for="cp-debug-delete-all">Delete CollabPress Task Lists: </label> 
    115             <input type="submit" name="<?php _e('cp-debug-delete-task-lists', 'collabpress') ?>" value="<?php _e('Submit', 'collabpress') ?>" /> 
     114            <label for="cp-debug-delete-all"><?php _e('Delete CollabPress Task Lists: ', 'collabpress'); ?></label> 
     115            <input type="submit" name="cp-debug-delete-task-lists" value="<?php _e('Submit', 'collabpress') ?>" /> 
    116116            <br /><br /> 
    117             <label for="cp-debug-delete-all">Delete CollabPress Tasks: </label> 
    118             <input type="submit" name="<?php _e('cp-debug-delete-tasks', 'collabpress') ?>" value="<?php _e('Submit', 'collabpress') ?>" /> 
     117            <label for="cp-debug-delete-all"><?php _e('Delete CollabPress Tasks: ', 'collabpress'); ?></label> 
     118            <input type="submit" name="cp-debug-delete-tasks" value="<?php _e('Submit', 'collabpress') ?>" /> 
    119119            <br /><br /> 
    120             <label for="cp-debug-delete-all">Delete CollabPress Meta Data: </label> 
    121             <input type="submit" name="<?php _e('cp-debug-delete-meta-data', 'collabpress') ?>" value="<?php _e('Submit', 'collabpress') ?>" /> 
     120            <label for="cp-debug-delete-all"><?php _e('Delete CollabPress Meta Data: ', 'collabpress'); ?></label> 
     121            <input type="submit" name="cp-debug-delete-meta-data" value="<?php _e('Submit', 'collabpress') ?>" /> 
    122122        </form> 
    123123 
  • collabpress/trunk/includes/menus/help.php

    r340822 r442577  
    88        <h3><?php _e( 'Shortcode Legend', 'collabpress' ); ?></h3> 
    99        <p><strong>[collabpress]</strong> - <?php _e( 'Add full CollabPress support to the front-end of WordPress.  View/edit/delete all projects, task-lists, tasks, and comments.', 'collabpress' ); ?></p> 
    10         <p><strong><a href="admin.php?page=collabpress-settings">Set user role</a></strong> for front-end [collabpress] shortcode support</p> 
     10        <p><strong><a href="admin.php?page=collabpress-settings"><?php _e('Set user role', 'collabpress'); ?></a></strong> <?php _e('for front-end [collabpress] shortcode support', 'collabpress'); ?></p> 
    1111        <h3><?php _e( 'Support and Info', 'collabpress' ); ?></h3> 
    12         <p>Visit the <a href="<?php echo esc_url( 'http://collabpress.org/support/forum/' ); ?>" target="_blank">CollabPress Support Forum</a> &middot; <a href="http://twitter.com/collabpress" target="_blank"><?php _e( 'Follow on Twitter', 'collabpress' ); ?></a> &middot; <a href="http://collabpress.org/stay-informed/" target="_blank"><?php _e( 'Subscribe via Email', 'collabpress' ); ?></a></p> 
    13         <h3><?php _e( 'Donate', 'collabpress' ); ?></h3> 
    14         <p>Please donate to the development of CollabPress: 
     12        <p><?php _e('Visit the', 'collabpress'); ?> <a href="<?php echo esc_url( 'http://collabpress.org/support/forum/' ); ?>" target="_blank"><?php _e('CollabPress Support Forum', 'collabpress'); ?></a> &middot; <a href="http://twitter.com/collabpress" target="_blank"><?php _e( 'Follow on Twitter', 'collabpress' ); ?></a> &middot; <a href="http://collabpress.org/stay-informed/" target="_blank"><?php _e( 'Subscribe via Email', 'collabpress' ); ?></a></p> 
     13        <h3><?php _e( 'FAQ', 'collabpress' ); ?></h3> 
     14        <p><strong>Q: Why isn't CollabPress working with BuddyPress?</strong></p> 
     15        <p>A: CollabPress requires BuddyPress v1.5 or higher to work.  You can download a copy on the <a href="http://buddypress.org/blog/" target="_blank">BuddyPress site</a>.</p> 
     16        <h3><?php _e( 'Donate', 'collabpress' ); ?></h3> 
     17        <p><?php _e('Please donate to the development of CollabPress:', 'collabpress'); ?> 
    1518            <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> 
    1619            <input type="hidden" name="cmd" value="_s-xclick"> 
    1720            <input type="hidden" name="hosted_button_id" value="JHLW4KL7ZUZPY"> 
    18             <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> 
     21            <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="<?php _e('PayPal - The safer, easier way to pay online!', 'collabpress'); ?>"> 
    1922            <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> 
    2023            </form> 
  • collabpress/trunk/includes/menus/isset/comment.php

    r336510 r442577  
    3838        $author_email = $task_author_data->user_email; 
    3939 
    40         $subject = 'New comment on task ' .get_the_title( $cp_task->id ); 
     40        $subject = __('New comment on task ', 'collabpress') .get_the_title( $cp_task->id ); 
    4141         
    42         $message = "There is a new comment on your task from " .$current_user->display_name. ": " .get_the_title( $cp_task->id ) ."\n\n"; 
    43         $message .= "Comment:\n"; 
     42        $message = __("There is a new comment on your task from ", "collabpress") .$current_user->display_name. ": " .get_the_title( $cp_task->id ) ."\n\n"; 
     43        $message .= __("Comment:", "collabpress") . "\n"; 
    4444        $message .= esc_html( $_POST['cp-comment-content'] ); 
    4545 
  • collabpress/trunk/includes/menus/isset/project.php

    r336510 r442577  
    1414     
    1515    update_post_meta( $project_id, '_cp-project-description', esc_html($_POST['cp-project-description']) ); 
     16 
     17    $cp_project_users = ( !empty($_POST['cp_project_users']) ) ? array_map( 'absint', $_POST['cp_project_users'] ) : array( 1 ); 
     18    update_post_meta( $project_id, '_cp-project-users', $cp_project_users ); 
    1619     
    1720    // Add Activity 
    1821    cp_add_activity(__('added', 'collabpress'), __('project', 'collabpress'), $current_user->ID, $project_id); 
     22     
     23    do_action( 'cp_project_added', $project_id ); 
    1924 
    2025endif; 
     
    3540        $project['post_title'] = esc_html( $_POST['cp-project'] ); 
    3641        wp_update_post( $project ); 
     42 
    3743        update_post_meta( $projectID, '_cp-project-description', esc_html( $_POST['cp-project-description'] ) ); 
     44 
     45        $cp_project_users = ( !empty($_POST['cp_project_users']) ) ? array_map( 'absint', $_POST['cp_project_users'] ) : array( 1 ); 
     46        update_post_meta( $projectID, '_cp-project-users', $cp_project_users ); 
    3847 
    3948        // Add Activity 
    4049        cp_add_activity(__('updated', 'collabpress'), __('project', 'collabpress'), $current_user->ID, $projectID); 
    4150 
     51        do_action( 'cp_project_edited', $projectID ); 
    4252    } 
    4353 
     
    6979    if ( $tasks_query->have_posts() ) : 
    7080        while( $tasks_query->have_posts() ) : $tasks_query->the_post(); 
     81        $project_id = get_the_ID(); 
    7182 
    7283        //delete the task 
     
    97108    //add activity log 
    98109    cp_add_activity(__('deleted', 'collabpress'), __('project', 'collabpress'), $current_user->ID, $cp_project_id ); 
     110     
     111    do_action( 'cp_project_deleted', $project_id ); 
    99112 
    100113    } 
  • collabpress/trunk/includes/menus/isset/task-list.php

    r336510 r442577  
    11<?php 
    22 
    3 global $cp_project; 
     3global $cp_project, $cp_bp_integration; 
    44 
    55// Add Task List 
     
    99 
    1010    $add_task_list = array( 
    11                         'post_title' => esc_html($_POST['cp-task-list']), 
    12                         'post_status' => 'publish', 
    13                         'post_type' => 'cp-task-lists' 
    14                         ); 
     11                'post_title' => esc_html($_POST['cp-task-list']), 
     12                'post_status' => 'publish', 
     13                'post_type' => 'cp-task-lists' 
     14                ); 
    1515    $task_list_id = wp_insert_post( $add_task_list ); 
    1616 
    17     if ( isset($_GET['project']) ) 
     17    if ( isset( $_GET['project'] ) || ( isset( $cp_bp_integration->current_view ) && 'project' == $cp_bp_integration->current_view ) ) 
    1818        update_post_meta( $task_list_id, '_cp-project-id', $cp_project->id ); 
    1919    if ( isset($_POST['cp-task-list-description']) ) 
     
    2222    // Add Activity 
    2323    cp_add_activity(__('added', 'collabpress'), __('task list', 'collabpress'), $current_user->ID, $task_list_id); 
     24     
     25    do_action( 'cp_task_list_added', $task_list_id ); 
    2426 
    2527endif; 
     
    4547    cp_add_activity(__('updated', 'collabpress'), __('task list', 'collabpress'), $current_user->ID, $tasklistID); 
    4648 
     49    do_action( 'cp_task_list_edited', $tasklistID ); 
    4750    } 
    4851 
     
    7477    if ( $tasks_query->have_posts() ) : 
    7578        while( $tasks_query->have_posts() ) : $tasks_query->the_post(); 
    76  
    7779        //delete the task 
    7880        wp_delete_post( get_the_ID(), true ); 
    79  
    8081        endwhile; 
    8182    endif; 
     83     
     84    do_action( 'cp_task_list_deleted', $cp_task_list_id );  
    8285 
    8386    } 
  • collabpress/trunk/includes/menus/isset/task.php

    r336510 r442577  
    33global $cp_project; 
    44global $cp_task_list; 
     5global $cp_bp_integration; 
    56 
    67// Add Task 
     
    1920    update_post_meta( $task_id, '_cp-task-status', 'open' ); 
    2021 
    21     if ( isset($_GET['project']) ) 
    22         update_post_meta( $task_id, '_cp-project-id', $cp_project->id ); 
    23     if ( isset($_GET['task-list']) ) 
    24         update_post_meta( $task_id, '_cp-task-list-id', $cp_task_list->id ); 
     22    if ( isset($_GET['project']) || $cp_bp_integration->get_current_item_project() ) { 
     23        if ( !$project_id = $cp_bp_integration->get_current_item_project() ) 
     24            $project_id = $cp_project->id; 
     25        update_post_meta( $task_id, '_cp-project-id', $project_id ); 
     26    } 
     27 
     28    if ( isset($_GET['task-list']) || $cp_bp_integration->get_current_item_task_list() ) { 
     29        if ( !$task_list_id = $cp_bp_integration->get_current_item_task_list() ) 
     30            $task_list_id = $cp_task_list->id; 
     31        update_post_meta( $task_id, '_cp-task-list-id', $task_list_id ); 
     32    } 
     33 
    2534    if ( isset($_POST['cp-task-due']) ) : 
    2635        // Validate Date 
     
    3241        update_post_meta( $task_id, '_cp-task-due', $taskDate ); 
    3342    endif; 
     43 
     44    //save the user assignment 
    3445    if ( isset($_POST['cp-task-assign']) ) 
    3546        update_post_meta( $task_id, '_cp-task-assign', absint($_POST['cp-task-assign']) ); 
    36      
     47 
     48    //save the task priority 
     49    if ( isset($_POST['cp-task-priority']) ) 
     50        update_post_meta( $task_id, '_cp-task-priority', strip_tags($_POST['cp-task-priority']) ); 
     51 
    3752    // Add Activity 
    3853    cp_add_activity(__('added', 'collabpress'), __('task', 'collabpress'), $current_user->ID, $task_id); 
    3954 
     55    do_action( 'cp_task_added', $task_id ); 
    4056 
    4157    //check if email notification is checked 
     
    4662        $author_email = $task_author_data->user_email; 
    4763 
    48         $subject = 'New task assigned to you: ' .get_the_title( $task_id ); 
     64        $subject = __('New task assigned to you: ', 'collabpress') .get_the_title( $task_id ); 
    4965 
    50         $message = "There is a new task assigned to you: \n\n"; 
     66        $message = __('There is a new task assigned to you:', 'collabpress') . "\n\n"; 
    5167        $message .= esc_html( $_POST['cp-task'] ); 
    5268 
     
    7490    update_post_meta( $taskID, '_cp-task-due', esc_html($_POST['cp-task-due']) ); 
    7591    update_post_meta( $taskID, '_cp-task-assign', absint($_POST['cp-task-assign']) ); 
    76      
     92    update_post_meta( $taskID, '_cp-task-priority', strip_tags($_POST['cp-task-priority']) ); 
     93 
    7794    // Add Activity 
    7895    cp_add_activity(__('updated', 'collabpress'), __('task', 'collabpress'), $current_user->ID, $taskID); 
     96 
     97    do_action( 'cp_task_edited', $taskID ); 
    7998 
    8099    } 
     
    101120    cp_add_activity(__('completed', 'collabpress'), __('task', 'collabpress'), $current_user->ID, $taskID ); 
    102121 
     122    do_action( 'cp_task_completed', $taskID ); 
     123 
    103124    }elseif ($taskID ) { 
    104125 
     
    108129    // Add Activity 
    109130    cp_add_activity(__('opened', 'collabpress'), __('task', 'collabpress'), $current_user->ID, $taskID ); 
     131 
     132    do_action( 'cp_task_reopened', $taskID ); 
    110133 
    111134    } 
     
    123146    $cp_task_id = absint( $_GET['cp-delete-task-id'] ); 
    124147 
    125     //delete the task list 
    126     wp_delete_post( $cp_task_id, true ); 
     148    //delete the task 
     149    wp_trash_post( $cp_task_id, true ); 
    127150 
    128151    //add activity log 
    129152    cp_add_activity(__('deleted', 'collabpress'), __('task', 'collabpress'), $current_user->ID, $cp_task_id ); 
    130153 
     154    do_action( 'cp_task_deleted', $cp_task_id ); 
     155 
    131156    } 
    132157 
  • collabpress/trunk/includes/menus/settings.php

    r336510 r442577  
    111111                    <td> 
    112112                        <select name="cp_options[user_role]"> 
    113                             <option value="manage_options" <?php selected( $cp_user_role, 'manage_options' ); ?>>Administrator</option> 
    114                             <option value="delete_others_posts" <?php selected( $cp_user_role, 'delete_others_posts' ); ?>>Editor</option> 
    115                             <option value="publish_posts" <?php selected( $cp_user_role, 'publish_posts' ); ?>>Author</option> 
    116                             <option value="edit_posts" <?php selected( $cp_user_role, 'edit_posts' ); ?>>Contributor</option> 
    117                             <option value="read" <?php selected( $cp_user_role, 'read' ); ?>>Subscriber</option> 
     113                            <option value="manage_options" <?php selected( $cp_user_role, 'manage_options' ); ?>><?php _e('Administrator', 'collabpress'); ?></option> 
     114                            <option value="delete_others_posts" <?php selected( $cp_user_role, 'delete_others_posts' ); ?>><?php _e('Editor', 'collabpress'); ?></option> 
     115                            <option value="publish_posts" <?php selected( $cp_user_role, 'publish_posts' ); ?>><?php _e('Author', 'collabpress'); ?></option> 
     116                            <option value="edit_posts" <?php selected( $cp_user_role, 'edit_posts' ); ?>><?php _e('Contributor', 'collabpress'); ?></option> 
     117                            <option value="read" <?php selected( $cp_user_role, 'read' ); ?>><?php _e('Subscriber', 'collabpress'); ?></option> 
    118118                        </select> 
    119119                    </td> 
     
    123123                    <td> 
    124124                        <select name="cp_options[settings_user_role]"> 
    125                             <option value="manage_options" <?php selected( $cp_settings_user_role, 'manage_options' ); ?>>Administrator</option> 
    126                             <option value="delete_others_posts" <?php selected( $cp_settings_user_role, 'delete_others_posts' ); ?>>Editor</option> 
    127                             <option value="publish_posts" <?php selected( $cp_settings_user_role, 'publish_posts' ); ?>>Author</option> 
    128                             <option value="edit_posts" <?php selected( $cp_settings_user_role, 'edit_posts' ); ?>>Contributor</option> 
    129                             <option value="read" <?php selected( $cp_settings_user_role, 'read' ); ?>>Subscriber</option> 
     125                            <option value="manage_options" <?php selected( $cp_settings_user_role, 'manage_options' ); ?>><?php _e('Administrator', 'collabpress'); ?></option> 
     126                            <option value="delete_others_posts" <?php selected( $cp_settings_user_role, 'delete_others_posts' ); ?>><?php _e('Editor', 'collabpress'); ?></option> 
     127                            <option value="publish_posts" <?php selected( $cp_settings_user_role, 'publish_posts' ); ?>><?php _e('Author', 'collabpress'); ?></option> 
     128                            <option value="edit_posts" <?php selected( $cp_settings_user_role, 'edit_posts' ); ?>><?php _e('Contributor', 'collabpress'); ?></option> 
     129                            <option value="read" <?php selected( $cp_settings_user_role, 'read' ); ?>><?php _e('Subscriber', 'collabpress'); ?></option> 
    130130                        </select> 
    131131                    </td> 
     
    135135                    <td> 
    136136                        <select name="cp_options[shortcode_user_role]"> 
    137                             <option value="all" <?php selected( $cp_shortcode_user_role, 'all' ); ?>>Anyone</option> 
    138                             <option value="manage_options" <?php selected( $cp_shortcode_user_role, 'manage_options' ); ?>>Administrator</option> 
    139                             <option value="delete_others_posts" <?php selected( $cp_shortcode_user_role, 'delete_others_posts' ); ?>>Editor</option> 
    140                             <option value="publish_posts" <?php selected( $cp_shortcode_user_role, 'publish_posts' ); ?>>Author</option> 
    141                             <option value="edit_posts" <?php selected( $cp_shortcode_user_role, 'edit_posts' ); ?>>Contributor</option> 
    142                             <option value="read" <?php selected( $cp_shortcode_user_role, 'read' ); ?>>Subscriber</option> 
     137                            <option value="all" <?php selected( $cp_shortcode_user_role, 'all' ); ?>><?php _e('Anyone', 'collabpress'); ?></option> 
     138                            <option value="manage_options" <?php selected( $cp_shortcode_user_role, 'manage_options' ); ?>><?php _e('Administrator', 'collabpress'); ?></option> 
     139                            <option value="delete_others_posts" <?php selected( $cp_shortcode_user_role, 'delete_others_posts' ); ?>><?php _e('Editor', 'collabpress'); ?></option> 
     140                            <option value="publish_posts" <?php selected( $cp_shortcode_user_role, 'publish_posts' ); ?>><?php _e('Author', 'collabpress'); ?></option> 
     141                            <option value="edit_posts" <?php selected( $cp_shortcode_user_role, 'edit_posts' ); ?>><?php _e('Contributor', 'collabpress'); ?></option> 
     142                            <option value="read" <?php selected( $cp_shortcode_user_role, 'read' ); ?>><?php _e('Subscriber', 'collabpress'); ?></option> 
    143143                        </select> 
    144144                    </td> 
     
    156156                    </td> 
    157157                </tr> 
     158                 
     159                <?php do_action( 'cp_after_advanced_settings' ) ?> 
     160                 
    158161                <tr> 
    159162                    <td colspan="2"><input type="submit" name="Save" value="<?php _e( 'Save Settings', 'collabpress' ) ?>" class="button-primary" /></td> 
     
    173176                 <tr> 
    174177                    <th scope="row"><label for="debug"><?php _e( 'Clear Activity Log', 'collabpress' ); ?><br />( <?php echo $cp_activity_count .' entries total )'; ?></label></th> 
    175                     <td valign="top"><?php echo '<input type="submit" name="cp_clear_activity" value="Delete Log" class="button-secondary" onclick="javascript:check=confirm(\'' . __( 'WARNING: This will delete ALL activity logs.  Once logs have been deleted they can NOT be restored.\n\nChoose [Cancel] to Stop, [OK] to delete logs.\n' ) .'\' );if(check==false) return false;" />';?></td> 
     178                    <td valign="top"><?php echo '<input type="submit" name="cp_clear_activity" value="'.__('Delete Log', 'collabpress').'" class="button-secondary" onclick="javascript:check=confirm(\'' . __( 'WARNING: This will delete ALL activity logs.  Once logs have been deleted they can NOT be restored.\n\nChoose [Cancel] to Stop, [OK] to delete logs.\n', 'collabpress' ) .'\' );if(check==false) return false;" />';?></td> 
    176179                </tr> 
    177180                <tr> 
  • collabpress/trunk/includes/shortcode.php

    r340822 r442577  
    3838 
    3939    if ($foundsc = true) { 
    40     $css_src = plugins_url('/css/front.css', __FILE__); 
     40    $css_src = CP_PLUGIN_URL . 'includes/css/front.css'; 
    4141 
    4242    wp_register_style('cp_frontend_css', $css_src ); 
     
    182182        while( $projects_query->have_posts() ) : $projects_query->the_post(); 
    183183 
    184         //generate delete project link 
    185         $cp_del_link = CP_DASHBOARD .'&cp-delete-project-id='.get_the_ID(); 
    186         $cp_del_link = ( function_exists('wp_nonce_url') ) ? wp_nonce_url( $cp_del_link, 'cp-action-delete_project' ) : $cp_del_link; 
    187  
    188         //generate edit project link 
    189         $cp_edit_link = CP_DASHBOARD.'&project='.get_the_ID().'&view=edit'; 
    190  
    191         echo '<div class="cp-project-item"><a class="cp_project_name" href="'.CP_DASHBOARD.'&project='.get_the_ID().'">'.get_the_title().'</a>'; 
    192  
    193         //check if user can view edit/delete links 
    194         if ( cp_check_permissions( 'settings_user_role' ) ) { 
    195             echo '<span class="edit-del-links"><a class="cp_project_edit" href="' .$cp_edit_link. '">' .__( 'edit', 'collabpress'). '</a> &middot; <a class="cp_project_del" href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected project, including ALL task lists and tasks in the project.\n\nChoose [Cancel] to Stop, [OK] to delete.\n' ) .'\');if(check==false) return false;">delete</a></span>'; 
    196         } 
    197         echo '</div>'; 
     184        //verify user has permission to view this project 
     185        if ( cp_check_project_permissions( $current_user->ID, get_the_ID() ) ) { 
     186 
     187            //generate delete project link 
     188            $cp_del_link = CP_DASHBOARD .'&cp-delete-project-id='.get_the_ID(); 
     189            $cp_del_link = ( function_exists('wp_nonce_url') ) ? wp_nonce_url( $cp_del_link, 'cp-action-delete_project' ) : $cp_del_link; 
     190 
     191            //generate edit project link 
     192            $cp_edit_link = CP_DASHBOARD.'&project='.get_the_ID().'&view=edit'; 
     193 
     194            echo '<div class="cp-project-item"><a class="cp_project_name" href="'.CP_DASHBOARD.'&project='.get_the_ID().'">'.get_the_title().'</a>'; 
     195 
     196            //check if user can view edit/delete links 
     197            if ( cp_check_permissions( 'settings_user_role' ) ) { 
     198                echo '<span class="edit-del-links"><a class="cp_project_edit" href="' .$cp_edit_link. '">' .__( 'edit', 'collabpress'). '</a> &middot; <a class="cp_project_del" href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected project, including ALL task lists and tasks in the project.\n\nChoose [Cancel] to Stop, [OK] to delete.\n', 'collabpress' ) .'\');if(check==false) return false;">' .__('delete', 'collabpress'). '</a></span>'; 
     199            } 
     200            echo '</div>'; 
     201 
     202        } 
    198203    ?> 
    199204 
     
    249254        //check if user can view edit/delete links 
    250255        if ( cp_check_permissions( 'settings_user_role' ) ) { 
    251         echo '<span class="edit-del-links"><a class="cp_tl_edit" href="' .$cp_edit_link. '">edit</a> &middot; <a class="cp_tl_del" href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected task list and all tasks in the list.\n\nChoose [Cancel] to Stop, [OK] to delete.\n' ) .'\');if(check==false) return false;">delete</a></span></li>'; 
     256        echo '<span class="edit-del-links"><a class="cp_tl_edit" href="' .$cp_edit_link. '">edit</a> &middot; <a class="cp_tl_del" href="' .$cp_del_link. '" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected task list and all tasks in the list.\n\nChoose [Cancel] to Stop, [OK] to delete.\n', 'collabpress' ) .'\');if(check==false) return false;">' .__('delete', 'collabpress'). '</a></span></li>'; 
    252257        } 
    253258 
     
    317322            $task_status = get_post_meta( get_the_ID(), '_cp-task-status', true ); 
    318323 
     324            //check task priority 
     325            $task_priority = get_post_meta( get_the_ID(), '_cp-task-priority', true ); 
     326 
    319327            echo '<div class="cp_task_summary '. $oddeven_class . '">'; 
    320328                 
     
    324332                echo '<div class="cp_task_meta">'; 
    325333                     
    326                     echo '<span class="cp_assign_due">'.__( 'Assigned to:', 'collabpress' ) .'' .get_avatar( $task_user_id, 16 ). '' . $user_name . ' Due: ' . $task_due_date .'</span>'; 
     334                    echo '<span class="cp_assign_due">'.__( 'Assigned to:', 'collabpress' ) .'' .get_avatar( $task_user_id, 16 ). '' . $user_name . ' - ' .__('Due: ', 'collabpress') . $task_due_date .' - ' .__('Priority: ', 'collabpress') .$task_priority.'</span>'; 
    327335                    if ( $num_comments > 0 ) echo '<span class="cp_task_comm">'.$num_comments. '</span>'; 
    328336                    //check if user can view edit/delete links 
    329337                    if ( cp_check_permissions( 'settings_user_role' ) ) { 
    330                         echo '<span class="edit-del-links"><a class="cp_task_edit" href="'.$cp_edit_link.'">' .__('edit', 'collabpress'). '</a> &middot; <a class="cp_task_del" href="'. $cp_del_link .'" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected task.\n\nChoose [Cancel] to Stop, [OK] to delete.\n' ) .'\');if(check==false) return false;">'.__( 'delete', 'collabpress' ). '</a></span>'; 
     338                        echo '<span class="edit-del-links"><a class="cp_task_edit" href="'.$cp_edit_link.'">' .__('edit', 'collabpress'). '</a> &middot; <a class="cp_task_del" href="'. $cp_del_link .'" style="color:red;" onclick="javascript:check=confirm(\'' . __('WARNING: This will delete the selected task.\n\nChoose [Cancel] to Stop, [OK] to delete.\n', 'collabpress' ) .'\');if(check==false) return false;">' .__( 'delete', 'collabpress' ). '</a></span>'; 
    331339                    } 
    332340                echo '</div>'; 
     
    384392            $task_status = get_post_meta( get_the_ID(), '_cp-task-status', true ); 
    385393 
     394            //check task priority 
     395            $task_priority = get_post_meta( get_the_ID(), '_cp-task-priority', true ); 
     396 
    386397            echo '<div class="cp_task_summary ' . $oddeven_class . '">'; 
    387398             
     
    399410                 
    400411                echo '<div class="cp_task_meta">'; 
    401                     echo '<span class="cp_assign_due">'.__( 'Assigned to:', 'collabpress' ) .'' .get_avatar( $task_user_id, 16 ). '' . $user_name . ' Due: ' . $task_due_date .'</span>'; 
     412                    echo '<span class="cp_assign_due">'.__( 'Assigned to:', 'collabpress' ) .'' .get_avatar( $task_user_id, 16 ). '' . $user_name . ' - ' .__('Due: ', 'collabpress') . $task_due_date .' - ' .__('Priority: ', 'collabpress') .$task_priority.'</span>'; 
    402413                    echo '<span class="cp_task_comm">'.$num_comments. '</span>'; 
    403414                echo '</div>'; 
  • collabpress/trunk/languages/collabpress.pot

    r340822 r442577  
    1 # Copyright (C) 2010 
    2 # This file is distributed under the same license as the  package. 
    31msgid "" 
    42msgstr "" 
    5 "Project-Id-Version:  \n" 
    6 "Report-Msgid-Bugs-To: http://wordpress.org/tag/collabpress\n" 
    7 "POT-Creation-Date: 2011-02-04 20:31:27+00:00\n" 
     3"Project-Id-Version: CollabPress\n" 
     4"Report-Msgid-Bugs-To: \n" 
     5"POT-Creation-Date: 2011-05-30 14:35+0100\n" 
     6"PO-Revision-Date: 2011-05-30 14:36+0100\n" 
     7"Last-Translator: \n" 
     8"Language-Team: \n" 
    89"MIME-Version: 1.0\n" 
    910"Content-Type: text/plain; charset=UTF-8\n" 
    1011"Content-Transfer-Encoding: 8bit\n" 
    11 "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n" 
    12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
    13 "Language-Team: LANGUAGE <LL@li.org>\n" 
    14  
    15 #: includes/cp-core.php:25 
     12"X-Poedit-KeywordsList: __;_e\n" 
     13"X-Poedit-Basepath: .\n" 
     14"X-Poedit-SearchPath-0: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress\n" 
     15 
     16#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/admin_init.php:61 
     17#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:180 
     18#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:222 
     19msgid "Projects" 
     20msgstr "" 
     21 
     22#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/admin_init.php:62 
     23msgid "Custom Post Type for CollabPress Projects" 
     24msgstr "" 
     25 
     26#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/admin_init.php:71 
     27msgid "Task Lists" 
     28msgstr "" 
     29 
     30#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/admin_init.php:72 
     31msgid "Custom Post Type for CollabPress Task Lists" 
     32msgstr "" 
     33 
     34#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/admin_init.php:81 
     35msgid "Tasks" 
     36msgstr "" 
     37 
     38#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/admin_init.php:82 
     39msgid "Custom Post Type for CollabPress Tasks" 
     40msgstr "" 
     41 
     42#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/admin_init.php:91 
     43msgid "Meta Data" 
     44msgstr "" 
     45 
     46#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/admin_init.php:92 
     47msgid "Custom Post Type for CollabPress Meta Data" 
     48msgstr "" 
     49 
     50#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-core.php:25 
    1651msgid "View Dashboard" 
    1752msgstr "" 
    1853 
    19 #: includes/cp-core.php:37 
     54#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-core.php:37 
    2055msgid "CollabPress - Recent Activity" 
    2156msgstr "" 
    2257 
    23 #: includes/shortcode.php:180 includes/menus/dashboard.php:179 
    24 msgid "Projects" 
    25 msgstr "" 
    26  
    27 #: includes/shortcode.php:195 includes/shortcode.php:330 
    28 #: includes/functions.php:278 includes/functions.php:623 
     58#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:17 
     59msgid "Display CollabPress overview stats" 
     60msgstr "" 
     61 
     62#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:19 
     63msgid "CollabPress: Overview Widget" 
     64msgstr "" 
     65 
     66#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:24 
     67msgid "CollabPress Overview" 
     68msgstr "" 
     69 
     70#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:33 
     71msgid "Title" 
     72msgstr "" 
     73 
     74#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:34 
     75msgid "Show Project Count" 
     76msgstr "" 
     77 
     78#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:35 
     79msgid "Show Task List Count" 
     80msgstr "" 
     81 
     82#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:36 
     83msgid "Show Task Count" 
     84msgstr "" 
     85 
     86#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:37 
     87msgid "Show User Count" 
     88msgstr "" 
     89 
     90#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:73 
     91#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:350 
     92msgid "Project" 
     93msgstr "" 
     94 
     95#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:80 
     96#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:355 
     97msgid "Task List" 
     98msgstr "" 
     99 
     100#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:87 
     101#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:360 
     102msgid "Task" 
     103msgstr "" 
     104 
     105#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/cp-widgets.php:93 
     106#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:364 
     107msgid "User" 
     108msgstr "" 
     109 
     110#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/footer.php:2 
     111#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:71 
     112#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/footer.php:2 
     113msgid "CollabPress" 
     114msgstr "" 
     115 
     116#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/footer.php:2 
     117#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/footer.php:2 
     118msgid "Please Report Bugs" 
     119msgstr "" 
     120 
     121#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/footer.php:2 
     122msgid "Follow us on Twitter: " 
     123msgstr "" 
     124 
     125#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/footer.php:2 
     126#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/footer.php:2 
     127msgid "Scott" 
     128msgstr "" 
     129 
     130#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/footer.php:2 
     131#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/footer.php:2 
     132msgid "Brad" 
     133msgstr "" 
     134 
     135#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/footer.php:2 
     136msgid "Chris" 
     137msgstr "" 
     138 
     139#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/footer.php:2 
     140#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/footer.php:2 
     141msgid "WDS" 
     142msgstr "" 
     143 
     144#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:24 
     145#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:44 
     146#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:67 
     147msgid "Back" 
     148msgstr "" 
     149 
     150#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:32 
     151#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:52 
     152#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:79 
     153msgid "Edit" 
     154msgstr "" 
     155 
     156#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:75 
     157#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:103 
     158#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:71 
     159msgid "CollabPress Dashboard" 
     160msgstr "" 
     161 
     162#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:79 
     163#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:284 
     164#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1218 
     165#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:195 
     166msgid "" 
     167"WARNING: This will delete the selected project, including ALL task lists and tasks in the project.\\n" 
     168"\\n" 
     169"Choose [Cancel] to Stop, [OK] to delete.\\n" 
     170msgstr "" 
     171 
     172#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:79 
     173#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:52 
     174msgid "Delete" 
     175msgstr "" 
     176 
     177#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:95 
     178#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:221 
     179msgid "Calendar" 
     180msgstr "" 
     181 
     182#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:99 
     183#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:295 
     184msgid "View All Projects" 
     185msgstr "" 
     186 
     187#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:131 
     188#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:137 
     189#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:146 
     190#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:150 
     191msgid "Dashboard" 
     192msgstr "" 
     193 
     194#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:172 
     195msgid "Powered by " 
     196msgstr "" 
     197 
     198#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:172 
     199msgid "CollabPress.org" 
     200msgstr "" 
     201 
     202#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:185 
     203msgid "Project Added" 
     204msgstr "" 
     205 
     206#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:189 
     207msgid "Project Updated" 
     208msgstr "" 
     209 
     210#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:193 
     211msgid "Project Deleted" 
     212msgstr "" 
     213 
     214#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:197 
     215msgid "Task List Added" 
     216msgstr "" 
     217 
     218#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:201 
     219msgid "Task List Updated" 
     220msgstr "" 
     221 
     222#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:205 
     223msgid "Task List Deleted" 
     224msgstr "" 
     225 
     226#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:209 
     227msgid "Task Added" 
     228msgstr "" 
     229 
     230#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:213 
     231msgid "Task Updated" 
     232msgstr "" 
     233 
     234#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:217 
     235msgid "Task Deleted" 
     236msgstr "" 
     237 
     238#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:221 
     239msgid "Comment Added" 
     240msgstr "" 
     241 
     242#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:225 
     243msgid "Acitivity Log Has Been Cleared" 
     244msgstr "" 
     245 
     246#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:232 
     247msgid "Activity" 
     248msgstr "" 
     249 
     250#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:255 
     251msgid "View Calendar" 
     252msgstr "" 
     253 
     254#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:284 
     255#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:659 
     256#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1218 
     257#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:195 
     258#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:330 
    29259msgid "edit" 
    30260msgstr "" 
    31261 
    32 #: includes/shortcode.php:195 includes/functions.php:78 
    33 #: includes/functions.php:278 
     262#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:284 
     263#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:659 
     264#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:837 
     265#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:953 
     266#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1218 
     267#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:195 
     268#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:251 
     269#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:330 
     270msgid "delete" 
     271msgstr "" 
     272 
     273#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:292 
     274#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1226 
     275#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:209 
     276msgid "No Projects..." 
     277msgstr "" 
     278 
     279#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:337 
     280msgid "View All Users" 
     281msgstr "" 
     282 
     283#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:374 
     284msgid "Click to Upload" 
     285msgstr "" 
     286 
     287#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:398 
     288msgid "No file attachments..." 
     289msgstr "" 
     290 
     291#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:462 
     292msgid "No Activities..." 
     293msgstr "" 
     294 
     295#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:529 
     296#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:578 
     297#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:754 
     298#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:789 
     299#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:865 
     300#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:902 
     301msgid "Description: " 
     302msgstr "" 
     303 
     304#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:538 
     305#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:587 
     306#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:655 
     307#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:710 
     308msgid "Due: " 
     309msgstr "" 
     310 
     311#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:542 
     312#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:591 
     313msgid "Assigned to: " 
     314msgstr "" 
     315 
     316#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:552 
     317msgid "Notify via Email? " 
     318msgstr "" 
     319 
     320#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:558 
     321#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:604 
     322#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:765 
     323#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:800 
     324#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:876 
     325#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:913 
     326#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:980 
     327#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:109 
     328#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:112 
     329#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:115 
     330#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:118 
     331#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:121 
     332msgid "Submit" 
     333msgstr "" 
     334 
     335#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:620 
     336#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1033 
     337#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:272 
     338msgid "Current Tasks" 
     339msgstr "" 
     340 
     341#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:659 
     342#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:330 
    34343msgid "" 
    35 "WARNING: This will delete the selected project, including ALL task lists and " 
    36 "tasks in the project.\\n\\nChoose [Cancel] to Stop, [OK] to delete.\\n" 
    37 msgstr "" 
    38  
    39 #: includes/shortcode.php:209 includes/functions.php:286 
    40 msgid "No Projects..." 
    41 msgstr "" 
    42  
    43 #: includes/shortcode.php:233 includes/functions.php:784 
     344"WARNING: This will delete the selected task.\\n" 
     345"\\n" 
     346"Choose [Cancel] to Stop, [OK] to delete.\\n" 
     347msgstr "" 
     348 
     349#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:670 
     350#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1051 
     351#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:339 
     352msgid "No Tasks..." 
     353msgstr "" 
     354 
     355#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:678 
     356#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:347 
     357msgid "Completed Tasks" 
     358msgstr "" 
     359 
     360#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:724 
     361#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:410 
     362msgid "No Tasks Completed..." 
     363msgstr "" 
     364 
     365#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:750 
     366#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:785 
     367#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:861 
     368#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:898 
     369msgid "Name: " 
     370msgstr "" 
     371 
     372#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:820 
     373#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:233 
    44374msgid "Tasks Lists" 
    45375msgstr "" 
    46376 
    47 #: includes/shortcode.php:251 includes/functions.php:801 
     377#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:837 
     378#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:251 
    48379msgid "" 
    49 "WARNING: This will delete the selected task list and all tasks in the list." 
    50 "\\n\\nChoose [Cancel] to Stop, [OK] to delete.\\n" 
    51 msgstr "" 
    52  
    53 #: includes/shortcode.php:257 includes/functions.php:807 
     380"WARNING: This will delete the selected task list and all tasks in the list.\\n" 
     381"\\n" 
     382"Choose [Cancel] to Stop, [OK] to delete.\\n" 
     383msgstr "" 
     384 
     385#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:843 
     386#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:257 
    54387msgid "No Task Lists..." 
    55388msgstr "" 
    56389 
    57 #: includes/shortcode.php:272 includes/functions.php:584 
    58 #: includes/functions.php:997 
    59 msgid "Current Tasks" 
    60 msgstr "" 
    61  
    62 #: includes/shortcode.php:326 includes/shortcode.php:401 
     390#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:953 
     391msgid "" 
     392"WARNING: This will delete the selected comment.\\n" 
     393"\\n" 
     394"Choose [Cancel] to Stop, [OK] to delete.\\n" 
     395msgstr "" 
     396 
     397#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:964 
     398msgid "No comments..." 
     399msgstr "" 
     400 
     401#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:976 
     402msgid "Leave a Comment: " 
     403msgstr "" 
     404 
     405#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:978 
     406msgid "Notify via Email?" 
     407msgstr "" 
     408 
     409#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1000 
     410#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:228 
     411msgid "Recent Activity" 
     412msgstr "" 
     413 
     414#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1030 
     415msgid "No Recent Activity..." 
     416msgstr "" 
     417 
     418#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1048 
     419msgid " - View" 
     420msgstr "" 
     421 
     422#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1104 
     423msgid "Sunday" 
     424msgstr "" 
     425 
     426#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1104 
     427msgid "Monday" 
     428msgstr "" 
     429 
     430#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1104 
     431msgid "Tuesday" 
     432msgstr "" 
     433 
     434#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1104 
     435msgid "Wednesday" 
     436msgstr "" 
     437 
     438#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1104 
     439msgid "Thursday" 
     440msgstr "" 
     441 
     442#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1104 
     443msgid "Friday" 
     444msgstr "" 
     445 
     446#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1104 
     447msgid "Saturday" 
     448msgstr "" 
     449 
     450#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/functions.php:1197 
     451#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:127 
     452msgid "All Projects" 
     453msgstr "" 
     454 
     455#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:326 
     456#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:401 
    63457msgid "Assigned to:" 
    64458msgstr "" 
    65459 
    66 #: includes/shortcode.php:330 includes/functions.php:623 
     460#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:326 
     461#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/shortcode.php:401 
     462msgid " Due: " 
     463msgstr "" 
     464 
     465#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:78 
     466#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:7 
     467msgid "CollabPress Settings" 
     468msgstr "" 
     469 
     470#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:78 
     471msgid "Settings" 
     472msgstr "" 
     473 
     474#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:83 
     475#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:7 
     476msgid "CollabPress Help" 
     477msgstr "" 
     478 
     479#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:83 
     480msgid "Help" 
     481msgstr "" 
     482 
     483#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:88 
     484msgid "Debug" 
     485msgstr "" 
     486 
     487#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:223 
     488msgid "Users" 
     489msgstr "" 
     490 
     491#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:224 
     492msgid "Overview" 
     493msgstr "" 
     494 
     495#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:229 
     496msgid "Add New Project" 
     497msgstr "" 
     498 
     499#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:230 
     500#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:241 
     501msgid "Edit Project" 
     502msgstr "" 
     503 
     504#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:236 
     505msgid "Add New Task List" 
     506msgstr "" 
     507 
     508#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:237 
     509msgid "Edit Task List" 
     510msgstr "" 
     511 
     512#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:238 
     513msgid "Project Overview" 
     514msgstr "" 
     515 
     516#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:240 
     517#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:251 
     518#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:259 
     519msgid "Files" 
     520msgstr "" 
     521 
     522#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:247 
     523msgid "Add New Task" 
     524msgstr "" 
     525 
     526#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:248 
     527#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:257 
     528msgid "Edit Task" 
     529msgstr "" 
     530 
     531#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:249 
     532msgid "Task List Overview" 
     533msgstr "" 
     534 
     535#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:263 
     536msgid "Credits" 
     537msgstr "" 
     538 
     539#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/dashboard.php:343 
     540msgid "Cheatin&#8217; uh?" 
     541msgstr "" 
     542 
     543#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:10 
     544msgid "Title: " 
     545msgstr "" 
     546 
     547#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:12 
     548msgid "ID: " 
     549msgstr "" 
     550 
     551#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:14 
     552msgid "Author: " 
     553msgstr "" 
     554 
     555#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:16 
     556msgid "Created: " 
     557msgstr "" 
     558 
     559#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:16 
     560#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:18 
     561msgid "at" 
     562msgstr "" 
     563 
     564#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:18 
     565msgid "Modified: " 
     566msgstr "" 
     567 
     568#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:24 
     569msgid "Custom Fields: collabpress" 
     570msgstr "" 
     571 
     572#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:30 
     573msgid "name: " 
     574msgstr "" 
     575 
     576#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:31 
     577msgid "value" 
     578msgstr "" 
     579 
     580#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:42 
     581msgid "No results..." 
     582msgstr "" 
     583 
     584#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:50 
     585msgid "CollabPress Debug" 
     586msgstr "" 
     587 
     588#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:108 
     589msgid "Delete All CollabPress Data: " 
     590msgstr "" 
     591 
     592#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:111 
     593msgid "Delete CollabPress Projects: " 
     594msgstr "" 
     595 
     596#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:114 
     597msgid "Delete CollabPress Task Lists: " 
     598msgstr "" 
     599 
     600#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:117 
     601msgid "Delete CollabPress Tasks: " 
     602msgstr "" 
     603 
     604#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:120 
     605msgid "Delete CollabPress Meta Data: " 
     606msgstr "" 
     607 
     608#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:143 
     609msgid "All Task Lists" 
     610msgstr "" 
     611 
     612#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/debug.php:175 
     613msgid "All Meta" 
     614msgstr "" 
     615 
     616#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/footer.php:2 
     617msgid "Follow us on Twitter:" 
     618msgstr "" 
     619 
     620#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:8 
     621msgid "Shortcode Legend" 
     622msgstr "" 
     623 
     624#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:9 
     625msgid "Add full CollabPress support to the front-end of WordPress.  View/edit/delete all projects, task-lists, tasks, and comments." 
     626msgstr "" 
     627 
     628#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:10 
     629msgid "Set user role" 
     630msgstr "" 
     631 
     632#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:10 
     633msgid "for front-end [collabpress] shortcode support" 
     634msgstr "" 
     635 
     636#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:11 
     637msgid "Support and Info" 
     638msgstr "" 
     639 
     640#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:12 
     641msgid "Visit the" 
     642msgstr "" 
     643 
     644#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:12 
     645msgid "CollabPress Support Forum" 
     646msgstr "" 
     647 
     648#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:12 
     649msgid "Follow on Twitter" 
     650msgstr "" 
     651 
     652#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:12 
     653msgid "Subscribe via Email" 
     654msgstr "" 
     655 
     656#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:13 
     657msgid "Donate" 
     658msgstr "" 
     659 
     660#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:14 
     661msgid "Please donate to the development of CollabPress:" 
     662msgstr "" 
     663 
     664#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:18 
     665msgid "PayPal - The safer, easier way to pay online!" 
     666msgstr "" 
     667 
     668#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:22 
     669msgid "Latest CollabPress News" 
     670msgstr "" 
     671 
     672#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/help.php:28 
     673msgid "CollabPress News" 
     674msgstr "" 
     675 
     676#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:57 
     677msgid "General" 
     678msgstr "" 
     679 
     680#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:60 
     681msgid "Dashboard Meta Box" 
     682msgstr "" 
     683 
     684#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:63 
     685#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:73 
     686#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:153 
     687msgid "Disabled" 
     688msgstr "" 
     689 
     690#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:64 
     691#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:72 
     692#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:154 
     693msgid "Enabled" 
     694msgstr "" 
     695 
     696#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:69 
     697msgid "Email Notifications" 
     698msgstr "" 
     699 
     700#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:78 
     701msgid "Recent Activites Per Page" 
     702msgstr "" 
     703 
     704#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:95 
     705msgid "Number of Users to Display" 
     706msgstr "" 
     707 
     708#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:107 
     709msgid "Permissions" 
     710msgstr "" 
     711 
     712#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:110 
     713msgid "Minimum User Role for Access" 
     714msgstr "" 
     715 
     716#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:113 
     717#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:125 
     718#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:138 
     719msgid "Administrator" 
     720msgstr "" 
     721 
     722#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:114 
     723#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:126 
     724#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:139 
     725msgid "Editor" 
     726msgstr "" 
     727 
     728#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:115 
     729#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:127 
     730#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:140 
     731msgid "Author" 
     732msgstr "" 
     733 
     734#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:116 
     735#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:128 
     736#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:141 
     737msgid "Contributor" 
     738msgstr "" 
     739 
     740#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:117 
     741#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:129 
     742#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:142 
     743msgid "Subscriber" 
     744msgstr "" 
     745 
     746#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:122 
     747msgid "Minimum User Role to change Settings, Edit/Delete data, Enable/View Debug, etc" 
     748msgstr "" 
     749 
     750#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:134 
     751msgid "Minimum User Role to view [collabpress] shortcode front-end" 
     752msgstr "" 
     753 
     754#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:137 
     755msgid "Anyone" 
     756msgstr "" 
     757 
     758#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:147 
     759msgid "Advanced" 
     760msgstr "" 
     761 
     762#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:150 
     763msgid "Debug Mode" 
     764msgstr "" 
     765 
     766#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:159 
     767msgid "Save Settings" 
     768msgstr "" 
     769 
     770#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:166 
     771msgid "Optimize" 
     772msgstr "" 
     773 
     774#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:174 
     775msgid "Clear Activity Log" 
     776msgstr "" 
     777 
     778#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:175 
     779msgid "Delete Log" 
     780msgstr "" 
     781 
     782#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/settings.php:175 
    67783msgid "" 
    68 "WARNING: This will delete the selected task.\\n\\nChoose [Cancel] to Stop, " 
    69 "[OK] to delete.\\n" 
    70 msgstr "" 
    71  
    72 #: includes/shortcode.php:330 includes/functions.php:623 
    73 #: includes/functions.php:917 
    74 msgid "delete" 
    75 msgstr "" 
    76  
    77 #: includes/shortcode.php:339 includes/functions.php:634 
    78 #: includes/functions.php:1015 
    79 msgid "No Tasks..." 
    80 msgstr "" 
    81  
    82 #: includes/shortcode.php:347 includes/functions.php:642 
    83 msgid "Completed Tasks" 
    84 msgstr "" 
    85  
    86 #: includes/shortcode.php:410 includes/functions.php:688 
    87 msgid "No Tasks Completed..." 
    88 msgstr "" 
    89  
    90 #: includes/functions.php:23 includes/functions.php:43 
    91 #: includes/functions.php:66 
    92 msgid "Back" 
    93 msgstr "" 
    94  
    95 #: includes/functions.php:31 includes/functions.php:51 
    96 #: includes/functions.php:78 
    97 msgid "Edit" 
    98 msgstr "" 
    99  
    100 #: includes/functions.php:74 includes/functions.php:98 
    101 msgid "CollabPress Dashboard" 
    102 msgstr "" 
    103  
    104 #: includes/functions.php:78 includes/menus/debug.php:52 
    105 msgid "Delete" 
    106 msgstr "" 
    107  
    108 #: includes/functions.php:94 includes/menus/dashboard.php:178 
    109 msgid "Calendar" 
    110 msgstr "" 
    111  
    112 #: includes/functions.php:166 
    113 msgid "Powered by " 
    114 msgstr "" 
    115  
    116 #: includes/functions.php:166 
    117 msgid "CollabPress.org" 
    118 msgstr "" 
    119  
    120 #: includes/functions.php:179 
    121 msgid "Project Added" 
    122 msgstr "" 
    123  
    124 #: includes/functions.php:183 
    125 msgid "Project Updated" 
    126 msgstr "" 
    127  
    128 #: includes/functions.php:187 
    129 msgid "Project Deleted" 
    130 msgstr "" 
    131  
    132 #: includes/functions.php:191 
    133 msgid "Task List Added" 
    134 msgstr "" 
    135  
    136 #: includes/functions.php:195 
    137 msgid "Task List Updated" 
    138 msgstr "" 
    139  
    140 #: includes/functions.php:199 
    141 msgid "Task List Deleted" 
    142 msgstr "" 
    143  
    144 #: includes/functions.php:203 
    145 msgid "Task Added" 
    146 msgstr "" 
    147  
    148 #: includes/functions.php:207 
    149 msgid "Task Updated" 
    150 msgstr "" 
    151  
    152 #: includes/functions.php:211 
    153 msgid "Task Deleted" 
    154 msgstr "" 
    155  
    156 #: includes/functions.php:215 
    157 msgid "Comment Added" 
    158 msgstr "" 
    159  
    160 #: includes/functions.php:219 
    161 msgid "Acitivity Log Has Been Cleared" 
    162 msgstr "" 
    163  
    164 #: includes/functions.php:226 
    165 msgid "Activity" 
    166 msgstr "" 
    167  
    168 #: includes/functions.php:249 
    169 msgid "View Calendar" 
    170 msgstr "" 
    171  
    172 #: includes/functions.php:328 
    173 msgid "View All Users" 
    174 msgstr "" 
    175  
    176 #: includes/functions.php:365 
    177 msgid "Click to Upload" 
    178 msgstr "" 
    179  
    180 #: includes/functions.php:389 
    181 msgid "No file attachments..." 
    182 msgstr "" 
    183  
    184 #: includes/functions.php:453 
    185 msgid "No Activities..." 
    186 msgstr "" 
    187  
    188 #: includes/functions.php:493 includes/functions.php:542 
    189 #: includes/functions.php:718 includes/functions.php:753 
    190 #: includes/functions.php:829 includes/functions.php:866 
    191 msgid "Description: " 
    192 msgstr "" 
    193  
    194 #: includes/functions.php:502 includes/functions.php:551 
    195 msgid "Due: " 
    196 msgstr "" 
    197  
    198 #: includes/functions.php:506 includes/functions.php:555 
    199 msgid "Assigned to: " 
    200 msgstr "" 
    201  
    202 #: includes/functions.php:516 
    203 msgid "Notify via Email? " 
    204 msgstr "" 
    205  
    206 #: includes/functions.php:522 includes/functions.php:568 
    207 #: includes/functions.php:729 includes/functions.php:764 
    208 #: includes/functions.php:840 includes/functions.php:877 
    209 #: includes/functions.php:944 includes/menus/debug.php:109 
    210 #: includes/menus/debug.php:112 includes/menus/debug.php:115 
    211 #: includes/menus/debug.php:118 includes/menus/debug.php:121 
    212 msgid "Submit" 
    213 msgstr "" 
    214  
    215 #: includes/functions.php:714 includes/functions.php:749 
    216 #: includes/functions.php:825 includes/functions.php:862 
    217 msgid "Name: " 
    218 msgstr "" 
    219  
    220 #: includes/functions.php:917 
    221 msgid "" 
    222 "WARNING: This will delete the selected comment.\\n\\nChoose [Cancel] to " 
    223 "Stop, [OK] to delete.\\n" 
    224 msgstr "" 
    225  
    226 #: includes/functions.php:928 
    227 msgid "No comments..." 
    228 msgstr "" 
    229  
    230 #: includes/functions.php:940 
    231 msgid "Leave a Comment: " 
    232 msgstr "" 
    233  
    234 #: includes/functions.php:942 
    235 msgid "Notify via Email?" 
    236 msgstr "" 
    237  
    238 #: includes/functions.php:964 includes/menus/dashboard.php:185 
    239 msgid "Recent Activity" 
    240 msgstr "" 
    241  
    242 #: includes/functions.php:994 
    243 msgid "No Recent Activity..." 
    244 msgstr "" 
    245  
    246 #: includes/functions.php:1012 
    247 msgid " - View" 
    248 msgstr "" 
    249  
    250 #: includes/functions.php:1068 
    251 msgid "Sunday" 
    252 msgstr "" 
    253  
    254 #: includes/functions.php:1068 
    255 msgid "Monday" 
    256 msgstr "" 
    257  
    258 #: includes/functions.php:1068 
    259 msgid "Tuesday" 
    260 msgstr "" 
    261  
    262 #: includes/functions.php:1068 
    263 msgid "Wednesday" 
    264 msgstr "" 
    265  
    266 #: includes/functions.php:1068 
    267 msgid "Thursday" 
    268 msgstr "" 
    269  
    270 #: includes/functions.php:1068 
    271 msgid "Friday" 
    272 msgstr "" 
    273  
    274 #: includes/functions.php:1068 
    275 msgid "Saturday" 
    276 msgstr "" 
    277  
    278 #: includes/cp-widgets.php:33 
    279 msgid "Title" 
    280 msgstr "" 
    281  
    282 #: includes/cp-widgets.php:34 
    283 msgid "Show Project Count" 
    284 msgstr "" 
    285  
    286 #: includes/cp-widgets.php:35 
    287 msgid "Show Task List Count" 
    288 msgstr "" 
    289  
    290 #: includes/cp-widgets.php:36 
    291 msgid "Show Task Count" 
    292 msgstr "" 
    293  
    294 #: includes/cp-widgets.php:37 
    295 msgid "Show User Count" 
    296 msgstr "" 
    297  
    298 #: includes/menus/settings.php:7 includes/menus/dashboard.php:75 
    299 msgid "CollabPress Settings" 
    300 msgstr "" 
    301  
    302 #: includes/menus/settings.php:57 
    303 msgid "General" 
    304 msgstr "" 
    305  
    306 #: includes/menus/settings.php:60 
    307 msgid "Dashboard Meta Box" 
    308 msgstr "" 
    309  
    310 #: includes/menus/settings.php:63 includes/menus/settings.php:73 
    311 #: includes/menus/settings.php:153 
    312 msgid "Disabled" 
    313 msgstr "" 
    314  
    315 #: includes/menus/settings.php:64 includes/menus/settings.php:72 
    316 #: includes/menus/settings.php:154 
    317 msgid "Enabled" 
    318 msgstr "" 
    319  
    320 #: includes/menus/settings.php:69 
    321 msgid "Email Notifications" 
    322 msgstr "" 
    323  
    324 #: includes/menus/settings.php:78 
    325 msgid "Recent Activites Per Page" 
    326 msgstr "" 
    327  
    328 #: includes/menus/settings.php:95 
    329 msgid "Number of Users to Display" 
    330 msgstr "" 
    331  
    332 #: includes/menus/settings.php:107 
    333 msgid "Permissions" 
    334 msgstr "" 
    335  
    336 #: includes/menus/settings.php:110 
    337 msgid "Minimum User Role for Access" 
    338 msgstr "" 
    339  
    340 #: includes/menus/settings.php:122 
    341 msgid "" 
    342 "Minimum User Role to change Settings, Edit/Delete data, Enable/View Debug, " 
    343 "etc" 
    344 msgstr "" 
    345  
    346 #: includes/menus/settings.php:134 
    347 msgid "Minimum User Role to view [collabpress] shortcode front-end" 
    348 msgstr "" 
    349  
    350 #: includes/menus/settings.php:147 
    351 msgid "Advanced" 
    352 msgstr "" 
    353  
    354 #: includes/menus/settings.php:150 
    355 msgid "Debug Mode" 
    356 msgstr "" 
    357  
    358 #: includes/menus/settings.php:159 
    359 msgid "Save Settings" 
    360 msgstr "" 
    361  
    362 #: includes/menus/settings.php:166 
    363 msgid "Optimize" 
    364 msgstr "" 
    365  
    366 #: includes/menus/settings.php:174 
    367 msgid "Clear Activity Log" 
    368 msgstr "" 
    369  
    370 #: includes/menus/settings.php:175 
    371 msgid "" 
    372 "WARNING: This will delete ALL activity logs.  Once logs have been deleted " 
    373 "they can NOT be restored.\\n\\nChoose [Cancel] to Stop, [OK] to delete logs." 
     784"WARNING: This will delete ALL activity logs.  Once logs have been deleted they can NOT be restored.\\n" 
    374785"\\n" 
    375 msgstr "" 
    376  
    377 #: includes/menus/isset/task-list.php:23 includes/menus/isset/project.php:18 
    378 #: includes/menus/isset/task.php:38 includes/menus/isset/comment.php:51 
     786"Choose [Cancel] to Stop, [OK] to delete logs.\\n" 
     787msgstr "" 
     788 
     789#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/comment.php:40 
     790msgid "New comment on task " 
     791msgstr "" 
     792 
     793#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/comment.php:42 
     794msgid "There is a new comment on your task from " 
     795msgstr "" 
     796 
     797#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/comment.php:43 
     798msgid "Comment:" 
     799msgstr "" 
     800 
     801#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/comment.php:51 
     802#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/project.php:18 
    379803msgid "added" 
    380804msgstr "" 
    381805 
    382 #: includes/menus/isset/task-list.php:23 includes/menus/isset/task-list.php:45 
     806#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/comment.php:51 
     807#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/comment.php:68 
     808msgid "comment" 
     809msgstr "" 
     810 
     811#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/comment.php:68 
     812#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/project.php:98 
     813msgid "deleted" 
     814msgstr "" 
     815 
     816#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/project.php:18 
     817#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/project.php:40 
     818#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/project.php:98 
     819msgid "project" 
     820msgstr "" 
     821 
     822#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/project.php:40 
     823msgid "updated" 
     824msgstr "" 
     825 
     826#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task-list.php:23 
     827#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task-list.php:45 
    383828msgid "task list" 
    384829msgstr "" 
    385830 
    386 #: includes/menus/isset/task-list.php:45 includes/menus/isset/project.php:40 
    387 #: includes/menus/isset/task.php:78 
    388 msgid "updated" 
    389 msgstr "" 
    390  
    391 #: includes/menus/isset/project.php:18 includes/menus/isset/project.php:40 
    392 #: includes/menus/isset/project.php:98 
    393 msgid "project" 
    394 msgstr "" 
    395  
    396 #: includes/menus/isset/project.php:98 includes/menus/isset/task.php:129 
    397 #: includes/menus/isset/comment.php:68 
    398 msgid "deleted" 
    399 msgstr "" 
    400  
    401 #: includes/menus/isset/task.php:38 includes/menus/isset/task.php:78 
    402 #: includes/menus/isset/task.php:101 includes/menus/isset/task.php:109 
    403 #: includes/menus/isset/task.php:129 
     831#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task.php:38 
     832#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task.php:78 
     833#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task.php:101 
     834#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task.php:109 
     835#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task.php:129 
    404836msgid "task" 
    405837msgstr "" 
    406838 
    407 #: includes/menus/isset/task.php:101 
     839#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task.php:48 
     840msgid "New task assigned to you: " 
     841msgstr "" 
     842 
     843#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task.php:50 
     844msgid "There is a new task assigned to you:" 
     845msgstr "" 
     846 
     847#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task.php:101 
    408848msgid "completed" 
    409849msgstr "" 
    410850 
    411 #: includes/menus/isset/task.php:109 
     851#: /Users/scottbasgaard/Sites/collabpress/wp-content/plugins/collabpress/includes/menus/isset/task.php:109 
    412852msgid "opened" 
    413853msgstr "" 
    414854 
    415 #: includes/menus/isset/comment.php:51 includes/menus/isset/comment.php:68 
    416 msgid "comment" 
    417 msgstr "" 
    418  
    419 #: includes/menus/debug.php:10 
    420 msgid "Title: " 
    421 msgstr "" 
    422  
    423 #: includes/menus/debug.php:12 
    424 msgid "ID: " 
    425 msgstr "" 
    426  
    427 #: includes/menus/debug.php:14 
    428 msgid "Author: " 
    429 msgstr "" 
    430  
    431 #: includes/menus/debug.php:16 
    432 msgid "Created: " 
    433 msgstr "" 
    434  
    435 #: includes/menus/debug.php:16 includes/menus/debug.php:18 
    436 msgid "at" 
    437 msgstr "" 
    438  
    439 #: includes/menus/debug.php:18 
    440 msgid "Modified: " 
    441 msgstr "" 
    442  
    443 #: includes/menus/debug.php:30 
    444 msgid "name: " 
    445 msgstr "" 
    446  
    447 #: includes/menus/debug.php:42 
    448 msgid "No results..." 
    449 msgstr "" 
    450  
    451 #: includes/menus/debug.php:50 
    452 msgid "CollabPress Debug" 
    453 msgstr "" 
    454  
    455 #: includes/menus/debug.php:109 
    456 msgid "cp-debug-delete-all" 
    457 msgstr "" 
    458  
    459 #: includes/menus/debug.php:112 
    460 msgid "cp-debug-delete-projects" 
    461 msgstr "" 
    462  
    463 #: includes/menus/debug.php:115 
    464 msgid "cp-debug-delete-task-lists" 
    465 msgstr "" 
    466  
    467 #: includes/menus/debug.php:118 
    468 msgid "cp-debug-delete-tasks" 
    469 msgstr "" 
    470  
    471 #: includes/menus/debug.php:121 
    472 msgid "cp-debug-delete-meta-data" 
    473 msgstr "" 
    474  
    475 #: includes/menus/debug.php:127 
    476 msgid "All Projects" 
    477 msgstr "" 
    478  
    479 #: includes/menus/debug.php:143 
    480 msgid "All Task Lists" 
    481 msgstr "" 
    482  
    483 #: includes/menus/debug.php:175 
    484 msgid "All Meta" 
    485 msgstr "" 
    486  
    487 #: includes/menus/footer.php:2 
    488 msgid "CollabPress" 
    489 msgstr "" 
    490  
    491 #: includes/menus/footer.php:2 
    492 msgid "Please Report Bugs" 
    493 msgstr "" 
    494  
    495 #: includes/menus/footer.php:2 
    496 msgid "Follow us on Twitter:" 
    497 msgstr "" 
    498  
    499 #: includes/menus/footer.php:2 
    500 msgid "Scott" 
    501 msgstr "" 
    502  
    503 #: includes/menus/footer.php:2 
    504 msgid "Brad" 
    505 msgstr "" 
    506  
    507 #: includes/menus/footer.php:2 
    508 msgid "WDS" 
    509 msgstr "" 
    510  
    511 #: includes/menus/help.php:7 includes/menus/dashboard.php:78 
    512 msgid "CollabPress Help" 
    513 msgstr "" 
    514  
    515 #: includes/menus/help.php:8 
    516 msgid "Shortcode Legend" 
    517 msgstr "" 
    518  
    519 #: includes/menus/help.php:9 
    520 msgid "" 
    521 "Add full CollabPress support to the front-end of WordPress.  View/edit/" 
    522 "delete all projects, task-lists, tasks, and comments." 
    523 msgstr "" 
    524  
    525 #: includes/menus/help.php:11 
    526 msgid "Support and Info" 
    527 msgstr "" 
    528  
    529 #: includes/menus/help.php:12 
    530 msgid "Follow on Twitter" 
    531 msgstr "" 
    532  
    533 #: includes/menus/help.php:12 
    534 msgid "Subscribe via Email" 
    535 msgstr "" 
    536  
    537 #: includes/menus/help.php:13 
    538 msgid "Donate" 
    539 msgstr "" 
    540  
    541 #: includes/menus/help.php:22 
    542 msgid "Latest CollabPress News" 
    543 msgstr "" 
    544  
    545 #: includes/menus/help.php:28 
    546 msgid "CollabPress News" 
    547 msgstr "" 
    548  
    549 #: includes/menus/dashboard.php:75 
    550 msgid "Settings" 
    551 msgstr "" 
    552  
    553 #: includes/menus/dashboard.php:78 
    554 msgid "Help" 
    555 msgstr "" 
    556  
    557 #: includes/menus/dashboard.php:81 
    558 msgid "Debug" 
    559 msgstr "" 
    560  
    561 #: includes/menus/dashboard.php:180 
    562 msgid "Users" 
    563 msgstr "" 
    564  
    565 #: includes/menus/dashboard.php:181 
    566 msgid "Overview" 
    567 msgstr "" 
    568  
    569 #: includes/menus/dashboard.php:186 
    570 msgid "Add New Project" 
    571 msgstr "" 
    572  
    573 #: includes/menus/dashboard.php:187 includes/menus/dashboard.php:198 
    574 msgid "Edit Project" 
    575 msgstr "" 
    576  
    577 #: includes/menus/dashboard.php:193 
    578 msgid "Add New Task List" 
    579 msgstr "" 
    580  
    581 #: includes/menus/dashboard.php:194 
    582 msgid "Edit Task List" 
    583 msgstr "" 
    584  
    585 #: includes/menus/dashboard.php:195 
    586 msgid "Project Overview" 
    587 msgstr "" 
    588  
    589 #: includes/menus/dashboard.php:197 includes/menus/dashboard.php:208 
    590 #: includes/menus/dashboard.php:216 
    591 msgid "Files" 
    592 msgstr "" 
    593  
    594 #: includes/menus/dashboard.php:204 
    595 msgid "Add New Task" 
    596 msgstr "" 
    597  
    598 #: includes/menus/dashboard.php:205 includes/menus/dashboard.php:214 
    599 msgid "Edit Task" 
    600 msgstr "" 
    601  
    602 #: includes/menus/dashboard.php:206 
    603 msgid "Task List Overview" 
    604 msgstr "" 
    605  
    606 #: includes/menus/dashboard.php:220 
    607 msgid "Credits" 
    608 msgstr "" 
    609  
    610 #: includes/menus/dashboard.php:300 
    611 msgid "Cheatin&#8217; uh?" 
    612 msgstr "" 
  • collabpress/trunk/readme.txt

    r378438 r442577  
    11=== CollabPress === 
    2 Contributors: WDS-Scott, williamsba1, cochran 
     2Contributors: WDS-Scott, williamsba1, cochran, boonebgorges 
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3084056 
    4 Tags: task, management, basecamp, to do, projects, lists, team, planning, tracking, reporting, shortcode, widget 
     4Tags: task, management, basecamp, to do, projects, lists, team, planning, tracking, reporting, shortcode, widget, multisite, buddypress 
    55Requires at least: 3.0 
    6 Tested up to: 3.1.2 
    7 Stable tag: 1.1.3 
     6Tested up to: 3.2.1 
     7Stable tag: 1.2 
    88 
    99Project management and task tracking software for WordPress 
     
    1818* Easily edit/delete projects, task lists, tasks, and comments 
    1919* Front-end shortcode support 
     20* BuddyPress group integration 
    2021* File upload on projects, task lists, task, and comments 
    2122* Email notifications for new tasks and comments 
     
    2425* Activity log tracking all activity 
    2526 
    26 Works with WordPress and Multisite 
     27Works with WordPress, Multisite, and BuddyPress! 
    2728 
    2829== Screenshots == 
     
    33344. Calendar view with tasks and due dates 
    34355. Shortcode support example 
     366. BuddyPress Group integration 
    3537 
    3638== Changelog == 
     39 
     40= 1.2 = 
     41* BuddyPress Group integration ( requires BP v1.5+ ) 
     42* Assign specific users to each project 
     43* Task item priority setting 
     44* Updated missing __() and _e() for translation 
     45* Fixed missing styles for "Recent Activity" on WP Dashboard 
    3746 
    3847= 1.1.3 = 
     
    102111== Upgrade Notice == 
    103112 
     113= 1.2 = 
     114* BuddyPress Group integration ( requires BP v1.5+ ) 
     115* Assign specific users to each project 
     116* Task item priority setting 
     117* Updated missing __() and _e() for translation 
     118* Fixed missing styles for "Recent Activity" on WP Dashboard 
     119 
    104120= 1.1.3 = 
    105121* Fixed JS conflict with WordPress navigation menus 
     
    149165== Frequently Asked Questions == 
    150166 
    151 = Where did all of my data go? = 
    152  
    153 CollabPress v1.0 does NOT support legacy CollabPress data at this time. If you are running a previous version, your data will not be lost, but it will not be displayed or used in the new version.  To retrieve your data install an older version of CollabPress. 
    154  
    155167= Why are some features not implemented? = 
    156168 
Note: See TracChangeset for help on using the changeset viewer.