Plugin Directory

Changeset 1786942


Ignore:
Timestamp:
12/14/2017 12:16:36 PM (8 years ago)
Author:
rapidweb
Message:

tagging version 1.1.2

Location:
permissions-editor-for-ninja-forms
Files:
3 edited
7 copied

Legend:

Unmodified
Added
Removed
  • permissions-editor-for-ninja-forms/tags/1.1.2/penf_role_matrix.php

    r1772316 r1786942  
    1 <? 
     1<?php
    22global $wp_roles;
    33?>
    4 <h1><?= __('Permissions Editor for Ninja Forms', 'permissions-editor-for-ninja-forms') ?></h1>
    5 <p><?= __('Simply use the matrix below to select the Ninja Forms capabilities that you wish to enable the different user roles to have access to.', 'permissions-editor-for-ninja-forms') ?></p>
    6 <p><?= __('Please note that \'View Menu\' is required for any other capabilities and will be completed automatically upon selection of other capabilities.', 'permissions-editor-for-ninja-forms') ?></p>
    7 <h2><?= __('Overview of each capability:', 'permissions-editor-for-ninja-forms') ?></h2>
     4<h1><?php echo __('Permissions Editor for Ninja Forms', 'permissions-editor-for-ninja-forms') ?></h1>
     5<p><?php echo __('Simply use the matrix below to select the Ninja Forms capabilities that you wish to enable the different user roles to have access to.', 'permissions-editor-for-ninja-forms') ?></p>
     6<p><?php echo __('Please note that \'View Menu\' is required for any other capabilities and will be completed automatically upon selection of other capabilities.', 'permissions-editor-for-ninja-forms') ?></p>
     7<h2><?php echo __('Overview of each capability:', 'permissions-editor-for-ninja-forms') ?></h2>
    88<ul>
    9     <li><strong><?= __('Manage', 'permissions-editor-for-ninja-forms') ?></strong> - <?= __('enables the user to add new forms, edit/manage existing forms and access the Ninja Forms \'Add-ons\'', 'permissions-editor-for-ninja-forms') ?></li>
    10     <li><strong><?= __('Submissions', 'permissions-editor-for-ninja-forms') ?></strong> - <?= __('enables the user to view the submissions from form users', 'permissions-editor-for-ninja-forms') ?></li>
    11     <li><strong><?= __('Import / Export', 'permissions-editor-for-ninja-forms') ?></strong> - <?= __('provides the user with access to the Import / Export options for Ninja Forms', 'permissions-editor-for-ninja-forms') ?></li>
    12     <li><strong><?= __('Settings', 'permissions-editor-for-ninja-forms') ?></strong> - <?= __('provides user with access to the Ninja Forms settings', 'permissions-editor-for-ninja-forms') ?></li>
     9    <li><strong><?php echo __('Manage', 'permissions-editor-for-ninja-forms') ?></strong> - <?php echo __('enables the user to add new forms, edit/manage existing forms and access the Ninja Forms \'Add-ons\'', 'permissions-editor-for-ninja-forms') ?></li>
     10    <li><strong><?php echo __('Submissions', 'permissions-editor-for-ninja-forms') ?></strong> - <php? echo __('enables the user to view the submissions from form users', 'permissions-editor-for-ninja-forms') ?></li>
     11    <li><strong><?php echo __('Import / Export', 'permissions-editor-for-ninja-forms') ?></strong> - <?php echo __('provides the user with access to the Import / Export options for Ninja Forms', 'permissions-editor-for-ninja-forms') ?></li>
     12    <li><strong><?php echo __('Settings', 'permissions-editor-for-ninja-forms') ?></strong> - <?php echo __('provides user with access to the Ninja Forms settings', 'permissions-editor-for-ninja-forms') ?></li>
    1313</ul>
    1414<form method="post" action="<?php echo esc_url(admin_url('admin-post.php')); ?>">
     
    1717<tr>
    1818<th>&nbsp;</th>
    19 <?
     19<?php
    2020foreach(penf_get_caps()  as $penfCapabilityKey => $penfCapability)
    2121{     if($penfCapabilityKey == "penf_view_menu"){continue;} 
     
    2525</tr>
    2626
    27 <?
     27<?php
    2828foreach($wp_roles->roles as $roleKey => $role)
    2929{ ?>
    3030<tr>
    31 <?
     31<?php
    3232 echo "<th>".$role['name']."</th>";
    3333 foreach(penf_get_caps() as $penfCapabilityKey => $penfCapability)
     
    3535    if($penfCapabilityKey == "penf_view_menu"){continue;} 
    3636?>
    37  <td><input type="checkbox" name="<?= $roleKey ?>[]" value="<?= $penfCapabilityKey ?>" <?= (isset($role['capabilities'][$penfCapabilityKey]) && $role['capabilities'][$penfCapabilityKey] == true) ? 'checked' : '' ?>/>
    38 <?
     37 <td><input type="checkbox" name="<?php echo $roleKey ?>[]" value="<?php echo $penfCapabilityKey ?>" <?php echo (isset($role['capabilities'][$penfCapabilityKey]) && $role['capabilities'][$penfCapabilityKey] == true) ? 'checked' : '' ?>/>
     38<?php
    3939 } ?>
    4040 </tr>
    41 <? } ?>
     41<?php } ?>
    4242
    4343</table>
  • permissions-editor-for-ninja-forms/tags/1.1.2/permissions-editor-for-ninja_forms.php

    r1772324 r1786942  
    33Plugin Name: Permissions Editor for Ninja Forms
    44Description: This plugin enables you to select the Ninja Forms capabilities that you wish to enable different WordPress user roles to have access to.
    5 Version: 1.1.1
     5Version: 1.1.2
    66Author: Rapid Web Ltd
    77Author URI: http://rapidweb.biz
     
    6666    ?>
    6767    <div class="notice notice-info is-dismissible">
    68         <?= __('<p>The <strong>Permissions Editor for Ninja Forms</strong> plugin has been deactivated, because the Ninja Forms plugin is no longer active.</p>', 'permissions-editor-for-ninja-forms') ?>
     68        <?php echo __('<p>The <strong>Permissions Editor for Ninja Forms</strong> plugin has been deactivated, because the Ninja Forms plugin is no longer active.</p>', 'permissions-editor-for-ninja-forms') ?>
    6969    </div>
    7070    <?php
  • permissions-editor-for-ninja-forms/tags/1.1.2/readme.txt

    r1772324 r1786942  
    44Requires at least: 4.1
    55Tested up to: 4.8.1
    6 Stable tag: 1.1.1
     6Stable tag: 1.1.2
    77License: LGPL-3.0
    88License URI: https://opensource.org/licenses/LGPL-3.0
  • permissions-editor-for-ninja-forms/trunk/penf_role_matrix.php

    r1772316 r1786942  
    1 <? 
     1<?php
    22global $wp_roles;
    33?>
    4 <h1><?= __('Permissions Editor for Ninja Forms', 'permissions-editor-for-ninja-forms') ?></h1>
    5 <p><?= __('Simply use the matrix below to select the Ninja Forms capabilities that you wish to enable the different user roles to have access to.', 'permissions-editor-for-ninja-forms') ?></p>
    6 <p><?= __('Please note that \'View Menu\' is required for any other capabilities and will be completed automatically upon selection of other capabilities.', 'permissions-editor-for-ninja-forms') ?></p>
    7 <h2><?= __('Overview of each capability:', 'permissions-editor-for-ninja-forms') ?></h2>
     4<h1><?php echo __('Permissions Editor for Ninja Forms', 'permissions-editor-for-ninja-forms') ?></h1>
     5<p><?php echo __('Simply use the matrix below to select the Ninja Forms capabilities that you wish to enable the different user roles to have access to.', 'permissions-editor-for-ninja-forms') ?></p>
     6<p><?php echo __('Please note that \'View Menu\' is required for any other capabilities and will be completed automatically upon selection of other capabilities.', 'permissions-editor-for-ninja-forms') ?></p>
     7<h2><?php echo __('Overview of each capability:', 'permissions-editor-for-ninja-forms') ?></h2>
    88<ul>
    9     <li><strong><?= __('Manage', 'permissions-editor-for-ninja-forms') ?></strong> - <?= __('enables the user to add new forms, edit/manage existing forms and access the Ninja Forms \'Add-ons\'', 'permissions-editor-for-ninja-forms') ?></li>
    10     <li><strong><?= __('Submissions', 'permissions-editor-for-ninja-forms') ?></strong> - <?= __('enables the user to view the submissions from form users', 'permissions-editor-for-ninja-forms') ?></li>
    11     <li><strong><?= __('Import / Export', 'permissions-editor-for-ninja-forms') ?></strong> - <?= __('provides the user with access to the Import / Export options for Ninja Forms', 'permissions-editor-for-ninja-forms') ?></li>
    12     <li><strong><?= __('Settings', 'permissions-editor-for-ninja-forms') ?></strong> - <?= __('provides user with access to the Ninja Forms settings', 'permissions-editor-for-ninja-forms') ?></li>
     9    <li><strong><?php echo __('Manage', 'permissions-editor-for-ninja-forms') ?></strong> - <?php echo __('enables the user to add new forms, edit/manage existing forms and access the Ninja Forms \'Add-ons\'', 'permissions-editor-for-ninja-forms') ?></li>
     10    <li><strong><?php echo __('Submissions', 'permissions-editor-for-ninja-forms') ?></strong> - <php? echo __('enables the user to view the submissions from form users', 'permissions-editor-for-ninja-forms') ?></li>
     11    <li><strong><?php echo __('Import / Export', 'permissions-editor-for-ninja-forms') ?></strong> - <?php echo __('provides the user with access to the Import / Export options for Ninja Forms', 'permissions-editor-for-ninja-forms') ?></li>
     12    <li><strong><?php echo __('Settings', 'permissions-editor-for-ninja-forms') ?></strong> - <?php echo __('provides user with access to the Ninja Forms settings', 'permissions-editor-for-ninja-forms') ?></li>
    1313</ul>
    1414<form method="post" action="<?php echo esc_url(admin_url('admin-post.php')); ?>">
     
    1717<tr>
    1818<th>&nbsp;</th>
    19 <?
     19<?php
    2020foreach(penf_get_caps()  as $penfCapabilityKey => $penfCapability)
    2121{     if($penfCapabilityKey == "penf_view_menu"){continue;} 
     
    2525</tr>
    2626
    27 <?
     27<?php
    2828foreach($wp_roles->roles as $roleKey => $role)
    2929{ ?>
    3030<tr>
    31 <?
     31<?php
    3232 echo "<th>".$role['name']."</th>";
    3333 foreach(penf_get_caps() as $penfCapabilityKey => $penfCapability)
     
    3535    if($penfCapabilityKey == "penf_view_menu"){continue;} 
    3636?>
    37  <td><input type="checkbox" name="<?= $roleKey ?>[]" value="<?= $penfCapabilityKey ?>" <?= (isset($role['capabilities'][$penfCapabilityKey]) && $role['capabilities'][$penfCapabilityKey] == true) ? 'checked' : '' ?>/>
    38 <?
     37 <td><input type="checkbox" name="<?php echo $roleKey ?>[]" value="<?php echo $penfCapabilityKey ?>" <?php echo (isset($role['capabilities'][$penfCapabilityKey]) && $role['capabilities'][$penfCapabilityKey] == true) ? 'checked' : '' ?>/>
     38<?php
    3939 } ?>
    4040 </tr>
    41 <? } ?>
     41<?php } ?>
    4242
    4343</table>
  • permissions-editor-for-ninja-forms/trunk/permissions-editor-for-ninja_forms.php

    r1772324 r1786942  
    33Plugin Name: Permissions Editor for Ninja Forms
    44Description: This plugin enables you to select the Ninja Forms capabilities that you wish to enable different WordPress user roles to have access to.
    5 Version: 1.1.1
     5Version: 1.1.2
    66Author: Rapid Web Ltd
    77Author URI: http://rapidweb.biz
     
    6666    ?>
    6767    <div class="notice notice-info is-dismissible">
    68         <?= __('<p>The <strong>Permissions Editor for Ninja Forms</strong> plugin has been deactivated, because the Ninja Forms plugin is no longer active.</p>', 'permissions-editor-for-ninja-forms') ?>
     68        <?php echo __('<p>The <strong>Permissions Editor for Ninja Forms</strong> plugin has been deactivated, because the Ninja Forms plugin is no longer active.</p>', 'permissions-editor-for-ninja-forms') ?>
    6969    </div>
    7070    <?php
  • permissions-editor-for-ninja-forms/trunk/readme.txt

    r1772324 r1786942  
    44Requires at least: 4.1
    55Tested up to: 4.8.1
    6 Stable tag: 1.1.1
     6Stable tag: 1.1.2
    77License: LGPL-3.0
    88License URI: https://opensource.org/licenses/LGPL-3.0
Note: See TracChangeset for help on using the changeset viewer.