first commit

This commit is contained in:
2025-08-02 16:30:27 +02:00
commit 23646bfcee
14851 changed files with 1750626 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<div class="form-group">
<label class="col-md-2 control-label">{'meta_title'|translate:'seo'}</label>
<div class="col-md-10">
<input type="text" class="form-control input-sm" name="data[meta_title]" maxlength="100" value="{if empty($body.data.meta_title)}{$body.data.title}{else}{$body.data.meta_title}{/if}" onchange="$('input[name*=meta_title_changed]').val('1')" />
<span class="help-block">{'maxLength100'|translate:"seo"} <span class="charCounter" rel="data[meta_title]"></span></span>
<input type="hidden" name="data[meta_title_changed]" value="{if !empty($body.data.meta_title)}1{/if}">
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label">{'meta_description'|translate:'seo'}</label>
<div class="col-md-10 box">
{assign var="metaDescriptionLength" value=160}
{if $body.data.meta_description|count_characters:true > 160}
{assign var="metaDescriptionLength" value=250}
{/if}
<textarea class="form-control input-sm" name="data[meta_description]" rows="3"
maxlength="{$metaDescriptionLength}">{$body.data.meta_description}</textarea>
<span class="help-block">
{"maxLength$metaDescriptionLength"|translate:"seo"}
<span class="charCounter" rel="data[meta_description]"></span>
</span>
</div>
</div>