| Manual 
 
  6. Templates In the Smarty Mode, the Smarty functions (like if, while, for, fopen, fclose) are predefined in functions
called "Templates".
 Each template can be invoked by the function name or by using the SPACE
key after the Smarty function name in the buffer (Note, using M-SPACE disable the template).
 A template can be aborted by using the C-g or by lefting empty the tempate prompt (in the minibuffer).
 
  6.1 Customization 
 `smarty-electric-mode'Type: booleanDefault value: `t'
 Description: If `t'; enable automatic generation of template. 
If `nil'; template generators can still be invoked through key bindings and
menu. Is indicated in the modeline by "/e" after the mode name and can be
toggled by `smarty-electric-mode'.
 For a complete description of the template customizable variables, see Templates
 
  6.2 Functions 
  6.2.1 Built-in Functions 
 `smarty-template-capture'Menu: Smarty -> Templates -> Build-in Functions -> captureKeybinding: C-c C-t C-b a
 Description: See the manual.
 `smarty-template-config-load'Menu: Smarty -> Templates -> Build-in Functions -> config_loadKeybinding: C-c C-t C-b c
 Description: See the manual.
 `smarty-template-else'Menu: Smarty -> Templates -> Build-in Functions -> elseKeybinding: C-c C-t C-b M-e
 Description: See the manual.
 `smarty-template-elseif'Menu: Smarty -> Templates -> Build-in Functions -> elseifKeybinding: C-c C-t C-b C-e
 Description: See the manual.
 `smarty-template-foreach'Menu: Smarty -> Templates -> Build-in Functions -> foreachKeybinding: C-c C-t C-b C-f
 Description: See the manual.
 `smarty-template-foreachelse'Menu: Smarty -> Templates -> Build-in Functions -> foreachelseKeybinding: C-c C-t C-b M-f
 Description: See the manual.
 `smarty-template-if'Menu: Smarty -> Templates -> Build-in Functions -> ifKeybinding: C-c C-t C-b f
 Description: See the manual.
 `smarty-template-include'Menu: Smarty -> Templates -> Build-in Functions -> includeKeybinding: C-c C-t C-b C-i
 Description: See the manual.
 `smarty-template-include-php'Menu: Smarty -> Templates -> Build-in Functions -> include_phpKeybinding: C-c C-t C-b M-i
 Description: See the manual.
 `smarty-template-insert'Menu: Smarty -> Templates -> Build-in Functions -> insertKeybinding: C-c C-t C-b i
 Description: See the manual.
 `smarty-template-ldelim'Menu: Smarty -> Templates -> Build-in Functions -> ldelimKeybinding: C-c C-t C-b l
 Description: See the manual.
 `smarty-template-literal'Menu: Smarty -> Templates -> Build-in Functions -> literalKeybinding: C-c C-t C-b C-l
 Description: See the manual.
 `smarty-template-php'Menu: Smarty -> Templates -> Build-in Functions -> phpKeybinding: C-c C-t C-b p
 Description: See the manual.
 `smarty-template-rdelim'Menu: Smarty -> Templates -> Build-in Functions -> rdelimKeybinding: C-c C-t C-b r
 Description: See the manual.
 `smarty-template-section'Menu: Smarty -> Templates -> Build-in Functions -> sectionKeybinding: C-c C-t C-b C-s
 Description: See the manual.
 `smarty-template-sectionelse'Menu: Smarty -> Templates -> Build-in Functions -> sectionelseKeybinding: C-c C-t C-b M-s
 Description: See the manual.
 `smarty-template-strip'Menu: Smarty -> Templates -> Build-in Functions -> stripKeybinding: C-c C-t C-b s
 Description: See the manual.
 
  6.2.2 Custom Functions 
 `smarty-template-assign'Menu: Smarty -> Templates -> Custom Functions -> assignKeybinding: C-c C-t C-c a
 Description: See the manual.
 `smarty-template-counter'Menu: Smarty -> Templates -> Custom Functions -> counterKeybinding: C-c C-t C-c o
 Description: See the manual.
 `smarty-template-cycle'Menu: Smarty -> Templates -> Custom Functions -> cycleKeybinding: C-c C-t C-c c
 Description: See the manual.
 `smarty-template-debug'Menu: Smarty -> Templates -> Custom Functions -> debugKeybinding: C-c C-t C-c d
 Description: See the manual.
 `smarty-template-eval'Menu: Smarty -> Templates -> Custom Functions -> evalKeybinding: C-c C-t C-c e
 Description: See the manual.
 `smarty-template-fetch'Menu: Smarty -> Templates -> Custom Functions -> fetchKeybinding: C-c C-t C-c f
 Description: See the manual.
 `smarty-template-html-checkboxes'Menu: Smarty -> Templates -> Custom Functions -> html_checkboxesKeybinding: C-c C-t C-c C-h c
 Description: See the manual.
 `smarty-template-html-image'Menu: Smarty -> Templates -> Custom Functions -> html_imageKeybinding: C-c C-t C-c C-h i
 Description: See the manual.
 `smarty-template-html-options'Menu: Smarty -> Templates -> Custom Functions -> html_optionsKeybinding: C-c C-t C-c C-h o
 Description: See the manual.
 `smarty-template-html-radios'Menu: Smarty -> Templates -> Custom Functions -> html_radiosKeybinding: C-c C-t C-c C-h r
 Description: See the manual.
 `smarty-template-html-select-date'Menu: Smarty -> Templates -> Custom Functions -> html_select_dateKeybinding: C-c C-t C-c C-h d
 Description: See the manual.
 `smarty-template-html-select-time'Menu: Smarty -> Templates -> Custom Functions -> html_select_timeKeybinding: C-c C-t C-c C-h m
 Description: See the manual.
 `smarty-template-html-table'Menu: Smarty -> Templates -> Custom Functions -> html_tableKeybinding: C-c C-t C-c C-h t
 Description: See the manual.
 `smarty-template-mailto'Menu: Smarty -> Templates -> Custom Functions -> mailtoKeybinding: C-c C-t C-c i
 Description: See the manual.
 `smarty-template-math'Menu: Smarty -> Templates -> Custom Functions -> mathKeybinding: C-c C-t C-c h
 Description: See the manual.
 `smarty-template-popup'Menu: Smarty -> Templates -> Custom Functions -> popupKeybinding: C-c C-t C-c C-p
 Description: See the manual.
 `smarty-template-popup-init'Menu: Smarty -> Templates -> Custom Functions -> popup_initKeybinding: C-c C-t C-c M-p
 Description: See the manual.
 `smarty-template-textformat'Menu: Smarty -> Templates -> Custom Functions -> textformatKeybinding: C-c C-t C-c t
 Description: See the manual.
 
  6.2.3 Variable Modifiers 
 `smarty-template-capitalize'Menu: Smarty -> Templates -> Variable Modifiers -> capitalizeKeybinding: C-c C-t C-v p
 Description: See the manual.
 `smarty-template-cat'Menu: Smarty -> Templates -> Variable Modifiers -> catKeybinding: C-c C-t C-v c
 Description: See the manual.
 `smarty-template-count-characters'Menu: Smarty -> Templates -> Variable Modifiers -> count_charactersKeybinding: C-c C-t C-v C-c c
 Description: See the manual.
 `smarty-template-count-paragraphs'Menu: Smarty -> Templates -> Variable Modifiers -> count_paragraphsKeybinding: C-c C-t C-v C-c p
 Description: See the manual.
 `smarty-template-count-sentences'Menu: Smarty -> Templates -> Variable Modifiers -> count_sentencesKeybinding: C-c C-t C-v C-c s
 Description: See the manual.
 `smarty-template-count-words'Menu: Smarty -> Templates -> Variable Modifiers -> count_wordsKeybinding: C-c C-t C-v C-c w
 Description: See the manual.
 `smarty-template-date-format'Menu: Smarty -> Templates -> Variable Modifiers -> date_formatKeybinding: C-c C-t C-v f
 Description: See the manual.
 `smarty-template-default'Menu: Smarty -> Templates -> Variable Modifiers -> defaultKeybinding: C-c C-t C-v d
 Description: See the manual.
 `smarty-template-escape'Menu: Smarty -> Templates -> Variable Modifiers -> escapeKeybinding: C-c C-t C-v e
 Description: See the manual.
 `smarty-template-indent'Menu: Smarty -> Templates -> Variable Modifiers -> indentKeybinding: C-c C-t C-v i
 Description: See the manual.
 `smarty-template-lower'Menu: Smarty -> Templates -> Variable Modifiers -> lowerKeybinding: C-c C-t C-v l
 Description: See the manual.
 `smarty-template-nl2br'Menu: Smarty -> Templates -> Variable Modifiers -> nl2brKeybinding: C-c C-t C-v n
 Description: See the manual.
 `smarty-template-regex-replace'Menu: Smarty -> Templates -> Variable Modifiers -> regex_replaceKeybinding: C-c C-t C-v x
 Description: See the manual.
 `smarty-template-replace'Menu: Smarty -> Templates -> Variable Modifiers -> replaceKeybinding: C-c C-t C-v C-p
 Description: See the manual.
 `smarty-template-spacify'Menu: Smarty -> Templates -> Variable Modifiers -> spacifyKeybinding: C-c C-t C-v y
 Description: See the manual.
 `smarty-template-string-format'Menu: Smarty -> Templates -> Variable Modifiers -> string_formatKeybinding: C-c C-t C-v s
 Description: See the manual.
 `smarty-template-vstrip'Menu: Smarty -> Templates -> Variable Modifiers -> stripKeybinding: C-c C-t C-v C-s
 Description: See the manual.
 `smarty-template-strip-tags'Menu: Smarty -> Templates -> Variable Modifiers -> strip_tagsKeybinding: C-c C-t C-v M-s
 Description: See the manual.
 `smarty-template-truncate'Menu: Smarty -> Templates -> Variable Modifiers -> truncateKeybinding: C-c C-t C-v t
 Description: See the manual.
 `smarty-template-upper'Menu: Smarty -> Templates -> Variable Modifiers -> upperKeybinding: C-c C-t C-v u
 Description: See the manual.
 `smarty-template-wordwrap'Menu: Smarty -> Templates -> Variable Modifiers -> wordwrapKeybinding: C-c C-t C-v w
 Description: See the manual.
 
  6.2.4 Plugins Functions 
  6.2.4.1 Smarty Formtool 
 `smarty-template-formtool-checkall'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_checkallKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-copy'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_copyKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-count-chars'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_count_charsKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-init'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_initKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-move'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_moveKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-moveall'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_moveallKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-movedown'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_movedownKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-moveup'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_moveupKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-remove'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_removeKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-rename'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_renameKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-save'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_saveKeybinding: none
 Description: See the plugin manual.
 `smarty-template-formtool-selectall'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyFormtool -> formtool_selectallKeybinding: none
 Description: See the plugin manual.
 
  6.2.4.2 Smarty Paginate 
 `smarty-template-paginate-first'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyPaginate -> paginate_firstKeybinding: none
 Description: See the plugin manual.
 `smarty-template-paginate-last'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyPaginate -> paginate_lastKeybinding: none
 Description: See the plugin manual.
 `smarty-template-paginate-middle'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyPaginate -> paginate_middleKeybinding: none
 Description: See the plugin manual.
 `smarty-template-paginate-next'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyPaginate -> paginate_nextKeybinding: none
 Description: See the plugin manual.
 `smarty-template-paginate-prev'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyPaginate -> paginate_prevKeybinding: none
 Description: See the plugin manual.
 
  6.2.4.3 Smarty Validate 
 `smarty-template-validate'Menu: Smarty -> Templates -> Plugins (Functions) -> SmartyValidate -> validateKeybinding: none
 Description: See the plugin manual.
 
  6.2.5 Plugins Variable Modifiers 
  6.2.5.1 B2Smilies 
 `smarty-template-btosmilies'Menu: Smarty -> Templates -> Plugins (Variable Modifers) -> B2Smilies -> B2SmiliesKeybinding: none
 Description: See the plugin manual.
 
  6.2.5.2 bbcode2html 
 `smarty-template-bbcodetohtml'Menu: Smarty -> Templates -> Plugins (Variable Modifers) -> BBCodePlugin -> bbcode2htmlKeybinding: none
 Description: See the plugin manual.
 
  6.2.6 Fonctions Non-Smarty 
 `smarty-template-header'Menu: Smarty -> Templates -> Insert HeaderKeybinding: C-c C-t C-h
 Description: This function is used to insert a header in the current buffer.
 `smarty-template-footer'Menu: Smarty -> Templates -> Insert FooterKeybinding: C-c C-t C-f
 Description: This function is used to insert a footer in the current buffer.
 `smarty-template-insert-date'Menu: Smarty -> Templates -> Insert DateKeybinding: C-c C-t C-d i
 Description: This function is used to insert the date in the current buffer.
 `smarty-template-modify'Menu: Smarty -> Templates -> Modify DateKeybinding: C-c C-t C-d m
 Description: This function is used to modify the last modification date in the current buffer.
 
 |