View gist:92083
This file contains 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
return array( | |
'text_comma' => array( | |
'label' => t('Comma-separated'), | |
'field types' => array('text'), | |
'multiple values' => CONTENT_HANDLE_MODULE, | |
), | |
); |
View gist:92089
This file contains 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
$view = new view; | |
$view->name = 'foo'; | |
$view->description = ''; | |
$view->tag = ''; | |
$view->view_php = ''; | |
$view->base_table = 'node'; | |
$view->is_cacheable = FALSE; | |
$view->api_version = 2; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ | |
$handler = $view->new_display('default', 'Defaults', 'default'); |
View gist:108746
This file contains 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
git push | |
Enter passphrase for key '/home/dereine/.ssh/id_dsa': | |
To git@github.com:dereine/dereine_config.git | |
! [rejected] master -> master (non-fast forward) | |
error: failed to push some refs to 'git@github.com:dereine/dereine_config.git' |
View gist:108761
This file contains 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 | |
// $Id$ | |
global $user; | |
$link = l(t('Visit profile'), "user/$user->uid"); | |
?> | |
<a href="<?php url("user/$user->uid"); ?>"><?php t('Visit profile'); ?></a> |
View foo.php
This file contains 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 | |
// $Id$ | |
/** | |
* Implementation of hook_form_privatemsg_new_alter(). | |
*/ | |
function foo_form_privatemsg_new_alter(&$form, &$form_state) { | |
$form['#submit'][] = 'foo_form_privatemsg_new_submit'; | |
} |
View pm_role.admin.inc
This file contains 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 | |
// $Id$ | |
function pm_role_admin_settings() { | |
$form = array(); | |
$roles = user_roles(TRUE); | |
foreach ($roles as $rid1 => $role1) { | |
foreach ($roles as $rid2 => $role2) { | |
$form['foo_messages_role_sent_from'. $rid1 .'_to_'. $rid2] = array( | |
'#type' => 'checkbox', |
View garland.info
This file contains 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
; $Id: garland.info,v 1.5 2007/07/01 23:27:32 goba Exp $ | |
name = Gärland | |
description = Täbleless, recolorable, multi-column, fluid width theme (default). | |
version = VERSION | |
core = 6.x | |
engine = phptemplate | |
stylesheets[all][] = style.css | |
stylesheets[print][] = print.css |
View garland.info
This file contains 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
; Information added by drupal.org packaging script on 2009-04-30 | |
version = "6.11" | |
project = "drupal" | |
datestamp = "1241050838" |
View gist:110093
This file contains 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 | |
// habe den Vortrag zu wenig verfolgt von rapsli | |
class foo { | |
public function bar(foo = 123) { | |
return foo + 3; | |
} | |
} |
View foo.patch
This file contains 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
diff --git a/.ajax_comments.js.swp b/.ajax_comments.js.swp | |
index 88e820c..8213005 100644 | |
Binary files a/.ajax_comments.js.swp and b/.ajax_comments.js.swp differ | |
diff --git a/ajax_comments.js b/ajax_comments.js | |
index b9cdfc8..094bfd5 100644 | |
--- a/ajax_comments.js | |
+++ b/ajax_comments.js | |
@@ -586,7 +586,7 @@ function ajax_comments_hide_progress(context) { | |
function insert_new_comment(comment) { |
OlderNewer