function WriteEleIssueSection($issue, $prevote, $person)
{
    print "<p class=\"sel\">";
    if (!$person || $person == "I") {
        print "I am ";
    } else {
        print "{$person} is ";
    }
    WriteEleSelectIssue($issue["dream_id"], $prevote);
    print $issue["action"];
    print "</p>\n";
}
Exemplo n.º 2
0
function WriteEleIssueSection($issue, $prevote, $person)
{
    //print "\n\n<div class=\"sissue\">\n";
    if (!$person || $person == "I") {
        print "I am ";
    } else {
        print "{$person} is ";
    }
    WriteEleSelectIssue($issue["dream_id"], $prevote);
    print $issue["action"];
    $issuestrengthid = "issue-strength-" . $issue["dream_id"];
    $checked = $prevote == "a" || $prevode == "e" ? " checked" : "";
    $inputtype = "type=\"checkbox\" id=\"{$issuestrengthid}\" value=\"strong\" onchange=\"UpdateCItable()\"{$checked}";
    print "<br/> (<input {$inputtype}> Very important</input>)\n";
    //print "</div>\n";
}
function WriteEleIssueSection($issue, $vpresel, $person, $vprintview)
{
    print "<p class=\"sel\">";
    if (!$person || $person == "I") {
        print "I am ";
    } else {
        print "{$person} is ";
    }
    if ($vprintview) {
        print "[<em>" . GetSelectIssuePrint($vpresel) . "</em>]";
    } else {
        WriteEleSelectIssue($issue["dream_id"], $vpresel);
    }
    print " " . $issue["action"];
    print "</p>\n";
}