Commit 36e54151 authored by Tino Goratsch's avatar Tino Goratsch

added the WYSIWYG form group form field renderer

parent 622cbe71
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|publication_period"}</a></li>
......@@ -26,11 +26,7 @@
required>
</div>
</div>
<div class="form-group">
<label for="text" class="col-sm-2 control-label required">{lang t="articles|text"}</label>
<div class="col-sm-10">{wysiwyg name="text" value="`$form.text`" height="250" advanced="1"}</div>
</div>
{include file="asset:System/Partials/form_group.wysiwyg.tpl" name="text" value=$form.text required=true advanced=true label={lang t="articles|text"}}
{if !empty($options)}
{include file="asset:System/Partials/form_group.checkbox.tpl" label={lang t="system|options"}}
{include file="asset:Menus/Partials/create_menu_item.tpl"}
......
......@@ -2,7 +2,7 @@
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="title" value=$form.title required=true maxlength="120" label={lang t="categories|title"}}
{include file="asset:System/Partials/form_group.input_text.tpl" name="description" value=$form.description required=true maxlength="120" label={lang t="system|description"}}
{include file="asset:System/Partials/form_group.input_file.tpl" name="picture" label={lang t="categories|picture"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_number.tpl" name="width" value=$form.width required=true label={lang t="categories|image_width"} help={lang t="system|statements_in_pixel"}}
{include file="asset:System/Partials/form_group.input_number.tpl" name="height" value=$form.height required=true label={lang t="categories|image_height"} help={lang t="system|statements_in_pixel"}}
{include file="asset:System/Partials/form_group.input_number.tpl" name="filesize" value=$form.filesize required=true label={lang t="categories|image_filesize"} help={lang t="system|statements_in_byte"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{if !isset($form.user_id)}
{include file="asset:System/Partials/form_group.input_text.tpl" name="name" value=$form.name required=true maxlength=20 label={lang t="system|name"}}
{elseif $form.user_id != '0'}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.select.tpl" options=$dateformat required=true label={lang t="system|date_format"}}
{if isset($allow_emoticons)}
{include file="asset:System/Partials/form_group.button_group.tpl" options=$allow_emoticons required=true label={lang t="comments|allow_emoticons"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT_BEFORE}
{block CONTENT_BEFORE_AJAX_FORM}
{redirect_message}
{/block}
{block AJAX_FORM_CONTENT}
<div class="form-group">
<label for="address" class="col-sm-2 control-label">{lang t="contact|address"}</label>
<div class="col-sm-10">
{wysiwyg name="address" value="`$form.address`" toolbar="simple"}
</div>
</div>
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.wysiwyg.tpl" name="address" value=$form.address toolbar="simple" label={lang t="contact|address"}}
{include file="asset:System/Partials/form_group.input_text.tpl" name="ceo" value=$form.ceo maxlength=120 label={lang t="contact|ceo"}}
{include file="asset:System/Partials/form_group.input_email.tpl" name="mail" value=$form.mail maxlength=120 label={lang t="system|email_address"}}
{include file="asset:System/Partials/form_group.input_tel.tpl" name="telephone" value=$form.telephone maxlength=120 label={lang t="contact|telephone"}}
{include file="asset:System/Partials/form_group.input_tel.tpl" name="fax" value=$form.fax maxlength=120 label={lang t="contact|fax"}}
{include file="asset:System/Partials/form_group.input_text.tpl" name="vat_id" value=$form.vat_id maxlength=120 label={lang t="contact|vat_id"}}
<div class="form-group">
<label for="disclaimer" class="col-sm-2 control-label">{lang t="contact|disclaimer"}</label>
<div class="col-sm-10">
{wysiwyg name="disclaimer" value="`$form.disclaimer`" toolbar="simple"}
</div>
</div>
{include file="asset:System/Partials/form_group.wysiwyg.tpl" name="disclaimer" value=$form.disclaimer toolbar="simple" label={lang t="contact|disclaimer"}}
{include file="asset:System/Partials/form_group.submit.tpl" form_token=$form_token back_url={uri args="acp/contact"}}
{/block}
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="name" value=$form.name required=true maxlength=20 readonly=$form.name_disabled label={lang t="system|name"}}
{include file="asset:System/Partials/form_group.input_email.tpl" name="mail" value=$form.mail required=true readonly=$form.mail_disabled maxlength=120 label={lang t="system|email_address"}}
{include file="asset:System/Partials/form_group.textarea.tpl" name="message" value=$form.message required=true label={lang t="system|message"}}
......
......@@ -2,7 +2,7 @@
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="code" value=$form.code required=true maxlength=10 label={lang t="emoticons|code"}}
{include file="asset:System/Partials/form_group.input_text.tpl" name="description" value=$form.description required=true maxlength=15 label={lang t="system|description"}}
{block EMOTICONS_PICTURE_UPLOAD}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_number.tpl" name="width" value=$form.width required=true label={lang t="emoticons|image_width"} help={lang t="system|statements_in_pixel"}}
{include file="asset:System/Partials/form_group.input_number.tpl" name="height" value=$form.height required=true label={lang t="emoticons|image_height"} help={lang t="system|statements_in_pixel"}}
{include file="asset:System/Partials/form_group.input_number.tpl" name="filesize" value=$form.filesize required=true label={lang t="emoticons|image_filesize"} help={lang t="system|statements_in_byte"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT_BEFORE}
{block CONTENT_BEFORE_AJAX_FORM}
{redirect_message}
{/block}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="feed_image" value=$form.feed_image maxlength=120 label={lang t="feeds|feed_image"}}
{include file="asset:System/Partials/form_group.select.tpl" options=$feed_types required=true label={lang t="feeds|feed_type"}}
{include file="asset:System/Partials/form_group.submit.tpl" form_token=$form_token back_url={uri args="acp/feeds"}}
......
......@@ -2,7 +2,7 @@
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|publication_period"}</a></li>
......@@ -63,11 +63,7 @@
</div>
</div>
</div>
<div class="form-group">
<label for="text" class="col-sm-2 control-label required">{lang t="system|description"}</label>
<div class="col-sm-10">{wysiwyg name="text" value="`$form.text`" height="200" toolbar="simple"}</div>
</div>
{include file="asset:System/Partials/form_group.wysiwyg.tpl" name="text" value=$form.text required=true toolbar="simple" label={lang t="system|description"}}
<div class="form-group">
<label for="cat" class="col-sm-2 control-label required">{lang t="categories|category"}</label>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.select.tpl" options=$dateformat required=true label={lang t="system|date_format"}}
{include file="asset:System/Partials/form_group.select.tpl" options=$sidebar_entries required=true label={lang t="system|sidebar_entries_to_display"}}
{if isset($comments)}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|general_statements"}</a></li>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|general_statements"}</a></li>
......
......@@ -2,14 +2,11 @@
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{block GALLERY_PICTURE_UPLOAD}
{include file="asset:System/Partials/form_group.input_file.tpl" name="file" required=true label={lang t="gallery|select_picture"}}
{/block}
<div class="form-group">
<label for="description" class="col-sm-2 control-label">{lang t="system|description"}</label>
<div class="col-sm-10">{wysiwyg name="description" value="`$form.description`" height="150" toolbar="simple"}</div>
</div>
{include file="asset:System/Partials/form_group.wysiwyg.tpl" name="description" value=$form.description toolbar="simple" label={lang t="system|description"}}
{if isset($options)}
{include file="asset:System/Partials/form_group.checkbox.tpl" options=$options label={lang t="system|options"}}
{/if}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{if $can_use_emoticons}
{$before_textarea={event name="emoticons.render_emoticons_list"}}
{else}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.select.tpl" options=$dateformat required=true label={lang t="system|date_format"}}
{include file="asset:System/Partials/form_group.select.tpl" options=$notify required=true label={lang t="guestbook|notification"}}
{include file="asset:System/Partials/form_group.input_text.tpl" name="notify_email" value=$form.notify_email required=true label={lang t="guestbook|notification_email"}}
......
......@@ -2,7 +2,7 @@
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="modal-body">
{if isset($error_msg)}
{$error_msg}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="name" value=$form.name required=true readonly=$form.name_disabled maxlength=20 label={lang t="system|name"}}
{include file="asset:System/Partials/form_group.input_email.tpl" name="mail" value=$form.mail readonly=$form.mail_disabled maxlength=120 label={lang t="system|email_address"}}
{include file="asset:System/Partials/form_group.input_url.tpl" name="website" value=$form.website readonly=$form.website_disabled maxlength=120 label={lang t="system|website"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="title" value=$form.title required=true maxlength=120 label={lang t="menus|menu_bar_title"}}
{include file="asset:System/Partials/form_group.input_text.tpl" name="index_name" value=$form.index_name required=true maxlength=20 label={lang t="menus|index_name"}}
{include file="asset:System/Partials/form_group.submit.tpl" form_token=$form_token back_url={uri args="acp/menus"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|general_statements"}</a></li>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|publication_period"}</a></li>
......@@ -27,11 +27,7 @@
required>
</div>
</div>
<div class="form-group">
<label for="text" class="col-sm-2 control-label required">{lang t="news|text"}</label>
<div class="col-sm-10">{wysiwyg name="text" value="`$form.text`" height="250"}</div>
</div>
{include file="asset:System/Partials/form_group.wysiwyg.tpl" name="text" value=$form.text required=true label={lang t="news|text"}}
<div class="form-group">
<label for="cat" class="col-sm-2 control-label required">{lang t="categories|category"}</label>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.select.tpl" options=$dateformat required=true label={lang t="system|date_format"}}
{include file="asset:System/Partials/form_group.select.tpl" options=$sidebar_entries required=true label={lang t="system|sidebar_entries_to_display"}}
{include file="asset:System/Partials/form_group.button_group.tpl" options=$readmore required=true label={lang t="news|activate_readmore"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="title" value=$form.title required=true label={lang t="newsletter|subject"}}
{datepicker name="date" value=$form.date}
<div class="form-group">
<label for="text" class="col-sm-2 control-label required">{lang t="newsletter|text"}</label>
<div class="col-sm-10">
{if $settings.html == 1}
{wysiwyg name="text" value="`$form.text`" height="250"}
{else}
<textarea class="form-control" name="text" id="text" cols="50" rows="5" required>{$form.text}</textarea>
{/if}
</div>
</div>
{if $settings.html == 1}
{include file="asset:System/Partials/form_group.wysiwyg.tpl" name="text" value=$form.text required=true label={lang t="newsletter|text"}}
{else}
{include file="asset:System/Partials/form_group.textarea.tpl" name="text" value=$form.text required=true label={lang t="newsletter|text"}}
{/if}
{include file="asset:System/Partials/form_group.button_group.tpl" options=$test required=true label={lang t="newsletter|test_newsletter"} help={lang t="newsletter|test_newsletter_description"}}
{include file="asset:System/Partials/form_group.submit.tpl" form_token=$form_token back_url={uri args="acp/newsletter"}}
{/block}
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_email.tpl" name="mail" value=$form.mail required=true maxlength=120 label={lang t="system|email_address"}}
<div class="form-group">
<label for="mailsig" class="col-sm-2 control-label">{lang t="newsletter|mailsig"}</label>
<div class="col-sm-10">
{wysiwyg name="mailsig" value="`$form.mailsig`" height="250"}
</div>
</div>
{include file="asset:System/Partials/form_group.wysiwyg.tpl" name="mailsig" value=$form.mailsig label={lang t="newsletter|mailsig"}}
{include file="asset:System/Partials/form_group.button_group.tpl" options=$html required=true label={lang t="newsletter|send_html_emails"}}
{include file="asset:System/Partials/form_group.submit.tpl" form_token=$form_token back_url={uri args="acp/newsletter"}}
{/block}
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_email.tpl" name="mail" value=$form.mail required=true maxlength=120 label={lang t="system|email_address"}}
{include file="asset:System/Partials/form_group.select.tpl" options=$salutation cssSelector="col-sm-3" emptyOptionLabel={lang t="newsletter|salutation_unspecified"} label={lang t="newsletter|salutation"}}
{include file="asset:System/Partials/form_group.input_text.tpl" name="first_name" value=$form.first_name maxlength=120 label={lang t="newsletter|first_name"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_email.tpl" name="mail" value=$form.mail required=true maxlength=120 label={lang t="system|email_address"}}
{event name="captcha.event.display_captcha"}
{include file="asset:System/Partials/form_group.submit.tpl" form_token=$form_token}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|general_statements"}</a></li>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{block PERMISSIONS_RESOURCES_MODULE}
<div class="form-group">
<label for="modules" class="col-sm-2 control-label required">{lang t="system|module"}</label>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="form-group">
<label for="answer-{$answers.0.id}" class="col-sm-2 control-label">{$question}</label>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT_BEFORE}
{block CONTENT_BEFORE_AJAX_FORM}
{redirect_message}
{/block}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="search_term" value=$form.search_term required=true label={lang t="search|search_term"}}
<div class="form-group">
<label class="col-sm-2 control-label required">{lang t="search|search_after_modules"}</label>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="uri" value=$form.uri required=true maxlength=120 label={lang t="seo|uri"}}
{include file="asset:Seo/Partials/seo_fields.tpl" seo=$SEO_FORM_FIELDS disable_alias_suggest=true}
{include file="asset:System/Partials/form_group.submit.tpl" form_token=$form_token back_url={uri args="acp/seo"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="title" value=$form.title required=true maxlength=120 label={lang t="system|title"}}
{include file="asset:System/Partials/form_group.input_text.tpl" name="meta_description" value=$form.meta_description maxlength=120 label={lang t="seo|description"}}
{include file="asset:System/Partials/form_group.textarea.tpl" name="meta_keywords" value=$form.meta_keywords label={lang t="seo|keywords"} help={lang t="seo|keywords_separate_with_commas"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT_BEFORE}
{block CONTENT_BEFORE_AJAX_FORM}
{redirect_message}
{/block}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|general"}</a></li>
......
{extends file="asset:System/Partials/form_group.base.tpl"}
{block FORM_GROUP_LABEL_ID}{$name|replace:'_':'-'}{/block}
{block FORM_GROUP_FORM_FIELD}
{$toolbar=(!empty($toolbar)) ? $toolbar : ''}
{$toolbar=(isset($advanced)) ? $advanced : false}
{$value=(!empty($value)) ? $value : ''}
{wysiwyg name=$name value=$value toolbar=$toolbar advanced=$advanced}
{/block}
......@@ -12,13 +12,11 @@
<h4 class="modal-title">{lang t="system|insert_page_break"}</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label for="toc-title">{lang t="system|title_for_toc"}</label>
<input type="text" id="toc-title" class="form-control">
</div>
<label for="toc-title">{lang t="system|title_for_toc"}</label>
<input type="text" id="toc-title" class="form-control">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-default" data-dismiss="modal">{lang t="system|close"}</button>
<button class="btn btn-primary">{lang t="system|submit"}</button>
</div>
</div>
......
{extends file="asset:`$LAYOUT`"}
{block CONTENT}
{block AJAX_FORM_CONTENT_BEFORE}{/block}
{block CONTENT_BEFORE_AJAX_FORM}{/block}
{if isset($error_msg)}
{$error_msg}
{/if}
......@@ -12,7 +12,7 @@
class="form-horizontal"
data-ajax-form="true"
data-ajax-form-loading-text="{lang t="system|loading_please_wait"}">
{block AJAX_FORM_CONTENT}{/block}
{block CONTENT_AJAX_FORM}{/block}
</form>
{javascripts}
{include_js module="system" file="ajax-form"}
......
......@@ -41,6 +41,7 @@
<item key="cache_type_templates_delete_error">Beim leeren des Template-Caches ist ein Fehler aufgetreten.</item>
<item key="cache_type_templates_delete_success">Der Template-Cache wurde erfolgreich geleert.</item>
<item key="cancel">Abbrechen</item>
<item key="close">Schließen</item>
<item key="close_window">Fenster schließen</item>
<item key="configuration">Konfiguration</item>
<item key="config_edit_error">Beim Bearbeiten der Konfiguration ist ein Fehler aufgetreten.</item>
......
......@@ -41,6 +41,7 @@
<item key="cache_type_templates_delete_error">While emptying the Templates-Cache an error has occurred.</item>
<item key="cache_type_templates_delete_success">The Templates-Cache has been successfully emptied.</item>
<item key="cancel">Cancel</item>
<item key="close">Close</item>
<item key="close_window">Close window</item>
<item key="configuration">Configuration</item>
<item key="config_edit_error">While editing the ACP3 configuration an error has occurred.</item>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|general"}</a></li>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_email.tpl" name="mail" value=$form.mail required=true maxlength=120 label={lang t="system|email_address"}}
{include file="asset:System/Partials/form_group.button_group.tpl" options=$languages required=true label={lang t="users|allow_language_override"}}
{include file="asset:System/Partials/form_group.button_group.tpl" options=$entries required=true label={lang t="users|allow_entries_override"}}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|general"}</a></li>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-1" data-toggle="tab">{lang t="system|general"}</a></li>
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="nick_mail" value=$form.nick_mail required=true maxlength=120 label={lang t="users|nickname_or_email"}}
{event name="captcha.event.display_captcha"}
{include file="asset:System/Partials/form_group.submit.tpl" form_token=$form_token}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="nickname" required=true maxlength=30 label={lang t="users|nickname"}}
{include file="asset:System/Partials/form_group.input_password.tpl" name="pwd" required=true label={lang t="users|pwd"}}
{include file="asset:System/Partials/form_group.checkbox.tpl" options=$remember_me}
......
{extends file="asset:System/layout.ajax-form.tpl"}
{block AJAX_FORM_CONTENT}
{block CONTENT_AJAX_FORM}
{include file="asset:System/Partials/form_group.input_text.tpl" name="nickname" value=$form.nickname required=true maxlength=30 label={lang t="users|nickname"}}
{include file="asset:System/Partials/form_group.input_email.tpl" name="mail" value=$form.mail required=true maxlength=120 label={lang t="system|email_address"}}
{include file="asset:Users/Partials/password_fields.tpl" required=true}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment