Version 5.0.0 release
This commit is contained in:
1 parent
90e8c7e903
commit
a3a4a9ccbd
651 files changed
+7275
-9481
No files matched your search
@@ -11,34 +11,34 @@ IPSCONTENT;
|
||||
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=staff&controller=admin&do=save&id={$row['row_id']}&type={$row['row_id_type']}", null, "", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
|
||||
$return .= <<<IPSCONTENT
|
||||
" method="post">
|
||||
<input type="hidden" name="csrfKey" value="
|
||||
<input type="hidden" name="csrfKey" value="
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Theme\Template::htmlspecialchars( \IPS\Session::i()->csrfKey, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
|
||||
$return .= <<<IPSCONTENT
|
||||
">
|
||||
<div class='ipsBox i-margin-bottom_1'>
|
||||
<div class='acpFormTabContent'>
|
||||
<ul class='ipsForm ipsForm--horizontal ipsForm--restrictions'>
|
||||
<li class='ipsFieldRow' id="use_restrictions_id">
|
||||
<div class='ipsFieldRow__label '>
|
||||
|
||||
<div class='ipsBox i-margin-bottom_block'>
|
||||
<div class='acpFormTabContent'>
|
||||
<ul class='ipsForm ipsForm--horizontal ipsForm--restrictions'>
|
||||
<li class='ipsFieldRow' id="use_restrictions_id">
|
||||
<div class='ipsFieldRow__label '>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'mod_use_restrictions', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
<span class='ipsFieldRow__required'>
|
||||
<span class='ipsFieldRow__required'>
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'required', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</span>
|
||||
</div>
|
||||
<div class='ipsFieldRow__content'>
|
||||
<ul class="ipsFieldList" role="radiogroup" id="elRadio_mod_use_restrictions_use_restrictions_id">
|
||||
<li>
|
||||
<input type="radio" class="ipsInput ipsInput--toggle" name="admin_use_restrictions" value="no"
|
||||
</div>
|
||||
<div class='ipsFieldRow__content'>
|
||||
<ul class="ipsFieldList" role="radiogroup" id="elRadio_mod_use_restrictions_use_restrictions_id">
|
||||
<li>
|
||||
<input type="radio" class="ipsInput ipsInput--toggle" name="admin_use_restrictions" value="no"
|
||||
IPSCONTENT;
|
||||
|
||||
if ( $current === '*' ):
|
||||
@@ -49,25 +49,25 @@ IPSCONTENT;
|
||||
endif;
|
||||
$return .= <<<IPSCONTENT
|
||||
id="elRadio_admin_use_restrictions_no_use_restrictions_id">
|
||||
<div class='ipsFieldList__content'>
|
||||
<label for='elRadio_admin_use_restrictions_no_use_restrictions_id' id='elField_mod_use_restrictions_label'>
|
||||
<div class='ipsFieldList__content'>
|
||||
<label for='elRadio_admin_use_restrictions_no_use_restrictions_id' id='elField_mod_use_restrictions_label'>
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'mod_all_permissions', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</label>
|
||||
<div class='ipsFieldRow__desc'>
|
||||
|
||||
<div class='ipsFieldRow__desc'>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'admin_all_permissions_desc', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<input type="radio" class="ipsInput ipsInput--toggle" name="admin_use_restrictions" value="yes"
|
||||
</li>
|
||||
<li>
|
||||
<input type="radio" class="ipsInput ipsInput--toggle" name="admin_use_restrictions" value="yes"
|
||||
IPSCONTENT;
|
||||
|
||||
if ( $current !== '*' ):
|
||||
@@ -78,31 +78,31 @@ IPSCONTENT;
|
||||
endif;
|
||||
$return .= <<<IPSCONTENT
|
||||
data-control="toggle" data-toggles="permission_form_wrapper" id="elRadio_admin_use_restrictions_yes_use_restrictions_id">
|
||||
<div class='ipsFieldList__content'>
|
||||
<label for='elRadio_admin_use_restrictions_yes_use_restrictions_id' id='elField_mod_use_restrictions_label'>
|
||||
<div class='ipsFieldList__content'>
|
||||
<label for='elRadio_admin_use_restrictions_yes_use_restrictions_id' id='elField_mod_use_restrictions_label'>
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'mod_restricted', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</label>
|
||||
<div class='ipsFieldRow__desc'>
|
||||
|
||||
<div class='ipsFieldRow__desc'>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'admin_restricted_desc', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id='permission_form_wrapper'>
|
||||
<div id='permission_form_wrapper' class="ipsBox">
|
||||
<i-tabs class='ipsTabs acpFormTabBar' id='ipsTabs_restrictions' data-ipsTabBar data-ipsTabBar-contentArea="#ipsTabs_restrictions_content">
|
||||
<div role="tablist">
|
||||
|
||||
@@ -196,7 +196,7 @@ IPSCONTENT;
|
||||
endif;
|
||||
$return .= <<<IPSCONTENT
|
||||
>
|
||||
<div class='i-padding_3' data-controller='core.admin.members.restrictions'>
|
||||
<div class='' data-controller='core.admin.members.restrictions'>
|
||||
<div class='i-background_3 i-padding_3 acpAppRestrictions_header'>
|
||||
<input type="checkbox" class="ipsSwitch" id='elRestrict_
|
||||
IPSCONTENT;
|
||||
@@ -216,16 +216,16 @@ IPSCONTENT;
|
||||
|
||||
endif;
|
||||
$return .= <<<IPSCONTENT
|
||||
> <label for='elRestrict_
|
||||
> <label for='elRestrict_
|
||||
IPSCONTENT;
|
||||
$return .= \IPS\Theme\Template::htmlspecialchars( $appKey, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
|
||||
$return .= <<<IPSCONTENT
|
||||
'><span class='ipsTitle ipsTitle--h3'>
|
||||
' class="i-font-size_3 i-font-weight_600 i-color_hard">
|
||||
IPSCONTENT;
|
||||
|
||||
$sprintf = array(\IPS\Member::loggedIn()->language()->addToStack('__app_' . $appKey )); $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'acprestrictions_app', ENT_DISALLOWED, 'UTF-8', FALSE ), FALSE, array( 'sprintf' => $sprintf ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</span></label>
|
||||
</label>
|
||||
</div>
|
||||
<ul id='elRestrictions_root_
|
||||
IPSCONTENT;
|
||||
@@ -293,7 +293,7 @@ IPSCONTENT;
|
||||
|
||||
$val = "menu__{$appKey}_{$moduleKey}"; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( $val, ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</strong></h2> <span data-role='toggle' class='ipsJS_show'><a href='#' data-action='expandAll'><strong>
|
||||
</strong></h2> <span data-role='toggle' class='ipsJS_show'><a href='#' data-action='expandAll'><strong>
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'expand', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
@@ -325,7 +325,7 @@ IPSCONTENT;
|
||||
|
||||
$val = "r__{$title}"; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( $val, ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</h3> <span data-role='massToggle' class='ipsJS_show'><a href='#' data-action='checkAll'>
|
||||
</h3> <span data-role='massToggle' class='ipsJS_show'><a href='#' data-action='checkAll'>
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'all', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
|
||||
Reference in new issue
Block a user