[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/print/ -> editor_plugin_src.js (source)

   1  /* Import theme    specific language pack */
   2  tinyMCE.importPluginLanguagePack('print', 'en,sv,zh_cn,fa,fr_ca,fr,de,pl');
   3  
   4  function TinyMCE_print_getControlHTML(control_name)    {
   5      switch (control_name) {
   6          case "print":
   7              return '<img id="{$editor_id}_print" src="{$pluginurl}/images/print.gif" title="{$lang_print_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mcePrint\',true);" />';
   8      }
   9  
  10      return "";
  11  }
  12  
  13  /**
  14   * Executes    the    search/replace commands.
  15   */
  16  function TinyMCE_print_execCommand(editor_id, element, command,    user_interface,    value) {
  17      // Handle commands
  18      switch (command) {
  19          case "mcePrint":
  20              tinyMCE.getInstanceById(editor_id).contentWindow.print();
  21              return true;
  22      }
  23  
  24      // Pass to next handler in chain
  25      return false;
  26  }


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7