Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug fixes, new admin bar stuff, and few other awesome bits of code.

git-svn-id: http://svn.locallylost.com/plugins/members/trunk@749 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
commit 8f535257b6477b51eb31674cc46a42d64013bdfc 1 parent f6b0d6d
greenshady authored
View
9 admin/admin.php
@@ -44,11 +44,12 @@ function members_admin_setup() {
$members->edit_roles_page = add_submenu_page( 'users.php', esc_attr__( 'Roles', 'members' ), esc_attr__( 'Roles', 'members' ), $edit_roles_cap, 'roles', 'members_edit_roles_page' );
/* Create the New Role page. */
- $members->new_roles_page = add_submenu_page( 'users.php', esc_attr__( 'Add New Role', 'members' ), esc_attr__( 'Add New Role', 'members' ), 'create_roles', 'new-role', 'members_new_role_page' );
+ $members->new_roles_page = add_submenu_page( 'users.php', esc_attr__( 'Add New Role', 'members' ), esc_attr__( 'Add New Role', 'members' ), 'create_roles', 'role-new', 'members_new_role_page' );
}
/* Load post meta boxes on the post editing screen. */
add_action( 'load-post.php', 'members_admin_load_post_meta_boxes' );
+ add_action( 'load-post-new.php', 'members_admin_load_post_meta_boxes' );
/* Load stylesheets and scripts for our custom admin pages. */
add_action( 'admin_enqueue_scripts', 'members_admin_enqueue_style' );
@@ -65,7 +66,7 @@ function members_admin_enqueue_style( $hook_suffix ) {
$pages = array(
'users_page_roles',
- 'users_page_new-role',
+ 'users_page_role-new',
'settings_page_members-settings'
);
@@ -83,7 +84,7 @@ function members_admin_enqueue_scripts( $hook_suffix ) {
$pages = array(
'users_page_roles',
- 'users_page_new-role'
+ 'users_page_role-new'
);
if ( in_array( $hook_suffix, $pages ) )
@@ -173,7 +174,7 @@ function members_admin_contextual_help( $text, $screen ) {
}
/* Text to show on the "Add New Role" screen in the admin. */
- elseif ( 'users_page_new-role' == $screen ) {
+ elseif ( 'users_page_role-new' == $screen ) {
$text = '';
$text .= '<p>' . __( 'This screen allows you to create a new user role for your site. You must input a unique role name and role label. You can also grant capabilities (permissions) to the new role. Capabilities are both powerful and dangerous tools. You should not add a capability to a role unless you understand what permission you are granting.', 'members' ) . '</p>';
View
6 admin/role-edit.php
@@ -1,5 +1,7 @@
<?php
/**
+ * This file handles the display of the edit role form and the updates submitted by the user for the role.
+ *
* @package Members
* @subpackage Admin
*/
@@ -63,10 +65,10 @@
<h2>
<?php _e( 'Edit Role', 'members' ); ?>
- <?php if ( current_user_can( 'create_roles' ) ) echo '<a href="' . admin_url( 'users.php?page=new-role' ) . '" class="add-new-h2">' . __( 'Add New', 'members' ) . '</a>'; ?>
+ <?php if ( current_user_can( 'create_roles' ) ) echo '<a href="' . admin_url( 'users.php?page=role-new' ) . '" class="add-new-h2">' . __( 'Add New', 'members' ) . '</a>'; ?>
</h2>
- <?php if ( !empty( $role_updated ) ) echo '<div class="updated"><p><strong>' . esc_html__( 'Role updated.', 'members' ) . '</strong></p><p><a href="' . admin_url( 'users.php?page=roles' ) . '">' . esc_html__( '&larr; Back to Roles', 'members' ) . '</a></p></div>'; ?>
+ <?php if ( !empty( $role_updated ) ) echo '<div class="updated"><p><strong>' . __( 'Role updated.', 'members' ) . '</strong></p><p><a href="' . admin_url( 'users.php?page=roles' ) . '">' . __( '&larr; Back to Roles', 'members' ) . '</a></p></div>'; ?>
<?php do_action( 'members_pre_edit_role_form' ); //Available pre-form hook for displaying messages. ?>
View
2  admin/role-new.php
@@ -49,7 +49,7 @@
<div id="poststuff">
- <form name="form0" method="post" action="<?php echo admin_url( 'users.php?page=new-role' ); ?>">
+ <form name="form0" method="post" action="<?php echo admin_url( 'users.php?page=role-new' ); ?>">
<?php wp_nonce_field( members_get_nonce( 'new-role' ) ); ?>
View
2  admin/roles-list-table.php
@@ -55,7 +55,7 @@
<h2>
<?php _e( 'Roles', 'members' ); ?>
- <?php if ( current_user_can( 'create_roles' ) ) echo '<a href="' . admin_url( 'users.php?page=new-role' ) . '" class="add-new-h2">' . __( 'Add New', 'members' ) . '</a>'; ?>
+ <?php if ( current_user_can( 'create_roles' ) ) echo '<a href="' . admin_url( 'users.php?page=role-new' ) . '" class="add-new-h2">' . __( 'Add New', 'members' ) . '</a>'; ?>
</h2>
<?php do_action( 'members_pre_edit_roles_form' ); // Available action hook for displaying messages. ?>
View
6 admin/roles.php
@@ -89,6 +89,12 @@
require_once( MEMBERS_ADMIN . 'role-edit.php' );
}
+ /* If the user can't edit roles. */
+ else {
+ /* Load the edit roles page.*/
+ require_once( MEMBERS_ADMIN . 'roles-list-table.php' );
+ }
+
/* Break out of switch statement. */
break;
View
20 css/admin.css
@@ -1,6 +1,4 @@
-/**
- * CSS for the plugin settings page.
- */
+/* Plugin settings page. */
.settings_page_members-settings .form-table th {
width: 20%;
font-weight: bold;
@@ -50,20 +48,20 @@
text-align: right;
}
-
+/* Role management pages. */
.users_page_roles .members-role-checkbox,
-.users_page_new-role .members-role-checkbox {
+.users_page_role-new .members-role-checkbox {
overflow: hidden;
margin: 0 0 5px 0;
float: left;
width: 32.67%;
}
.users_page_roles .clear,
-.users_page_new-role .clear {
+.users_page_role-new .clear {
clear: both;
}
.users_page_roles .members-role-checkbox .has-cap,
-.users_page_new-role .members-role-checkbox .has-cap {
+.users_page_role-new .members-role-checkbox .has-cap {
font-weight: bold;
}
.users_page_roles a#members-add-new-cap {
@@ -88,10 +86,4 @@
.users_page_roles .hide-if-no-js {
display: none;
- }
-
-
-
-
-
-
+ }
View
339 docs/license.txt
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
View
36 includes/admin-bar.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Functions for modifying the WordPress admin bar.
+ *
+ * @package Members
+ * @subpackage Functions
+ */
+
+/* Hook the members admin bar to 'wp_before_admin_bar_render'. */
+add_action( 'wp_before_admin_bar_render', 'members_admin_bar' );
+
+/**
+ * Adds new menu items to the WordPress admin bar.
+ *
+ * @since 0.2.0
+ * @global object $wp_admin_bar
+ */
+function members_admin_bar() {
+ global $wp_admin_bar;
+
+ /* Check if the current user can 'create_roles'. */
+ if ( current_user_can( 'create_roles' ) ) {
+
+ /* Add a 'Role' menu item as a sub-menu item of the new content menu. */
+ $wp_admin_bar->add_menu(
+ array(
+ 'id' => 'members-new-role',
+ 'parent' => 'new-content',
+ 'title' => esc_attr__( 'Role', 'members' ),
+ 'href' => admin_url( 'users.php?page=role-new' )
+ )
+ );
+ }
+}
+
+?>
View
78 includes/content-permissions.php
@@ -7,7 +7,7 @@
* @subpackage Functions
*/
-/* Enable the content permissions features on the front end of the site. */
+/* Enable the content permissions features. */
add_action( 'after_setup_theme', 'members_enable_content_permissions', 1 );
/**
@@ -85,82 +85,6 @@ function members_content_permissions_comments( $template ) {
}
/**
- * Wrapper function for the members_can_user_view_post() function. This function checks if the currently
- * logged-in user can view the content of a specific post.
- *
- * @since 0.2.0
- * @param int $post_id The ID of the post to check.
- * @return bool True if the user can view the post. False if the user cannot view the post.
- */
-function members_can_current_user_view_post( $post_id = '' ) {
-
- /* Get the current user object. */
- $current_user = wp_get_current_user();
-
- /* Return the members_can_user_view_post() function, which returns true/false. */
- return members_can_user_view_post( $current_user->ID, $post_id );
-}
-
-/**
- * Conditional tag to check if a user can view a specific post. A user cannot view a post if their user role has
- * not been selected in the 'Content Permissions' meta box on the edit post screen in the admin. Non-logged in
- * site visitors cannot view posts if roles were seletected. If no roles were selected, all users and site visitors
- * can view the content.
- *
- * There are exceptions to this rule though. The post author, any user with the 'restrict_content' capability,
- * and users that have the ability to edit the post can all view the post, even if their role was not granted
- * permission to view the post.
- *
- * @since 0.2.0
- * @param int $user_id The ID of the user to check.
- * @param int $post_id The ID of the post to check.
- * @return bool True if the user can view the post. False if the user cannot view the post.
- */
-function members_can_user_view_post( $user_id, $post_id = '' ) {
-
- /* If no post ID is given, assume we're in The Loop and get the current post's ID. */
- if ( empty( $post_id ) )
- $post_id = get_the_ID();
-
- /* Get the roles selected by the user. */
- $roles = get_post_meta( $post_id, '_members_access_role', false );
-
- /* Check if there are any old roles with the '_role' meta key. */
- if ( empty( $roles ) )
- $roles = members_convert_old_post_meta( $post_id );
-
- /* If we have an array of roles, let's get to work. */
- if ( !empty( $roles ) && is_array( $roles ) ) {
-
- /* If viewing a feed or if the user's not logged in, assume it's blocked at this point. */
- if ( is_feed() || !is_user_logged_in() )
- return false;
-
- /* Get the post object. */
- $post = get_post( $post_id );
-
- /* Get the post type object. */
- $post_type = get_post_type_object( $post->post_type );
-
- /* If the post author, the current user can edit the post, or the current user can 'restrict_content', return true. */
- if ( $post->post_author == $user_id || current_user_can( 'restrict_content' ) || current_user_can( $post_type->cap->edit_post, $post_id ) )
- return true;
-
- /* Loop through each role and return true if the user has one of the roles. */
- foreach ( $roles as $role ) {
- if ( current_user_can( $role ) )
- return true;
- }
-
- /* Return an error message if the user doesn't have one of the selected roles. */
- return false;
- }
-
- /* Assume the content isn't blocked at this point and return true. */
- return true;
-}
-
-/**
* Gets the error message to display for users who do not have access to view the given post. The function first
* checks to see if a custom error message has been written for the specific post. If not, it loads the error
* message set on the plugins settings page.
View
11 includes/private-site.php
@@ -25,9 +25,15 @@
*/
function members_please_log_in() {
+ /* Check if the private blog feature is active. */
if ( members_get_setting( 'private_blog' ) ) {
- if ( !is_user_logged_in() && !strpos( $_SERVER['SCRIPT_NAME'], 'wp-login.php' ) )
+ /* If using BuddyPress and on the register page, don't do anything. */
+ if ( function_exists( 'bp_is_current_component' ) && bp_is_current_component( 'register' ) )
+ return;
+
+ /* Else, if the user is not logged in, redirect to the login page. */
+ elseif ( !is_user_logged_in() )
auth_redirect();
}
}
@@ -41,9 +47,8 @@ function members_please_log_in() {
*/
function members_private_feed( $content ) {
- if ( members_get_setting( 'private_feed' ) ) {
+ if ( members_get_setting( 'private_feed' ) )
$content = members_get_setting( 'private_feed_error' );
- }
return $content;
}
View
98 includes/template.php
@@ -0,0 +1,98 @@
+<?php
+/**
+ * @package Members
+ * @subpackage Functions
+ */
+
+/**
+ * Conditional tag to check if a user can view a specific post. A user cannot view a post if their user role has
+ * not been selected in the 'Content Permissions' meta box on the edit post screen in the admin. Non-logged in
+ * site visitors cannot view posts if roles were seletected. If no roles were selected, all users and site visitors
+ * can view the content.
+ *
+ * There are exceptions to this rule though. The post author, any user with the 'restrict_content' capability,
+ * and users that have the ability to edit the post can all view the post, even if their role was not granted
+ * permission to view it.
+ *
+ * @todo See how feasible it is to just use the normal user_can() WordPress function to check against a meta
+ * capability such as 'members_view_post' while hooking into 'map_meta_cap' or 'user_has_cap' to roll custom
+ * plugin handling for this. This would just be a wrapper tag.
+ *
+ * @since 0.2.0
+ * @param int $user_id The ID of the user to check.
+ * @param int $post_id The ID of the post to check.
+ * @return bool True if the user can view the post. False if the user cannot view the post.
+ */
+function members_can_user_view_post( $user_id, $post_id = '' ) {
+
+ /* If no post ID is given, assume we're in The Loop and get the current post's ID. */
+ if ( empty( $post_id ) )
+ $post_id = get_the_ID();
+
+ /* Assume the user can view the post at this point. */
+ $can_view = true;
+
+ /**
+ * The plugin is only going to handle permissions if the 'content permissions' feature is active. If
+ * not active, the user can always view the post. However, developers can roll their own handling of
+ * this and filter 'members_can_user_view_post'.
+ */
+ if ( members_get_setting( 'content_permissions' ) ) {
+
+ /* Get the roles selected by the user. */
+ $roles = get_post_meta( $post_id, '_members_access_role', false );
+
+ /* Check if there are any old roles with the '_role' meta key. */
+ if ( empty( $roles ) )
+ $roles = members_convert_old_post_meta( $post_id );
+
+ /* If we have an array of roles, let's get to work. */
+ if ( !empty( $roles ) && is_array( $roles ) ) {
+
+ /* If viewing a feed or if the user's not logged in, assume it's blocked at this point. */
+ if ( is_feed() || !is_user_logged_in() )
+ $can_view = false;
+
+ /* Get the post object. */
+ $post = get_post( $post_id );
+
+ /* Get the post type object. */
+ $post_type = get_post_type_object( $post->post_type );
+
+ /* If the post author, the current user can edit the post, or the current user can 'restrict_content', return true. */
+ if ( $post->post_author == $user_id || user_can( $user_id, 'restrict_content' ) || user_can( $user_id, $post_type->cap->edit_post, $post_id ) )
+ $can_view = true;
+
+ /* Loop through each role and return true if the user has one of the roles. */
+ foreach ( $roles as $role ) {
+ if ( user_can( $user_id, $role ) )
+ $can_view = true;
+ }
+
+ /* Return an error message if the user doesn't have one of the selected roles. */
+ $can_view = false;
+ }
+ }
+
+ /* Allow developers to overwrite the final return value. */
+ return apply_filters( 'members_can_user_view_post', $can_view, $user_id, $post_id );
+}
+
+/**
+ * Wrapper function for the members_can_user_view_post() function. This function checks if the currently
+ * logged-in user can view the content of a specific post.
+ *
+ * @since 0.2.0
+ * @param int $post_id The ID of the post to check.
+ * @return bool True if the user can view the post. False if the user cannot view the post.
+ */
+function members_can_current_user_view_post( $post_id = '' ) {
+
+ /* Get the current user object. */
+ $current_user = wp_get_current_user();
+
+ /* Return the members_can_user_view_post() function, which returns true/false. */
+ return members_can_user_view_post( $current_user->ID, $post_id );
+}
+
+?>
View
6 js/admin.js
@@ -1,12 +1,9 @@
-/**
- * @license http://www.gnu.org/licenses/gpl.html
- */
$j = jQuery.noConflict();
$j(document).ready(
function() {
- $j('.hide-if-no-js').show();
+ $j( '.hide-if-no-js' ).show();
$j( '#members-add-new-cap' ).click(
function() {
@@ -14,7 +11,6 @@ $j(document).ready(
}
);
-
$j( 'div.members-role-checkbox input[type="checkbox"]' ).click(
function() {
if ( $j( this ).is( ':checked' ) ) {
View
BIN  languages/members-en_EN.mo
Binary file not shown
View
1,086 languages/members-en_EN.po
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Members WordPress Plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-09-23 07:44+0900\n"
-"PO-Revision-Date: 2009-09-23 07:44+0900\n"
+"POT-Creation-Date: 2011-06-03 12:36-0600\n"
+"PO-Revision-Date: 2011-06-03 12:38-0600\n"
"Last-Translator: Justin Tadlock <justin@justintadlock.com>\n"
"Language-Team: <justin@justintadlock.com>\n"
"MIME-Version: 1.0\n"
@@ -11,864 +11,979 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: English\n"
"X-Poedit-Country: UNITED STATES\n"
-"X-Poedit-KeywordsList: _e;__\n"
+"X-Poedit-KeywordsList: _e;__;esc_attr__;esc_attr_e;_n;_x;esc_html__;esc_html_e\n"
"X-Poedit-Basepath: ../\n"
"X-Poedit-SearchPath-0: .\n"
-#: components.php:28
-#: components/edit-roles/edit-roles.php:91
-msgid "Edit Roles"
-msgstr ""
+#: members.php:191
+#: admin/meta-box-plugin-settings.php:30
+#, fuzzy
+msgid "Role Manager"
+msgstr "Naam"
+
+#: admin/admin.php:44
+#: admin/roles-list-table.php:57
+#, fuzzy
+msgid "Roles"
+msgstr "Reset"
+
+#: admin/admin.php:47
+#: admin/role-new.php:44
+#, fuzzy
+msgid "Add New Role"
+msgstr "Voeg gebruiker toe"
-#: components.php:28
-msgid "The <em>Edit Roles</em> component allows you to manage all roles on your site. You can change which capabilities individual roles have. Once you've selected this component, you should immediately give at least one role the <code>edit_roles</code> capability. This makes sure only the roles you select can edit roles."
+#: admin/admin.php:135
+msgid "<strong>Role Manager:</strong> This feature allows you to manage roles on your site by giving you the ability to create, edit, and delete any role. Note that changes to roles do not change settings for the Members plugin. You are literally changing data in your WordPress database. This plugin feature merely provides an interface for you to make these changes."
msgstr ""
-#: components.php:29
-msgid "New Roles"
+#: admin/admin.php:136
+msgid "<strong>Content Permissions:</strong> This feature adds a meta box to the post edit screen that allows you to grant permissions for who can read the post content based on the user's role. Only users of roles with the <code>restrict_content</code> capability will be able to use this component."
msgstr ""
-#: components.php:29
-msgid "The <em>New Roles</em> component allows you to create new roles on your site. To use this component, you must have the <code>create_roles</code> capability. This makes sure only the roles you select can create new roles."
+#: admin/admin.php:137
+msgid "<strong>Sidebar Widgets:</strong> This feature creates additional widgets for use in your theme's sidebars. You can access them by clicking Widgets in the menu."
msgstr ""
-#: components.php:30
-msgid "Content Permissions"
+#: admin/admin.php:138
+msgid "<strong>Private Site:</strong> This feature allows you to redirect all users who are not logged into the site to the login page, creating an entirely private site. You may also replace your feed content with a custom error message."
msgstr ""
-#: components.php:30
-msgid "Adds an additional meta box for the post/page editor that allows you to grant permissions for who can read the content based on the the user's capabilities or role. Only roles with the <code>restrict_content</code> capability will be able to use this component."
+#: admin/admin.php:140
+#: admin/admin.php:167
+#: admin/admin.php:183
+msgid "For more information:"
msgstr ""
-#: components.php:31
-msgid "Shortcodes"
+#: admin/admin.php:143
+#: admin/admin.php:171
+#: admin/admin.php:187
+#, fuzzy
+msgid "Documentation"
+msgstr "Thema Documentatie"
+
+#: admin/admin.php:144
+#: admin/admin.php:172
+#: admin/admin.php:188
+#, fuzzy
+msgid "Support Forums"
+msgstr "Bezoek de support forums."
+
+#: admin/admin.php:156
+msgid "This screen allows you to edit the capabilities given to the role. You can tick the checkbox next to a capability to add the capability to the role. You can untick the checkbox next to a capability to remove a capability from the role. You can also add as many custom capabilities as you need in the Custom Capabilities section."
msgstr ""
-#: components.php:31
-msgid "Provides a set of shortcodes that may be used to restrict or provide access to certain areas of your site from within the post editor (or other areas where shortcodes are allowed)."
+#: admin/admin.php:157
+msgid "Capabilities are both powerful and dangerous tools. You should not add or remove a capability to a role unless you understand what permission you are granting or removing."
msgstr ""
-#: components.php:32
-msgid "Template Tags"
+#: admin/admin.php:162
+msgid "This screen lists all the user roles available on this site. Roles are given to users as a way to \"group\" them. Roles are made up of capabilities (permissions), which decide what functions users of each role can perform on the site. From this screen, you can manage these roles and their capabilities."
msgstr ""
-#: components.php:32
-msgid "Provides additional template tags for use within your WordPress theme for restricting or providing access to certain content."
+#: admin/admin.php:163
+msgid "To add a role to a user, click Users in the menu. To create a new role, click the Add New button at the top of the screen or Add New Role under the Users menu."
msgstr ""
-#: components.php:33
-#, fuzzy
-msgid "Widgets"
-msgstr "Widgets invoegen:"
+#: admin/admin.php:170
+#: admin/admin.php:186
+msgid "Users, Roles, and Capabilities"
+msgstr ""
-#: components.php:33
-msgid "Creates additional widgets for use in any widget area on your site. The current widgets are Login Form and Users."
+#: admin/admin.php:180
+msgid "This screen allows you to create a new user role for your site. You must input a unique role name and role label. You can also grant capabilities (permissions) to the new role. Capabilities are both powerful and dangerous tools. You should not add a capability to a role unless you understand what permission you are granting."
msgstr ""
-#: components.php:34
-msgid "Private Blog"
+#: admin/admin.php:181
+msgid "To add a role to a user, click Users in the menu. To edit roles, click Roles under the Users menu."
msgstr ""
-#: components.php:34
-msgid "Forces all users to log into the site before viewing it. It will always redirect users to the login page. Note that this component does not block public access to your feeds."
+#: admin/admin.php:202
+msgid "Role deleted."
msgstr ""
-#: functions.php:35
-#, fuzzy, php-format
-msgid "Welcome, %1$s!"
-msgstr "Week %1$s"
+#: admin/admin.php:211
+msgid "Selected roles deleted."
+msgstr ""
-#: functions.php:45
-#, fuzzy
-msgid "Username:"
-msgstr "Gebruikersnaam"
+#: admin/meta-box-plugin-settings.php:21
+msgid "About"
+msgstr ""
-#: functions.php:50
-#, fuzzy
-msgid "Password:"
-msgstr "Wachtwoord"
+#: admin/meta-box-plugin-settings.php:24
+msgid "Like this plugin?"
+msgstr ""
-#: functions.php:55
+#: admin/meta-box-plugin-settings.php:27
#, fuzzy
-msgid "Log In"
-msgstr "Aanmelden"
-
-#: functions.php:56
-msgid "Remember me"
-msgstr "Herinner deze gegevens."
-
-#: functions.php:162
-#, php-format
-msgid "Posts by %s"
-msgstr ""
+msgid "Support"
+msgstr "Thema Ondersteuning:"
-#: members.php:95
-msgid "Members Components"
+#: admin/meta-box-plugin-settings.php:33
+#: admin/meta-box-post-content-permissions.php:28
+msgid "Content Permissions"
msgstr ""
-#: settings.php:14
+#: admin/meta-box-plugin-settings.php:36
#, fuzzy
-msgid "Select Components"
-msgstr "Selecteer maand"
+msgid "Sidebar Widgets"
+msgstr "Widgets invoegen:"
-#: settings.php:30
-#: settings.php:38
+#: admin/meta-box-plugin-settings.php:39
#, fuzzy
-msgid "Component"
-msgstr "Reactie"
+msgid "Private Site"
+msgstr "Primaire EnkelvoudigBericht"
-#: settings.php:31
-#: settings.php:39
-msgid "Description"
-msgstr "Beschrijving"
+#: admin/meta-box-plugin-settings.php:52
+#, fuzzy
+msgid "Version:"
+msgstr "Thema versie:"
-#: settings.php:76
+#: admin/meta-box-plugin-settings.php:55
#, fuzzy
-msgid "Activate"
-msgstr "Archieven"
+msgid "Description:"
+msgstr "Beschrijving"
-#: components/content-permissions/content-permissions.php:69
-msgid "No role currently has the <code>restrict_content</code> capability. To use the <em>Content Permissions</em> component, at least one role must have this capability."
+#: admin/meta-box-plugin-settings.php:69
+msgid "Here's how you can give back:"
msgstr ""
-#: components/content-permissions/content-permissions.php:97
-msgid "Sorry, but you do not have permission to view this content."
+#: admin/meta-box-plugin-settings.php:72
+msgid "Members on the WordPress plugin repository"
msgstr ""
-#: components/content-permissions/meta-box.php:42
-msgid "<strong>Roles:</strong> Restrict the content to these roles on the front end of the site. If all boxes are left unchecked, everyone can view the content."
+#: admin/meta-box-plugin-settings.php:72
+msgid "Give the plugin a good rating."
msgstr ""
-#: components/edit-roles/default.php:13
-msgid "Role deleted."
+#: admin/meta-box-plugin-settings.php:73
+msgid "Donate via PayPal"
msgstr ""
-#: components/edit-roles/default.php:22
-msgid "Selected roles deleted."
+#: admin/meta-box-plugin-settings.php:73
+msgid "Donate a few dollars."
msgstr ""
-#: components/edit-roles/default.php:32
-msgid "No role currently has the <code>edit_roles</code> capability. Please add this to each role that should be able to manage/edit roles. If you do not change this, any user that has the <code>edit_users</code> capability will be able to edit roles."
+#: admin/meta-box-plugin-settings.php:74
+msgid "Justin Tadlock's Amazon Wish List"
msgstr ""
-#: components/edit-roles/default.php:51
-#, fuzzy
-msgid "Roles"
-msgstr "Reset"
+#: admin/meta-box-plugin-settings.php:74
+msgid "Get me something from my wish list."
+msgstr ""
-#: components/edit-roles/edit-role-form.php:62
-#: components/edit-roles/edit-roles.php:168
-#: components/edit-roles/edit-roles.php:171
+#: admin/meta-box-plugin-settings.php:86
#, php-format
-msgid "Edit the %1$s role"
+msgid "Support for this plugin is provided via the support forums at %1$s. If you need any help using it, please ask your support questions there."
msgstr ""
-#: components/edit-roles/edit-role-form.php:64
+#: admin/meta-box-plugin-settings.php:86
#, fuzzy
-msgid "Role updated."
-msgstr "Aanpassingen tonen?"
+msgid "Theme Hybrid Support Forums"
+msgstr "Thema Ondersteuning:"
-#: components/edit-roles/edit-role-form.php:76
-#, php-format
-msgid "<strong>Role:</strong> %1$s"
+#: admin/meta-box-plugin-settings.php:86
+#, fuzzy
+msgid "Theme Hybrid"
+msgstr "Hybrid"
+
+#: admin/meta-box-plugin-settings.php:99
+msgid "Enable the role manager."
msgstr ""
-#: components/edit-roles/edit-role-form.php:84
-#: components/edit-roles/edit-roles.php:137
-#: components/edit-roles/edit-roles.php:147
-msgid "Capabilities"
+#: admin/meta-box-plugin-settings.php:102
+msgid "Your roles and capabilities will not revert back to their previous settings after deactivating or uninstalling this plugin, so use this feature wisely."
msgstr ""
-#: components/edit-roles/edit-role-form.php:88
-msgid "Select which capabilities this role should have. Make sure you understand what the capability does before giving it to just any role. This is a powerful feature, but it can cause you some grief if you give regular ol' Joe more capabilities than yourself."
+#: admin/meta-box-plugin-settings.php:116
+msgid "Enable the content permissions feature."
msgstr ""
-#: components/edit-roles/edit-role-form.php:114
-msgid "New Capabilities"
+#: admin/meta-box-plugin-settings.php:120
+msgid "Default post error message:"
msgstr ""
-#: components/edit-roles/edit-role-form.php:118
-msgid "Add up to six new capabilities with this form for this role (more can be added later). Please only use letters, numbers, and underscores."
+#: admin/meta-box-plugin-settings.php:122
+msgid "You can use <abbr title=\"Hypertext Markup Language\">HTML</abbr> and/or shortcodes to create a custom error message for users that don't have permission to view posts."
msgstr ""
-#: components/edit-roles/edit-role-form.php:149
-#, fuzzy
-msgid "Update Role"
-msgstr "Bewerk"
+#: admin/meta-box-plugin-settings.php:136
+msgid "Enable the login form widget."
+msgstr ""
-#: components/edit-roles/edit-roles.php:77
-msgid "Edit Active Roles"
+#: admin/meta-box-plugin-settings.php:141
+msgid "Enable the users widget."
msgstr ""
-#: components/edit-roles/edit-roles.php:84
-msgid "Edit Inactive Roles"
+#: admin/meta-box-plugin-settings.php:155
+msgid "Redirect all logged-out users to the login page before allowing them to view the site."
msgstr ""
-#: components/edit-roles/edit-roles.php:111
-msgid "All"
+#: admin/meta-box-plugin-settings.php:160
+msgid "Show error message for feed items."
msgstr ""
-#: components/edit-roles/edit-roles.php:112
+#: admin/meta-box-plugin-settings.php:164
#, fuzzy
-msgid "Active"
-msgstr "Archieven"
+msgid "Feed error message:"
+msgstr "Feed afbeelding:"
-#: components/edit-roles/edit-roles.php:113
-#, fuzzy
-msgid "Inactive"
-msgstr "Archieven"
+#: admin/meta-box-plugin-settings.php:167
+msgid "You can use <abbr title=\"Hypertext Markup Language\">HTML</abbr> and/or shortcodes to create a custom error message to display instead of feed item content."
+msgstr ""
-#: components/edit-roles/edit-roles.php:120
-#: components/edit-roles/edit-roles.php:236
-msgid "Bulk Actions"
+#: admin/meta-box-post-content-permissions.php:51
+msgid "Limit access to this post's content to users of the selected roles."
msgstr ""
-#: components/edit-roles/edit-roles.php:121
-#: components/edit-roles/edit-roles.php:176
-#: components/edit-roles/edit-roles.php:237
-msgid "Delete"
+#: admin/meta-box-post-content-permissions.php:75
+#, php-format
+msgid "If no roles are selected, everyone can view the content. The post author, any users who can edit this post, and users with the %s capability can view the content regardless of role."
msgstr ""
-#: components/edit-roles/edit-roles.php:123
-#: components/edit-roles/edit-roles.php:239
-#: components/edit-roles/manage-roles.php:21
-#: components/edit-roles/manage-roles.php:25
-#, fuzzy
-msgid "Apply"
-msgstr "Reageer"
+#: admin/meta-box-post-content-permissions.php:79
+msgid "Custom error messsage:"
+msgstr ""
+
+#: admin/meta-box-post-content-permissions.php:82
+msgid "Message shown to users that do no have permission to view the post."
+msgstr ""
-#: components/edit-roles/edit-roles.php:134
-#: components/edit-roles/edit-roles.php:144
+#: admin/role-edit.php:67
#, fuzzy
-msgid "Role Name"
-msgstr "Naam"
+msgid "Edit Role"
+msgstr "Bewerk"
-#: components/edit-roles/edit-roles.php:135
-#: components/edit-roles/edit-roles.php:145
-msgid "Role"
+#: admin/role-edit.php:68
+#: admin/roles-list-table.php:58
+msgid "Add New"
msgstr ""
-#: components/edit-roles/edit-roles.php:136
-#: components/edit-roles/edit-roles.php:146
+#: admin/role-edit.php:71
#, fuzzy
-msgid "Users"
-msgstr "Gebruikersnaam"
-
-#: components/edit-roles/edit-roles.php:171
-msgid "Edit"
-msgstr "Bewerk"
+msgid "Role updated."
+msgstr "Aanpassingen tonen?"
-#: components/edit-roles/edit-roles.php:176
-#, php-format
-msgid "Delete the %1$s role"
+#: admin/role-edit.php:71
+msgid "&larr; Back to Roles"
msgstr ""
-#: components/edit-roles/edit-roles.php:181
-msgid "Change default role"
+#: admin/role-edit.php:85
+#: admin/role-new.php:60
+#: admin/roles-list-table.php:111
+#, fuzzy
+msgid "Role Name"
+msgstr "Naam"
+
+#: admin/role-edit.php:94
+#: admin/roles-list-table.php:113
+#: admin/roles-list-table.php:123
+msgid "Capabilities"
msgstr ""
-#: components/edit-roles/edit-roles.php:181
-msgid "Default Role"
+#: admin/role-edit.php:112
+msgid "Custom Capabilities"
msgstr ""
-#: components/edit-roles/edit-roles.php:186
-#: components/edit-roles/edit-roles.php:200
-#: components/edit-roles/edit-roles.php:202
-#, php-format
-msgid "View all users with the %1$s role"
+#: admin/role-edit.php:117
+msgid "Add New Capability"
msgstr ""
-#: components/edit-roles/edit-roles.php:186
-msgid "View Users"
+#: admin/role-edit.php:127
+#, fuzzy
+msgid "Update Role"
+msgstr "Bewerk"
+
+#: admin/role-new.php:46
+#, fuzzy, php-format
+msgid "The %s role has been created."
+msgstr "Er is een gebruikersaccount aangemaakt voor %1$s."
+
+#: admin/role-new.php:65
+msgid "<strong>Required:</strong> The role name should be unique and contain only alphanumeric characters and underscores."
msgstr ""
-#: components/edit-roles/edit-roles.php:200
-#, php-format
-msgid "%1$s Users"
+#: admin/role-new.php:71
+#: admin/roles-list-table.php:110
+#: admin/roles-list-table.php:120
+#, fuzzy
+msgid "Role Label"
+msgstr "Zoek label:"
+
+#: admin/role-new.php:76
+msgid "<strong>Required:</strong> The role label is used to represent your role in the WordPress admin."
msgstr ""
-#: components/edit-roles/edit-roles.php:202
+#: admin/role-new.php:82
#, fuzzy
-msgid "1 User"
-msgstr "Voeg gebruiker toe"
+msgid "Role Capabilities"
+msgstr "Aanpassingen tonen?"
-#: components/edit-roles/edit-roles.php:204
-msgid "No users have this role."
+#: admin/role-new.php:86
+msgid "<strong>Optional:</strong> Select the capabilities this role should have. These may be updated later."
msgstr ""
-#: components/edit-roles/edit-roles.php:216
-#, php-format
-msgid "%1$s Capabilities"
+#: admin/role-new.php:102
+#, fuzzy
+msgid "Add Role"
+msgstr "Bewerk"
+
+#: admin/roles-list-table.php:70
+msgid "All"
msgstr ""
-#: components/edit-roles/edit-roles.php:217
-msgid "1 Capability"
+#: admin/roles-list-table.php:71
+#, fuzzy
+msgid "Has Users"
+msgstr "Gebruikersnaam"
+
+#: admin/roles-list-table.php:72
+#, fuzzy
+msgid "No Users"
+msgstr "Gebruikersnaam"
+
+#: admin/roles-list-table.php:83
+#: admin/roles-list-table.php:215
+msgid "Bulk Actions"
msgstr ""
-#: components/edit-roles/edit-roles.php:220
-msgid "This role has no capabilities"
+#: admin/roles-list-table.php:86
+#: admin/roles-list-table.php:158
+#: admin/roles-list-table.php:218
+msgid "Delete"
msgstr ""
-#: components/edit-roles/manage-roles.php:130
-#: components/edit-roles/manage-roles.php:144
+#: admin/roles-list-table.php:91
+#: admin/roles-list-table.php:223
#, fuzzy
-msgid "Edit Role"
-msgstr "Bewerk"
+msgid "Apply"
+msgstr "Reageer"
-#: components/new-roles/default.php:37
-msgid "To create new roles, you must give the <code>create_roles</code> capability to at least one role."
+#: admin/roles-list-table.php:98
+#: admin/roles-list-table.php:230
+#, php-format
+msgid "%s item"
msgstr ""
-#: components/new-roles/default.php:55
-msgid "New Role"
-msgstr ""
+#: admin/roles-list-table.php:112
+#: admin/roles-list-table.php:122
+#, fuzzy
+msgid "Users"
+msgstr "Gebruikersnaam"
-#: components/new-roles/new-role.php:45
-msgid "Add a new user role"
+#: admin/roles-list-table.php:121
+#: includes/admin-bar.php:29
+msgid "Role"
msgstr ""
-#: components/new-roles/new-role.php:47
+#: admin/roles-list-table.php:146
+#: admin/roles-list-table.php:154
#, fuzzy, php-format
-msgid "The %1$s role has been created."
-msgstr "Er is een gebruikersaccount aangemaakt voor %1$s."
+msgid "Edit the %s role"
+msgstr "Bewerk"
+
+#: admin/roles-list-table.php:154
+msgid "Edit"
+msgstr "Bewerk"
+
+#: admin/roles-list-table.php:158
+#, php-format
+msgid "Delete the %s role"
+msgstr ""
-#: components/new-roles/new-role.php:59
-msgid "Create a new user role"
+#: admin/roles-list-table.php:162
+msgid "Change default role"
msgstr ""
-#: components/new-roles/new-role.php:66
-msgid "About:"
+#: admin/roles-list-table.php:162
+msgid "Default Role"
msgstr ""
-#: components/new-roles/new-role.php:69
+#: admin/roles-list-table.php:166
+#: admin/roles-list-table.php:182
#, php-format
-msgid "Here you can create as many new roles as you'd like. Roles are a way of grouping your users. You can give individual users a role from the <a href=\"%1$s\" title=\"Manage Users\">user management</a> screen. This will allow you to do specific things for users with a specific role. Once you've created a new role, you can manage it with the <em>Edit Roles</em> component."
+msgid "View all users with the %s role"
msgstr ""
-#: components/new-roles/new-role.php:75
-msgid "Role:"
+#: admin/roles-list-table.php:166
+msgid "View Users"
msgstr ""
-#: components/new-roles/new-role.php:78
-msgid "<strong>Required:</strong> Enter the name of your role. This is a unique key that should only contain numbers, letters, and underscores. Please don't add spaces or other odd characters."
+#: admin/roles-list-table.php:182
+#: admin/roles-list-table.php:184
+#, fuzzy, php-format
+msgid "%s User"
+msgstr "Voeg gebruiker toe"
+
+#: admin/roles-list-table.php:194
+#, php-format
+msgid "%s Capability"
msgstr ""
-#: components/new-roles/new-role.php:86
+#: admin/settings.php:28
#, fuzzy
-msgid "Role Label:"
-msgstr "Zoek label:"
+msgid "Members Settings"
+msgstr "Hybrid Settings"
-#: components/new-roles/new-role.php:89
-msgid "<strong>Required:</strong> Enter a label your role. This will be the title that is displayed in most cases."
-msgstr ""
+#: admin/settings.php:28
+#, fuzzy
+msgid "Members"
+msgstr "Hybrid Settings"
-#: components/new-roles/new-role.php:97
-msgid "Capabilities:"
+#: admin/settings.php:66
+msgid "Sorry, but you do not have permission to view this content."
msgstr ""
-#: components/new-roles/new-role.php:100
-msgid "<strong>Optional:</strong> Select which capabilities your new role should have. These may be changed later using the <em>Edit Roles</em> component."
+#: admin/settings.php:67
+msgid "You must be logged into the site to view this content."
msgstr ""
-#: components/new-roles/new-role.php:118
-msgid "Create Role"
-msgstr ""
+#: admin/settings.php:145
+#, fuzzy
+msgid "Members Plugin Settings"
+msgstr "Hybrid Settings"
+
+#: admin/settings.php:160
+#, fuzzy
+msgid "Update Settings"
+msgstr "Footer Settings:"
-#: components/widgets/login.php:12
-#: trash/login-widget/login.php:6
+#: includes/widget-login-form.php:26
msgid "A widget that allows users to log into your site."
msgstr ""
-#: components/widgets/login.php:14
-#: trash/login-widget/login.php:8
+#: includes/widget-login-form.php:37
#, fuzzy
msgid "Login Form"
msgstr "Aanmelden"
-#: components/widgets/login.php:112
-#: trash/login-widget/login.php:106
+#: includes/widget-login-form.php:158
+#: includes/widget-login-form.php:161
+#, fuzzy
+msgid "Log In"
+msgstr "Aanmelden"
+
+#: includes/widget-login-form.php:159
+#, fuzzy
+msgid "Username"
+msgstr "Gebruikersnaam"
+
+#: includes/widget-login-form.php:160
msgid "Password"
msgstr "Wachtwoord"
-#: components/widgets/login.php:114
-#: trash/login-widget/login.php:108
+#: includes/widget-login-form.php:162
#, fuzzy
-msgid "Remember me?"
+msgid "Remember Me"
msgstr "Herinner deze gegevens."
-#: components/widgets/login.php:116
-#: trash/login-widget/login.php:110
+#: includes/widget-login-form.php:172
msgid "Please log into the site."
msgstr ""
-#: components/widgets/login.php:117
-#: trash/login-widget/login.php:111
+#: includes/widget-login-form.php:173
msgid "You are currently logged in."
msgstr ""
-#: components/widgets/login.php:126
-#: components/widgets/users.php:73
-#: trash/login-widget/login.php:120
+#: includes/widget-login-form.php:185
+#: includes/widget-users.php:157
msgid "Title:"
msgstr "Titel"
-#: components/widgets/login.php:131
-#: trash/login-widget/login.php:125
-msgid "Logged out text:"
-msgstr ""
-
-#: components/widgets/login.php:136
-#: trash/login-widget/login.php:130
-msgid "Logged in text:"
-msgstr ""
-
-#: components/widgets/login.php:145
-#: trash/login-widget/login.php:139
-msgid "Display avatar?"
-msgstr ""
-
-#: components/widgets/login.php:148
-#: trash/login-widget/login.php:142
-#, fuzzy
-msgid "Username Label:"
-msgstr "Gebruikersnaam*"
-
-#: components/widgets/login.php:152
-#: trash/login-widget/login.php:146
+#: includes/widget-login-form.php:235
#, fuzzy
-msgid "Password Label:"
-msgstr "Wachtwoord*"
-
-#: components/widgets/login.php:157
-#: trash/login-widget/login.php:151
-msgid "Submit Text:"
-msgstr "Verstuur tekst:"
+msgid "\"Remember me\" checkbox?"
+msgstr "Herinner deze gegevens."
-#: components/widgets/login.php:161
-#: trash/login-widget/login.php:155
+#: includes/widget-login-form.php:239
#, fuzzy
-msgid "Remember User Text:"
+msgid "Check \"remember me\"?"
msgstr "Herinner deze gegevens."
-#: components/widgets/users.php:12
-#, fuzzy
-msgid "An advanced widget that gives you total control over the output of your user lists."
-msgstr "Een geavanceerde widget die je de totale controle geeft over de output van je pagina-links."
+#: includes/widget-login-form.php:243
+msgid "Display avatar?"
+msgstr ""
-#: components/widgets/users.php:77
-msgid "Limit:"
-msgstr "Limiet:"
+#: includes/widget-login-form.php:246
+msgid "Logged out text:"
+msgstr ""
-#: components/widgets/users.php:81
-msgid "Order:"
-msgstr "Volgorde:"
+#: includes/widget-login-form.php:251
+msgid "Logged in text:"
+msgstr ""
-#: components/widgets/users.php:88
-msgid "Order By:"
-msgstr "Sorteer op:"
+#: includes/widget-users.php:26
+msgid "Provides the ability to list the users of the site."
+msgstr ""
-#: components/widgets/users.php:96
-msgid "Include:"
-msgstr "Omvat:"
+#: includes/widget-users.php:145
+msgid "Ascending"
+msgstr ""
-#: components/widgets/users.php:100
-msgid "Exclude:"
-msgstr "Sluit uit:"
+#: includes/widget-users.php:145
+msgid "Descending"
+msgstr ""
-#: components/widgets/users.php:105
+#: includes/widget-users.php:146
#, fuzzy
-msgid "Show full name?"
-msgstr "Aanpassingen tonen?"
+msgid "Display Name"
+msgstr "Voornaam"
-#: trash/edit-role-form.php:100
-#: trash/new-role.php:97
-#: trash/settings -
-#: Copy.php:137
-#: trash/manage-capabilities/capabilities.php:56
-msgid "Save Changes"
-msgstr "Bewaren"
+#: includes/widget-users.php:146
+msgid "Email"
+msgstr "Email"
-#: trash/edit-roles.php:20
-msgid "Manage Roles"
+#: includes/widget-users.php:146
+msgid "ID"
msgstr ""
-#: trash/members - Copy (2).php:115
+#: includes/widget-users.php:146
#, fuzzy
-msgid "Members Settings"
-msgstr "Hybrid Settings"
+msgid "Nice Name"
+msgstr "Naam"
-#: trash/members - Copy.php:162
-#: trash/roles.php:40
+#: includes/widget-users.php:146
#, fuzzy
-msgid "User Role Settings"
-msgstr "Footer Settings:"
-
-#: trash/members - Copy.php:266
-#: trash/members-old.php:440
-#, php-format
-msgid "Choose which capabilities users of the <code>%1$s</code> role should have."
-msgstr ""
+msgid "Post Count"
+msgstr "Niet gevonden"
-#: trash/members-old.php:128
-msgid "User Capabilities"
-msgstr ""
+#: includes/widget-users.php:146
+#, fuzzy
+msgid "Registered"
+msgstr "Registreer"
-#: trash/members-old.php:134
-msgid "Users are granted the capabilities of their role(s) by default. You can choose to grant this user additional capabilities or deny specific capabilities."
+#: includes/widget-users.php:146
+msgid "URL"
msgstr ""
-#: trash/new-role.php:4
-msgid "Hybrid"
-msgstr "Hybrid"
-
-#: trash/new-role.php:5
+#: includes/widget-users.php:146
#, fuzzy
-msgid "Add New User Role"
-msgstr "Voeg gebruiker toe"
+msgid "Login"
+msgstr "Aanmelden"
-#: trash/new-role.php:30
#, fuzzy
-msgid "New user role has been added."
-msgstr "Er is een gebruikersaccount aangemaakt voor %1$s."
+#~ msgid "Welcome, %1$s!"
+#~ msgstr "Week %1$s"
-#: trash/new-role.php:51
-#, php-format
-msgid "Here you can create as many new roles as you'd like. Roles are a way of grouping your users. You can give individual users a role from the <a href=\"%1$s\" title=\"Manage Users\">user management</a> screen. This will allow you to do specific things for users with a specific role. Once you've created a new role, you can manage it from the <a href=\"%2$s\" title=\"Manage User Roles\">user roles</a> screen."
-msgstr ""
+#, fuzzy
+#~ msgid "Password:"
+#~ msgstr "Wachtwoord"
-#: trash/new-role.php:56
-msgid "Role Name:"
-msgstr ""
+#, fuzzy
+#~ msgid "Select Components"
+#~ msgstr "Selecteer maand"
-#: trash/new-role.php:59
-msgid "<strong>Required:</strong> Enter the name of your role. This will be the title that is displayed in most cases."
-msgstr ""
+#, fuzzy
+#~ msgid "Component"
+#~ msgstr "Reactie"
-#: trash/new-role.php:66
-msgid "Role ID:"
-msgstr ""
+#, fuzzy
+#~ msgid "Activate"
+#~ msgstr "Archieven"
-#: trash/new-role.php:69
-msgid "<strong>Required:</strong> Enter the ID of your role. This is a unique key that should only contain numbers, letters, and underscores. Please don't add spaces or other odd characters."
-msgstr ""
+#, fuzzy
+#~ msgid "Active"
+#~ msgstr "Archieven"
-#: trash/new-role.php:76
-msgid "Role Capabilities:"
-msgstr ""
+#, fuzzy
+#~ msgid "Inactive"
+#~ msgstr "Archieven"
-#: trash/new-role.php:79
-#, php-format
-msgid "<strong>Optional:</strong> Select which capabilities your new role should have. These may be changed later from the <a href=\"%1$s\" title=\"Manage User Roles\">user roles</a> screen."
-msgstr ""
+#, fuzzy
+#~ msgid "Username Label:"
+#~ msgstr "Gebruikersnaam*"
-#: trash/settings - Copy.php:21
-msgid "<strong>Important!</strong> No role currently has the <code>edit_roles</code> capability. Please add this to each role that should be able to manage/edit roles. If you do not change this, any user that has the <code>edit_users</code> capability will be able to edit roles."
-msgstr ""
+#, fuzzy
+#~ msgid "Password Label:"
+#~ msgstr "Wachtwoord*"
-#: trash/settings - Copy.php:27
-msgid "<strong>Important!</strong> To create new roles, you must give the <code>create_roles</code> capability to at least one role."
-msgstr ""
+#~ msgid "Submit Text:"
+#~ msgstr "Verstuur tekst:"
-#: trash/settings - Copy.php:33
-msgid "<strong>Important!</strong> No role currently has the <code>restrict_content</code> capability. To use the <em>Content Permissions</em> component, at least one role must have this capability."
-msgstr ""
+#, fuzzy
+#~ msgid "Remember User Text:"
+#~ msgstr "Herinner deze gegevens."
-#: trash/settings - Copy.php:70
-msgid "<strong>Note:</strong> This is the key component. It is likely that other components will require this component to be active."
-msgstr ""
+#, fuzzy
+#~ msgid ""
+#~ "An advanced widget that gives you total control over the output of your "
+#~ "user lists."
+#~ msgstr ""
+#~ "Een geavanceerde widget die je de totale controle geeft over de output "
+#~ "van je pagina-links."
-#: trash/settings - Copy.php:103
-msgid "Login Widget"
-msgstr ""
+#~ msgid "Limit:"
+#~ msgstr "Limiet:"
-#: trash/settings - Copy.php:106
-msgid "Creates a widget that you can place in any widget area for users to log in from the front of your site by entering their username and password."
-msgstr ""
+#~ msgid "Order:"
+#~ msgstr "Volgorde:"
-#: trash/settings - Copy.php:130
-msgid "<strong>This component is not ready for use.</strong> Provides additional template tags for use within your WordPress theme for restricting or providing access to certain content."
-msgstr ""
+#~ msgid "Order By:"
+#~ msgstr "Sorteer op:"
-#: trash/manage-capabilities/capabilities.php:10
-msgid "Create a new capability"
-msgstr ""
+#~ msgid "Include:"
+#~ msgstr "Omvat:"
-#: trash/manage-capabilities/capabilities.php:20
-msgid "Here you can create as many new capabilities as you'd like. These can be later mapped to specific roles through the <em>Role Management</em> component or specific users from the user's profile page."
-msgstr ""
+#~ msgid "Exclude:"
+#~ msgstr "Sluit uit:"
-#: trash/manage-capabilities/capabilities.php:25
-msgid "Capability:"
-msgstr ""
+#, fuzzy
+#~ msgid "Show full name?"
+#~ msgstr "Aanpassingen tonen?"
-#: trash/manage-capabilities/capabilities.php:28
-msgid "Enter the name of your capability. Please only use letters, numbers, and underscores and no spaces."
-msgstr ""
+#~ msgid "Save Changes"
+#~ msgstr "Bewaren"
-#: trash/manage-capabilities/capabilities.php:41
-msgid "Manage Capabilities"
-msgstr ""
+#, fuzzy
+#~ msgid "New user role has been added."
+#~ msgstr "Er is een gebruikersaccount aangemaakt voor %1$s."
-#~ msgid "Not Found"
-#~ msgstr "Niet gevonden"
#~ msgid ""
#~ "You tried going to %1$s, and it doesn't exist. All is not lost! You can "
#~ "search for what you're looking for."
#~ msgstr ""
#~ "Je wilde naar %1$s gaan, maar dit bestaat niet. Geen nood! Zoek hier "
#~ "wat je zocht:"
+
#~ msgid "Possibly Related"
#~ msgstr "Mogelijk gerelateerd"
+
#~ msgid "Continue reading"
#~ msgstr "Lees hier verder"
+
#~ msgid "Download &quot;%1$s&quot;"
#~ msgstr "Download &quot;%1$s&quot;"
+
#~ msgid "Pages:"
#~ msgstr "Pagina's:"
+
#~ msgid "Sorry, no applications matched your criteria."
#~ msgstr "Sorry, er zijn geen toepassingen die met je criteria overeenkomen."
+
#~ msgid "You are browsing the archive for %1$s."
#~ msgstr "Je bladert nu door het archief voor %1$s."
+
#~ msgid "By"
#~ msgstr "Door"
+
#~ msgid "on"
#~ msgstr "op"
+
#~ msgid "l, F jS, Y, g:i a"
#~ msgstr "l, j F, Y, G:i"
+
#~ msgid "F j, Y"
#~ msgstr "j F, Y"
+
#~ msgid "Posted in"
#~ msgstr "Gepost in"
+
#~ msgid "Tagged"
#~ msgstr "Tags:"
+
#~ msgid "Leave a response"
#~ msgstr "Reageer"
+
#~ msgid "1 Response"
#~ msgstr "1 Reactie"
+
#~ msgid "% Responses"
#~ msgstr "% Reacties"
+
#~ msgid "Sorry, there are no posts in this archive."
#~ msgstr "Sorry, dit archief bevat geen berichten."
+
#~ msgid "Archives by category"
#~ msgstr "Archieven per rubriek"
+
#~ msgid "Archives by month"
#~ msgstr "Archieven per maand"
+
#~ msgid "Sorry, no page matched your criteria."
#~ msgstr "Sorry, er bestaat geen pagina die aan je criteria voldoet."
+
#~ msgid "Sorry, no attachments matched your criteria."
#~ msgstr "Sorry, er zijn geen bijlages die aan je criteria voldoen."
+
#~ msgid "Sorry, no audio files matched your criteria."
#~ msgstr "Sorry, er zijn geen geluidsbestanden die aan je criteria voldoen."
+
#~ msgid "Send an email to %1$s"
#~ msgstr "Stuur een email aan %1$s"
+
#~ msgid "Email %1$s"
#~ msgstr "Email %1$s"
+
#~ msgid "%1$s hasn't written any posts yet."
#~ msgstr "%1$s heeft nog geen berichten geschreven."
+
#~ msgid "Nickname:"
#~ msgstr "Bijnaam:"
+
#~ msgid "Email:"
#~ msgstr "Email:"
+
#~ msgid "Website:"
#~ msgstr "Website:"
+
#~ msgid "AIM:"
#~ msgstr "AIM:"
+
#~ msgid "IM with %1$s"
#~ msgstr "IM met %1$s"
+
#~ msgid "Jabber:"
#~ msgstr "Jabber:"
+
#~ msgid "Yahoo:"
#~ msgstr "Yahoo:"
+
#~ msgid "Sorry, there are no posts in the %1$s category."
#~ msgstr "Sorry, er zijn geen berichten in de rubriek %1$s. "
+
#~ msgid "Please do not load this page directly. Thanks!"
#~ msgstr "Gelieve deze pagina niet rechtstreeks te laden. Dankjewel!"
+
#~ msgid "No Responses"
#~ msgstr "Geen reacties"
+
#~ msgid "One Response"
#~ msgstr "Een reactie"
+
#~ msgid "Responses"
#~ msgstr "Reacties"
+
#~ msgid "to"
#~ msgstr "naar"
+
#~ msgid "%1$s at %2$s"
#~ msgstr "%1$s op %2$s"
+
#~ msgid "Permalink to comment"
#~ msgstr "Permalink naar reactie"
+
#~ msgid "Permalink"
#~ msgstr "Permalink"
+
#~ msgid "Your comment is awaiting moderation."
#~ msgstr "Je reactie wacht op moderatie."
+
#~ msgid ""
#~ "Comments are closed, but <a href=\"%1$s\" title=\"Trackback URL for this "
#~ "post\">trackbacks</a> and pingbacks are open."
#~ msgstr ""
#~ "Reageren is niet mogelijk, maar <a href=\"%1$s\" title=\"Trackback URL "
#~ "for this post\">trackbacks</a> en pingbacks blijven open."
+
#~ msgid "Comments are closed."
#~ msgstr "Reageren is niet mogelijk."
+
#~ msgid "Leave a Reply"
#~ msgstr "Reageer"
+
#~ msgid ""
#~ "You must be <a href=\"%1$s\" title=\"Log in\">logged in</a> to post a "
#~ "comment."
#~ msgstr ""
#~ "Je moet <a href=\"%1$s\" title=\"Log in\">ingelogd</a> zijn om te "
#~ "reageren."
+
#~ msgid "Logged in as <a href=\"%1$s\" title=\"%2$s\">%2$s</a>."
#~ msgstr "Ingelogd als <a href=\"%1$s\" title=\"%2$s\">%2$s</a>."
+
#~ msgid "Log out of this account"
#~ msgstr "Afmelden."
+
#~ msgid "Logout &raquo;"
#~ msgstr "Afmelden &raquo;"
+
#~ msgid "*"
#~ msgstr "*"
-#~ msgid "Email"
-#~ msgstr "Email"
+
#~ msgid "Website"
#~ msgstr "Website"
+
#~ msgid "Submit"
#~ msgstr "Verstuur"
+
#~ msgid "Password Protected"
#~ msgstr "Beveiligd met wachtwoord"
+
#~ msgid "Enter the password to view comments."
#~ msgstr "Voer wachtwoord in om reacties te lezen."
+
#~ msgid "Leave a Reply to %s"
#~ msgstr "Reageer op %s"
+
#~ msgid "Click here to cancel reply."
#~ msgstr "Klik hier om de reactie te annuleren."
+
#~ msgid "F jS, Y"
#~ msgstr "j F, Y"
+
#~ msgid "Week %1$s of %2$s"
#~ msgstr "Week %1$s van %2$s"
+
#~ msgid "W"
#~ msgstr "W"
+
#~ msgid "Y"
#~ msgstr "Y"
+
#~ msgid "You are browsing the archive for week %1$s of %2$s."
#~ msgstr "Je bekijkt het archief voor week %1$s van %2$s."
+
#~ msgid "Sorry, there are no posts for %1$s."
#~ msgstr "Sorry, maar er zijn geen berichten voor %1$s."
+
#~ msgid "Sorry, no posts matched your criteria."
#~ msgstr "Sorry, er zijn geen berichten die met je criteria overeenkomen."
+
#~ msgid "Sorry, no images matched your criteria."
#~ msgstr "Sorry, er zijn geen afbeeldingen die met je criteria overeenkomen."
+
#~ msgid ""
#~ "You are currently logged in as <a href=\"%1$s\" title=\"%2$s\">%2$s</a>."
#~ msgstr ""
#~ "Je bent momenteel ingelogd als <a href=\"%1$s\" title=\"%2$s\">%2$s</a>."
+
#~ msgid ""
#~ "You have successfully logged in as <a href=\"%1$s\" title=\"%2$s\">%2$s</"
#~ "a>."
#~ msgstr ""
#~ "Je bent succesvol ingelogd als <a href=\"%1$s\" title=\"%2$s\">%2$s</a>."
+
#~ msgid ""
#~ "You must be <a href=\"%1$s\" title=\"Log in\">logged in</a> to view the "
#~ "content of this page."
#~ msgstr ""
#~ "Je moet <a href=\"%1$s\" title=\"Log in\">ingelogd</a> zijn om de inhoud "
#~ "van deze pagina te bekijken."
+
#~ msgid ""
#~ "If you're not currently a member, please take a moment to <a href=\"%1$s"
#~ "\" title=\"Register\">register</a>."
#~ msgstr ""
#~ "Als je momenteel nog geen lid bent, neem dan een ogenblikje tijd om je te "
#~ "<a href=\"%1$s\" title=\"Register\">registreren</a>."
+
#~ msgid "You must enter a post title."
#~ msgstr "Je moet een titel voor het bericht invoeren."
+
#~ msgid "You must write something."
#~ msgstr "Je moet hier iets schrijven."
+
#~ msgid "Title"
#~ msgstr "Titel"
+
#~ msgid "Write"
#~ msgstr "Schrijf"
+
#~ msgid "Tags"
#~ msgstr "Tags"
+
#~ msgid "Publish"
#~ msgstr "Publiceer"
+
#~ msgid "You don't have the appropriate capabilities to publish posts."
#~ msgstr "Je hebt niet de nodige rechten om berichten te publiceren."
+
#~ msgid ""
#~ "You must be <a href=\"%1$s\" title=\"Log in\">logged in</a> with "
#~ "appropriate user capabilities to publish posts."
#~ msgstr ""
#~ "Je moet <a href=\"%1$s\" title=\"Log in\">ingelogd</a> zijn met de nodige "
#~ "gebruikersrechten om berichten te kunnen publiceren."
+
#~ msgid "A username is required for registration."
#~ msgstr "Om te registreren is een gebruikersnaam nodig."
+
#~ msgid "You must enter an email address."
#~ msgstr "Je moet een email-adres invoeren."
+
#~ msgid "You must enter a password."
#~ msgstr "Je moet een wachtwoord invoeren."
+
#~ msgid "You must enter your password twice."
#~ msgstr "Je moet je wachtwoord tweemaal invoeren."
+
#~ msgid "You must enter the same password twice."
#~ msgstr "Je moet tweemaal hetzelfde wachtwoord invoeren."
+
#~ msgid "User registration failed. Please try again."
#~ msgstr "Gebruikersregistratie mislukt. Probeer opnieuw."
+
#~ msgid ""
#~ "You are logged in as <a href=\"%1$s\" title=\"%2$s\">%2$s</a>. You don't "
#~ "need another account."
#~ msgstr ""
#~ "Je bent ingelogd als <a href=\"%1$s\" title=\"%2$s\">%2$s</a>. Je hebt "
#~ "geen bijkomend account nodig."
+
#~ msgid "Thank you for registering, %1$s."
#~ msgstr "Bedankt voor je registratie, %1$s."
+
#~ msgid "Users can register themselves or you can manually create users here."
#~ msgstr ""
#~ "Gebruikers kunnen zichzelf registreren of je kan hier handmatig "
#~ "gebruikersaccounts aanmaken."
+
#~ msgid ""
#~ "Users cannot currently register themselves, but you can manually create "
#~ "users here."
#~ msgstr ""
#~ "Gebruikers kunnen zichzelf niet registreren, maar je kan hier wel "
#~ "handmatig gebruikersaccounts aanmaken."
+
#~ msgid "Required fields are marked <span class=\"required\">*</span>"
#~ msgstr ""
#~ "Verplichte velden zijn aangeduid met <span class=\"required\">*</span>."
-#~ msgid "First Name"
-#~ msgstr "Voornaam"
+
#~ msgid "Last Name"
#~ msgstr "Naam"
+
#~ msgid "E-mail *"
#~ msgstr "E-mail *"
+
#~ msgid "Repeat Password *"
#~ msgstr "Herhaal je wachtwoord*"
+
#~ msgid "Biographical Information"
#~ msgstr "Biografische informatie"
-#~ msgid "Register"
-#~ msgstr "Registreer"
+
#~ msgid "You are browsing the search results for &quot;%1$s&quot;"
#~ msgstr "Je bekijkt hier de zoekresultaten voor &quot;%1$s&quot;"
+
#~ msgid "Maybe you'd like to try inputting different search terms."
#~ msgstr "Misschien wil je andere zoektermen invoeren."
+
#~ msgid "You are browsing the %1$s tag archive."
#~ msgstr "Je bekijkt het archief voor de tag %1$s"
+
#~ msgid "Sorry, there are no posts tagged %1$s."
#~ msgstr "Sorry, er zijn geen berichten met de tag %1$s."
+
#~ msgid "Sorry, no documents matched your criteria."
#~ msgstr "Sorry, er zijn geen documenten die met je criteria overeenkomen."
+
#~ msgid "Sorry, no videos matched your criteria."
#~ msgstr "Sorry, er zijn geen video's die met je criteria overeenkomen."
+
#~ msgid "Widget Template"
#~ msgstr "Widget Template"
+
#~ msgid "About This Theme"
#~ msgstr "Over dit Thema"
+
#~ msgid "Theme Description:"
#~ msgstr "Thema Beschrijving:"
-#~ msgid "Theme Version:"
-#~ msgstr "Thema versie:"
+
#~ msgid "Theme Documentation:"
#~ msgstr "Thema Documentatie:"
-#~ msgid "Theme Documentation"
-#~ msgstr "Thema Documentatie"
-#~ msgid "Theme Support:"
-#~ msgstr "Thema Ondersteuning:"
+
#~ msgid "Get support for this theme"
#~ msgstr "Ondersteuning voor dit thema"
-#~ msgid "Visit the support forums."
-#~ msgstr "Bezoek de support forums."
+
#~ msgid "Select your theme settings"
#~ msgstr "Selecteer de settings voor je thema"
@@ -887,19 +1002,25 @@ msgstr ""
#~ msgstr ""
#~ "Selecteer dit als je wenst dat je secundaire widgets standaard geladen "
#~ "worden op de home-pagina als niet anders geselecteerd is."
+
#~ msgid "Stylesheets:"
#~ msgstr "Stijlbladen (CSS)"
+
#~ msgid ""
#~ "Select this to have the theme automatically include a print stylesheet."
#~ msgstr ""
#~ "Selecteer dit als je wil dat het thema automatisch een 'print' stijlblad "
#~ "insluit."
+
#~ msgid "JavaScript:"
#~ msgstr "JavaScript:"
+
#~ msgid "Include the pull quote JavaScript."
#~ msgstr "Inclusief pull quote JavaScript."
+
#~ msgid "Feeds:"
#~ msgstr "Feeds:"
+
#~ msgid ""
#~ "If you have a an alternate feed address, such as one from <a href="
#~ "\"http://feedburner.com\" title=\"Feedburner\">Feedburner</a>, you can "
@@ -910,37 +1031,47 @@ msgstr ""
#~ "\"http://feedburner.com\" title=\"Feedburner\">Feedburner</a>, kan je dat "
#~ "hier invoeren om het door het thema te laten gebruiken. Als je dit "
#~ "blanco laat, wordt de standaard WordPress RSS feed gebruikt."
+
#~ msgid "Title &amp; Meta:"
#~ msgstr "Titel &amp; Meta"
+
#~ msgid "Use category slugs on single posts for your meta keywords?"
#~ msgstr ""
#~ "Gebruik categorie 'slug' als meta keywoord voor afzonderlijke berichten."
+
#~ msgid "Use tag slugs on single posts for your meta keywords?"
#~ msgstr "Gebruik tag 'slug' als meta keywoord voor afzonderlijke berichten."
+
#~ msgid "Use the excerpt on single posts for your meta description?"
#~ msgstr ""
#~ "Uittreksel als meta-omschrijving gebruiken voor afzonderlijke berichten?"
+
#~ msgid "Use the author bio on author archives for your meta description?"
#~ msgstr ""
#~ "Auteurs biografie als meta-omschrijving gebruiken voor afzonderlijke "
#~ "berichten?"
+
#~ msgid ""
#~ "Use the category description on category archives for your meta "
#~ "description?"
#~ msgstr ""
#~ "Rubriek-omschrijving als meta-omschrijving gebruiken voor afzonderlijke "
#~ "berichten?"
+
#~ msgid "Use the author's name on pages and posts as the meta author?"
#~ msgstr ""
#~ "Naam van de auteur als meta-auteur gebruiken op pagina's en berichten?"
+
#~ msgid "Append site title to the end of the page name?"
#~ msgstr "Site-naam toevoegen aan het eind van de pagina-naam?"
+
#~ msgid ""
#~ "You can change these settings in the box labeled <em>Hybrid Settings</em> "
#~ "when writing a post or page."
#~ msgstr ""
#~ "Je kan deze settings aanpassen in het vak <em>Hybrid Settings</em> "
#~ "wanneer je een bericht of pagina bewerkt."
+
#~ msgid ""
#~ "The <a href=\"%1$s\" title=\"All-In-One SEO Pack\">All-In-One SEO Pack</"
#~ "a> and <a href=\"%2$s\" title=\"Headspace2\">Headspace2</a> plugins will "
@@ -949,8 +1080,10 @@ msgstr ""
#~ "De <a href=\"%1$s\" title=\"All-In-One SEO Pack\">All-In-One SEO Pack</a> "
#~ "en <a href=\"%2$s\" title=\"Headspace2\">Headspace2</a> plugins zullen "
#~ "deze en de indexeringssettings overschrijven."
+
#~ msgid "Indexing:"
#~ msgstr "Indexeren:"
+
#~ msgid ""
#~ "Choose which pages of your blog get indexed by the search engines. Only "
#~ "selected pages will be indexed. If not selected, those pages will be "
@@ -959,6 +1092,7 @@ msgstr ""
#~ "Kies welke pagina's van je blog door zoekmachines kunnen ge&iuml;ndexeerd "
#~ "worden. Alleen de geselecteerde pagina's worden ge&iuml;ndexeerd. Niet "
#~ "geselecteerde pagina's worden geblokkeerd."
+
#~ msgid ""
#~ "Note: Some of these settings will render the Title &amp; Meta settings "
#~ "moot. Also, setting your site to privacy mode will override these "
@@ -967,28 +1101,40 @@ msgstr ""
#~ "Let op: Sommige van deze settings kunnen conflicteren met de Titel &amp; "
#~ "Meta settings. Ook wanneer je je site in een beveiligde modus omzet, "
#~ "worden deze settings overschreven."
+
#~ msgid "Home page"
#~ msgstr "Homepage"
+
#~ msgid "Single posts"
#~ msgstr "Afzonderlijke berichten"
+
#~ msgid "Attachments"
#~ msgstr "Bijlages"
+
#~ msgid "Pages"
#~ msgstr "Pagina's"
+
#~ msgid "Date-based archives"
#~ msgstr "Datum-gebaseerd archief"
+
#~ msgid "Category archives"
#~ msgstr "Archief per rubriek"
+
#~ msgid "Tag archives"
#~ msgstr "Archief op tags"
+
#~ msgid "Author archives"
#~ msgstr "Archief op auteur"
+
#~ msgid "Search"
#~ msgstr "Zoek"
+
#~ msgid "404"
#~ msgstr "404"
+
#~ msgid "Avatars:"
#~ msgstr "Avatars:"
+
#~ msgid ""
#~ "You can set a default avatar for users without one if you don't like the "
#~ "choices WordPress offers you. Simply add the full path to the image file."
@@ -996,16 +1142,21 @@ msgstr ""
#~ "Je kan een standaard-avatar instellen voor gebruikers zonder avatar, "
#~ "wanneer de keuze van WordPress je niet bevalt. Voer daartoe hier het "
#~ "complete pad naar de afbeelding in."
+
#~ msgid "Comments:"
#~ msgstr "Reacties:"
+
#~ msgid "Check to use the comments popup window instead of regular comments."
#~ msgstr ""
#~ "Aanvinken om een popup-scherm voor reacties te gebruiken in plaats van "
#~ "het gebruikelijke commentaarscherm."
+
#~ msgid "WP 2.7+ only."
#~ msgstr "Enkel voor WP 2.7+"
+
#~ msgid "Footer Insert:"
#~ msgstr "Inserts voor Footer:"
+
#~ msgid ""
#~ "You can place XHTML and JavaScript here to have it inserted automatically "
#~ "into your theme. If you have a script, such as one from Google "
@@ -1014,96 +1165,130 @@ msgstr ""
#~ "Je kan hier XHTML en Javascript plaatsen dat automatisch in de footer van "
#~ "je thema wordt ingevoerd. Dit kan van pas komen als je een script hebt "
#~ "zoals dat van Google Analytics."
+
#~ msgid ""
#~ "Check this if you want the theme to auto-generate your site's copyright "
#~ "and title in the footer."
#~ msgstr ""
#~ "Aanvinken wanneer je wil dat het thema automatisch een copyright voor je "
#~ "site in de footer invoert."
+
#~ msgid ""
#~ "Want to show your love of WordPress? Check this and a link will be added "
#~ "to your footer back to WordPress.org."
#~ msgstr ""
#~ "Wil je laten zien hoezeer je WordPress waardeert? Vink dit aan om "
#~ "automatisch een link naar WordPress.org aan de footer toe te voegen."
+
#~ msgid ""
#~ "Check this to have a link back to Theme Hybrid automatically appended to "
#~ "your footer. This is totally optional. Really."
#~ msgstr ""
#~ "Aanvinken om automatisch een link naar Theme Hybrid aan je footer toe te "
#~ "voegen. Dit volkomen vrijwillig, echt waar!"
+
#~ msgid ""
#~ "For testing purposes, this will append a database query counter and page "
#~ "load timer to your footer."
#~ msgstr ""
#~ "Voor test-doeleinden wordt hiermee een database-query teller en de "
#~ "laadtijd van de pagina aan je footer toegevoegd."
+
#~ msgid "Add a title that will be seen by search engines."
#~ msgstr "Voeg een titel toe die door zoekmachines gezien wordt."
+
#~ msgid "Add a description that will be seen by search engines."
#~ msgstr "Voeg een beschrijving toe die door zoekmachines gezien wordt."
+
#~ msgid "Keywords:"
#~ msgstr "Trefwoorden:"
+
#~ msgid "Add keywords that will be seen by search engines."
#~ msgstr "Voeg trefwoorden toe die door zoekmachines gezien worden."
+
#~ msgid "Series:"
#~ msgstr "Series:"
+
#~ msgid "Post the title of your series of articles here."
#~ msgstr "Post hier de titel van je artikelseries."
+