Project

General

Profile

Anomalie #2043

Creolelint : support des directives cheetahVarStartToken et directiveStartToken des templates

Added by Emmanuel GARETTE (2) over 8 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/09/2011
Due date:
% Done:

100%

Distribution:
EOLE 2.4

Description

Par défaut, dans les templates, les variables commencent par %% et les fonctions par %.

Il est possible de changer ce comportement en mettant au début du template :

%compiler-settings
cheetahVarStartToken = @
directiveStartToken =

%end compiler-settings

CreoleLint ne fonctionne pas avec ces templates.

creolelint.patch View (14.3 KB) Emmanuel GARETTE (2), 09/09/2011 02:44 PM

Associated revisions

Revision caeb055e (diff)
Added by moyooo about 10 years ago

clean config.php see #2043

Revision 281f3734 (diff)
Added by moyooo about 10 years ago

more clean on PHP_SELF + global security clean
see #2043

Revision 09c3995a (diff)
Added by Emmanuel GARETTE about 7 years ago

creole/lint/ansiwriter.py :
support correct des levels

creole/lint/normalize.py :
valide si la description n'est pas None (attention cfgparser plante pour l'instant)

creole/lint/creolelint.py :
support (partiel) de cheetahVarStartToken et directiveStartToken dans les templates

fixes #2043

History

#1 Updated by Emmanuel GARETTE about 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Joël Cuissinat about 7 years ago

  • Assigned To set to Emmanuel GARETTE
  • Target version set to Eole 2.4-dev-1
  • Distribution set to EOLE 2.4

#4 Updated by Joël Cuissinat about 7 years ago

  • Status changed from Résolu to Fermé

on verra avec les cas pratiques :)

Also available in: Atom PDF