Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
... to be able to easier locate a certain revision in a long project_view():
Index: project.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project/project.module,v
retrieving revision 1.33
diff -u -r1.33 project.module
--- project.module 2002/09/19 20:09:24 1.33
+++ project.module 2002/09/23 01:59:40
@@ -791,7 +791,7 @@
for($i = 1; $i < count($revisions); $i++) {
$diff = project_diff($revisions[$i - 1]["node"], $revisions[$i]["node"]);
$body .= '<tr valign="top">';
- $body .= '<td><b>'. format_name($revisions[$i]["node"]) .'</b><br />';
+ $body .= '<td><a name="'. $i .'"></a><b>'. format_name($revisions[$i]["node"]) .'</b><br />';
$body .= format_date($revisions[$i]["node"]->changed, "custom", "Y-m-d H:i");
$body .= (count($diff->pid) ? "<br / ><b>". t("Project") ."</b>: ". $projects[$diff->pid[0]] ." -> ". $projects[$diff->pid[1]] : "");
$body .= (count($diff->ptype) ? "<br / ><b>". t("Type") ."</b>: ". $types[$diff->ptype[0]] ." -> ". $types[$diff->ptype[1]] : "");
what would i give for being able to attach patch files here ... ;)
Comments
Comment #1
(not verified) CreditAttribution: commentedadded fragments.
the upload file line in project.module is commented out. maybe it would be easy to add the upload patch file' feature.
Comment #2
ax CreditAttribution: ax commented