Projet

Général

Profil

Actions

Evolution #1619

fermé

Replace Smarty with Twig

Ajouté par Johan Cwiklinski il y a environ 2 ans. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
Core
Version cible:
Début:
21/01/2022
Echéance:
% réalisé:

100%

Temps estimé:

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.


Demandes liées 1 (0 ouverte1 fermée)

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

Actions

Mis à jour par Johan Cwiklinski il y a environ 2 ans

  • Statut changé de Nouveau à In Progress
  • Assigné à mis à Johan Cwiklinski
  • Version cible mis à 1.0.0

Mis à jour par Guillaume AGNIERAY il y a environ 2 ans

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 :)

Mis à jour par Johan Cwiklinski il y a presque 2 ans

  • Duplique Anomalie #1616: Logs page broken - strftime() is deprecated ajouté

Mis à jour par Johan Cwiklinski il y a presque 2 ans

  • Statut changé de In Progress à Rejeté

Mis à jour par Johan Cwiklinski il y a presque 2 ans

  • Statut changé de Rejeté à In Progress

Mis à jour par Johan Cwiklinski il y a presque 2 ans

  • Statut changé de In Progress à Résolu
  • % réalisé changé de 0 à 100

Mis à jour par Johan Cwiklinski il y a plus d'un an

  • Statut changé de Résolu à Fermé
Actions

Formats disponibles : Atom PDF