Plugin Directory

Changeset 688106


Ignore:
Timestamp:
03/27/2013 07:02:07 PM (13 years ago)
Author:
Jesper800
Message:

Releasing version 0.2.2

Location:
bulkpress/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • bulkpress/trunk/bulkpress.php

    r687505 r688106  
    33Plugin Name: BulkPress
    44Description: Create and manage (restructure hierarchy) vast amounts of categories, terms of custom taxonomies, posts, pages and posts of custom post types in the blink of an eye! The easy-to-use interface allows you to quickly create both hierarchical and non-hierarchical posts and terms by just speciying the title and optionally the slug, allowing you to quickly populate your website with content.
    5 Version: 0.2.1
     5Version: 0.2.2
    66Author: Jesper van Engelen
    77Author URI: http://www.jepps.nl
     
    1010
    1111// Plugin information
    12 define('JWBP_VERSION', '0.2.1');
     12define('JWBP_VERSION', '0.2.2');
    1313
    1414// Paths
  • bulkpress/trunk/lib/classes/Walker/class.TermsHierarchy.php

    r685540 r688106  
    2121                <div class="jwbp-drag"></div>
    2222                <div class="jwbp-content jwbp-content-normal">
    23                     <span class="jwbp-title jwbp-term-title"><?php echo $term->name; ?></span>
     23                    <a href="#" class="jwbp-title jwbp-term-title jwbp-expand" title="<?php esc_attr_e('Expand', 'bulkpress'); ?>"><?php echo $term->name; ?></a>
    2424                    <?php if (false) : ?>
    2525                        <div class="jwbp-item-overlay">
  • bulkpress/trunk/public/css/admin.css

    r687505 r688106  
    55.jwbp-clear { clear: both; }
    66
    7 /* Terms table */
    8 .jwbp-termshierarchy li > .jwbp-container { background: #F9F9F9; }
    9 .jwbp-termshierarchy > li > .jwbp-container { background: #EAF2FA; }
    10 .jwbp-termshierarchy > li > ul > li > .jwbp-container { background: #F9F9F9; }
    11 .jwbp-termshierarchy > li > ul > li > ul > li > .jwbp-container { background: #F3F3F3; }
    12 .jwbp-termshierarchy > li > ul > li > ul > li > ul > li > .jwbp-container { background: #EDEDED; }
    13 .jwbp-termshierarchy > li > ul > li > ul > li > ul > li > ul > li > .jwbp-container { background: #E7E7E7; }
    14 .jwbp-termshierarchy > li > ul > li > ul > li > ul > li > ul > li > ul > li > .jwbp-container { background: #E1E1E1; }
    15 .jwbp-termshierarchy > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > .jwbp-container { background: #DADADA; }
    16 .jwbp-termshierarchy > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li .jwbp-container { background: #D4D4D4; }
    17 .jwbp-termshierarchy > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li .jwbp-container { background: #CECECE; }
    18 .jwbp-termshierarchy > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li .jwbp-container { background: #C8C8C8; }
    19 .jwbp-termshierarchy > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li .jwbp-container { background: #C2C2C2; }
    20 
     7/* Terms hierarchy */
    218.jwbp-termshierarchy { margin: 0; }
    229    .jwbp-termshierarchy ul { margin-left: 16px; }
     10        .jwbp-termshierarchy li { margin: 4px 0 0 0; padding: 0; list-style-type: none; }
     11            .jwbp-termshierarchy .jwbp-container { display: block; position: relative; width: 100%; border: 1px solid #DFDFDF; background: #FCFCFC; }
     12                .jwbp-termshierarchy .jwbp-container .jwbp-drag { position: absolute; display: block; width: 30px; height: 100%; top: -1px; left: -1px; border: 1px solid #DFDFDF; border-right-color: 1px solid #999999; cursor: move; background: url('../images/sort.png') no-repeat 0 center transparent; }
     13                .jwbp-termshierarchy .jwbp-container .jwbp-drag:hover { background-color: #f2f2f2; background-position: -32px center; }
     14                .jwbp-termshierarchy li .jwbp-content { position: relative; margin: 0 0 0 31px; }
     15                    .jwbp-termshierarchy li .jwbp-content .jwbp-title { text-decoration: none; }
     16                .jwbp-termshierarchy li .jwbp-item-overlay { display: none; position: absolute; top: 0px; left: 0px; width: 100%; padding-left: 5px; background: url('../images/helper/opacity/FFFFFF-80.png') repeat 0 0 transparent; text-align: left; }
     17                    .jwbp-termshierarchy li .jwbp-item-overlay a { text-decoration: none; }
     18                    .jwbp-termshierarchy li .jwbp-item-overlay span.trash a { color: #bc0b0b; }
     19                    .jwbp-termshierarchy li .jwbp-item-overlay span.trash a:hover { color: #FF0000; }
     20                .jwbp-termshierarchy li .jwbp-container:hover .jwbp-item-overlay { display: block; }
    2321    .jwbp-termshierarchy .jwbp-placeholder { outline: 1px dashed #95a8bc; }
    24     .jwbp-termshierarchy .jwbp-container { position: relative; }
    25         .jwbp-termshierarchy .jwbp-container .jwbp-drag { position: absolute; display: block; width: 30px; height: 100%; top: -1px; left: -1px; border: 1px solid #DFDFDF; border-radius: 2px 0 0 2px; border-right-color: 1px solid #999999; cursor: move; background-color: #eff4f9; }
    2622
    27 .jwbp-expand { position: absolute; display: block; top: 0; right: 0; width: 80px; height: 100%; z-index: 10; }
    28     .jwbp-expand span { display: block; float: right; width: 12px; height: 11px; margin: 11px 8px 11px 0; background: url('../images/expand.png') no-repeat 0 0 transparent; }
    29     .jwbp-expand:hover span { background-position: -12px 0; }
    30     .jwbp-display-cozy .jwbp-expand span { margin-top: 8px; }
    31     .jwbp-display-compact .jwbp-expand span { margin-top: 5px; }
    32     .mjs-nestedSortable-expanded > .jwbp-container .jwbp-expand span { background-position: -24px 0; }
    33     .mjs-nestedSortable-expanded > .jwbp-container .jwbp-expand:hover span { background-position: -36px 0; }
     23/* Expand term children */
     24.jwbp-container > .jwbp-expand { position: absolute; display: block; top: 0; right: 0; width: 80px; height: 100%; z-index: 10; }
     25    .jwbp-container > .jwbp-expand span { display: block; float: right; width: 12px; height: 11px; margin: 11px 8px 11px 0; background: url('../images/expand.png') no-repeat 0 0 transparent; }
     26    .jwbp-container > .jwbp-expand:hover span { background-position: -12px 0; }
     27    .jwbp-display-cozy .jwbp-container > .jwbp-expand span { margin-top: 8px; }
     28    .jwbp-display-compact .jwbp-container > .jwbp-expand span { margin-top: 5px; }
    3429
     30/* Nested sortable */
     31.mjs-nestedSortable-expanded > .jwbp-container .jwbp-expand span { background-position: -24px 0; }
     32.mjs-nestedSortable-expanded > .jwbp-container .jwbp-expand:hover span { background-position: -36px 0; }
     33.jwbp-termshierarchy li.mjs-nestedSortable-collapsed > ul { display: none; }
     34.jwbp-termshierarchy li.mjs-nestedSortable-leaf .jwbp-content .jwbp-title { color: #888888; cursor: default; }
     35.mjs-nestedSortable-error { background: #fbe3e4; border-color: transparent; }
    3536
    36 .jwbp-termshierarchy li.mjs-nestedSortable-branch > .jwbp-container { box-shadow: 1px 2px 3px #BFDFFF; }
    37 
    38 
     37/* Notices */
    3938#jwbp-notice-unsavedchanges { display: none; }
    4039
    41 
    42 
     40/* Forms */
    4341.jwbp-submit-top { margin: 0 0 12px 0; padding: 0; }
    4442.jwbp-submit-bottom { margin: 12px 0 0 0; padding: 0; }
    4543
     44/* Display types list */
     45.jwbp-listdisplay { margin: 0; padding: 0; }
     46    .jwbp-listdisplay li { display: block; float: right; margin: 0 4px 0 0; padding: 0; list-style-type: none; }
     47        .jwbp-listdisplay li a { display: block; width: 32px; height: 32px; text-indent: -9999px; background-repeat: no-repeat; background-color: transparent; }
     48        .jwbp-listdisplay li a#jwbp-listdisplaytype-comfortable { background-image: url('../images/listdisplay-comfortable.png'); }
     49        .jwbp-listdisplay li a#jwbp-listdisplaytype-cozy { background-image: url('../images/listdisplay-cozy.png'); }
     50        .jwbp-listdisplay li a#jwbp-listdisplaytype-compact { background-image: url('../images/listdisplay-compact.png'); }
     51        .jwbp-listdisplay li a:hover,
     52        .jwbp-listdisplay li.current a { background-position: -32px 0; }
     53    .jwbp-listdisplay li:first-child { margin-right: 0; }
    4654
     55/* Display types */
     56.jwbp-display-comfortable li .jwbp-content { padding: 8px 30px 6px 7px; }
     57    .jwbp-display-comfortable li .jwbp-item-overlay { height: 22px; padding-top: 8px; }
     58.jwbp-display-cozy li .jwbp-content { padding: 5px 30px 3px 5px; }
     59    .jwbp-display-cozy li .jwbp-item-overlay { height: 19px; padding-top: 5px; }
     60.jwbp-display-compact li .jwbp-content { padding: 2px 30px 0px 3px; }
     61    .jwbp-display-compact li .jwbp-item-overlay { height: 16px; padding-top: 2px; }
    4762
    48 .jwbp-termshierarchy li { margin: 4px 0 0 0; padding: 0; list-style-type: none; }
    49     .jwbp-termshierarchy li .jwbp-container { display: block; width: 100%; border: 1px solid #DFDFDF; border-radius: 2px; }
    50         .jwbp-termshierarchy li .jwbp-content { position: relative; margin: 0 0 0 31px; }
    51         .jwbp-display-comfortable li .jwbp-content { padding: 8px 30px 6px 7px; }
    52             .jwbp-display-comfortable li .jwbp-item-overlay { height: 22px; padding-top: 8px; }
    53         .jwbp-display-cozy li .jwbp-content { padding: 5px 30px 3px 5px; }
    54             .jwbp-display-cozy li .jwbp-item-overlay { height: 19px; padding-top: 5px; }
    55         .jwbp-display-compact li .jwbp-content { padding: 2px 30px 0px 3px; }
    56             .jwbp-display-compact li .jwbp-item-overlay { height: 16px; padding-top: 2px; }
    57         .jwbp-termshierarchy li .jwbp-item-overlay { display: none; position: absolute; top: 0px; left: 0px; width: 100%; padding-left: 5px; background: url('../images/helper/opacity/FFFFFF-80.png') repeat 0 0 transparent; text-align: left; }
    58             .jwbp-termshierarchy li .jwbp-item-overlay a { text-decoration: none; }
    59             .jwbp-termshierarchy li .jwbp-item-overlay span.trash a { color: #bc0b0b; }
    60             .jwbp-termshierarchy li .jwbp-item-overlay span.trash a:hover { color: #FF0000; }
    61         .jwbp-termshierarchy li .jwbp-container:hover .jwbp-item-overlay { display: block; }
    62         /*.jwbp-termshierarchy li .jwbp-container:hover .jwbp-content { text-align: right; }*/
    63     .jwbp-termshierarchy li.ui-sortable-helper > .jwbp-content { font-weight: bold; }
    64 .jwbp-termshierarchy li.mjs-nestedSortable-collapsed > ul { display: none; }
    65 
     63/* Future */
    6664.jwbp-termshierarchy li > .jwbp-container .jwbp-content-deleted { border-color: #f2f2f2; color: #b7b7b7; background-color: #FAFCFE; }
    6765    .jwbp-termshierarchy li > .jwbp-container .jwbp-content-deleted .jwbp-drag { border-color: #f2f2f2; background-color: #FBFDFE; }
     
    8280.jwbp-termshierarchy li.jwbp-editing > .jwbp-container .jwbp-content-edit { display: block; }
    8381
    84 .jwbp-listdisplay { margin: 0; padding: 0; }
    85     .jwbp-listdisplay li { display: block; float: right; margin: 0 4px 0 0; padding: 0; list-style-type: none; }
    86         .jwbp-listdisplay li a { display: block; width: 32px; height: 32px; text-indent: -9999px; background-repeat: no-repeat; background-color: transparent; }
    87         .jwbp-listdisplay li a#jwbp-listdisplaytype-comfortable { background-image: url('../images/listdisplay-comfortable.png'); }
    88         .jwbp-listdisplay li a#jwbp-listdisplaytype-cozy { background-image: url('../images/listdisplay-cozy.png'); }
    89         .jwbp-listdisplay li a#jwbp-listdisplaytype-compact { background-image: url('../images/listdisplay-compact.png'); }
    90         .jwbp-listdisplay li a:hover,
    91         .jwbp-listdisplay li.current a { background-position: -32px 0; }
    92     .jwbp-listdisplay li:first-child { margin-right: 0; }
    93 
    94 /* Nestable sort jquery */
    95 .mjs-nestedSortable-error { background: #fbe3e4; border-color: transparent; }
    96 
    97 /* Taxonomies */
     82/* Add terms */
    9883.jwbp-addterms-terms td > div { margin-bottom: 10px; }
    9984    .jwbp-addterms-terms td > div > div { clear: both; }
     
    10691.jwbp-addterms-terms td > div.description { clear: both; }
    10792
    108 /* Posts */
     93/* Add posts */
    10994.jwbp-addposts-posts td > div { margin-bottom: 10px; }
    11095    .jwbp-addposts-posts td > div > div { clear: both; }
  • bulkpress/trunk/public/js/admin-terms-reorganize.js

    r685540 r688106  
    1111           
    1212            if ($(this).find('li').length) {
    13                 if (!$(this).children('.jwbp-container').find('.jwbp-expand').length) {
     13                if (!$(this).find('> .jwbp-container > .jwbp-expand').length) {
    1414                    $(this).children('.jwbp-container').prepend('<a href="#" class="jwbp-expand"><span></span></a>');
    15                    
    16                     $(this).find('.jwbp-expand').click(function() {
    17                         $(this).closest('li').toggleClass('mjs-nestedSortable-collapsed').toggleClass('mjs-nestedSortable-expanded');
    18                     });
    1915                }
    2016            }
    2117            else {
    22                 $(this).children('.jwbp-container').find('.jwbp-expand').remove();
     18                $(this).find('> .jwbp-container > .jwbp-expand').remove();
    2319            }
     20           
     21            $(this).find('.jwbp-expand').unbind('click').click(function() {
     22                $(this).closest('li').toggleClass('mjs-nestedSortable-collapsed').toggleClass('mjs-nestedSortable-expanded');
     23               
     24                return false;
     25            });
    2426        });
    2527    });
  • bulkpress/trunk/readme.txt

    r687505 r688106  
    77Requires at least: 3.1
    88Tested up to: 3.5.1
    9 Stable tag: 0.2.1
     9Stable tag: 0.2.2
    1010
    1111Easily add and manage multiple categories, pages, custom taxonomy terms and custom post type posts. Create and reorder terms in a blink, making the tedious process of managing vast amounts of posts and terms just a walk in the park.
     
    5454== Changelog ==
    5555
     56= 0.2.2 =
     57
     58* Update terms hierarchy panel for increased usability
     59
    5660= 0.2.1 =
    5761
Note: See TracChangeset for help on using the changeset viewer.