From e9f261e51adcaa80429fe14b04ee277ab3124ce9 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 6 Aug 2009 14:17:37 +0000 Subject: 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 --- .../views/default/reportedcontent/css.php | 13 ---- .../views/default/reportedcontent/form.php | 73 ---------------------- .../views/default/reportedcontent/listing.php | 39 ------------ .../views/default/reportedcontent/user_report.php | 6 -- 4 files changed, 131 deletions(-) delete mode 100644 mod/reportedcontent/views/default/reportedcontent/css.php delete mode 100644 mod/reportedcontent/views/default/reportedcontent/form.php delete mode 100644 mod/reportedcontent/views/default/reportedcontent/listing.php delete mode 100644 mod/reportedcontent/views/default/reportedcontent/user_report.php (limited to 'mod/reportedcontent/views/default') 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 @@ - - * @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 @@ - - * @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']; - -?> -
-
- -

- -

-

- -

-

- -

-

- -

- -
-
\ 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 @@ - -"; - - 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 "
"; - echo "

"; - if($report->state != 'archived') - echo "" . elgg_echo('reportedcontent:archive') . ""; - echo "" . elgg_echo('reportedcontent:delete') . "

"; - echo "

" . elgg_echo('reportedcontent:by') . ": " . $user . ", " . friendly_time($report->time_created) . "

"; - echo "

" . elgg_echo('reportedcontent:objecttitle') . ": " . $report->title . "

"; - echo "

" . elgg_echo('reportedcontent:moreinfo') . "

"; - echo "
"; - echo "

" . elgg_echo('reportedcontent:objecturl') . ": address}\">" . elgg_echo('reportedcontent:visit') . "

"; - echo "

" . elgg_echo('reportedcontent:reason') . ": " .$report->description . "

"; - echo "
"; - - - } - - } - echo ""; -?> \ 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 @@ - -

-wwwroot . "mod/reportedcontent/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\">" . elgg_echo('reportedcontent:report') . ""; -?> -

\ No newline at end of file -- cgit v1.2.3