~ubuntu-branches/ubuntu/lucid/boinc/lucid

« back to all changes in this revision

Viewing changes to doc/poll_results.php

  • Committer: Bazaar Package Importer
  • Author(s): Frank S. Thomas, Frank S. Thomas
  • Date: 2008-05-31 08:02:47 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080531080247-4ce890lp2rc768cr
Tags: 6.2.7-1
[ Frank S. Thomas ]
* New upstream release.
  - BOINC Manager: Redraw disk usage charts immediately after connecting to
    a (different) client. (closes: 463823)
* debian/copyright:
  - Added the instructions from debian/README.Debian-source about how
    repackaged BOINC tarballs can be reproduced because DevRef now
    recommends to put this here instead of in the afore-mentioned file.
  - Updated for the new release.
* Removed the obsolete debian/README.Debian-source.
* For consistency upstream renamed the core client and the command tool
  ("boinc_client" to "boinc" and "boinc_cmd" to "boinccmd"). Done the same
  in all packages and created symlinks with the old names for the binaries
  and man pages. Also added an entry in debian/boinc-client.NEWS explaining
  this change.
* debian/rules: Do not list Makefile.ins in the clean target individually,
  just remove all that can be found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
        exit();
15
15
    }
16
16
}
 
17
set_time_limit(0);
17
18
ob_start();
18
19
ob_implicit_flush(0);
19
20
 
35
36
        $tag = $matches[1];
36
37
        $val = $matches[2];
37
38
        if (strstr($tag, 'text')) {
38
 
            if ($val) {
 
39
            if ($val && $resp->update_time > 1197202264) {
39
40
                $val = str_replace("\\r\\n", "\n", urldecode($val));
40
41
                $val = str_replace('\\\\\\', '', $val);
41
42
                $d = gmdate("g:i A \U\T\C, F d Y", $resp->update_time);
66
67
        $b = bar($n, $ntotal);
67
68
        $y .= "$b <a href=$fname>$link_text</a>";
68
69
        $f = fopen($fname, "w");
 
70
        $old_name = str_replace(".html", ".old.html", $fname);
 
71
        fwrite($f, "<a href=$old_name>Old responses</a><hr>\n");
69
72
        foreach ($sums[$other_name] as $text) {
70
 
            fwrite($f, $text);
71
 
            fwrite($f, "\n<hr>\n");
 
73
            if (!strstr($text, '<a')) {
 
74
                fwrite($f, $text);
 
75
                fwrite($f, "\n<hr>\n");
 
76
            }
72
77
        }
73
78
        fclose($f);
74
79
    } else {