A series of changes to push Elgg's approach to themes in a more CSS driven direction...
[elgg.git] / units / admin / display_content_flag_form.php
blobc91ff615f8589a5195eafc85f8be43622ca0faf2
1 <?php
3 global $page_owner;
5 if (logged_on && $page_owner != $_SESSION['userid']) {
7 $page_url = $_SERVER['REQUEST_URI'];
9 $run_result .= "<p>&nbsp;</p>";
10 $run_result .= "<form action=\"" . url . ltrim($page_url,"/") . "\" method=\"post\" >";
13 $run_result .= run("templates:draw", array(
14 'context' => 'flagContent',
15 'name' => "<h5>" . gettext("Flag content") . "</h5>",
16 'column1' => "<p>" . gettext("To mark this content as obscene or inappropriate, click the 'Flag' button and an administrator will view it in due course.") . "</p>",
17 'column2' => "<input type=\"submit\" value=\"" . gettext("Flag") . "\" /><input type=\"hidden\" name=\"action\" value=\"content:flag\" /><input type=\"hidden\" name=\"address\" value=\"$page_url\" />"
20 $run_result .= "</form>";