[ Index ]
 

Code source de PHP NUKE 7.9

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/includes/tiny_mce/plugins/insertdatetime/ -> readme.txt (source)

   1   InsertDateTime plugin for TinyMCE
   2  -----------------------------------
   3  
   4  Installation instructions:
   5    * Copy the insertdatetime directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
   6    * Add plugin to TinyMCE plugin option list example: plugins : "insertdatetime".
   7    * Add the insertdate or inserttime button name to button list, example: theme_advanced_buttons3_add : "insertdate,inserttime".
   8  
   9  Initialization example:
  10    tinyMCE.init({
  11      theme : "advanced",
  12      mode : "textareas",
  13      plugins : "insertdatetime",
  14      theme_advanced_buttons3_add : "insertdate,inserttime",
  15      plugin_insertdate_dateFormat : "%Y-%m-%d",
  16      plugin_insertdate_timeFormat : "%H:%M:%S"
  17    });
  18  
  19  Configuration:
  20    plugin_insertdate_dateFormat - Format that the date is output as. Defaults to: "%Y-%m-%d".
  21      Replacement variables:
  22      %y - year as a decimal number without a century (range 00 to 99)
  23      %Y - year as a decimal number including the century
  24      %d - day of the month as a decimal number (range 01 to 31)
  25      %m - month as a decimal number (range 01 to 12)
  26      %D - same as %m/%d/%y
  27      %r - time in a.m. and p.m. notation
  28      %H - hour as a decimal number using a 24-hour clock (range 00 to 23)
  29      %I - hour as a decimal number using a 12-hour clock (range 01 to 12)
  30      %M - minute as a decimal number (range 00-59)
  31      %S - second as a decimal number (range 00-59)
  32      %p - either `am' or `pm' according to the given time value
  33      %% - a literal `%' character
  34  
  35    plugin_insertdate_timeFormat - Format that the time is output as. Defaults to: "%H:%M:%S".


Généré le : Sun Apr 1 11:11:59 2007 par Balluche grâce à PHPXref 0.7