initial commit of starter install drupal 7

This commit is contained in:
Bachir Soussi Chiadmi
2015-02-21 17:21:40 +01:00
commit eeba51cea6
6113 changed files with 1249218 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
Drupal.behaviors.init_theme = function (context) {
// Growl-style system messages
$('#messages-and-help > div.messages:not(.processed)')
.addClass('processed')
.each(function() {
// If a message meets these criteria, we don't autoclose
// - contains a link
// - is an error or warning
// - contains a lenghthy amount of text
if ($('a', this).size() || $(this).is('.error') || $(this).is('.warning') || $(this).text().length > 100) {
$(this).prepend("<span class='close'>X</span>");
$('span.close', this).click(function() {
$(this).parent().slideUp('fast');
});
}
else {
// This essentially adds a 3 second pause before hiding the message.
$(this).animate({opacity:1}, 5000, 'linear', function() {
$(this).slideUp('fast');
});
}
});
};
jQuery(document).ready(function($) {
console.log('Hello Jee');
});
+1
View File
@@ -0,0 +1 @@
Drupal.behaviors.init_theme=function(){$("#messages-and-help > div.messages:not(.processed)").addClass("processed").each(function(){$("a",this).size()||$(this).is(".error")||$(this).is(".warning")||$(this).text().length>100?($(this).prepend("<span class='close'>X</span>"),$("span.close",this).click(function(){$(this).parent().slideUp("fast")})):$(this).animate({opacity:1},5e3,"linear",function(){$(this).slideUp("fast")})})},jQuery(document).ready(function(){console.log("Hello Jee")});