Version 5.0.0 beta 1

This commit is contained in:
Neo committed 2025-12-19 16:27:35 -08:00
1 parent 25ddeb65d6
commit 15c7beabc5
6736 files changed
+627902 -497943

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
<ips:template parameters="$lang, $type, $href=NULL, $class='', $attributes=array()" />
{{if $type === 'link'}}
<a href="{$href}" class='ipsButton ipsButton_link {{if $class}}{$class}{{endif}}' {{if $attributes}}{{foreach $attributes as $key => $value}}{$key}="{$value}"{{endforeach}}{{endif}} role="button">{lang="$lang"}</a>
<a href="{$href}" class='ipsButton ipsButton--text {{if $class}}{$class}{{endif}}' {{if $attributes}}{{foreach $attributes as $key => $value}}{$key}="{$value}"{{endforeach}}{{endif}} role="button">{lang="$lang"}</a>
{{else}}
<button type="{$type}" class="{{if $class}}{$class}{{endif}}" {{if $attributes}}{{foreach $attributes as $key => $value}}{$key}="{$value}"{{endforeach}}{{endif}} role="button">{lang="$lang"}</button>
{{endif}}
+6 -10
View File
@@ -22,27 +22,23 @@
</div>
{{endif}}
<div data-role="checkboxsetGranular" class="{{if $unlimited !== NULL and !\is_array( $value )}}ipsJS_hide{{endif}}">
<ul class="ipsField_fieldList">
<ul class="ipsFieldList">
{{foreach $options as $k => $v}}
<li>
<span class='ipsCustomInput'>
<input type="checkbox" {{if $class}}class="{$class}"{{endif}} name="{$name}[{$k}]" value="1" {{if ( $unlimited !== NULL AND $unlimited === $value ) or ( \is_array( $value ) AND \in_array( $k, $value ) )}}checked{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" {{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} id="elCheckbox_{$name}_{$k}">
<span></span>
</span>
<div class='ipsField_fieldList_content'>
<input type="checkbox" class="ipsInputToggle {{if $class}}{$class}{{endif}}" name="{$name}[{$k}]" value="1" {{if ( $unlimited !== NULL AND $unlimited === $value ) or ( \is_array( $value ) AND \in_array( $k, $value ) )}}checked{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" {{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} id="elCheckbox_{$name}_{$k}">
<div class='ipsFieldList__content'>
<label for='elCheckbox_{$name}_{$k}' id='elField_{$name}_label'>{$v|raw}</label>
{{if isset( $descriptions[ $k ] )}}
<br>
<span class='ipsFieldRow_desc'>
<div class='ipsFieldRow__desc'>
{$descriptions[ $k ]|raw}
</span>
</div>
{{endif}}
</div>
</li>
{{endforeach}}
</ul>
{{if $unlimited !== NULL}}
<div class="ipsSpacer_top ipsSpacer_half">
<div class="i-margin-top_1">
{lang="or"}
&nbsp;
<a class="ipsCursor_pointer" data-action="checkboxsetAll">{lang="all"}</a> / <a class="ipsCursor_pointer" data-action="checkboxsetNone">{lang="none"}</a>
+2 -2
View File
@@ -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>
+18 -20
View File
@@ -1,36 +1,34 @@
<ips:template parameters="$error" />
{{if $error !== NULL}}
<div class='ipsMessage ipsMessage_error'>
{lang="$error"}
</div>
<div class='ipsMessage ipsMessage--error ipsMessage--form'>
{lang="$error"}
</div>
{{endif}}
<form method="post">
<input type="hidden" name="login_submitted" value="1">
<ul class='ipsForm ipsForm_vertical'>
<li class="ipsFieldRow ipsClearfix">
<label class="ipsFieldRow_label" for="auth">
{lang="auth"}
<span class="ipsFieldRow_required">{lang="required"}</span>
<ul class='ipsForm ipsForm--vertical ipsForm--admin-upgrade'>
<li class="ipsFieldRow">
<label class="ipsFieldRow__label" for="auth">
{lang="email_address"}
<span class="ipsFieldRow__required">{lang="required"}</span>
</label>
<div class="ipsFieldRow_content">
<input type="text" placeholder="{lang="auth"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}}>
<div class="ipsFieldRow__content">
<input type="email" placeholder="{lang="email_address"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}} style="width:100%">
</div>
</li>
<li class="ipsFieldRow ipsClearfix">
<label class="ipsFieldRow_label" for="password">
<li class="ipsFieldRow">
<label class="ipsFieldRow__label" for="password">
{lang="password"}
<span class="ipsFieldRow_required">{lang="required"}</span>
<span class="ipsFieldRow__required">{lang="required"}</span>
</label>
<div class="ipsFieldRow_content">
<input type="password" placeholder="{lang="password"}" name="password" id="password" {{if isset( \IPS\Request::i()->password )}}value="{request="password"}"{{endif}}>
<div class="ipsFieldRow__content">
<input type="password" placeholder="{lang="password"}" name="password" id="password" {{if isset( \IPS\Request::i()->password )}}value="{request="password"}"{{endif}} style="width:100%">
</div>
</li>
<li class=''>
<button type='submit' class='ipsButton ipsButton_primary ipsButton_medium'>{lang="login"}</button>
&nbsp;&nbsp;&nbsp;
<a href="{url="upgrader_login_help" ips="true"}" target="_blank" rel="noopener" class="ipsType_blendLinks">{lang="help"}</a>
<li class='ipsSubmitRow'>
<a href="{url="upgrader_login_help" ips="true"}" target="_blank" rel="noopener" class="ipsButton">{lang="help"}</a>
<button type='submit' class='ipsButton ipsButton--primary'>{lang="login"}</button>
</li>
</ul>
</form>
@@ -0,0 +1,5 @@
<ips:template parameters="" />
<p class='ipsMessage ipsMessage--error'>{lang="ips_too_old"}</p>
<div class='i-padding_4 i-text-align_center'>
<a href='../../' class='ipsButton ipsButton--large ipsButton--primary'>{lang="exit_upgrader"}</a>
</div>
+3 -3
View File
@@ -1,5 +1,5 @@
<ips:template parameters="" />
<p class='ipsMessage ipsMessage_error'>{lang="no_apps_upgrade"}</p>
<div class='ipsPad_double ipsType_center'>
<a href='../../' class='ipsButton ipsButton_large ipsButton_primary'>{lang="exit_upgrader"}</a>
<p class='ipsMessage ipsMessage--error'>{lang="no_apps_upgrade"}</p>
<div class='i-padding_4 i-text-align_center'>
<a href='../../' class='ipsButton ipsButton--large ipsButton--primary'>{lang="exit_upgrader"}</a>
</div>
+4 -4
View File
@@ -23,8 +23,8 @@
>
{$suffix}
{{if $unlimited !== NULL}}
&nbsp;
{lang="or"}
&nbsp;
<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}}
+4 -4
View File
@@ -1,12 +1,12 @@
<ips:template parameters="$queries, $url, $message=NULL" />
<h1 class='ipsType_veryLarge'>{lang="manual_query_header"}</h1>
<hr class='ipsHr'>
<p class="ipsType_normal">{lang="manual_query_instructions"}</p>
<p>{lang="manual_query_instructions"}</p>
{{foreach $queries as $query}}
<pre class="ipsCode prettyprint lang-sql">{$query}{{if mb_substr( $query, -1 ) != ';'}};{{endif}}</pre>
{{endforeach}}
<div class="ipsAreaBackground ipsPad ipsType_center">
<a href="{$url->setQueryString( array( 'key' => $_SESSION['uniqueKey'], 'mr_continue' => NULL, 'run_anyway' => 1, 'mr' => 1 ) )}" data-action="redirectContinue" class="ipsButton ipsButton_primary">{lang="manual_query_auto"}</a>
<div class="i-background_3 i-padding_3 i-text-align_center">
<a href="{$url->setQueryString( array( 'key' => $_SESSION['uniqueKey'], 'mr_continue' => NULL, 'run_anyway' => 1, 'mr' => 1 ) )}" data-action="redirectContinue" class="ipsButton ipsButton--primary">{lang="manual_query_auto"}</a>
&nbsp;{lang="or"}&nbsp;
<a href="{$url}" data-action="redirectContinue" class="ipsButton ipsButton_primary">{lang="manual_query_manual"}</a>
<a href="{$url}" data-action="redirectContinue" class="ipsButton ipsButton--primary">{lang="manual_query_manual"}</a>
</div>
+4 -4
View File
@@ -1,9 +1,9 @@
<ips:template parameters="$name, $value, $required, $options, $disabled=FALSE, $toggles=array(), $descriptions=array(), $warnings=array(), $userSuppliedInput='', $unlimited=NULL, $unlimitedLang=NULL" />
{{if $unlimited !== NULL}}
<ul class="ipsField_fieldList" role="radiogroup">
<ul class="ipsFieldList" role="radiogroup">
<li>
<input type="checkbox" name="{$name}" value="{$unlimited}" id='elRadio_{$name}_{unlimited}' data-control="toggle" data-togglesOff="elRadio_{$name}" {{if $value === $unlimited}}checked{{endif}} />
<div class='ipsField_fieldList_content'>
<div class='ipsFieldList__content'>
<label for='elRadio_{$name}_{unlimited}'>
{lang="$unlimitedLang"}
</label>
@@ -11,11 +11,11 @@
</li>
</ul>
{{endif}}
<ul class="ipsField_fieldList" role="radiogroup" id="elRadio_{$name}">
<ul class="ipsFieldList" role="radiogroup" id="elRadio_{$name}">
{{foreach $options as $k => $v}}
<li>
<input type="radio" name="{$name}" value="{$k}" {{if (string) $value == (string) $k or ( isset( $userSuppliedInput ) and !\in_array( $value, array_keys( $options ) ) and $k == $userSuppliedInput )}}checked{{endif}} {{if $required === TRUE}}required{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} id="elRadio_{$name}_{$k}" />
<div class='ipsField_fieldList_content'>
<div class='ipsFieldList__content'>
<label for='elRadio_{$name}_{$k}' id='elField_{$name}_label'>{$v|raw}</label>
{{if !empty( $userSuppliedInput ) AND $userSuppliedInput == $k}}
<input type='text' name='{$userSuppliedInput}_{$name}' value="{{if !\in_array( $value, array_keys( $options ) )}}{$value}{{endif}}" id='{$userSuppliedInput}_{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}'>
+5 -5
View File
@@ -1,9 +1,9 @@
<ips:template parameters="$langKey, $element, $desc, $warning, $required, $error, $prefix, $suffix, $id" />
<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 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__content'>
{$prefix|raw}
{$element|raw}
{$suffix|raw}
@@ -11,9 +11,9 @@
{$warning|raw}
<br />
{{if $error}}
<span class='ipsType_warning'>{lang="$error"}</span>
<span class='i-color_warning'>{lang="$error"}</span>
{{else:}}
<span class='ipsType_warning'></span>
<span class='i-color_warning'></span>
{{endif}}
</div>
</li>
+1 -4
View File
@@ -1,5 +1,2 @@
<ips:template parameters="$label, $element, $required=FALSE, $error=NULL, $prefix=NULL, $suffix=NULL, $id=NULL, $object=NULL, $form=NULL" />
<br>
<span class='ipsFieldRow_desc'>
%s
</span>
<div class='ipsFieldRow__desc'>%s</div>
+1 -2
View File
@@ -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>
+3 -3
View File
@@ -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 ipsForm_vertical'>
<ul class='ipsForm ipsForm--admin-upgrade ipsForm--vertical'>
{expression="array_pop( $tabs )" raw="true"}
<li class='ipsFieldRow'>
<div class='ipsFieldRow_content'>
<div class='ipsFieldRow__content'>
{expression="implode( '', $actionButtons)" raw="true"}
</div>
</li>
+14 -11
View File
@@ -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>