~ubuntu-branches/debian/sid/boinc/sid

« back to all changes in this revision

Viewing changes to html/user/forum_index.php

  • Committer: Package Import Robot
  • Author(s): Steffen Moeller
  • Date: 2011-08-08 01:36:51 UTC
  • mfrom: (6.1.11 experimental)
  • Revision ID: package-import@ubuntu.com-20110808013651-m1hs3cltiveuteyn
Tags: 6.13.1+dfsg-2
* Bringing notify patch to unstable.
* Adjusted build dependency to libjpeg-dev (Closes: #641093)
* Further improvements on stripchart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
require_once('../inc/pm.inc');
24
24
require_once('../inc/time.inc');
25
25
 
 
26
check_get_args(array("read", "return", "tnow", "ttok"));
 
27
 
26
28
$user = get_logged_in_user(false);
27
29
 
28
30
// Process request to mark all posts as read
55
57
    echo "
56
58
        <tr class=\"row$j\">
57
59
        <td>
58
 
            <em>
59
60
            <a href=\"forum_forum.php?id=$forum->id\">$t</a>
60
 
            </em>
61
61
            <br><span class=\"smalltext\">$d</span>
62
62
        </td>
63
63
        <td class=\"numbers\">$forum->threads</td>
74
74
if (FORUM_QA_MERGED_MODE === true){
75
75
    $categories = BoincCategory::enum("true order by orderID");
76
76
} else {
77
 
    echo "
78
 
        <p>
79
 
        ".tra("If you have a question or problem, please use the %1Questions & Answers%2 section of the message boards.", "<a href=\"forum_help_desk.php\">", "</a>")."
80
 
        </p>
81
 
    ";
 
77
    echo "<p>"
 
78
        .tra("If you have a question or problem, please use the %1Questions & Answers%2 section of the message boards.", "<a href=\"forum_help_desk.php\">", "</a>")
 
79
        ."</p>"
 
80
    ;
82
81
    $categories = BoincCategory::enum("is_helpdesk=0 order by orderID");
83
82
}
84
83
$first = true;
85
84
foreach ($categories as $category) {
86
85
    if ($first) {
87
86
        $first = false;
88
 
        echo "<p>";
 
87
        echo "<p>";
89
88
        show_forum_title($category, NULL, NULL);
90
89
        echo "<p>";
91
90
        show_mark_as_read_button($user);
92
 
        start_forum_table(
93
 
            array(tra("Topic"), tra("Threads"), tra("Posts"), tra("Last post"))
94
 
        );
 
91
        start_forum_table(array(
 
92
            tra("Topic"),
 
93
            tra("Threads"),
 
94
            tra("Posts"),
 
95
            tra("Last post")
 
96
        ));
95
97
    }
96
98
    if (strlen($category->name)) {
97
99
        echo '
138
140
flush();
139
141
BoincForumLogging::cleanup();
140
142
 
141
 
$cvs_version_tracker[]="\$Id: forum_index.php 17013 2009-01-25 12:17:24Z jbk $";  //Generated automatically - do not edit
 
143
$cvs_version_tracker[]="\$Id: forum_index.php 23018 2011-02-10 22:45:39Z davea $";  //Generated automatically - do not edit
142
144
?>