Changeset 2755:eb341f8478fe
- Timestamp:
- 10/01/14 18:04:20 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/popup_link.php
r2749 r2755 18 18 $hreflang = !empty($_GET['hreflang']) ? $_GET['hreflang'] : ''; 19 19 $title = !empty($_GET['title']) ? $_GET['title'] : ''; 20 $plugin_id = !empty($_GET['plugin_id']) ? html::sanitizeURL($_GET['plugin_id']) : ''; 20 21 21 22 // perhaps better to put active editor in session … … 23 24 $post_editor = $core->auth->getOption('editor'); 24 25 25 dcPage::openPopup(__('Add a link'),$core->callBehavior('adminPopupLink', $p ost_editor[$post_format]));26 dcPage::openPopup(__('Add a link'),$core->callBehavior('adminPopupLink', $plugin_id)); 26 27 27 28 echo '<h2 class="page-title">'.__('Add a link').'</h2>';
Note: See TracChangeset
for help on using the changeset viewer.