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/modules/node/views_plugin_row_node_rss.inc b/modules/node/views_plugin_row_node_rss.inc | |
index b2fc2f2..a9b290f 100644 | |
--- a/modules/node/views_plugin_row_node_rss.inc | |
+++ b/modules/node/views_plugin_row_node_rss.inc | |
@@ -98,7 +98,7 @@ class views_plugin_row_node_rss extends views_plugin_row { | |
$extra = node_invoke_nodeapi($node, 'rss item'); | |
$item->elements = array_merge($extra, | |
array( | |
- array('key' => 'pubDate', 'value' => format_date($node->created, 'custom', 'r', variable_get('date_default_timezone', 0))), | |
+ array('key' => 'pubDate', 'value' => gmdate('d M Y H:i:s O', $node->created - variable_get('date_default_timezone', 0), array(), NULL)), |
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
Index: modules/node/views_plugin_row_node_rss.inc | |
=================================================================== | |
RCS file: /cvs/drupal-contrib/contributions/modules/views/modules/node/views_plugin_row_node_rss.inc,v | |
retrieving revision 1.6 | |
diff -u -p -r1.6 views_plugin_row_node_rss.inc | |
--- modules/node/views_plugin_row_node_rss.inc 7 Apr 2009 22:02:40 -0000 1.6 | |
+++ modules/node/views_plugin_row_node_rss.inc 13 May 2009 18:03:16 -0000 | |
@@ -98,7 +98,7 @@ class views_plugin_row_node_rss extends | |
$extra = node_invoke_nodeapi($node, 'rss item'); | |
$item->elements = array_merge($extra, |
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: views-view-table.tpl.php,v 1.8 2009/01/28 00:43:43 merlinofchaos Exp $ | |
/** | |
* @file views-view-table.tpl.php | |
* Template to display a view as a table. | |
* | |
* - $title : The title of this group of rows. May be empty. | |
* - $header: An array of header labels keyed by field id. | |
* - $fields: An array of CSS IDs to use for each field id. | |
* - $class: A class or classes to apply to the table, based on settings. |
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
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
ServerName dev | |
ServerAlias test.dev | |
DocumentRoot /var/www/dev6 | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> |
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 | |
// load the fields into an array so we can easily grab any piece we want | |
// 0 - image URL | |
// 1 - HTML link to node | |
// 2 - external link | |
//print count($fields); | |
foreach ($fields as $id => $field): | |
$item[] = $field; |
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$ | |
/** | |
* Returns access- | |
* | |
* @param $node | |
* The full node object, which should be proved. | |
* @param $terms | |
* The terms the user has access to. |
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
/** | |
* Theme comment flat collapsed view. | |
* | |
* @param $comment | |
* The comment to be themed. | |
* @param $node | |
* The comment node. | |
* @ingroup themeable | |
*/ | |
function theme_comment_flat_collapsed($comment, $node) { |
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$ | |
/** | |
* @file | |
* foo | |
*/ | |
function test() { | |
$counter = 0; | |
while ($counter < 1000000000) { |
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$ | |
class content_moderation_handler_filter_pending_revision extends views_handler_filter { | |
function construct() { | |
parent::construct(); | |
$this->additional_fields['node_vid'] = array('table' => 'node', 'field' => 'vid'); | |
$this->additional_fields['revision_vid'] = array('table' => 'node_revision', 'field' => 'vid'); | |
} |
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
Aegir Anleitung fuer VirtualBox und Debian | |
========================================== | |
1. Virtuelle Box | |
=> VirtualBox installieren | |
=> Bridged Networking verwenden! | |
=> 256-512MB RAM | |
=> 2-8GB HDD | |
=> Ton und Diskette aus |