/components/com_jce/editor/tiny_mce/plugins/link/tmpl/link.php
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
- <?php
- /**
- * @package JCE
- * @copyright Copyright Š 2009-2011 Ryan Demmer. All rights reserved.
- * @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
- * JCE is free software. This version may have been modified pursuant
- * to the GNU General Public License, and as distributed it includes or
- * is derivative of works licensed under the GNU General Public License or
- * other free or open source software licenses.
- */
- defined('_JEXEC') or die('RESTRICTED');
-
- $plugin = WFLinkPlugin::getInstance();
- ?>
- <table width="100%">
- <tr>
- <td nowrap="nowrap"><label for="href" class="hastip" title="<?php echo WFText::_('WF_LABEL_URL_DESC'); ?>"><?php echo WFText::_('WF_LABEL_URL'); ?></label></td>
- <td><input id="href" type="text" value="" size="150" class="required browser" /> <!--td id="hrefbrowsercontainer"></td-->
- <span class="email" title="<?php echo WFText::_('WF_LABEL_EMAIL'); ?>"></span></td>
- </tr>
- <tr>
- <td><label for="text" class="hastip" title="<?php echo WFText::_('WF_LINK_LINK_TEXT_DESC'); ?>"><?php echo WFText::_('WF_LINK_LINK_TEXT'); ?></label></td>
- <td><input id="text" type="text" value="" class="required" /></td>
- </tr>
- </table>
- <fieldset>
- <legend><?php echo WFText::_('WF_LABEL_LINKS'); ?></legend>
- <div id="link-options">
- <?php echo $plugin->renderBrowser('search'); ?>
- <h3><?php echo WFText::_('WF_LABEL_BROWSE'); ?></h3>
- <?php echo $plugin->renderBrowser('link'); ?>
- </div>
- </fieldset>
- <h4><?php echo WFText::_('WF_LABEL_ATTRIBUTES'); ?></h4>
- <table>
- <tr id="attributes-anchor">
- <td><label for="anchor" class="hastip" title="<?php echo WFText::_('WF_LABEL_ANCHORS_DESC'); ?>"><?php echo WFText::_('WF_LABEL_ANCHORS'); ?></label></td>
- <td id="anchor_container"> </td>
- </tr>
- <tr id="attributes-target">
- <td><label for="target" class="hastip" title="<?php echo WFText::_('WF_LABEL_TARGET_DESC'); ?>"><?php echo WFText::_('WF_LABEL_TARGET'); ?></label></td>
- <td><select id="target">
- <option value=""><?php echo WFText::_('WF_OPTION_NOT_SET'); ?></option>
- <option value="_self"><?php echo WFText::_('WF_OPTION_TARGET_SELF'); ?></option>
- <option value="_blank"><?php echo WFText::_('WF_OPTION_TARGET_BLANK'); ?></option>
- <option value="_parent"><?php echo WFText::_('WF_OPTION_TARGET_PARENT'); ?></option>
- <option value="_top"><?php echo WFText::_('WF_OPTION_TARGET_TOP'); ?></option>
- </select></td>
- </tr>
- <tr>
- <td nowrap="nowrap"><label for="title" class="hastip" title="<?php echo WFText::_('WF_LABEL_TITLE_DESC'); ?>"><?php echo WFText::_('WF_LABEL_TITLE'); ?></label></td>
- <td><input id="title" type="text" value="" size="150" /></td>
- </tr>
- </table>