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

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

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

Всего: 500 Доступных коммитов | Отфильтровано: 500 Коммиты | Страница: 50 / 50
25.02.2026
Refactor: Modernize pages admin module
Автор: Eduard Laas | Дата: 15:38 25.02.2026

Rewrites the pages admin module with current SLAED conventions: short op-aligned function names, $afile instead of $admin_file, inline $conf['pages'] access instead of global $confp, and unified template API.

Core changes:

  1. Navigation (modules/pages/admin/index.php):
  2. page_navi() → navi() with typed int parameters
  3. Switched to getAdminTabs() + name=pages&op=... URL pattern
  4. Function renames (modules/pages/admin/index.php):
  5. page() → pages() (matches module op)
  6. page_add() → add()
  7. page_save() → save()
  8. page_delete() → del(int $did)
  9. page_conf() → conf()
  10. page_conf_save() → confsave()
  11. page_info() → info()
  12. Global variable cleanup (modules/pages/admin/index.php):
  13. $admin_file → $afile
  14. $confp → $conf['pages'] with null-coalesce defaults
  15. tpl_eval() → setTemplateBasic()
  16. tpl_warn() → setTemplateWarning()
  17. while (list()) → while ([]) destructuring

Benefits: - Eliminates deprecated $confp global and panel() call - Consistent naming aligned with router op values - Template API unified with other modernized modules

Technical notes: - Behavior unchanged; pure refactor - Copyright year updated to 2026

Refactor: Modernize order admin module
Автор: Eduard Laas | Дата: 15:38 25.02.2026

Rewrites the order admin module with current SLAED conventions: short op-aligned function names, $afile instead of $admin_file, inline $conf['order'] access, and unified template API.

Core changes:

  1. Navigation (modules/order/admin/index.php):
  2. order_navi() → navi() with typed int parameters
  3. Switched to getAdminTabs() + name=order&op=... URL pattern
  4. Function renames (modules/order/admin/index.php):
  5. order_add() → add()
  6. order_save() → save()
  7. order_delete() → del(int $did)
  8. order_conf() → conf()
  9. order_conf_save() → confsave()
  10. order_info() → info()
  11. New: active() — toggles order entry active state
  12. Global variable cleanup (modules/order/admin/index.php):
  13. $admin_file → $afile
  14. $confor → $conf['order'] with null-coalesce defaults
  15. tpl_eval() → setTemplateBasic()
  16. tpl_warn() → setTemplateWarning()
  17. while (list()) → while ([]) destructuring

Benefits: - Eliminates deprecated $confor global and panel() call - Consistent naming aligned with router op values - Template API unified with other modernized modules

Technical notes: - Behavior unchanged; pure refactor - Copyright year updated to 2026

Refactor: Modernize news admin module
Автор: Eduard Laas | Дата: 15:38 25.02.2026

Rewrites the news admin module with current SLAED conventions: short op-aligned function names, $afile instead of $admin_file, inline $conf['news'] access instead of global $confn, and unified template API.

Core changes:

  1. Navigation (modules/news/admin/index.php):
  2. news_navi() → navi() with typed int parameters
  3. Switched to getAdminTabs() + name=news&op=... URL pattern
  4. Function renames (modules/news/admin/index.php):
  5. news_add() → add()
  6. news_save() → save()
  7. news_admin() → admin(int|array $ids, string $vtyp)
  8. news_conf() → conf()
  9. news_conf_save() → confsave()
  10. news_info() → info()
  11. Global variable cleanup (modules/news/admin/index.php):
  12. $admin_file → $afile
  13. $confn → $conf['news'] with null-coalesce defaults
  14. tpl_eval() → setTemplateBasic()
  15. tpl_warn() → setTemplateWarning()
  16. while (list()) → while ([]) destructuring

Benefits: - Eliminates deprecated $confn global and panel() call - Consistent naming aligned with router op values - Template API unified with other modernized modules

Technical notes: - Behavior unchanged; pure refactor - Copyright year updated to 2026

Refactor: Modernize money admin module
Автор: Eduard Laas | Дата: 15:37 25.02.2026

Rewrites the money admin module with current SLAED conventions: short op-aligned function names, $afile instead of $admin_file, inline $conf['money'] access, typed function signatures, and unified template API.

Core changes:

  1. Navigation (modules/money/admin/index.php):
  2. money_navi() → navi() with typed int parameters
  3. Switched to getAdminTabs() + name=money&op=... URL pattern
  4. Function renames (modules/money/admin/index.php):
  5. money_add() → add()
  6. money_save() → save()
  7. money_delete() → del(int $did)
  8. money_rechn() → rechn()
  9. money_conf() → conf()
  10. money_conf_save() → confsave()
  11. money_info() → info()
  12. billing() → billing() with typed parameters (string args)
  13. New: active() — toggles active/inactive state for money entries
  14. Global variable cleanup (modules/money/admin/index.php):
  15. $admin_file → $afile
  16. $confmo → $conf['money'] with null-coalesce defaults
  17. tpl_eval() → setTemplateBasic()
  18. tpl_warn() → setTemplateWarning()
  19. while (list()) → while ([]) destructuring

Benefits: - Eliminates deprecated $confmo global and panel() call - Consistent naming aligned with router op values - Template API unified with other modernized modules

Technical notes: - Behavior unchanged; pure refactor - Copyright year updated to 2026

Refactor: Modernize media admin module
Автор: Eduard Laas | Дата: 15:37 25.02.2026

Rewrites the media admin module with current SLAED conventions: short op-aligned function names, $afile instead of $admin_file, inline $conf['media'] access instead of global $confm, and unified template API.

Core changes:

  1. Navigation (modules/media/admin/index.php):
  2. media_navi() → navi() with typed int parameters
  3. Switched to getAdminTabs() + name=media&op=... URL pattern
  4. Function renames (modules/media/admin/index.php):
  5. media_add() → add()
  6. media_save() → save()
  7. media_delete() → del(int $did)
  8. media_conf() → conf()
  9. media_conf_save() → confsave()
  10. media_info() → info()
  11. New: ignore() — marks pending media entry as approved (status=1)
  12. Global variable cleanup (modules/media/admin/index.php):
  13. $admin_file → $afile
  14. $confm → $conf['media'] with null-coalesce defaults
  15. tpl_eval() → setTemplateBasic()
  16. tpl_warn() → setTemplateWarning()
  17. while (list()) → while ([]) destructuring

Benefits: - Eliminates deprecated $confm global and panel() call - Consistent naming aligned with router op values - Template API unified with other modernized modules

Technical notes: - Behavior unchanged; pure refactor - Copyright year updated to 2026

Refactor: Modernize main module
Автор: Eduard Laas | Дата: 15:37 25.02.2026

Converts the main module to current SLAED PHP style: single-quoted strings throughout, void return type on main(), consistent 4-space indentation, and removal of the closing ?> tag.

Core changes:

  1. Code style (modules/main/index.php):
  2. Double-quoted strings → single-quoted strings
  3. main() → main(): void
  4. Tabs → 4-space indentation
  5. Removed trailing ?>
  6. Guard clause (modules/main/index.php):
  7. "MODULE_FILE" → 'MODULE_FILE' (single-quoted constant name)

Benefits: - Consistent style with other modernized public modules - No functional change

Technical notes: - Copyright year updated to 2026 - Behavior entirely unchanged

Refactor: Modernize links admin module
Автор: Eduard Laas | Дата: 15:36 25.02.2026

Rewrites the links admin module with current SLAED conventions: short op-aligned function names, $afile instead of $admin_file, inline $conf['links'] access instead of global $confl, and unified template API.

Core changes:

  1. Navigation (modules/links/admin/index.php):
  2. links_navi() → navi() with typed int parameters
  3. Switched to getAdminTabs() + name=links&op=... URL pattern
  4. Function renames (modules/links/admin/index.php):
  5. links_add() → add()
  6. links_save() → save()
  7. links_delete() → del(int $dfid)
  8. links_conf() → conf()
  9. links_conf_save() → confsave()
  10. links_info() → info()
  11. New: ignore() — sets link status=1 (approve pending link)
  12. Global variable cleanup (modules/links/admin/index.php):
  13. $admin_file → $afile
  14. $confl → $conf['links'] with null-coalesce defaults
  15. tpl_eval() → setTemplateBasic()
  16. tpl_warn() → setTemplateWarning()
  17. while (list()) → while ([]) destructuring

Benefits: - Eliminates deprecated $confl global and panel() call - Consistent naming aligned with router op values - Template API unified with other modernized modules

Technical notes: - Behavior unchanged for existing operations; pure refactor - ignore() extracts previously inline approve-link logic

Refactor: Modernize jokes admin module
Автор: Eduard Laas | Дата: 15:36 25.02.2026

Rewrites the jokes admin module with current SLAED conventions: short op-aligned function names, $afile instead of $admin_file, inline $conf['jokes'] access instead of global $confj, and unified template API.

Core changes:

  1. Navigation (modules/jokes/admin/index.php):
  2. jokes_navi() → navi() with typed int parameters
  3. Switched to getAdminTabs() + name=jokes&op=... URL pattern
  4. Function renames (modules/jokes/admin/index.php):
  5. jokes_add() → add()
  6. jokes_save() → save()
  7. jokes_delete() → del(int $fid)
  8. jokes_conf() → conf()
  9. jokes_conf_save() → confsave()
  10. jokes_info() → info()
  11. Global variable cleanup (modules/jokes/admin/index.php):
  12. $admin_file → $afile
  13. $confj → $conf['jokes'] with null-coalesce defaults
  14. tpl_eval() → setTemplateBasic()
  15. tpl_warn() → setTemplateWarning()
  16. while (list()) → while ([]) destructuring

Benefits: - Eliminates deprecated $confj global and panel() call - Consistent naming aligned with router op values - Template API unified with other modernized modules

Technical notes: - Behavior unchanged; pure refactor - Copyright year updated to 2026

Refactor: Modernize help admin module
Автор: Eduard Laas | Дата: 15:36 25.02.2026

Rewrites the help admin module with current SLAED conventions: short op-aligned function names, $afile instead of $admin_file, inline $conf['help'] access, and unified template API.

Core changes:

  1. Navigation (modules/help/admin/index.php):
  2. help_navi() → navi() with typed int parameters
  3. Switched to getAdminTabs() + name=help&op=... URL pattern
  4. Function renames (modules/help/admin/index.php):
  5. help_view() → view()
  6. help_add_view() → addview(int $id): string
  7. help_add() → add()
  8. help_save() → save()
  9. help_delete() → del(int $fid)
  10. help_conf() → conf()
  11. help_conf_save() → confsave()
  12. help_info() → info()
  13. Global variable cleanup (modules/help/admin/index.php):
  14. $admin_file → $afile
  15. $confh → $conf['help'] with null-coalesce defaults
  16. tpl_eval() → setTemplateBasic()
  17. tpl_warn() → setTemplateWarning()
  18. while (list()) → while ([]) destructuring

Benefits: - Eliminates deprecated $confh global and panel() call - Consistent naming aligned with router op values - Template API unified with other modernized modules

Technical notes: - Behavior unchanged; pure refactor - Copyright year updated to 2026

Refactor: Modernize forum admin module
Автор: Eduard Laas | Дата: 15:35 25.02.2026

Rewrites the forum admin module with current SLAED conventions: short op-aligned function names, $afile instead of $admin_file, inline $conf['forum'] access, and unified template API.

Core changes:

  1. Navigation (modules/forum/admin/index.php):
  2. forum_navi() → navi() with typed int parameters
  3. Switched to getAdminTabs() + name=forum&op=... URL pattern
  4. Function renames (modules/forum/admin/index.php):
  5. forum_synch() → synch()
  6. forum_conf() → conf()
  7. forum_conf_save() → confsave()
  8. forum_info() → info()
  9. Global variable cleanup (modules/forum/admin/index.php):
  10. $admin_file / $aroute → $afile
  11. $conffo → $conf['forum'] with null-coalesce defaults
  12. tpl_eval() → setTemplateBasic()
  13. tpl_warn() → setTemplateWarning()

Benefits: - Eliminates deprecated $conffo global and panel() call - Consistent function naming aligned with router op values - Template API unified with other modernized modules

Technical notes: - Behavior unchanged; pure refactor - Copyright year updated to 2026

Всего: 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
Идеи и предложения
Обратная связь