Project

General

Profile

« Previous | Next » 

Revision 1264

Added by Dietmar over 14 years ago

Ticket #916 Update backend theme footer

View differences:

jquery-plugins.js
8 8
        if($(".jsadmin").length) {
9 9
            $.insert(WB_URL+"/modules/jsadmin/backend.css");
10 10
          }
11
/*
12
        if($("a[rel^='lightbox']").length) {
13
            $.insert(WB_URL+"/include/jquery/plugins/jquery-slimbox2.css");
14
            $.insert(WB_URL+"/include/jquery/plugins/jquery-slimbox2-min.js");
15
          }
16
        if($("textarea.markitup").length) {
17
            $.insert(WB_URL+'/modules/markitup/latest/skins/markitup/style.css');
18
            $.insert(WB_URL+'/modules/markitup/latest/sets/default/style.css');
19
            $.insert(WB_URL+'/modules/markitup/latest/jquery.markitup.pack.js');
20
            $.insert(WB_URL+'/modules/markitup/latest/sets/default/set.js');
11
	//Add external link class to external links -
12
	$('a[href^="http://"]').filter(function() {
13
		//Compare the anchor tag's host name with location's host name
14
	    return this.hostname && this.hostname !== location.hostname;
15
	  }).addClass("external").attr("target", "_blank");
21 16

  
22
        	// Add markItUp! to your textarea in one line
23
        	// $('textarea.markitup').markItUp( { Settings }, { OptionalExtraSettings } );
24
        	$('textarea.markitup').markItUp(mySettings);
17
	/* Add internal link class to external links -   */
18
	$('a[href^="http://"]').filter(function() {
19
		//Compare the anchor tag's host name with location's host name
20
	    return this.hostname && this.hostname == location.hostname;
21
	  }).addClass("internal");
25 22

  
26
         }
27
 */
28 23
});

Also available in: Unified diff