Changeset 2749:993aebff97bb for plugins
- Timestamp:
- 09/02/14 22:05:33 (11 years ago)
- Branch:
- default
- Location:
- plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcCKEditor/inc/dc.ckeditor.behaviors.php
r2743 r2749 42 42 } 43 43 44 public static function adminPopupMedia() { 44 public static function adminPopupMedia($editor='') { 45 if (empty($editor) || $editor!='dcCKEditor') { return;} 46 45 47 return dcPage::jsLoad(self::$p_url.'/js/popup_media.js'); 46 48 } 47 49 48 public static function adminPopupLink() { 50 public static function adminPopupLink($editor='') { 51 if (empty($editor) || $editor!='dcCKEditor') { return;} 52 49 53 return dcPage::jsLoad(self::$p_url.'/js/popup_link.js'); 50 54 } 51 55 52 public static function adminPopupPosts() { 56 public static function adminPopupPosts($editor='') { 57 if (empty($editor) || $editor!='dcCKEditor') { return;} 58 53 59 return dcPage::jsLoad(self::$p_url.'/js/popup_posts.js'); 54 60 } -
plugins/dcLegacyEditor/inc/dc.legacy.editor.behaviors.php
r2737 r2749 16 16 17 17 public static function adminPostEditor($editor='') { 18 global $core; 19 20 if (empty($editor) || $editor!='dcLegacyEditor') { 21 return; 22 } 18 if (empty($editor) || $editor!='dcLegacyEditor') {return;} 23 19 24 20 return … … 27 23 } 28 24 29 public static function adminPopupMedia() { 25 public static function adminPopupMedia($editor='') { 26 if (empty($editor) || $editor!='dcLegacyEditor') {return;} 27 30 28 return dcPage::jsLoad(self::$p_url.'/js/jsToolBar/popup_media.js'); 31 29 } 32 30 33 public static function adminPopupLink() { 31 public static function adminPopupLink($editor='') { 32 if (empty($editor) || $editor!='dcLegacyEditor') {return;} 33 34 34 return dcPage::jsLoad(self::$p_url.'/js/jsToolBar/popup_link.js'); 35 35 } 36 36 37 public static function adminPopupPosts() { 37 public static function adminPopupPosts($editor='') { 38 if (empty($editor) || $editor!='dcLegacyEditor') {return;} 39 38 40 return dcPage::jsLoad(self::$p_url.'/js/jsToolBar/popup_posts.js'); 39 41 }
Note: See TracChangeset
for help on using the changeset viewer.