Чтение RSS каналов

Журнал изменений

Фильтр и поиск

Всего: 500 Доступных коммитов | Отфильтровано: 500 Коммиты | Страница: 1 / 50
Вчера (12.04.2026)
Refactor: admin modules — migrate to new fragment API, add CSRF tokens
Автор: Eduard Laas | Дата: 21:33 12.04.2026

Rewrote admin listing and action views in 10 modules to use the new fragment API (new/table-row, new/row-actions, new/title-tip, getTplAdminTabs instead of getTplAdminNavi). CSRF tokens added to all state-changing action URLs. Indentation and inline style issues fixed throughout.

Core changes:

  1. Fragment API migration (modules/money, news, order, pages, rss, search, shop, sitemap, voting, whois — admin/index.php):

  2. getTplAdminNavi() replaced with getTplAdminTabs()
  3. getTplAdminActionMenu() replaced with new/row-actions fragment
  4. Table rows rebuilt with new/table-cell + new/title-tip fragments
  5. Legacy getTplOption/getTplSelect replaced with new/select-option/select
  6. CSRF hardening:
  7. getSiteToken() appended to all activate/delete/action URLs
  8. Style fixes:
  9. Corrected indentation (spurious leading spaces in setHead() etc.)
  10. Removed alignment padding in variable assignments

Benefits: - Consistent admin UI rendering across all modules - State-changing GET actions protected with CSRF tokens - Easier template maintenance via named fragment params

Technical notes: - new/row-actions expects 'items' array with href/label/title keys - new/title-tip expects 'items' array with label/value/is_last keys - Backward compatible: no DB or config schema changes

Refactor: admin modules — migrate preview(), drop explicit tab index from info()
Автор: Eduard Laas | Дата: 21:33 12.04.2026

Replaced legacy preview() calls with getTplPreviewContent() across all affected admin modules and removed hardcoded 'tab' index from setTplAdminInfoPage() calls so the info tab is resolved automatically.

Core changes:

  1. preview() migration (admin/modules/messages.php, newsletter.php, modules/clients, faq, files, help, jokes, links, media admin/index.php):

  2. preview($title, $body, ...) replaced with getTplPreviewContent([...]) using named params
  3. setTplAdminInfoPage() cleanup (modules/clients, contact, faq, files, forum, help, jokes, links, media admin/index.php):

  4. Removed explicit 'tab' => N argument; tab is now auto-computed

Benefits: - Consistent preview rendering API across all admin modules - Info tab no longer needs manual index maintenance

Technical notes: - getTplPreviewContent() accepts named array: title, texta, textb, field, mod - Behavior unchanged; visual output identical

Chore: config — remove content module from search, update fingerprint
Автор: Eduard Laas | Дата: 21:33 12.04.2026

Two targeted config updates applied after module refactoring: content module removed from the search index, base_fingerprint refreshed to match current admin module state.

Core changes:

  1. Search config (config/search.php):
  2. Removed 'content' from the 'mods' list of searchable modules
  3. Local config (config/local.php):
  4. Updated base_fingerprint to 95db25262294c2f867f3bb75581549e2e3b277eb

Benefits: - Search no longer indexes removed content module - Fingerprint reflects current admin build state

Technical notes: - base_fingerprint is auto-derived; manual update after module changes - Backward compatible

Chore: config — remove alignment padding, convert heredocs to strings
Автор: Eduard Laas | Дата: 21:32 12.04.2026

Reformatted all module config files to match project coding style: no alignment padding in array assignments, no heredoc syntax for multi-line string values. Behavior unchanged.

Core changes:

  1. Config array style (config/money.php, config/news.php, config/order.php, config/pages.php, config/rss.php, config/shop.php, config/sitemap.php, config/voting.php, config/whois.php):

  2. Removed extra spaces used to align '=>' operators
  3. Replaced heredoc (<<<HTML) with regular single-quote multi-line strings

Benefits: - Consistent style across all config files - Easier to diff and merge

Technical notes: - No config values were changed - Backward compatible

Эта неделя (10.04.2026)
Chore: config — update base_fingerprint after admin module refactor
Автор: Eduard Laas | Дата: 12:31 10.04.2026

Updates the base_fingerprint value in config/local.php to reflect the current state of the codebase following the batch refactor of admin modules to the new fragment API.

Core changes:

  1. Fingerprint update (config/local.php):
  2. Updated base_fingerprint from 268a9d51... to 8cc21cf6...

Benefits: - Config fingerprint in sync with current codebase state

Technical notes: - Auto-generated value; no logic or behavior changes

Refactor: admin links, media — migrate to new fragment API, remove legacy fragments
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites the links and media admin modules to use the unified new/* fragment API, replacing all legacy getTplAdminNavi, getTplAdminTableHead, and getTplAdminActionMenu calls with getTplAdminTabs, new/table, new/row-actions, new/table-row, new/table-cells, and new/form; removes four legacy HTML fragment files.

Core changes:

  1. Links list and add form (modules/links/admin/index.php):
  2. Fixed setHead() leading-whitespace indentation
  3. Replaced getTplAdminNavi with getTplAdminTabs in all three status branches
  4. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  5. Add/edit form rebuilt as new/form rows array with new/input and new/textarea
  6. Table + pager wrapped in getHtmlPart('box')
  7. Media list and add form (modules/media/admin/index.php):
  8. Fixed setHead() leading-whitespace indentation
  9. Replaced getTplAdminNavi with getTplAdminTabs in all three status branches
  10. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  11. Add/edit and linked-files forms rebuilt as new/form rows array
  12. Table + pager wrapped in getHtmlPart('box')
  13. Template cleanup (templates/admin/fragments/):
  14. Removed: admin-links-add-rows.html, admin-links-list-row.html, admin-media-add-rows.html, admin-media-link-row.html

Benefits: - Links and media modules fully aligned with new admin fragment API - All legacy HTML fragment files for these modules eliminated

Technical notes: - No SQL, schema, or URL changes

Refactor: admin files, help — migrate to new fragment API, remove legacy fragments
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites the files and help admin modules to use the unified new/* fragment API, replacing all legacy getTplAdminNavi, getTplAdminTableHead, and getTplAdminActionMenu calls with getTplAdminTabs, new/table, new/row-actions, new/table-row, new/table-cells, and new/form; removes four legacy HTML fragment files.

Core changes:

  1. Files list and add form (modules/files/admin/index.php):
  2. Fixed setHead() leading-whitespace indentation
  3. Replaced getTplAdminNavi with getTplAdminTabs in all three status branches
  4. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  5. Add/edit form rebuilt as new/form rows array
  6. Table + pager wrapped in getHtmlPart('box')
  7. Help list and add form (modules/help/admin/index.php):
  8. Fixed setHead() leading-whitespace indentation
  9. Replaced getTplAdminNavi with getTplAdminTabs in both status branches
  10. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  11. Add and thread-view forms rebuilt as new/form rows array
  12. Table + pager wrapped in getHtmlPart('box')
  13. Template cleanup (templates/admin/fragments/):
  14. Removed: admin-files-add-rows.html, admin-help-add-rows.html, admin-help-addview-rows.html, admin-help-list-row.html

Benefits: - Files and help modules fully aligned with new admin fragment API - All legacy HTML fragment files for these modules eliminated

Technical notes: - No SQL, schema, or URL changes

Refactor: admin content, faq, forum, jokes — migrate to new fragment API
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites four admin modules to use the unified new/* fragment API, replacing getTplAdminNavi, getTplAdminTableHead, getTplAdminActionMenu, and associated legacy helpers with getTplAdminTabs, new/table, new/row-actions, new/table-row, and new/table-cells; also fixes setHead() indentation regression in files that had accidental leading whitespace.

Core changes:

  1. Content list (modules/content/admin/index.php):
  2. Replaced inline head array + getTplAdminNavi with getTplAdminTabs
  3. Table rebuilt with new/table (is_wrapless) + new/row-actions
  4. Pager and table wrapped in getHtmlPart('box')
  5. FAQ list (modules/faq/admin/index.php):
  6. Replaced getTplAdminNavi with getTplAdminTabs in both status branches
  7. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  8. Table + pager wrapped in getHtmlPart('box')
  9. Forum sync (modules/forum/admin/index.php):
  10. Replaced getTplAdminNavi with getTplAdminTabs
  11. 'alert' key updated to 'new/alert'
  12. Table rebuilt with new/table + new/table-cells, new/table-row
  13. Removed getTplAdminTitleTip / getTplAdminTextLink / getTplAdminColorLabel
  14. Jokes list (modules/jokes/admin/index.php):
  15. Replaced getTplAdminNavi with getTplAdminTabs in both status branches
  16. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  17. Fixed setHead() leading-whitespace indentation

Benefits: - All four modules render tables and action menus via the new fragment API - No legacy getTplAdminNavi or getTplAdminTableHead calls remain in these files

Technical notes: - No SQL, schema, or URL changes; no template files deleted in this group

Refactor: admin clients, contact — migrate to new fragment API, remove legacy fragments
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites the clients and contact admin modules to use the unified new/* fragment API, replacing all legacy getTplAdminNavi, getTplAdminTableHead, getTplAdminActionMenu, getTplAdminForm, and radio_form calls; removes three legacy HTML fragment files that are no longer referenced.

Core changes:

  1. Clients list (modules/clients/admin/index.php):
  2. Replaced getTplAdminNavi with getTplAdminTabs
  3. Rewrote row rendering: new/table-row, new/table-cells, new/row-actions
  4. Add form rebuilt as new/form with rows array; new/input for all fields
  5. getTplAdminForm replaced with new/form + getHtmlPart('box')
  6. Contact config (modules/contact/admin/index.php):
  7. Replaced getTplAdminNavi with getTplAdminTabs
  8. Config form rebuilt as new/form rows array: getTplRadioGroup for admins, new/textarea for info field

  9. getTplAdminForm / getTplHiddenInput replaced with new/form hidden array
  10. Template cleanup (templates/admin/fragments/):
  11. Removed: admin-clients-add-rows.html, admin-clients-list-row.html, admin-contact-config-rows.html

Benefits: - Both modules aligned with the unified admin fragment API - No dependency on legacy HTML fragment files for form or table rendering

Technical notes: - No SQL, schema, or URL changes - Prepared statements and getVar() usage unchanged

Refactor: admin changelog — migrate config form to new fragment API, add dual-context file rendering
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites the changelog admin config form to use the new/form rows array and new/* fragment components, adds CSRF token validation on configsave, and updates chlogRenderCommitStats() in common.php to render file lists and stats with inline HTML when running in the admin context (ADMIN_FILE defined) instead of depending on deprecated changelog-file-row and changelog-stats fragments; removes three legacy HTML fragment files.

Core changes:

  1. Config form (modules/changelog/admin/index.php):
  2. Replaced getTplAdminNavi with getTplAdminTabs in changelog() and config()
  3. Replaced new/alert frag key 'alert' with 'new/alert' for consistency
  4. Config form rebuilt as new/form with rows array: source select with new/label-hint, GitHub fields with conditional row_class, numeric inputs, and radio groups via getTplRadioGroup

  5. configsave() now validates CSRF token via checkSiteToken('changelog')
  6. Main changelog view wraps content in getHtmlPart('box') with checkPerms()
  7. Dual-context rendering (modules/changelog/common.php):
  8. chlogRenderCommitStats(): when ADMIN_FILE is defined, renders file list and stats as raw inline HTML instead of calling legacy fragment functions

  9. Frontend path unchanged: continues using changelog-file-row / changelog-stats
  10. Template cleanup (templates/admin/fragments/):
  11. Removed: admin-chlog-config-rows.html, admin-chlog-config-script.html, admin-chlog-source-select.html

Benefits: - Config form no longer depends on legacy HTML fragments - Admin file-stats rendering decoupled from frontend fragment contract - CSRF-safe config saves with named token scope

Technical notes: - Frontend template fragments (changelog-file-row, changelog-stats) unchanged - No schema, URL, or stored-data changes

Всего: 500 на 50 страницах по 10 на каждой странице

Хотите опробовать SLAED CMS в действии?

Технологии

PHP MySQL HTML 5 CSS 3 jQuery jQuery UI

Контакты

  • D-49179, Deutschland
    Ostercappeln, Im Siek 6
  • +49 176 61966679

  • https://slaed.net
Идеи и предложения
Обратная связь