CMS Tree Page View - Version 0.7

Version Description

  • added comment count to pop up
  • added support for custom columns in pop up
Download this release

Release Info

Developer eskapism
Plugin Icon wp plugin CMS Tree Page View
Version 0.7
Comparing to
See all releases

Code changes from version 0.6.3 to 0.7

Files changed (5) hide show
  1. functions.php +89 -18
  2. index.php +2 -2
  3. readme.txt +14 -4
  4. scripts/cms_tree_page_view.js +2 -0
  5. styles/styles.css +18 -1
functions.php CHANGED
@@ -1,5 +1,9 @@
1
  <?php
2
 
 
 
 
 
3
  function cms_tpv_admin_head() {
4
 
5
  global $cms_tpv_view;
@@ -42,8 +46,8 @@ function cms_tpv_admin_init() {
42
 
43
  wp_enqueue_script( "cms_tree_page_view", CMS_TPV_URL . "scripts/cms_tree_page_view.js", false, CMS_TPV_VERSION);
44
 
45
- // DEBUG
46
- //wp_enqueue_script( "jquery-hotkeys" );
47
 
48
  load_plugin_textdomain('cms-tree-page-view', WP_CONTENT_DIR . "/plugins/languages", "/cms-tree-page-view/languages");
49
  $oLocale = array(
@@ -95,11 +99,14 @@ function cms_tpv_save_settings() {
95
  }
96
 
97
  function cms_tpv_wp_dashboard_setup() {
98
- $options = cms_tpv_get_options();
99
- foreach ($options["dashboard"] as $one_dashboard_post_type) {
100
- $post_type_object = get_post_type_object($one_dashboard_post_type);
101
- $new_func_name = create_function('', "cms_tpv_dashboard($one_dashboard_post_type);");
102
- wp_add_dashboard_widget( "cms_tpv_dashboard_widget_{$one_dashboard_post_type}", $post_type_object->labels->name . " Tree View", $new_func_name );
 
 
 
103
  }
104
  }
105
 
@@ -124,7 +131,7 @@ function cms_tpv_admin_menu() {
124
  $slug = "edit.php?post_type=$one_menu_post_type";
125
  }
126
  $post_type_object = get_post_type_object($one_menu_post_type);
127
- add_submenu_page($slug, $post_type_object->labels->name . " Tree View", $post_type_object->labels->name . " Tree View", "administrator", "cms-tpv-page-$one_menu_post_type", "cms_tpv_pages_page");
128
  }
129
 
130
  add_submenu_page( 'options-general.php' , CMS_TPV_NAME, CMS_TPV_NAME, "administrator", "cms-tpv-options", "cms_tpv_options");
@@ -237,6 +244,7 @@ function cms_tpv_print_common_tree_stuff($post_type = "") {
237
  }
238
  $post_type_object = get_post_type_object($post_type);
239
  $get_pages_args = array("post_type" => $post_type);
 
240
  $pages = cms_tpv_get_pages($get_pages_args);
241
 
242
  $wpml_current_lang = "";
@@ -349,6 +357,7 @@ function cms_tpv_print_common_tree_stuff($post_type = "") {
349
  <dt><?php _e("Page ID", "cms-tree-page-view") ?></dt>
350
  <dd><span class="cms_tpv_page_actions_page_id"></span></dd>
351
  </dl>
 
352
  <span class="cms_tpv_page_actions_arrow"></span>
353
  </div>
354
  <?php
@@ -381,7 +390,7 @@ function cms_tpv_pages_page() {
381
  }
382
 
383
  /**
384
- * Stripped down code from get_pages. Modified to get drafts and some other stuff too.
385
  */
386
  function cms_tpv_get_pages($args = null) {
387
 
@@ -413,10 +422,11 @@ function cms_tpv_get_pages($args = null) {
413
  } else {
414
  $get_posts_args["post_status"] = "publish";
415
  }
 
 
 
416
 
417
  #do_action_ref_array('parse_query', array(&$this));
418
- #bonny_d($get_posts_args);
419
-
420
  $pages = get_posts($get_posts_args);
421
 
422
  // filter out pages for wpml, by applying same filter as get_pages does
@@ -431,6 +441,11 @@ function cms_tpv_parse_query($q) {
431
  # bonny_d($q);
432
  }
433
 
 
 
 
 
 
434
  /**
435
  * Output JSON for the children of a node
436
  * $arrOpenChilds = array with id of pages to open children on
@@ -438,10 +453,25 @@ function cms_tpv_parse_query($q) {
438
  function cms_tpv_print_childs($pageID, $view = "all", $arrOpenChilds = null, $post_type) {
439
 
440
  $arrPages = cms_tpv_get_pages("parent=$pageID&view=$view&post_type=$post_type");
 
441
  if ($arrPages) {
 
 
 
 
 
 
 
 
 
 
442
  ?>[<?php
443
  for ($i=0, $pagesCount = sizeof($arrPages); $i<$pagesCount; $i++) {
 
 
444
  $onePage = $arrPages[$i];
 
 
445
  $editLink = get_edit_post_link($onePage->ID, 'notDisplay');
446
  $content = wp_specialchars($onePage->post_content);
447
  $content = str_replace(array("\n","\r"), "", $content);
@@ -464,19 +494,16 @@ function cms_tpv_print_childs($pageID, $view = "all", $arrOpenChilds = null, $po
464
  }
465
 
466
  // modified time
467
- #$post_modified_time = get_post_modified_time('U', false, $onePage, false);
468
  $post_modified_time = strtotime($onePage->post_modified);
469
  $post_modified_time = date_i18n(get_option('date_format'), $post_modified_time, false);
470
 
471
  // last edited by
472
- global $post;
473
- $tmpPost = $post;
474
  $post = $onePage;
 
475
  $post_author = get_the_modified_author();
476
  if (empty($post_author)) {
477
  $post_author = __("Unknown user", 'cms-tree-page-view');
478
  }
479
- $post = $tmpPost;
480
 
481
  $title = get_the_title($onePage->ID); // so hooks and stuff will do their work
482
  if (empty($title)) {
@@ -485,6 +512,49 @@ function cms_tpv_print_childs($pageID, $view = "all", $arrOpenChilds = null, $po
485
  $title = wp_specialchars($title);
486
  #$title = html_entity_decode($title, ENT_COMPAT, "UTF-8");
487
  #$title = html_entity_decode($title, ENT_COMPAT);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
488
  ?>
489
  {
490
  "data": {
@@ -511,7 +581,8 @@ function cms_tpv_print_childs($pageID, $view = "all", $arrOpenChilds = null, $po
511
  "permalink": "<?php echo htmlspecialchars_decode(get_permalink($onePage->ID)) ?>",
512
  "editlink": "<?php echo htmlspecialchars_decode($editLink) ?>",
513
  "modified_time": "<?php echo $post_modified_time ?>",
514
- "modified_author": "<?php echo $post_author ?>"
 
515
  }
516
  <?php
517
  // if id is in $arrOpenChilds then also output children on this one
@@ -536,6 +607,7 @@ function cms_tpv_print_childs($pageID, $view = "all", $arrOpenChilds = null, $po
536
  // Act on AJAX-call
537
  function cms_tpv_get_childs() {
538
 
 
539
  header("Content-type: application/json");
540
 
541
  $action = $_GET["action"];
@@ -605,7 +677,7 @@ function cms_tpv_get_childs() {
605
  } else {
606
 
607
  // regular get
608
-
609
  $id = $_GET["id"];
610
  $id = (int) str_replace("cms-tpv-", "", $id);
611
 
@@ -618,7 +690,6 @@ function cms_tpv_get_childs() {
618
  $jstree_open[$i] = (int) str_replace("#cms-tpv-", "", $jstree_open[$i]);
619
  }
620
  }
621
-
622
  cms_tpv_print_childs($id, $view, $jstree_open, $post_type);
623
  exit;
624
  }
1
  <?php
2
 
3
+ // for debug, remember to comment out (yes.. i *know* i will forget this later on...)
4
+ #require("FirePHPCore/FirePHP.class.php");
5
+ #$firephp = FirePHP::getInstance(true);
6
+
7
  function cms_tpv_admin_head() {
8
 
9
  global $cms_tpv_view;
46
 
47
  wp_enqueue_script( "cms_tree_page_view", CMS_TPV_URL . "scripts/cms_tree_page_view.js", false, CMS_TPV_VERSION);
48
 
49
+ // DEBUG
50
+ //wp_enqueue_script( "jquery-hotkeys" );
51
 
52
  load_plugin_textdomain('cms-tree-page-view', WP_CONTENT_DIR . "/plugins/languages", "/cms-tree-page-view/languages");
53
  $oLocale = array(
99
  }
100
 
101
  function cms_tpv_wp_dashboard_setup() {
102
+ // add dashboard to capability edit_pages only
103
+ if (current_user_can("edit_pages")) {
104
+ $options = cms_tpv_get_options();
105
+ foreach ($options["dashboard"] as $one_dashboard_post_type) {
106
+ $post_type_object = get_post_type_object($one_dashboard_post_type);
107
+ $new_func_name = create_function('', "cms_tpv_dashboard($one_dashboard_post_type);");
108
+ wp_add_dashboard_widget( "cms_tpv_dashboard_widget_{$one_dashboard_post_type}", $post_type_object->labels->name . " Tree View", $new_func_name );
109
+ }
110
  }
111
  }
112
 
131
  $slug = "edit.php?post_type=$one_menu_post_type";
132
  }
133
  $post_type_object = get_post_type_object($one_menu_post_type);
134
+ add_submenu_page($slug, $post_type_object->labels->name . " Tree View", $post_type_object->labels->name . " Tree View", "editor", "cms-tpv-page-$one_menu_post_type", "cms_tpv_pages_page");
135
  }
136
 
137
  add_submenu_page( 'options-general.php' , CMS_TPV_NAME, CMS_TPV_NAME, "administrator", "cms-tpv-options", "cms_tpv_options");
244
  }
245
  $post_type_object = get_post_type_object($post_type);
246
  $get_pages_args = array("post_type" => $post_type);
247
+
248
  $pages = cms_tpv_get_pages($get_pages_args);
249
 
250
  $wpml_current_lang = "";
357
  <dt><?php _e("Page ID", "cms-tree-page-view") ?></dt>
358
  <dd><span class="cms_tpv_page_actions_page_id"></span></dd>
359
  </dl>
360
+ <div class="cms_tpv_page_actions_columns"></div>
361
  <span class="cms_tpv_page_actions_arrow"></span>
362
  </div>
363
  <?php
390
  }
391
 
392
  /**
393
+ * Get the pages
394
  */
395
  function cms_tpv_get_pages($args = null) {
396
 
422
  } else {
423
  $get_posts_args["post_status"] = "publish";
424
  }
425
+
426
+ // does not work with plugin role scoper. don't know why, but this shold fix it
427
+ remove_action("get_pages", array('ScoperHardway', 'flt_get_pages'), 1, 2);
428
 
429
  #do_action_ref_array('parse_query', array(&$this));
 
 
430
  $pages = get_posts($get_posts_args);
431
 
432
  // filter out pages for wpml, by applying same filter as get_pages does
441
  # bonny_d($q);
442
  }
443
 
444
+ function cms_tpv_firedebug($var) {
445
+ global $firephp;
446
+ $firephp->log($var);
447
+ }
448
+
449
  /**
450
  * Output JSON for the children of a node
451
  * $arrOpenChilds = array with id of pages to open children on
453
  function cms_tpv_print_childs($pageID, $view = "all", $arrOpenChilds = null, $post_type) {
454
 
455
  $arrPages = cms_tpv_get_pages("parent=$pageID&view=$view&post_type=$post_type");
456
+
457
  if ($arrPages) {
458
+
459
+ global $current_screen;
460
+ $screen = convert_to_screen("edit");
461
+ $posts_columns = get_column_headers($screen);
462
+ unset($posts_columns["cb"], $posts_columns["title"], $posts_columns["author"], $posts_columns["categories"], $posts_columns["tags"], $posts_columns["date"]);
463
+
464
+ global $post;
465
+ #$tmpPost = $post;
466
+ #cms_tpv_firedebug(timer_stop());
467
+
468
  ?>[<?php
469
  for ($i=0, $pagesCount = sizeof($arrPages); $i<$pagesCount; $i++) {
470
+
471
+ #cms_tpv_firedebug(timer_stop());
472
  $onePage = $arrPages[$i];
473
+ $page_id = $onePage->ID;
474
+
475
  $editLink = get_edit_post_link($onePage->ID, 'notDisplay');
476
  $content = wp_specialchars($onePage->post_content);
477
  $content = str_replace(array("\n","\r"), "", $content);
494
  }
495
 
496
  // modified time
 
497
  $post_modified_time = strtotime($onePage->post_modified);
498
  $post_modified_time = date_i18n(get_option('date_format'), $post_modified_time, false);
499
 
500
  // last edited by
 
 
501
  $post = $onePage;
502
+ setup_postdata($post);
503
  $post_author = get_the_modified_author();
504
  if (empty($post_author)) {
505
  $post_author = __("Unknown user", 'cms-tree-page-view');
506
  }
 
507
 
508
  $title = get_the_title($onePage->ID); // so hooks and stuff will do their work
509
  if (empty($title)) {
512
  $title = wp_specialchars($title);
513
  #$title = html_entity_decode($title, ENT_COMPAT, "UTF-8");
514
  #$title = html_entity_decode($title, ENT_COMPAT);
515
+
516
+ // fetch columns
517
+ $str_columns = "";
518
+ foreach ( $posts_columns as $column_name => $column_display_name ) {
519
+ $col_name = $column_display_name;
520
+ if ($column_name == "comments") {
521
+ $col_name = __("Comments");
522
+ }
523
+ $str_columns .= "<dt>$col_name</dt>";
524
+ $str_columns .= "<dd>";
525
+ if ($column_name == "comments") {
526
+ $str_columns .= '<div class="post-com-count-wrapper">';
527
+ $left = get_pending_comments_num( $onePage->ID );
528
+ $pending_phrase = sprintf( __('%s pending'), number_format( $left ) );
529
+ $pending_phrase2 = "";
530
+ if ($left) {
531
+ $pending_phrase2 = " + $left " . __("pending");
532
+ }
533
+
534
+ if ( $left ) {
535
+ $str_columns .= '<strong>';
536
+ }
537
+ ob_start();
538
+ comments_number("<a href='edit-comments.php?p=$page_id' title='$pending_phrase'><span>" . _x('0', 'comment count') . "$pending_phrase2</span></a>", "<a href='edit-comments.php?p=$page_id' title='$pending_phrase' class=''><span class=''>" . _x('1', 'comment count') . "$pending_phrase2</span></a>", "<a href='edit-comments.php?p=$page_id' title='$pending_phrase' class=''><span class=''>" . _x('%', 'comment count') . "$pending_phrase2</span></a>");
539
+ $str_columns .= ob_get_clean();
540
+ if ( $left ) {
541
+ $str_columns .= '</strong>';
542
+ }
543
+ $str_columns .= "</div>";
544
+ } else {
545
+ ob_start();
546
+ do_action('manage_pages_custom_column', $column_name, $onePage->ID);
547
+ $str_columns .= ob_get_clean();
548
+ }
549
+ $str_columns .= "</dd>";
550
+ }
551
+
552
+ if ($str_columns) {
553
+ $str_columns = "<dl>$str_columns</dl>";
554
+ }
555
+ // @todo: lägg till col comments, data
556
+
557
+ #$post = $tmpPost; // @todo: should do this at the end instead?
558
  ?>
559
  {
560
  "data": {
581
  "permalink": "<?php echo htmlspecialchars_decode(get_permalink($onePage->ID)) ?>",
582
  "editlink": "<?php echo htmlspecialchars_decode($editLink) ?>",
583
  "modified_time": "<?php echo $post_modified_time ?>",
584
+ "modified_author": "<?php echo $post_author ?>",
585
+ "columns": "<?php echo rawurlencode($str_columns) ?>"
586
  }
587
  <?php
588
  // if id is in $arrOpenChilds then also output children on this one
607
  // Act on AJAX-call
608
  function cms_tpv_get_childs() {
609
 
610
+ // @todo: activate again!
611
  header("Content-type: application/json");
612
 
613
  $action = $_GET["action"];
677
  } else {
678
 
679
  // regular get
680
+
681
  $id = $_GET["id"];
682
  $id = (int) str_replace("cms-tpv-", "", $id);
683
 
690
  $jstree_open[$i] = (int) str_replace("#cms-tpv-", "", $jstree_open[$i]);
691
  }
692
  }
 
693
  cms_tpv_print_childs($id, $view, $jstree_open, $post_type);
694
  exit;
695
  }
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CMS Tree Page View
4
  Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
5
  Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. By using the tree you can edit, view, add pages and even search pages (useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
6
- Version: 0.6.3
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -27,7 +27,7 @@ License: GPL2
27
 
28
  require("functions.php");
29
 
30
- define( "CMS_TPV_VERSION", "0.6.3");
31
  define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
32
  define( "CMS_TPV_NAME", "CMS Tree Page View");
33
 
3
  Plugin Name: CMS Tree Page View
4
  Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
5
  Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. By using the tree you can edit, view, add pages and even search pages (useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
6
+ Version: 0.7
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
27
 
28
  require("functions.php");
29
 
30
+ define( "CMS_TPV_VERSION", "0.7");
31
  define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
32
  define( "CMS_TPV_NAME", "CMS Tree Page View");
33
 
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Plugin Name ===
2
  Contributors: eskapism
3
  Donate link: http://eskapism.se/sida/donate/
4
- Tags: page, pages, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
5
  Requires at least: 3.0
6
  Tested up to: 3.0
7
  Stable tag: trunk
@@ -13,7 +13,8 @@ Adds a CMS-like tree overview of your pages or custom posts. Rearrange the order
13
  This plugin adds a CMS-like tree overview of all your pages and custom posts to WordPress - much like the view often found in a page-focused CMS, or like Windows Explorer or OS X Finder.
14
  Within this tree you can edit pages, view pages, add pages, search pages, and drag and drop pages to rearrange the order.
15
 
16
- CMS Tree Page View is a good alternative to plugins such as [pageMash](http://wordpress.org/extend/plugins/pagemash/), [WordPress Page Tree](http://wordpress.org/extend/plugins/page-tree/) and (http://wordpress.org/extend/plugins/my-page-order/)[My Page Order].
 
17
 
18
  Page management won't get any easier than this!
19
 
@@ -35,6 +36,7 @@ Watch this screencast to see how easy you could be managing your pages:
35
 
36
  #### Translations/Languages
37
  This plugin is available in the following languages:
 
38
  * English
39
  * German
40
  * French
@@ -47,10 +49,9 @@ If you're looking for a version of this page tree that the vistors of your site
47
  this navigation widget called [Nice Navigation](http://wordpress.org/extend/plugins/nice-navigation/).
48
 
49
  #### Donation and more plugins
50
- * If you like this plugin don't forget to donate to support further development.
51
  * Check out some [more plugins](http://wordpress.org/extend/plugins/profile/eskapism) by the same author.
52
 
53
-
54
  == Installation ==
55
 
56
  1. Upload the folder "cms-tree-page-view" to "/wp-content/plugins/"
@@ -71,6 +72,15 @@ Now the tree with the pages will be visible both on the dashboard and in the men
71
 
72
  == Changelog ==
73
 
 
 
 
 
 
 
 
 
 
74
  = 0.6.3 =
75
  - tree is activated for pages during install, so the user does not need to set up anything during first run
76
 
1
  === Plugin Name ===
2
  Contributors: eskapism
3
  Donate link: http://eskapism.se/sida/donate/
4
+ Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
5
  Requires at least: 3.0
6
  Tested up to: 3.0
7
  Stable tag: trunk
13
  This plugin adds a CMS-like tree overview of all your pages and custom posts to WordPress - much like the view often found in a page-focused CMS, or like Windows Explorer or OS X Finder.
14
  Within this tree you can edit pages, view pages, add pages, search pages, and drag and drop pages to rearrange the order.
15
 
16
+ CMS Tree Page View is a good alternative to plugins such as [pageMash](http://wordpress.org/extend/plugins/pagemash/), [WordPress Page Tree](http://wordpress.org/extend/plugins/page-tree/)
17
+ and [My Page Order](http://wordpress.org/extend/plugins/my-page-order/) .
18
 
19
  Page management won't get any easier than this!
20
 
36
 
37
  #### Translations/Languages
38
  This plugin is available in the following languages:
39
+
40
  * English
41
  * German
42
  * French
49
  this navigation widget called [Nice Navigation](http://wordpress.org/extend/plugins/nice-navigation/).
50
 
51
  #### Donation and more plugins
52
+ * If you like this plugin don't forget to [donate to support further development](http://eskapism.se/sida/donate/).
53
  * Check out some [more plugins](http://wordpress.org/extend/plugins/profile/eskapism) by the same author.
54
 
 
55
  == Installation ==
56
 
57
  1. Upload the folder "cms-tree-page-view" to "/wp-content/plugins/"
72
 
73
  == Changelog ==
74
 
75
+ = 0.7 =
76
+ - added comment count to pop up
77
+ - added support for custom columns in pop up = now you have the same information available in CMS Tree Vage View as in the normal page/post edit screen
78
+ - fixed some colors to better match worpress own style
79
+ - editor capability required to view tree. previosly only administators chould see the tree in the menu, while everyone could view the tree on the dashboard.
80
+ - no more infinite loops with role scoper installed
81
+ - tested on WordPress Multisite
82
+ -
83
+
84
  = 0.6.3 =
85
  - tree is activated for pages during install, so the user does not need to set up anything during first run
86
 
scripts/cms_tree_page_view.js CHANGED
@@ -184,6 +184,8 @@ jQuery(".jstree li").live("mouseover", function(e) {
184
  div_actions_for_post_type.find(".cms_tpv_page_actions_modified_by").text($li.data("jstree").modified_author);
185
  div_actions_for_post_type.find(".cms_tpv_page_actions_page_id").text($li.data("jstree").post_id);
186
 
 
 
187
  // position and show action div
188
  var $a = $li.find("a");
189
  var width = $a.outerWidth(true);
184
  div_actions_for_post_type.find(".cms_tpv_page_actions_modified_by").text($li.data("jstree").modified_author);
185
  div_actions_for_post_type.find(".cms_tpv_page_actions_page_id").text($li.data("jstree").post_id);
186
 
187
+ div_actions_for_post_type.find(".cms_tpv_page_actions_columns").html( unescape($li.data("jstree").columns) );
188
+
189
  // position and show action div
190
  var $a = $li.find("a");
191
  var width = $a.outerWidth(true);
styles/styles.css CHANGED
@@ -198,9 +198,12 @@ li span.cms_tpv_action_add_page {
198
 
199
  .cms_tpv_annoying_little_box {
200
  padding: 1em;
201
- background-color: #FFFFE0;
202
  border: 1px solid #E6DB55;
203
  margin: 1em 0 1em 0;
 
 
 
204
  }
205
  .cms_tpv_annoying_little_box p {
206
  margin: 0 0 .5em 0;
@@ -277,3 +280,17 @@ p.cms_tpv_annoying_little_box_close {
277
  top: 7px;
278
  left: -8px;
279
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
 
199
  .cms_tpv_annoying_little_box {
200
  padding: 1em;
201
+ background-color: #FFFBCC;
202
  border: 1px solid #E6DB55;
203
  margin: 1em 0 1em 0;
204
+ -moz-border-radius: 6px;
205
+ -webkit-border-radius: 6px;
206
+ border-radius: 6px;
207
  }
208
  .cms_tpv_annoying_little_box p {
209
  margin: 0 0 .5em 0;
280
  top: 7px;
281
  left: -8px;
282
  }
283
+
284
+ .cms_tpv_page_actions_columns table td {
285
+ font-size: 11px;
286
+ }
287
+
288
+ .cms_tpv_page_actions_columns .vers {
289
+ display: inline;
290
+ padding-right: 2px;
291
+ vertical-align: middle;
292
+ }
293
+ .cms_tpv_page_actions_columns .post-com-count-wrapper {
294
+ }
295
+ .cms_tpv_wrapper .cms_tpv_page_actions_columns a.post-com-count {
296
+ }