[ 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/themes/advanced/ -> anchor.htm (source)

   1  <html>
   2  <head>
   3  <title>{$lang_insert_anchor_title}</title>
   4  <script language="javascript" src="../../tiny_mce_popup.js"></script>
   5  <script language="javascript">
   6      // Disable auto resize
   7      tinyMCE.getWindowArg('mce_windowresize', false);
   8  
   9  	function init() {
  10          document.forms[0].anchorName.value = tinyMCE.getWindowArg('name');
  11          document.forms[0].insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true);
  12  
  13          // Autoresize and focus
  14          TinyMCEPopup_autoResize();
  15          window.focus();
  16      }
  17  
  18  	function insertAnchor() {
  19          if (window.opener) {
  20              tinyMCE.execInstanceCommand(tinyMCE.getWindowArg('editor_id'), 'mceAnchor', false, document.forms[0].anchorName.value);
  21              top.close();
  22          }
  23      }
  24  
  25  	function cancelAction() {
  26          top.close();
  27      }
  28  </script>
  29  </head>
  30  <body onload="init();">
  31  <form onsubmit="insertAnchor();return false;">
  32    <table border="0" cellpadding="0" cellspacing="0" width="200">
  33      <tr>
  34        <td align="center" valign="middle"><table border="0" cellpadding="4" cellspacing="0">
  35            <tr>
  36              <td colspan="2" class="title">{$lang_insert_anchor_title}</td>
  37            </tr>
  38            <tr>
  39              <td nowrap="nowrap">{$lang_insert_anchor_name}:</td>
  40              <td><input name="anchorName" type="text" id="anchorName" value="" style="width: 200px"></td>
  41            </tr>
  42            <tr>
  43              <td><input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertAnchor();">
  44              </td>
  45              <td align="right"><input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="cancelAction();"></td>
  46            </tr>
  47          </table></td>
  48      </tr>
  49    </table>
  50  </form>
  51  </body>
  52  </html>


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