This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:;jQuery('#colorbox, #cboxOverlay').remove();jQuery('.articleGraf').show(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: js/jquery.utils.lite.js | |
=================================================================== | |
--- js/jquery.utils.lite.js (revision 3) | |
+++ js/jquery.utils.lite.js (working copy) | |
@@ -1125,12 +1125,12 @@ | |
*/ | |
$.widget('ui.keynav', { | |
- _init: function(){ | |
+ _create: function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DRUSH="$(which drush)" | |
BASEDIR="/var/www/vhosts/mysite.com/httpdocs" | |
cd $BASEDIR | |
#Iterate through sites and put in offline mode | |
ls $BASEDIR/sites |while read line | |
do | |
if [[ "$line" != "all" && "$line" != "default" && "$line" != "CVS" ]] | |
then | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Removing teaser view from a Drupal Node Preview | |
/** | |
* Overrided default preview output by removing teaser view | |
**/ | |
function mytheme_preview($node) { | |
$output = '<div class="preview">'; | |
$output .= node_view($node, 0, FALSE, 0); |
NewerOlder