Version 5.0.0 beta 10
This commit is contained in:
1 parent
56979f8ee8
commit
264eeb97e0
325 files changed
+6442
-1849
No files matched your search
@@ -888,34 +888,50 @@ $return .= <<<IPSCONTENT
|
||||
<i class='fa-solid fa-caret-down'></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class='ipsTemplateEditor__codeColumn' data-controller='cms.admin.templates.fileEditor'>
|
||||
<div class='ipsTemplateEditor__codeColumn' data-controller='cms.admin.templates.fileEditor'>
|
||||
<div class='cTemplateControls'>
|
||||
<ul class='ipsTemplateEditor__editorToolbar' id='elTemplateEditor_panelToolbar'>
|
||||
<li>
|
||||
<a href='#elTemplateEditor_preferences_menu' id='elTemplateEditor_preferences' class='ipsButton ipsButton--inherit ipsButton--small' data-ipsMenu data-ipsMenu-selectable><i class='fa-solid fa-gear'></i> <i class='fa-solid fa-caret-down'></i></a>
|
||||
<button type='submit' class='ipsButton ipsButton--primary' data-action="save">
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'save', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<div data-role='loading' class='ipsHide i-padding-inline_2'><i class='ipsLoadingIcon'></i>
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'loading', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</div>
|
||||
</li>
|
||||
<li class="i-margin-start_auto">
|
||||
<a href='#elTemplateEditor_preferences_menu' id='elTemplateEditor_preferences' class='ipsButton ipsButton--inherit i-color_primary' data-ipsMenu data-ipsMenu-selectable><i class='fa-solid fa-gear'></i> <i class='fa-solid fa-caret-down'></i></a>
|
||||
<ul id='elTemplateEditor_preferences_menu' class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsMenu_withStem ipsHide'>
|
||||
<li class='ipsMenu_item' data-ipsMenuValue='wrap'><a href='#'>
|
||||
<li class='ipsMenu_item' data-ipsMenuValue='wrap'><button type="button">
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'theme_wrap', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</a></li>
|
||||
<li class='ipsMenu_item' data-ipsMenuValue='lines'><a href='#'>
|
||||
</button></li>
|
||||
<li class='ipsMenu_item' data-ipsMenuValue='lines'><button type="button">
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'theme_show_line', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</a></li>
|
||||
<li class='ipsMenu_item' data-ipsMenuValue='diff'><a href='#'>
|
||||
</button></li>
|
||||
<li class='ipsMenu_item' data-ipsMenuValue='diff'><button type="button">
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'theme_show_original', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</a></li>
|
||||
</button></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='#' id='elTemplateEditor_variables' class='ipsButton ipsButton--inherit ipsButton--small' data-ipsDialog data-ipsDialog-title='
|
||||
<button type="button" id='elTemplateEditor_variables' class='ipsButton ipsButton--inherit i-color_primary' data-ipsDialog data-ipsDialog-title='
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'content_template_editor_fields_title', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
@@ -925,7 +941,7 @@ IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'theme_attributes', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</a>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<a href='
|
||||
@@ -933,7 +949,7 @@ IPSCONTENT;
|
||||
|
||||
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=cms&module=pages&controller=templates&do=delete&t_location={$current->location}&t_key={$current->id}", null, "", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
|
||||
$return .= <<<IPSCONTENT
|
||||
' class='ipsButton ipsButton--inherit ipsButton--small
|
||||
' class='ipsButton ipsButton--inherit i-color_primary
|
||||
IPSCONTENT;
|
||||
|
||||
if ( $current->user_edited == 'original' or $current->user_edited === 0 ):
|
||||
@@ -969,23 +985,7 @@ IPSCONTENT;
|
||||
endif;
|
||||
$return .= <<<IPSCONTENT
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<button type='submit' class='ipsButton ipsButton--primary ipsButton--small' data-action="save">
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'save', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<span data-role='loading' class='ipsHide'><i class='ipsLoadingIcon'></i>
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'loading', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
|
||||
$return .= <<<IPSCONTENT
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<i-tabs id='elTemplateEditor_tabbar' class='ipsTabs acpFormTabBar' data-ipsTabBar data-ipsTabBar-contentArea='#elTemplateEditor_panels'>
|
||||
@@ -1058,7 +1058,7 @@ $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 't
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
</div>
|
||||
<p class='ipsType_textBlock' id='elTemplateEditor_attributes_title'>
|
||||
<p class='i-font-weight_600 i-color_hard i-margin-top_3 i-margin-bottom_1' id='elTemplateEditor_attributes_title'>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
@@ -1067,7 +1067,7 @@ $return .= <<<IPSCONTENT
|
||||
|
||||
</p>
|
||||
<input class='ipsInput ipsInput--text ipsInput--fullWidth' data-role='variables' placeholder="$foo=''">
|
||||
<p class='ipsType_textBlock' id='elTemplateEditor_title_title'>
|
||||
<p class='i-font-weight_600 i-color_hard i-margin-top_3 i-margin-bottom_1' id='elTemplateEditor_title_title'>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
@@ -1076,7 +1076,7 @@ $return .= <<<IPSCONTENT
|
||||
|
||||
</p>
|
||||
<input class='ipsInput ipsInput--text ipsInput--fullWidth' data-role='title'>
|
||||
<p class='ipsType_textBlock' id='elTemplateEditor_group_title'>
|
||||
<p class='i-font-weight_600 i-color_hard i-margin-top_3 i-margin-bottom_1' id='elTemplateEditor_group_title'>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
@@ -1094,7 +1094,7 @@ $return .= <<<IPSCONTENT
|
||||
IPSCONTENT;
|
||||
$return .= \IPS\Theme\Template::htmlspecialchars( $type, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
|
||||
$return .= <<<IPSCONTENT
|
||||
_hidden" class='ipsHide' name="group" data-role="group" data-container-type="
|
||||
_hidden" class='ipsInput ipsHide' name="group" data-role="group" data-container-type="
|
||||
IPSCONTENT;
|
||||
$return .= \IPS\Theme\Template::htmlspecialchars( $type, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
|
||||
$return .= <<<IPSCONTENT
|
||||
@@ -1128,7 +1128,7 @@ IPSCONTENT;
|
||||
endforeach;
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
<p class='ipsType_textBlock ipsHide'>
|
||||
<p class='i-font-weight_600 i-color_hard i-margin-top_3 i-margin-bottom_1 ipsHide'>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
@@ -1140,7 +1140,7 @@ $return .= <<<IPSCONTENT
|
||||
<input type='hidden' name='_variables_fileid' value=''>
|
||||
<input type='hidden' name='_variables_location' value=''>
|
||||
</div>
|
||||
<div class='i-padding_3 i-background_3 i-text-align_end'>
|
||||
<div class='ipsSubmitRow'>
|
||||
<input type='submit' class='ipsButton ipsButton--primary' value='
|
||||
IPSCONTENT;
|
||||
|
||||
|
||||
Reference in new issue
Block a user