Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

TemplatesBase fix for duplicate "/" tags

#26805 - Admin: Menu + Main frames Resizable

    • -0
    • +31
    ./core/units/admin/admin_events_handler.php

1. NULL support for Conn->doInsert & Conn->doUpdate methods

2. support for long (over 65KB) sql queries in above mentioned methods

1. "bgcolor" parameter value was ignored in st_ContentBlock tag resulting white background in fckeditor in all cases

2. missing section in "fck" prefix unit config resulted in no permission error in fck file browser.

New "m:OnAfterFormInit" js hook.

New "show_mode" for section definition: smNORMAL. This show mode constant and its handling to override sections (through SectionAdjustments) which are in smSUPER_ADMIN or smDEBUG by default, previously it was impossible (copied from "intechnic4").

    • -2
    • +2
    ./core/units/admin/admin_tag_processor.php

Fix for images - "Default Image" will be shown when image file is missing from the filesystem, but Item still refers to it.

#25354 - In-portal CMS: Advanced Site Configurator

Fix in SpiltTags method for Windows vs. UNIX Line-endings

Double ";" in upgrades.sql file

Missing ";" in upgrades.sql file

Default parmeter values set from tag m_DefaultParam wasn't available from m_if tag (e.g. <inp2:m_if check="m_Param" ...)

Fix for Add Relationship for Categories and other pages involved AdminTemplatePath for Categories

Fix in percentage for CSV Export

#26625 - Admin "head" frame design

    • -2
    • +7
    ./core/units/admin/admin_tag_processor.php
    • binary
    ./core/admin_templates/img/top_frame/icons/show_structure.gif
    • -8
    • +20
    ./core/admin_templates/js/frame_resizer.js
    • binary
    ./core/admin_templates/img/top_frame/help_icon.gif
    • -0
    • +1
    ./core/admin_templates/skins/skin_edit.tpl
    • binary
    ./core/admin_templates/img/top_frame/right_background.jpg
    • binary
    ./core/admin_templates/img/top_frame/toolbar_background.gif
    • binary
    ./core/admin_templates/img/top_frame/icons/show_all.gif
    • -0
    • +10
    ./core/units/skins/skins_config.php
  1. ./core/admin_templates/img/top_frame/icons
    • binary
    ./core/admin_templates/img/top_frame/icons/content_mode.gif

1. #26626 - Admin: Toolbars in "head" frame

2. Missing popup size on custom field editing

3. edit_insides mark transformed into standalone EDITING_MODE_INSIDES mode

4. #26567 - Admin Catalog II (default sorting)

    • -2
    • +3
    ./core/units/sections/sections_config.php
    • binary
    ./core/admin_templates/img/list_arrow_desc_big.gif
    • binary
    ./core/admin_templates/img/list_arrow_no_big.gif
    • -1
    • +3
    ./core/admin_templates/catalog/catalog.tpl
    • -0
    • +57
    ./core/kernel/db/db_tag_processor.php

Spelling error corrected in Application object name.

    • -3
    • +3
    ./core/units/general/cat_event_handler.php

Invalid Dima's merge result fixed. When I say remove changes, then you can just copy over file version prior to your changes.

Fix for "EditorPick" (added EditorsPick priority sorting to Forced if settings Item specific setting is enabled)

    • -0
    • +17
    ./core/units/general/cat_event_handler.php

Removed EditorPick from DB_eh

pass_through parameter was not included in last_template session variable, but it should be included.

Fix for applying EditorPick sorting based on ConfigValue (user's choise). Variable name and Sorting field + order moved to Units ConfigMaps.

    • -2
    • +12
    ./core/kernel/db/db_event_handler.php

Correction for "Email Validation" - switched to using Constant REG Expr (defined core/kernel/constants.php) In-Portal-wide.

    • -3
    • +3
    ./core/units/users/users_event_handler.php

Fix for data_exists param in RenderElement correctly understand data_exists="0"

1. #26585 - Problem with RenderElement in NParser - data_exists.

2. fatal error, when advanced permission selector is opened in popup

Correction in "Email Validation" reg. expression - "+" is ALLOWED in email addresses - http://www.remote.org/jochen/mail/info/chars.html

Ability to hide buttons from toolbar (missing js part added).

    • -3
    • +23
    ./core/admin_templates/js/toolbar.js

=== ++++ ===

  • Возможность передавать все параметры из блока в шаблон (через pass_params параметр).
  • К классу String (в JavaScript) добавлены методы toNumeric и trim.
  • Добавлен класс JSONHelper из проекта BegonijaASU.
  • Возможность убирания кнопок с панели инструментов шаблонов при помощи конфигурационного файла.

=== *** ===

  • В кеше секций теперь присудствует путь к шаблону, который ранее по ошибке стирался при его построении.
  • Метод Validate в классах kCatDBItem и CategoriesItem вызывался 2 раза, причём при первом его вызове изменения в OnBeforeItemCreate и OnBeforeItemUpdate событиях игнорировались.
    • -0
    • +20
    ./core/admin_templates/catalog/catalog_counters.tpl
    • -0
    • +75
    ./core/admin_templates/catalog/catalog_elements.tpl
  1. ./core/admin_templates/js/jquery/thickbox
    • -0
    • +33
    ./core/admin_templates/catalog/catalog_tabs.tpl
    • -27
    • +63
    ./core/admin_templates/incs/custom_blocks.tpl
    • -0
    • +164
    ./core/admin_templates/js/jquery/thickbox/thickbox.css
    • -1
    • +10
    ./core/kernel/utility/debugger/debugger.js
    • -0
    • +156
    ./core/units/general/helpers/json_helper.php
    • -178
    • +194
    ./core/admin_templates/catalog/catalog.tpl
    • -4
    • +6
    ./core/admin_templates/incs/close_popup.tpl
  2. … 32 more files in changeset.

1. При проверке на уникальность не учитывались не отмеченные checkbox поля.

2. Проверять на уникальность только, если во всех требуемых для проверки полей есть значения.

  • При загрузке файла через SWFUpload в "/system/tmp" директорию также проверять, что фактическая директория, куда потом будет перемещён этот файл также доступна для записи.
  • Решена проблема с тем, что если динамически (напр. из [[EventHandler:OnBeforeItemCreate|OnBeforeItemCreate]] события) менять статус "обязательно к заполнению" у полей, для загрузки файлов, то в случае, когда файл не загружен не будет показываться сообщение об ошибке (но форма не будет закрываться как буд-то ошибка есть).
  • Исправлена ошибка при проверке прав на загрузку файлов через SWFUpload. Теперь можно загружать файлы даже к подчинённым префиксам и к префиксу "st", что небыло возможно ранее.
    • -23
    • +36
    ./core/kernel/db/db_event_handler.php