Exemple #1
0
Fossfactory-src is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with Fossfactory-src.  If not, see <http://www.gnu.org/licenses/>.
*/
$tab = scrub($_REQUEST["tab"]);
if (!$tab) {
    $tab = 'general';
}
apply_template("Feedback", array(array("name" => "Feedback", "href" => "feedback.php")));
?>
<h1>FOSS Factory Feedback</h1>
<p>
Please use these forums to discuss anything about the site.
You can also <a href="contact.php">contact us</a> by email or snail mail.
</p>
<?php 
include_once "tabs.php";
$tabs = array("general" => "General", "bugs" => "Bugs", "features" => "Feature Requests");
tab_header($tabs, "feedback.php", $tab, "general");
include_once "forum.php";
$forum = "feedback";
if ($tab != "general") {
    $forum .= "{$tab}";
}
show_forum($forum, $tabs[$tab]);
tab_footer();
Exemple #2
0
    include "retract.php";
    ?>
</div>
<?php 
}
?>
</div>
<a name="tabs"></a>
<?php 
include_once "tabs.php";
$tabs = array("requirements" => "Requirements", "subprojects" => "Bugs/Subprojects", "sponsors" => "Sponsors", "news" => "Activity", "submissions" => "Submissions", "start" => "Get Started");
list($rc, $disputes) = ff_getprojectdisputes($id);
if (!$rc && sizeof($disputes)) {
    $tabs["disputes"] = "Disputes";
}
tab_header($tabs, projurl($id), $tab, "requirements");
include_once "forum.php";
if ($tab == 'requirements') {
    print '<div style="font-size:small;color:#9c9d9d;text-align:center;padding-bottom:0.2em;font-style:italic">';
    print "Note: You can propose changes " . "using the forum below.</div>\n";
    print '<div class="spec">';
    //check if post has attachments
    if ($projinfo['numattachments'] > 0) {
        list($rc, $body) = ff_attachtoproject($projinfo['id'], formatText($projinfo["reqmts"]));
    } else {
        $body = formatText($projinfo["reqmts"]);
    }
    print $body;
    print '</div>';
    if ($projinfo['numattachments'] > 0) {
        print "<br>\n";
Exemple #3
0
    if ($rc == 9) {
        header("Location: {$GLOBALS['SITE_URL']}" . "account.php?tab=reserve&err=toomuch");
        exit;
    } else {
        if ($rc) {
            header("Location: {$GLOBALS['SITE_URL']}" . "account.php?tab=reserve&err=syserr");
            exit;
        }
    }
    header("Location: {$GLOBALS['SITE_URL']}" . "account.php?tab=reserve&err=success&amount={$amount}");
    exit;
}
apply_template("My Factory", array(array("name" => "My Factory", "href" => "account.php")), '', false, true);
include_once "tabs.php";
$tabs = array("duties" => "My Duties", "projects" => "My Projects", "prefs" => "Settings", "subscription" => "Monthly Sponsorship", "reserve" => "My Reserve", "drafts" => "Drafts");
tab_header($tabs, "account.php", $tab, "duties");
include_once "myprojectsfunc.php";
if ($tab == 'projects') {
    include_once "myprojects.php";
} else {
    if ($tab == 'duties') {
        include_once "myduties.php";
    } else {
        if ($tab == 'prefs') {
            include_once "prefs.php";
        } else {
            if ($tab == 'subscription') {
                include_once "subscription.php";
            } else {
                if ($tab == 'reserve') {
                    include_once "reserve.php";