diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-06 14:17:37 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-06 14:17:37 +0000 |
commit | e9f261e51adcaa80429fe14b04ee277ab3124ce9 (patch) | |
tree | 6637cbf6a3917d29adcdffb4d1e8ab562050fd61 /mod/reportedcontent/views | |
parent | 44c6025cc9a1536a772bf74af8cc9c07b0efc8b6 (diff) | |
download | elgg-e9f261e51adcaa80429fe14b04ee277ab3124ce9.tar.gz elgg-e9f261e51adcaa80429fe14b04ee277ab3124ce9.tar.bz2 |
removed all main plugins from core - they now live in the plugins svn
git-svn-id: https://code.elgg.org/elgg/trunk@3422 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/views')
4 files changed, 0 insertions, 131 deletions
diff --git a/mod/reportedcontent/views/default/reportedcontent/css.php b/mod/reportedcontent/views/default/reportedcontent/css.php deleted file mode 100644 index 028542947..000000000 --- a/mod/reportedcontent/views/default/reportedcontent/css.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php
-
- /**
- * Elgg reported content CSS
- *
- * @package reportedcontent
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider <info@elgg.com>
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.org/
- */
-
-?>
\ No newline at end of file diff --git a/mod/reportedcontent/views/default/reportedcontent/form.php b/mod/reportedcontent/views/default/reportedcontent/form.php deleted file mode 100644 index 007858d04..000000000 --- a/mod/reportedcontent/views/default/reportedcontent/form.php +++ /dev/null @@ -1,73 +0,0 @@ -<?php
-
- /**
- * Elgg report content plugin form
- *
- * @package ElggReportContent
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider <info@elgg.com>
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.org/
- */
-
- $guid = 0;
- $title = get_input('title',"");
- $description = "";
- $address = get_input('address',"");
- if ($address == "previous")
- $address = $_SERVER['HTTP_REFERER'];
- $tags = array();
- $access_id = ACCESS_PRIVATE;
- $shares = array();
- $owner = $vars['user'];
-
-?>
-<div class="contentWrapper">
- <form action="<?php echo $vars['url']; ?>action/reportedcontent/add" method="post">
-
- <p>
- <label>
- <?php echo elgg_echo('reportedcontent:title'); ?>
- <?php
-
- echo elgg_view('input/text',array(
- 'internalname' => 'title',
- 'value' => $title,
- ));
-
- ?>
- </label>
- </p>
- <p>
- <label>
- <?php echo elgg_echo('reportedcontent:address'); ?>
- <?php
-
- echo elgg_view('input/url',array(
- 'internalname' => 'address',
- 'value' => $address,
- ));
-
- ?>
- </label>
- </p>
- <p class="longtext_editarea">
- <label>
- <?php echo elgg_echo('reportedcontent:description'); ?>
- <br />
- <?php
-
- echo elgg_view('input/longtext',array(
- 'internalname' => 'description',
- 'value' => $description,
- ));
-
- ?>
- </label>
- </p>
- <p>
- <input type="submit" value="<?php echo elgg_echo('reportedcontent:report'); ?>" />
- </p>
-
- </form>
-</div>
\ No newline at end of file diff --git a/mod/reportedcontent/views/default/reportedcontent/listing.php b/mod/reportedcontent/views/default/reportedcontent/listing.php deleted file mode 100644 index 3ba4f5a52..000000000 --- a/mod/reportedcontent/views/default/reportedcontent/listing.php +++ /dev/null @@ -1,39 +0,0 @@ -
-<?php
-
- echo "<div class=\"contentWrapper\">";
-
- if($vars['entity']){
-
- foreach($vars['entity'] as $report){
-
- //get the user making the report
- $user = get_user($report->owner_guid)->name;
- $user_url = get_user($report->owner_guid)->getURL();
-
- //find out if the report is current or archive
- if($report->state == 'archived'){
- $reportedcontent_background = "archived_report";
- }else{
- $reportedcontent_background = "active_report";
- }
-
- echo "<div class=\"reportedcontent_content {$reportedcontent_background}\">";
- echo "<p class=\"reportedcontent_detail\">";
- if($report->state != 'archived')
- echo "<a class=\"archive_report_button\" href=\"" . $vars['url'] . "action/reportedcontent/archive?item=" . $report->guid . "\">" . elgg_echo('reportedcontent:archive') . "</a>";
- echo "<a class=\"delete_report_button\" href=\"" . $vars['url'] . "action/reportedcontent/delete?item=" . $report->guid . "\" onclick=\"return confirm('" . elgg_echo('reportedcontent:areyousure') . "')\">" . elgg_echo('reportedcontent:delete') . "</a></p>";
- echo "<p class=\"reportedcontent_detail\"><b>" . elgg_echo('reportedcontent:by') . ": </b><a href=\"{$user_url}\">" . $user . "</a>, " . friendly_time($report->time_created) . "</p>";
- echo "<p class=\"reportedcontent_detail\"><b>" . elgg_echo('reportedcontent:objecttitle') . ": </b>" . $report->title . "</p>";
- echo "<p><a class=\"collapsibleboxlink\">" . elgg_echo('reportedcontent:moreinfo') . "</a></p>";
- echo "<div class=\"collapsible_box\">";
- echo "<p class=\"reportedcontent_detail\"><b>" . elgg_echo('reportedcontent:objecturl') . ": </b><a href=\"{$report->address}\">" . elgg_echo('reportedcontent:visit') . "</a></p>";
- echo "<p class=\"reportedcontent_detail\"><b>" . elgg_echo('reportedcontent:reason') . ": </b>" .$report->description . "</p>";
- echo "</div></div>";
-
-
- }
-
- }
- echo "</div>";
-?>
\ No newline at end of file diff --git a/mod/reportedcontent/views/default/reportedcontent/user_report.php b/mod/reportedcontent/views/default/reportedcontent/user_report.php deleted file mode 100644 index 6077ca620..000000000 --- a/mod/reportedcontent/views/default/reportedcontent/user_report.php +++ /dev/null @@ -1,6 +0,0 @@ -
-<p class="user_menu_profile">
-<?php
- echo "<a href=\"javascript:location.href='". $CONFIG->wwwroot . "mod/reportedcontent/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\">" . elgg_echo('reportedcontent:report') . "</a>";
-?>
-</p>
\ No newline at end of file |