Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
@@ -1,13 +1,13 @@
|
||||
<ips:template parameters="$apps, $selected" />
|
||||
<input type="hidden" name="apps[core]" value="1">
|
||||
<ul class='ipsField_fieldList'>
|
||||
<ul class='ipsFieldList'>
|
||||
{{foreach $apps as $key => $data}}
|
||||
<li>
|
||||
<input type="checkbox" id='app_{$key}' {{if $key !== 'core'}}name="apps[{$key}]"{{endif}} {{if \in_array( $key, $selected )}}checked{{endif}} {{if $data['disabled']}}disabled{{endif}} value='1'>
|
||||
<div class='ipsField_fieldList_content'>
|
||||
<label for='app_{$key}' class='ipsFieldRow_label'>{$data['name']}</label>
|
||||
<div class='ipsFieldList__content'>
|
||||
<label for='app_{$key}' class='ipsFieldRow__label'>{$data['name']}</label>
|
||||
{{if !empty( $data['errors'] )}}
|
||||
<p class="ipsMessage ipsMessage_error">
|
||||
<p class="ipsMessage ipsMessage--error">
|
||||
{expression="implode( '<br />', $data['errors'] )" raw="true"}
|
||||
</p>
|
||||
{{endif}}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<ips:template parameters="$lang, $type" />
|
||||
<button type="{$type}" class='ipsButton ipsButton_primary'>{lang="$lang"}</button>
|
||||
<button type="{$type}" class='ipsButton ipsButton--primary'>{lang="$lang"}</button>
|
||||
@@ -1,4 +1,4 @@
|
||||
<ips:template parameters="$lang, $id=NULL" />
|
||||
<li {{if $id !== NULL}} id="{$id}"{{endif}}>
|
||||
<h2 class='ipsFieldRow_section'>{lang="$lang"}</h2>
|
||||
<li {{if $id !== NULL}} id="{$id}"{{endif}} class='ipsFieldRow__section'>
|
||||
<h2>{lang="$lang"}</h2>
|
||||
</li>
|
||||
@@ -23,8 +23,8 @@
|
||||
>
|
||||
{$suffix}
|
||||
{{if $unlimited !== NULL}}
|
||||
|
||||
{lang="or"}
|
||||
|
||||
<label><input type="checkbox" data-control="unlimited" name="{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}" value="{$unlimited}" {{if $unlimited === $value}}checked{{endif}} {{if $disabled}}disabled{{endif}} data-control="toggle" data-toggles="{expression="implode( ',', $toggles )"}" /> {lang="$unlimitedLang"}</label>
|
||||
<div class="ipsFieldRow__inlineCheckbox">
|
||||
{lang="or"}
|
||||
<label><input type="checkbox" data-control="unlimited" name="{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}" value="{$unlimited}" {{if $unlimited === $value}}checked{{endif}} {{if $disabled}}disabled{{endif}} data-control="toggle" data-toggles="{expression="implode( ',', $toggles )"}" /> {lang="$unlimitedLang"}</label>
|
||||
</div>
|
||||
{{endif}}
|
||||
@@ -1,19 +1,17 @@
|
||||
<ips:template parameters="$langKey, $element, $desc, $warning, $required = FALSE, $error=NULL, $prefix=NULL, $suffix=NULL, $id=NULL, $object=NULL, $form=NULL" />
|
||||
<li {{if $id !== NULL}}id="{$id}"{{endif}} class='ipsFieldRow'>
|
||||
<label class='ipsFieldRow_label {{if $error}}error{{endif}}'>
|
||||
{lang="$langKey"} {{if $required}}<span class='ipsFieldRow_required'>{lang="required"}</span>{{endif}}
|
||||
</label>
|
||||
<div class='ipsFieldRow_content'>
|
||||
<div class='ipsFieldRow__label {{if $error}}error{{endif}}'>
|
||||
{lang="$langKey"} {{if $required}}<span class='ipsFieldRow__required'>{lang="required"}</span>{{endif}}
|
||||
</div>
|
||||
{$prefix|raw}
|
||||
{$element|raw}
|
||||
{$suffix|raw}
|
||||
{$desc|raw}
|
||||
{$warning|raw}
|
||||
<br />
|
||||
{{if $error}}
|
||||
<span class='ipsType_warning'>{lang="$error"}</span>
|
||||
<div class='ipsFieldRow__warning'>{lang="$error"}</div>
|
||||
{{else}}
|
||||
<span class='ipsType_warning'></span>
|
||||
<div class='ipsFieldRow__warning'></div>
|
||||
{{endif}}
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -1,5 +1,4 @@
|
||||
<ips:template parameters="$label, $element, $required=FALSE, $error=NULL, $prefix=NULL, $suffix=NULL, $id=NULL, $object=NULL, $form=NULL" />
|
||||
<br>
|
||||
<span class='ipsFieldRow_desc'>
|
||||
<div class='ipsFieldRow__desc'>
|
||||
%s
|
||||
</span>
|
||||
</div>
|
||||
@@ -1,5 +1,4 @@
|
||||
<ips:template parameters="$label, $element, $required=FALSE, $error=NULL, $prefix=NULL, $suffix=NULL, $id=NULL, $object=NULL, $form=NULL" />
|
||||
<div {{if $id !== NULL}}id="{$id}_warning"{{endif}}>
|
||||
<br>
|
||||
<p class='ipsMessage ipsMessage_warning'>%s</p>
|
||||
<p class='ipsMessage ipsMessage--warning'>%s</p>
|
||||
</div>
|
||||
@@ -15,14 +15,14 @@
|
||||
<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
|
||||
{{endif}}
|
||||
{{if $error}}
|
||||
<div class="ipsMessage ipsMessage_error">
|
||||
<div class="ipsMessage ipsMessage--error ipsMessage--form">
|
||||
{$error}
|
||||
</div>
|
||||
{{endif}}
|
||||
<ul class='ipsForm {{if \IPS\Dispatcher::i()->step == 1}}ipsForm_vertical{{else}}{$class}{{endif}}'>
|
||||
{expression="array_pop( $tabs )" raw="true"}
|
||||
<li class='ipsFieldRow'>
|
||||
<div class='ipsFieldRow_content'>
|
||||
<div class='ipsFieldRow__content'>
|
||||
{expression="implode( '', $actionButtons)" raw="true"}
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<ips:template parameters="$name, $value='', $required, $maxlength=NULL, $disabled=FALSE, $class='', $placeholder='', $nullLang=NULL, $tags=array()" />
|
||||
{{if !empty( $tags )}}
|
||||
<div class='ipsColumns ipsColumns_collapseTablet' data-controller='core.global.editor.customtags' data-tagFieldType='text' data-tagFieldID='{$name}'>
|
||||
<div class='ipsColumn_fluid ipsColumn'>
|
||||
<div class='ipsColumns' data-controller='core.global.editor.customtags' data-tagFieldType='text' data-tagFieldID='{$name}'>
|
||||
<div class='ipsColumns__primary'>
|
||||
<div data-role="editor">
|
||||
{{endif}}
|
||||
<textarea
|
||||
name="{$name}"
|
||||
id='{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}'
|
||||
value="{$value}"
|
||||
class="ipsField_fullWidth {$class}"
|
||||
class="ipsInput--fullWidth {$class}"
|
||||
{{if $maxlength !== NULL}}maxlength="{$maxlength}"{{endif}}
|
||||
{{if $required === TRUE}}required aria-required='true'{{endif}}
|
||||
{{if $disabled}}disabled aria-disabled='true'{{endif}}
|
||||
@@ -18,19 +18,22 @@
|
||||
</div>
|
||||
{{endif}}
|
||||
{{if $nullLang}}
|
||||
{lang="or"} <input type="checkbox" role='checkbox' data-control="unlimited" name="{$name}_null" id="{$name}_null" value="1" {{if $value === NULL}}checked aria-checked='true'{{endif}} {{if $disabled}}disabled{{endif}} aria-controls='{$name}' aria-labelledby='{$name}_null_label'> <label for='{$name}_null' id='{$name}_null_label'>{lang="$nullLang"}</label>
|
||||
<div class="ipsFieldRow__inlineCheckbox">
|
||||
{lang="or"}
|
||||
<input type="checkbox" role='checkbox' data-control="unlimited" name="{$name}_null" id="{$name}_null" value="1" {{if $value === NULL}}checked aria-checked='true'{{endif}} {{if $disabled}}disabled{{endif}} aria-controls='{$name}' aria-labelledby='{$name}_null_label'>
|
||||
<label for='{$name}_null' id='{$name}_null_label'>{lang="$nullLang"}</label>
|
||||
</div>
|
||||
{{endif}}
|
||||
{{if !empty( $tags )}}
|
||||
</div>
|
||||
<div class='ipsColumn_medium ipsColumn ipsAreaBackground_light ipsComposeArea_sidebar {{if !isset( \IPS\Request::i()->cookie['tagSidebar'] )}}ipsComposeArea_sidebarOpen{{else}}ipsComposeArea_sidebarClosed{{endif}}'>
|
||||
<a href='#' class="ipsJS_show" data-action='tagsToggle' data-ipsTooltip data-ipsTooltip-label="{lang="toggle_sidebar"}">{lang="toggle_sidebar"}</a>
|
||||
<h3 class='ipsAreaBackground ipsPad_half ipsType_reset' data-role='tagsHeader'>{lang="editor_tags"}</h3>
|
||||
<ul class='ipsList_reset ipsScrollbar' data-role='tagsList'>
|
||||
<div class='ipsColumns__secondary ipsComposeArea_sidebar'>
|
||||
<h3 class='i-background_3 i-padding_2 ipsTitle ipsTitle--h4' data-role='tagsHeader'>{lang="editor_tags"}</h3>
|
||||
<ul class='ipsScrollbar' data-role='tagsList'>
|
||||
{{foreach $tags as $tagKey => $tagValue }}
|
||||
<li class='ipsPad_half'>
|
||||
<li class='i-padding_2'>
|
||||
<label class="ipsJS_show" data-tagKey="{$tagKey}">{$tagKey}</label>
|
||||
<div class='ipsJS_hide ipsType_light'><strong>{$tagKey}</strong></div>
|
||||
<div class='ipsType_light ipsType_small'>{$tagValue}</div>
|
||||
<div class='ipsJS_hide i-color_soft'><strong>{$tagKey}</strong></div>
|
||||
<div class='i-color_soft i-font-size_-1'>{$tagValue}</div>
|
||||
</li>
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
|
||||
Reference in new issue
Block a user