PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/components/com_jce/editor/tiny_mce/plugins/link/tmpl/link.php

https://github.com/viollarr/alab
PHP | 54 lines | 44 code | 1 blank | 9 comment | 0 complexity | b27d69dd6eb1ad4c6f98b9de49d8866a MD5 | raw file
Possible License(s): LGPL-2.1, GPL-2.0, AGPL-3.0, Apache-2.0, BSD-3-Clause, GPL-3.0
  1. <?php
  2. /**
  3. * @package JCE
  4. * @copyright Copyright Š 2009-2011 Ryan Demmer. All rights reserved.
  5. * @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  6. * JCE is free software. This version may have been modified pursuant
  7. * to the GNU General Public License, and as distributed it includes or
  8. * is derivative of works licensed under the GNU General Public License or
  9. * other free or open source software licenses.
  10. */
  11. defined('_JEXEC') or die('RESTRICTED');
  12. $plugin = WFLinkPlugin::getInstance();
  13. ?>
  14. <table width="100%">
  15. <tr>
  16. <td nowrap="nowrap"><label for="href" class="hastip" title="<?php echo WFText::_('WF_LABEL_URL_DESC'); ?>"><?php echo WFText::_('WF_LABEL_URL'); ?></label></td>
  17. <td><input id="href" type="text" value="" size="150" class="required browser" /> <!--td id="hrefbrowsercontainer"></td-->
  18. <span class="email" title="<?php echo WFText::_('WF_LABEL_EMAIL'); ?>"></span></td>
  19. </tr>
  20. <tr>
  21. <td><label for="text" class="hastip" title="<?php echo WFText::_('WF_LINK_LINK_TEXT_DESC'); ?>"><?php echo WFText::_('WF_LINK_LINK_TEXT'); ?></label></td>
  22. <td><input id="text" type="text" value="" class="required" /></td>
  23. </tr>
  24. </table>
  25. <fieldset>
  26. <legend><?php echo WFText::_('WF_LABEL_LINKS'); ?></legend>
  27. <div id="link-options">
  28. <?php echo $plugin->renderBrowser('search'); ?>
  29. <h3><?php echo WFText::_('WF_LABEL_BROWSE'); ?></h3>
  30. <?php echo $plugin->renderBrowser('link'); ?>
  31. </div>
  32. </fieldset>
  33. <h4><?php echo WFText::_('WF_LABEL_ATTRIBUTES'); ?></h4>
  34. <table>
  35. <tr id="attributes-anchor">
  36. <td><label for="anchor" class="hastip" title="<?php echo WFText::_('WF_LABEL_ANCHORS_DESC'); ?>"><?php echo WFText::_('WF_LABEL_ANCHORS'); ?></label></td>
  37. <td id="anchor_container">&nbsp;</td>
  38. </tr>
  39. <tr id="attributes-target">
  40. <td><label for="target" class="hastip" title="<?php echo WFText::_('WF_LABEL_TARGET_DESC'); ?>"><?php echo WFText::_('WF_LABEL_TARGET'); ?></label></td>
  41. <td><select id="target">
  42. <option value=""><?php echo WFText::_('WF_OPTION_NOT_SET'); ?></option>
  43. <option value="_self"><?php echo WFText::_('WF_OPTION_TARGET_SELF'); ?></option>
  44. <option value="_blank"><?php echo WFText::_('WF_OPTION_TARGET_BLANK'); ?></option>
  45. <option value="_parent"><?php echo WFText::_('WF_OPTION_TARGET_PARENT'); ?></option>
  46. <option value="_top"><?php echo WFText::_('WF_OPTION_TARGET_TOP'); ?></option>
  47. </select></td>
  48. </tr>
  49. <tr>
  50. <td nowrap="nowrap"><label for="title" class="hastip" title="<?php echo WFText::_('WF_LABEL_TITLE_DESC'); ?>"><?php echo WFText::_('WF_LABEL_TITLE'); ?></label></td>
  51. <td><input id="title" type="text" value="" size="150" /></td>
  52. </tr>
  53. </table>