<?php return array (
  'manifest-version' => '1.1',
  'manifest-attributes' => 
  array (
    'changelog' => '
==============
https://github.com/gvozdb/ms2form

1.4.5-beta2
==============
- Исправлено обновление поля editedon при загрузке и удалении изображения товара

1.4.5-beta
==============
- Добавлено обновление поля editedon при загрузке и удалении изображения товара

1.4.4-beta
==============
- Добавлен флажок data-reset="true" для формы, сбрасывающий новые данные в форме после сохранения

1.4.3-beta
==============
- Добавлена обработка чекбоксов для типа опции combo-multiple
- Добавлен параметр $options в форму создания и редактирования товара

1.4.2-beta
==============
- Исправлен баг с отображением превью в новых версиях miniShop2
- Исправлена выборка изображений при создании нового товара, указан createdby

1.4.1-beta
==============
- Добавлена функция "Выбрать всё" для опции множественного списка
- Исправлена обработка параметра requiredFields для опций miniShop2

1.4.0-pl
==============
- Исправлен вывод 400 ошибки, если combobox опции не существует при запросе вариантов
- Исправлена инициализация combobox опций в ms2form.js

1.4.0-beta
==============
- Добавлена работа с опциями при добавлении и редактировании товара
- Добавлена поддержка опций: Одиночный список, Множественный список, Список с автодополнением
- Исправлен вызов процессоров на добавление и редактирование товара
- Исправлено определение почтовых настроек в методе ms2form::sendMail
- Исправлен резолвер установки зависимых компонентов


==============
https://github.com/vasilueff/ms2form

1.3.5-beta FORK
==============
- создание новых категорий при сохранении товаров

1.3.4-beta FORK
==============
- при формировании превью картинок учитывается формат, указанное в настройках источника файлов
- добавленные картинки более не фильтруются по создателю

1.3.3-beta FORK
==============
- в значении поля `content` более не экранизируются теги при выводе формы редактирования товара

1.3.2-beta FORK
==============
- добавлен параметр allowedTags в сниппете ms2form
- тег параграфа по умолчанию P в редакторе quill


==============
https://github.com/me6iaton/ms2form

1.3.1-beta
==============
- при включенной опции minifyx_process_registered скрипты теперь подключаются в правильной последовательности.
- cортировка файлов в форме с помощью drag and drop
- начальная поддержка свойств товаров  [[+price]] [[+color.0]] [[+color.1]]
- исправлена ошибка возникающая из-за одинаковых названий файлов при загрузки с ios

1.2.6-beta
==============
- новый редактор http://quilljs.com
- добавлена фильтрация контента с помощью HTML Purifier
- новый параметр template в сниплете ms2form
- новый параметр redirectScheme в сниплете ms2form
- навая политика доступа ms2formUserPolicy

1.1.2-beta
==============
- добавлено свойство parentMse2form разрешить создавать новые категории и использовать форму Msearch2 для автодополнения. Json строка с парараметрами сниппета mSearchForm
  - добадена функция categoryCreate в ms2form.class.php
  - переработан ms2form.js, добавлена обработка ошибок, код разбит на приватные функции
  - ajax запросы не прошедшие валидацию возвращают код 400 Bad Request
- переработана загрузка конфигурации в ms2form.js

1.0.10-beta
==============
- исправлена ошибка вывода тегов и категорий в php5.4
- исправлена ошибка обработки поля content в ms2form.js
- поле content теперь может быть необязательным для заполнения
- добавлено новое свойство redirectPublished
- добавлено новое свойство tagsNew

1.0.5-beta
==============
- исправлена ошибка приводящая к некорректному значению настройки ms2form_core_path

1.0.4-beta
==============
- редактор bootstrap-markdown http://www.codingdrama.com/bootstrap-markdown/
- загрузка изображений в галерею перетаскиванием, запись превью на диск, настройка параметров через источник файлов
- поддержка мультикатегорий
- поддержка тегов
- поддержка дополнительных TV
- поддержка шаблонов',
    'license' => 'GNU GENERAL PUBLIC LICENSE
   Version 2, June 1991
--------------------------

Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Preamble
--------

  The licenses for most software are designed to take away your
freedom to share and change it.  By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users.  This
General Public License applies to most of the Free Software
Foundation\'s software and to any other program whose authors commit to
using it.  (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.)  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.

  To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have.  You must make sure that they, too, receive or can get the
source code.  And you must show them these terms so they know their
rights.

  We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.

  Also, for each author\'s protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software.  If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors\' reputations.

  Finally, any free program is threatened constantly by software
patents.  We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary.  To prevent this, we have made it clear that any
patent must be licensed for everyone\'s free use or not licensed at all.

  The precise terms and conditions for copying, distribution and
modification follow.


GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
---------------------------------------------------------------

  0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License.  The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language.  (Hereinafter, translation is included without limitation in
the term "modification".)  Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope.  The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.

  1. You may copy and distribute verbatim copies of the Program\'s
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.

You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.

  2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

    a) You must cause the modified files to carry prominent notices
    stating that you changed the files and the date of any change.

    b) You must cause any work that you distribute or publish, that in
    whole or in part contains or is derived from the Program or any
    part thereof, to be licensed as a whole at no charge to all third
    parties under the terms of this License.

    c) If the modified program normally reads commands interactively
    when run, you must cause it, when started running for such
    interactive use in the most ordinary way, to print or display an
    announcement including an appropriate copyright notice and a
    notice that there is no warranty (or else, saying that you provide
    a warranty) and that users may redistribute the program under
    these conditions, and telling the user how to view a copy of this
    License.  (Exception: if the Program itself is interactive but
    does not normally print such an announcement, your work based on
    the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole.  If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works.  But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.

In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

  3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

    a) Accompany it with the complete corresponding machine-readable
    source code, which must be distributed under the terms of Sections
    1 and 2 above on a medium customarily used for software interchange; or,

    b) Accompany it with a written offer, valid for at least three
    years, to give any third party, for a charge no more than your
    cost of physically performing source distribution, a complete
    machine-readable copy of the corresponding source code, to be
    distributed under the terms of Sections 1 and 2 above on a medium
    customarily used for software interchange; or,

    c) Accompany it with the information you received as to the offer
    to distribute corresponding source code.  (This alternative is
    allowed only for noncommercial distribution and only if you
    received the program in object code or executable form with such
    an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for
making modifications to it.  For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable.  However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.

If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.

  4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License.  Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.

  5. You are not required to accept this License, since you have not
signed it.  However, nothing else grants you permission to modify or
distribute the Program or its derivative works.  These actions are
prohibited by law if you do not accept this License.  Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.

  6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions.  You may not impose any further
restrictions on the recipients\' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.

  7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all.  For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices.  Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

  8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded.  In such case, this License incorporates
the limitation as if written in the body of this License.

  9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number.  If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation.  If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.

  10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission.  For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this.  Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

NO WARRANTY
-----------

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

---------------------------
END OF TERMS AND CONDITIONS',
    'readme' => '--------------------
ms2form
--------------------
Author: Anton Mamrashev <me6iaton@gmail.com>
--------------------

Выводит форму для создания и редактирования продукта minishop2 пользователем из фронтэнда.

Donation
http://yasobe.ru/na/ms2form

Feel free to suggest ideas/improvements/bugs on GitHub:
http://github.com/me6iaton/ms2form/issues',
    'chunks' => 
    array (
      'tpl.ms2form.create' => '<form class="well create" method="post" action="" id="ms2form" role="form" data-reset="true">
  <input type="hidden" id="ms2formFormKey" name="form_key" value="[[+formKey]]">
  <input type="hidden" name="pid" value="0">
  <input type="hidden" name="parent" value="[[+parent]]">
  <input type="hidden" name="published" value="1"/>
  <input type="hidden" name="hidemenu" value="0"/>
  <input type="hidden" name="redirectPublished" value="[[+redirectPublished]]"/>
  <input type="hidden" id="ms2formTagsNew" value="[[+tagsNew]]"/>

  <div class="form-group">
    <label>[[%ms2form_pagetitle]]</label>
    <span class="text-danger">*</span>
    <input type="text" class="form-control" placeholder="[[%ms2form_pagetitle]]" name="pagetitle" value="" maxlength="50" id="ms2formPagetitle"/>
  </div>

  [[+parentMse2form.element]]

  [[+templates]]

  <div class="form-group">
    <label>[[%ms2form_categories]]</label>
    <br/>
    <input type="hidden" class="form-control" id="ms2formSections">
  </div>

  [[+tags]]

  <div class="form-group">
    <label>Text option</label>
    <input type="text" class="form-control" name="textoption" value="">
  </div>

  <div class="form-group">
    <label>Single list</label>
    <br/>
    <input type="hidden" class="form-control [ js-ms2f-combobox-single ]" name="singlelist">
  </div>

  <div class="form-group">
    <label>Multi list</label>
    <br/>
    <input type="hidden" class="form-control [ js-ms2f-combobox-multiple ]" name="multilist">
    <label><input type="checkbox" class="[ js-ms2f-combobox-select-all ]" data-name="multilist"> Выбрать всё</label>
  </div>

  <div class="form-group">
    <label>Auto list</label>
    <br/>
    <input type="hidden" class="form-control [ js-ms2f-combobox-auto ]" name="autolist">
  </div>

  {if isset($options[\'checkboxes1\']) && $options[\'checkboxes1\'][\'type\'] === \'combo-multiple\'}
    <div class="form-group">
      <label>Checkboxes 1</label>
      <br/>
      <input type="hidden" name="checkboxes1" value="">
      <div><label><input type="checkbox" class="[ js-ms2f-checkboxes-select-all ]" data-name="checkboxes1"> Выбрать всё</label></div>
      <div>
        {foreach $options[\'checkboxes1\'][\'values\'] as $v}
          <label><input type="checkbox" name="checkboxes1[]" value="{$v}"> {$v}</label>&nbsp;
        {/foreach}
      </div>
    </div>
  {/if}

  {if isset($options[\'checkboxes2\']) && $options[\'checkboxes2\'][\'type\'] === \'combo-multiple\'}
    <div class="form-group">
      <label>Checkboxes 2</label>
      <br/>
      <input type="hidden" name="checkboxes2" value="">
      <div><label><input type="checkbox" class="[ js-ms2f-checkboxes-select-all ]" data-name="checkboxes2"> Выбрать всё</label></div>
      <div>
        {foreach $options[\'checkboxes2\'][\'values\'] as $v}
          <label><input type="checkbox" name="checkboxes2[]" value="{$v}"> {$v}</label>&nbsp;
        {/foreach}
      </div>
    </div>
  {/if}

  <div class="form-group">
    <label>Пример TV </label>
    <br/> указать в параметре allowedFields=`parent,pagetitle,content,published,template,hidemenu,tags,tv1`
    <br/>
    <input type="text" name="tv1" class="form-control">
  </div>


  <div class="form-group popover-help" id="formGroupContent">
    <input id="content" name="content" type="hidden" value="[[+content]]"/>
    [[$tpl.ms2form.editor.[[+editor]]]]
  </div>

  <div class="form-group">
    <div class="ticket-form-files">
      [[+files]]
    </div>
  </div>

  <div class="form-actions">
    <input type="submit" id="ms2formSubmit" class="btn btn-primary submit" value="[[%ms2form_save]]"/>
  </div>
</form>


<!--pdotools_parentMse2form.element
  <div class="form-group">
    <label>[[%ms2form_category]]</label>
    <span class="text-danger">*</span>
    <input type="text" data-key=[[+mse2formKey]] id="ms2formParentMse2form" class="form-control disable-sisyphus" name="[[+parentMse2form.queryVar]]" placeholder="[[%ms2form_search]]" value="" />
  </div>
-->

<!--pdotools_tags
  <div class="form-group">
    <label>[[%ms2form_tags]]</label>
    <br/>
    <input type="hidden" class="form-control" id="ms2formTags">
  </div>
-->

<!--pdotools_templates
<div class="form-group">
  <label>[[%ms2form_template]]</label>
  <br/>
  <select class="form-control" name="template" id="ms2formTemplate">
    [[+templates]]
  </select>
</div>
-->
<!--pdotools_!templates
<input type="hidden" name="template" value="[[+template]]">
-->',
      'tpl.ms2form.update' => '<form class="well" method="post" action="" id="ms2form" role="form" data-reset="true">
  <input type="hidden" id="ms2formFormKey" name="form_key" value="[[+formKey]]">
  <input type="hidden" name="pid" value="[[+id]]">
  <input type="hidden" name="parent" value="[[+parent]]">
  <input type="hidden" name="alias" value="[[+alias]]">
  <input type="hidden" name="context_key" value="[[+context_key]]">
  <input type="hidden" name="published" value="1"/>
  <input type="hidden" name="hidemenu" value="0"/>
  <input type="hidden" name="redirectPublished" value="[[+redirectPublished]]"/>
  <input type="hidden" id="ms2formTagsNew" value="[[+tagsNew]]"/>

  <div class="form-group">
    <label>[[%ms2form_pagetitle]]</label>
    <input type="text" class="form-control" placeholder="[[%ms2form_pagetitle]]" name="pagetitle" value="[[+pagetitle]]" maxlength="50" id="ms2form-pagetitle"/>
  </div>

  [[+parentMse2form.element]]

  [[+templates]]

  <div class="form-group">
    <label>[[%ms2form_categories]]</label>
    <br/>
    <input type="hidden" class="form-control" id="ms2formSections">
  </div>

  [[+tags]]

  <div class="form-group">
    <label>Text option</label>
    <input type="text" class="form-control" name="textoption" value="[[+textoption]]">
  </div>

  <div class="form-group">
    <label>Single list</label>
    <br/>
    <input type="hidden" class="form-control [ js-ms2f-combobox-single ]" name="singlelist">
  </div>

  <div class="form-group">
    <label>Multi list</label>
    <br/>
    <input type="hidden" class="form-control [ js-ms2f-combobox-multiple ]" name="multilist">
    <label><input type="checkbox" class="[ js-ms2f-combobox-select-all ]" data-name="multilist"> Выбрать всё</label>
  </div>

  <div class="form-group">
    <label>Auto list</label>
    <br/>
    <input type="hidden" class="form-control [ js-ms2f-combobox-auto ]" name="autolist">
  </div>

  {if isset($options[\'checkboxes1\']) && $options[\'checkboxes1\'][\'type\'] === \'combo-multiple\'}
    <div class="form-group">
      <label>Checkboxes 1</label>
      <br/>
      <input type="hidden" name="checkboxes1" value="">
      <div><label><input type="checkbox" class="[ js-ms2f-checkboxes-select-all ]" data-name="checkboxes1"
                      {$options[\'checkboxes1\'][\'selectAll\'] ? \'checked\' : \'\'}> Выбрать всё</label></div>
      <div>
        {foreach $options[\'checkboxes1\'][\'values\'] as $v}
          {var $checked = isset($options[\'checkboxes1\'][\'value\'][$v])}
          <label><input type="checkbox" name="checkboxes1[]" value="{$v}" {$checked ? \'checked\' : \'\'}> {$v}</label>&nbsp;
          {unset $checked}
        {/foreach}
      </div>
    </div>
  {/if}

  {if isset($options[\'checkboxes2\']) && $options[\'checkboxes2\'][\'type\'] === \'combo-multiple\'}
    <div class="form-group">
      <label>Checkboxes 2</label>
      <br/>
      <input type="hidden" name="checkboxes2" value="">
      <div><label><input type="checkbox" class="[ js-ms2f-checkboxes-select-all ]" data-name="checkboxes2"
                      {$options[\'checkboxes2\'][\'selectAll\'] ? \'checked\' : \'\'}> Выбрать всё</label></div>
      <div>
        {foreach $options[\'checkboxes2\'][\'values\'] as $v}
          {var $checked = isset($options[\'checkboxes2\'][\'value\'][$v])}
          <label><input type="checkbox" name="checkboxes2[]" value="{$v}" {$checked ? \'checked\' : \'\'}> {$v}</label>&nbsp;
          {unset $checked}
        {/foreach}
      </div>
    </div>
  {/if}

  <div class="form-group">
    <label>Пример TV </label>
    <br/> указать в параметре allowedFields=`parent,pagetitle,content,published,template,hidemenu,tags,tv1`
    <br/>
    <input type="text" value="[[+tv1]]" name="tv1" class="form-control">
  </div>


  <div class="form-group popover-help" id="formGroupContent">
    <input id="content" name="content" type="hidden" value="[[+content:escape]]"/>
    [[$tpl.ms2form.editor.[[+editor]]?content=`[[+content]]`]]
  </div>

  <div class="ticket-form-files popover-help">
    [[+files]]
  </div>

  <div class="form-actions">
    <input type="submit" id="ms2formSubmit" class="btn btn-primary submit" value="[[%ms2form_save]]"/>
  </div>
</form>

<!--pdotools_parentMse2form.element
  <div class="form-group">
    <label>[[%ms2form_category]]</label>
    <span class="text-danger">*</span>
    <input type="text" data-key=[[+mse2formKey]] id="ms2formParentMse2form" class="form-control disable-sisyphus" name="[[+parentMse2form.queryVar]]" placeholder="[[%ms2form_search]]" value="" />
  </div>
-->

<!--pdotools_tags
  <div class="form-group">
    <label>[[%ms2form_tags]]</label>
    <br/>
    <input type="hidden" class="form-control" id="ms2formTags">
  </div>
-->

<!--pdotools_templates
<div class="form-group">
  <label>[[%ms2form_template]]</label>
  <br/>
  <select class="form-control" name="template" id="ms2formTemplate">
    [[+templates]]
  </select>
</div>
-->
<!--pdotools_!templates
<input type="hidden" name="template" value="[[+template]]">
-->
',
      'tpl.ms2form.email.bcc' => '<p>Кто-то создал новый ресурс на сайте: <a href="[[~[[+id]]?scheme=`full`]]">[[+pagetitle]]</a>.
<pre style="background-color:#efefef;">[[+introtext]]</pre>
<p><b>[[+createdby:userinfo=`fullname`]]</b> ([[+createdby:userinfo=`email`]])</p>',
      'tpl.ms2form.file' => 'file
',
      'tpl.ms2form.files' => '<div id="ticket-files-list">
	[[+files]]
	<div class="clearfix"></div>
</div>

<div id="ticket-files-container" data-action="ticket/file/upload">
	<a id="ticket-files-select" href="javascript:;">[[%ms2form_file_select]]</a>
	<div id="ticket-files-progress">
		<span id="ticket-files-progress-count">0/0</span>
		<span id="ticket-files-progress-percent">0%</span>
		<div id="ticket-files-progress-bar"></div>
	</div>
</div>

<!--pdotools_files [[+files]] -->
<!--pdotools_!files [[+files]] <span class="note">[[%ms2form_add_file_here]] </span>-->',
      'tpl.ms2form.image' => '<div class="ticket-file" data-product-id="[[+product_id]]" data-id="[[+id]]">
	<a href="[[+url]]" class="ticket-file-link" title="[[+file]]" target="_blank">
		<div class="ticket-file-image-wrapper">
			<img src="[[+thumb]]" class="ticket-file-image" />
		</div>
	</a>
	<div class="ticket-file-meta">
		<a href="#" class="ms2-file-delete">[[%ms2form_file_delete]]</a>
		<br/>
		<a href="#" class="ms2-file-insert">[[%ms2form_file_insert]]</a>
	</div>
	<div class="ticket-file-template">
		<a href="[[+url]]" title="[[+name]]">
			<img src="[[+thumb]]" />
		</a>
	</div>
</div>
',
      'tpl.ms2form.section.row' => '[[+pagetitle]]
',
      'tpl.ms2form.tag.row' => '<option value="[[+value]]">[[+value]]</option>
',
      'tpl.ms2form.mSearch2.ac' => '<div class="mse2-ac-item">
  [[+intro]]
</div>
<!--msearch2_intro <small>[[+intro]]</small>-->',
      'tpl.ms2form.editor.quill' => '<div class="quill-wrapper" data-toggle="tooltip" data-placement="left" title="Try me out!">
  <div id="ms2formEditorToolbar" class="toolbar">
    <span class="ql-format-group">
      <select title="Font" class="ql-font">
        <option value="sans-serif" selected>Sans Serif</option>
        <option value="serif">Serif</option>
        <option value="monospace">Monospace</option>
      </select>
      <select title="Size" class="ql-size">
        <option value="10px">Small</option>
        <option value="13px" selected>Normal</option>
        <option value="18px">Large</option>
        <option value="32px">Huge</option>
      </select>
    </span>
    <span class="ql-format-group">
      <span title="Bold" class="ql-format-button ql-bold"></span>
      <span class="ql-format-separator"></span>
      <span title="Italic" class="ql-format-button ql-italic"></span>
      <span class="ql-format-separator"></span>
      <span title="Underline" class="ql-format-button ql-underline"></span>
      <span class="ql-format-separator"></span>
      <span title="Strikethrough" class="ql-format-button ql-strike"></span>
    </span>
    <span class="ql-format-group">
      <select title="Text Color" class="ql-color">
        <option value="rgb(0, 0, 0)" label="rgb(0, 0, 0)" selected></option>
        <option value="rgb(230, 0, 0)" label="rgb(230, 0, 0)"></option>
        <option value="rgb(255, 153, 0)" label="rgb(255, 153, 0)"></option>
        <option value="rgb(255, 255, 0)" label="rgb(255, 255, 0)"></option>
        <option value="rgb(0, 138, 0)" label="rgb(0, 138, 0)"></option>
        <option value="rgb(0, 102, 204)" label="rgb(0, 102, 204)"></option>
        <option value="rgb(153, 51, 255)" label="rgb(153, 51, 255)"></option>
        <option value="rgb(255, 255, 255)" label="rgb(255, 255, 255)"></option>
        <option value="rgb(250, 204, 204)" label="rgb(250, 204, 204)"></option>
        <option value="rgb(255, 235, 204)" label="rgb(255, 235, 204)"></option>
        <option value="rgb(255, 255, 204)" label="rgb(255, 255, 204)"></option>
        <option value="rgb(204, 232, 204)" label="rgb(204, 232, 204)"></option>
        <option value="rgb(204, 224, 245)" label="rgb(204, 224, 245)"></option>
        <option value="rgb(235, 214, 255)" label="rgb(235, 214, 255)"></option>
        <option value="rgb(187, 187, 187)" label="rgb(187, 187, 187)"></option>
        <option value="rgb(240, 102, 102)" label="rgb(240, 102, 102)"></option>
        <option value="rgb(255, 194, 102)" label="rgb(255, 194, 102)"></option>
        <option value="rgb(255, 255, 102)" label="rgb(255, 255, 102)"></option>
        <option value="rgb(102, 185, 102)" label="rgb(102, 185, 102)"></option>
        <option value="rgb(102, 163, 224)" label="rgb(102, 163, 224)"></option>
        <option value="rgb(194, 133, 255)" label="rgb(194, 133, 255)"></option>
        <option value="rgb(136, 136, 136)" label="rgb(136, 136, 136)"></option>
        <option value="rgb(161, 0, 0)" label="rgb(161, 0, 0)"></option>
        <option value="rgb(178, 107, 0)" label="rgb(178, 107, 0)"></option>
        <option value="rgb(178, 178, 0)" label="rgb(178, 178, 0)"></option>
        <option value="rgb(0, 97, 0)" label="rgb(0, 97, 0)"></option>
        <option value="rgb(0, 71, 178)" label="rgb(0, 71, 178)"></option>
        <option value="rgb(107, 36, 178)" label="rgb(107, 36, 178)"></option>
        <option value="rgb(68, 68, 68)" label="rgb(68, 68, 68)"></option>
        <option value="rgb(92, 0, 0)" label="rgb(92, 0, 0)"></option>
        <option value="rgb(102, 61, 0)" label="rgb(102, 61, 0)"></option>
        <option value="rgb(102, 102, 0)" label="rgb(102, 102, 0)"></option>
        <option value="rgb(0, 55, 0)" label="rgb(0, 55, 0)"></option>
        <option value="rgb(0, 41, 102)" label="rgb(0, 41, 102)"></option>
        <option value="rgb(61, 20, 102)" label="rgb(61, 20, 102)"></option>
      </select>
      <span class="ql-format-separator"></span>
      <select title="Background Color" class="ql-background">
        <option value="rgb(0, 0, 0)" label="rgb(0, 0, 0)"></option>
        <option value="rgb(230, 0, 0)" label="rgb(230, 0, 0)"></option>
        <option value="rgb(255, 153, 0)" label="rgb(255, 153, 0)"></option>
        <option value="rgb(255, 255, 0)" label="rgb(255, 255, 0)"></option>
        <option value="rgb(0, 138, 0)" label="rgb(0, 138, 0)"></option>
        <option value="rgb(0, 102, 204)" label="rgb(0, 102, 204)"></option>
        <option value="rgb(153, 51, 255)" label="rgb(153, 51, 255)"></option>
        <option value="rgb(255, 255, 255)" label="rgb(255, 255, 255)" selected></option>
        <option value="rgb(250, 204, 204)" label="rgb(250, 204, 204)"></option>
        <option value="rgb(255, 235, 204)" label="rgb(255, 235, 204)"></option>
        <option value="rgb(255, 255, 204)" label="rgb(255, 255, 204)"></option>
        <option value="rgb(204, 232, 204)" label="rgb(204, 232, 204)"></option>
        <option value="rgb(204, 224, 245)" label="rgb(204, 224, 245)"></option>
        <option value="rgb(235, 214, 255)" label="rgb(235, 214, 255)"></option>
        <option value="rgb(187, 187, 187)" label="rgb(187, 187, 187)"></option>
        <option value="rgb(240, 102, 102)" label="rgb(240, 102, 102)"></option>
        <option value="rgb(255, 194, 102)" label="rgb(255, 194, 102)"></option>
        <option value="rgb(255, 255, 102)" label="rgb(255, 255, 102)"></option>
        <option value="rgb(102, 185, 102)" label="rgb(102, 185, 102)"></option>
        <option value="rgb(102, 163, 224)" label="rgb(102, 163, 224)"></option>
        <option value="rgb(194, 133, 255)" label="rgb(194, 133, 255)"></option>
        <option value="rgb(136, 136, 136)" label="rgb(136, 136, 136)"></option>
        <option value="rgb(161, 0, 0)" label="rgb(161, 0, 0)"></option>
        <option value="rgb(178, 107, 0)" label="rgb(178, 107, 0)"></option>
        <option value="rgb(178, 178, 0)" label="rgb(178, 178, 0)"></option>
        <option value="rgb(0, 97, 0)" label="rgb(0, 97, 0)"></option>
        <option value="rgb(0, 71, 178)" label="rgb(0, 71, 178)"></option>
        <option value="rgb(107, 36, 178)" label="rgb(107, 36, 178)"></option>
        <option value="rgb(68, 68, 68)" label="rgb(68, 68, 68)"></option>
        <option value="rgb(92, 0, 0)" label="rgb(92, 0, 0)"></option>
        <option value="rgb(102, 61, 0)" label="rgb(102, 61, 0)"></option>
        <option value="rgb(102, 102, 0)" label="rgb(102, 102, 0)"></option>
        <option value="rgb(0, 55, 0)" label="rgb(0, 55, 0)"></option>
        <option value="rgb(0, 41, 102)" label="rgb(0, 41, 102)"></option>
        <option value="rgb(61, 20, 102)" label="rgb(61, 20, 102)"></option>
      </select>
    </span>
    <span class="ql-format-group">
      <span title="List" class="ql-format-button ql-list"></span>
      <span class="ql-format-separator"></span>
      <span title="Bullet" class="ql-format-button ql-bullet"></span>
      <span class="ql-format-separator"></span>
      <select title="Text Alignment" class="ql-align">
        <option value="left" label="Left" selected></option>
        <option value="center" label="Center"></option>
        <option value="right" label="Right"></option>
        <option value="justify" label="Justify"></option>
      </select>
    </span>
    <span class="ql-format-group">
      <span title="Link" class="ql-format-button ql-link"></span>
      <span class="ql-format-separator"></span>
      <span title="Image" class="ql-format-button ql-image"></span>
    </span>
  </div>
  <div id="ms2formEditor" class="editor">
    [[+content]]
  </div>
</div>',
    ),
    'setup-options' => 'ms2form-1.4.5-beta2/setup-options.php',
  ),
  'manifest-vehicles' => 
  array (
    0 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modNamespace',
      'guid' => '51dd82c830936f67f18d81c4a21c5f96',
      'native_key' => 'ms2form',
      'filename' => 'modNamespace/acf4b9cc74437e0033e65fdf34d4a79e.vehicle',
      'namespace' => 'ms2form',
    ),
    1 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => 'd19ae201337013c953ffc1ca10029e39',
      'native_key' => 'ms2form_core_path',
      'filename' => 'modSystemSetting/efb21f57b7484d766c5805822fe5f102.vehicle',
      'namespace' => 'ms2form',
    ),
    2 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => 'f0fe57a7ba715b9da37aa62eca42a0d1',
      'native_key' => 'ms2form_assets_url',
      'filename' => 'modSystemSetting/a27b2c6442ddac1a3b6d0b0465d387d6.vehicle',
      'namespace' => 'ms2form',
    ),
    3 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => '6b085b0a9ccbf5222b4ef3dd2df49355',
      'native_key' => 'ms2form_categories_parent',
      'filename' => 'modSystemSetting/69acbfaf3393017445668ebe5ee9ddfe.vehicle',
      'namespace' => 'ms2form',
    ),
    4 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => 'fc0c9cf3cb2e48d060723b919b0cf1ad',
      'native_key' => 'ms2form_frontend_css',
      'filename' => 'modSystemSetting/083f2e6a3492ed1657962b776544a683.vehicle',
      'namespace' => 'ms2form',
    ),
    5 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => '13cda599bb7f533162e5a7d35b9528fa',
      'native_key' => 'ms2form_frontend_js',
      'filename' => 'modSystemSetting/351d52150a842c246fb49a6539d21c18.vehicle',
      'namespace' => 'ms2form',
    ),
    6 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => '897449425591754c3147bab79408d55d',
      'native_key' => 'ms2form_disable_htmlpurifier',
      'filename' => 'modSystemSetting/7dca054068ff97443c7ed31f808596a0.vehicle',
      'namespace' => 'ms2form',
    ),
    7 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => '49f35f000d27699b2f99dc87c764c1ee',
      'native_key' => 'ms2form_mail_bcc',
      'filename' => 'modSystemSetting/54f3580dd18b9ed9441cb88ed1bc0e3e.vehicle',
      'namespace' => 'ms2form',
    ),
    8 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => '1a2af5729de3252234918ef31ed51a5d',
      'native_key' => 'ms2form_mail_from',
      'filename' => 'modSystemSetting/fd1d61a5f3c59df548c856b58837d4ec.vehicle',
      'namespace' => 'ms2form',
    ),
    9 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => '4a5d6321e2ba64fbd6158e273c4ecf1d',
      'native_key' => 'ms2form_mail_from_name',
      'filename' => 'modSystemSetting/5ffdbee72f1130d2ac3f9ab410febd45.vehicle',
      'namespace' => 'ms2form',
    ),
    10 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modSystemSetting',
      'guid' => 'f5ca3983366ee6a87f601e9e08caa132',
      'native_key' => 'ms2form_mail_createdby',
      'filename' => 'modSystemSetting/85e679b4778ac8ec08f9f045ed5c2b3a.vehicle',
      'namespace' => 'ms2form',
    ),
    11 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modAccessPolicy',
      'guid' => 'f201f0d1326c08c8a9a284fde8fc1c25',
      'native_key' => NULL,
      'filename' => 'modAccessPolicy/7d33a59be07dc2ac259fa3d29bbb94ac.vehicle',
      'namespace' => 'ms2form',
    ),
    12 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modAccessPolicyTemplate',
      'guid' => '984d29b9ebb8a497b9d5866fdbdc018b',
      'native_key' => NULL,
      'filename' => 'modAccessPolicyTemplate/2e9828887a5d9b110577f2d9810aa54e.vehicle',
      'namespace' => 'ms2form',
    ),
    13 => 
    array (
      'vehicle_package' => 'transport',
      'vehicle_class' => 'xPDOObjectVehicle',
      'class' => 'modCategory',
      'guid' => 'ecd6a073f131ecb4ce577a3440b3bde1',
      'native_key' => NULL,
      'filename' => 'modCategory/7e7d876a59b534b7655c70d943495221.vehicle',
      'namespace' => 'ms2form',
    ),
  ),
);