diff --git a/UltiSnips/html.snippets b/UltiSnips/html.snippets index df311e3..a84bbfd 100755 --- a/UltiSnips/html.snippets +++ b/UltiSnips/html.snippets @@ -4,6 +4,12 @@ extends fa ########## ## SPIP ## ########## +snippet php "Autorisation + ${1:${VISUAL}} + +endsnippet #BOUCLE : #------------------------------------------------------ diff --git a/html.json b/html.json index 651bed1..806cd8c 100644 --- a/html.json +++ b/html.json @@ -1,12 +1,17 @@ { + "php": { + "prefix": "php", + "body": "\n\t1\n", + "description": "Autorisation \n\t$0\n", + "body": "`!p t[2] = t[2].upper()`\n\t$0\n", "description": "SPIP " }, "bb": { "prefix": "bb", - "body": "\n\t${5}\n\n\t$0\n\n\t${6}\n", + "body": "`!p t[2] = t[2].upper()`\n\t${5}\n\n\t$0\n\n\t${6}\n", "description": "SPIP " }, "icon": {