Project

General

Profile

Actions

Evolution #1619

closed

Replace Smarty with Twig

Added by Johan Cwiklinski about 3 years ago. Updated over 2 years ago.

Status:
Fermé
Priority:
Normal
Category:
Core
Target version:
Start date:
01/21/2022
Due date:
% Done:

100%

Estimated time:

Description

Smarty is not really maintained nowadays, while Twig is. Same for component for Slim <-> Smarty.

This is a quite huge work I'd prefer not to do; but we have to left Smarty.


Related issues 1 (0 open1 closed)

Is duplicate of Galette - Anomalie #1616: Logs page broken - strftime() is deprecatedRejeté01/14/2022

Actions
Actions #2

Updated by Johan Cwiklinski about 3 years ago

  • Status changed from Nouveau to In Progress
  • Assignee set to Johan Cwiklinski
  • Target version set to 1.0.0
Actions #3

Updated by Guillaume AGNIERAY about 3 years ago

There is still work to do, but all the templates files have been converted to Twig following your work : https://framagit.org/galette/galette/-/merge_requests/18

There should only be a few Smarty syntax left accross the templates :

{$plugins->getMenus($tpl)}
{$plugins->getPublicMenus($tpl, true)}
{$plugins->getDashboard($tpl)}
{$plugins->getMemberDashboard($tpl)}
{$additionnal_html_class}
{$entry->$id}
{if fs.search eq 1}
{if fs.search eq 0}

Otherwise, most of the work left is the javascript code controlling groups' members management and plugins' database initialisation in a modal display.

By the way, all the jQuery UI dialogs have been switched to SUI modals at the same time :)

Actions #4

Updated by Johan Cwiklinski almost 3 years ago

  • Is duplicate of Anomalie #1616: Logs page broken - strftime() is deprecated added
Actions #5

Updated by Johan Cwiklinski almost 3 years ago

  • Status changed from In Progress to Rejeté
Actions #6

Updated by Johan Cwiklinski almost 3 years ago

  • Status changed from Rejeté to In Progress
Actions #7

Updated by Johan Cwiklinski almost 3 years ago

  • Status changed from In Progress to Résolu
  • % Done changed from 0 to 100
Actions #8

Updated by Johan Cwiklinski over 2 years ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF