From c5cc2821311012a8a4385a304a043c4b41f2afbb Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 31 Aug 2009 19:05:21 +0000 Subject: All line endings are now Unix-style. git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/logbrowser/adminlinks.php | 6 +- mod/logbrowser/views/default/logbrowser/form.php | 130 ++++++++++----------- mod/logbrowser/views/default/object/logwrapper.php | 94 +++++++-------- 3 files changed, 115 insertions(+), 115 deletions(-) (limited to 'mod/logbrowser/views') diff --git a/mod/logbrowser/views/default/logbrowser/adminlinks.php b/mod/logbrowser/views/default/logbrowser/adminlinks.php index abe83707d..e84e385ed 100644 --- a/mod/logbrowser/views/default/logbrowser/adminlinks.php +++ b/mod/logbrowser/views/default/logbrowser/adminlinks.php @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/mod/logbrowser/views/default/logbrowser/form.php b/mod/logbrowser/views/default/logbrowser/form.php index 2b0c78720..4a1e40d6a 100644 --- a/mod/logbrowser/views/default/logbrowser/form.php +++ b/mod/logbrowser/views/default/logbrowser/form.php @@ -1,66 +1,66 @@ - -
-username; - } else { - $userval = ""; - } - - - $form = ""; - - $form .= "

" . elgg_echo('logbrowser:user'); - $form .= elgg_view('input/text',array( - 'internalname' => 'search_username', - 'value' => $userval - )) . "

"; - - $form .= "

" . elgg_echo('logbrowser:starttime'); - $form .= elgg_view('input/text',array( - 'internalname' => 'timelower', - 'value' => $lowerval - )) . "

"; - - $form .= "

" . elgg_echo('logbrowser:endtime'); - $form .= elgg_view('input/text',array( - 'internalname' => 'timeupper', - 'value' => $upperval - )) . "

"; - $form .= elgg_view('input/submit',array( - 'value' => elgg_echo('search') - )); - - $wrappedform = elgg_view('input/form',array( - 'body' => $form, - 'method' => 'get', - 'action' => $vars['url'] . "mod/logbrowser/" - )); - - if ($upperval || $lowerval || $userval) { - $hidden = ""; - } else { - $hidden = "style=\"display:none\""; - } - -?> - -
>
-

- -

+ +
+username; + } else { + $userval = ""; + } + + + $form = ""; + + $form .= "

" . elgg_echo('logbrowser:user'); + $form .= elgg_view('input/text',array( + 'internalname' => 'search_username', + 'value' => $userval + )) . "

"; + + $form .= "

" . elgg_echo('logbrowser:starttime'); + $form .= elgg_view('input/text',array( + 'internalname' => 'timelower', + 'value' => $lowerval + )) . "

"; + + $form .= "

" . elgg_echo('logbrowser:endtime'); + $form .= elgg_view('input/text',array( + 'internalname' => 'timeupper', + 'value' => $upperval + )) . "

"; + $form .= elgg_view('input/submit',array( + 'value' => elgg_echo('search') + )); + + $wrappedform = elgg_view('input/form',array( + 'body' => $form, + 'method' => 'get', + 'action' => $vars['url'] . "mod/logbrowser/" + )); + + if ($upperval || $lowerval || $userval) { + $hidden = ""; + } else { + $hidden = "style=\"display:none\""; + } + +?> + +
>
+

+ +

\ No newline at end of file diff --git a/mod/logbrowser/views/default/object/logwrapper.php b/mod/logbrowser/views/default/object/logwrapper.php index bae5d4240..923ce7c52 100644 --- a/mod/logbrowser/views/default/object/logwrapper.php +++ b/mod/logbrowser/views/default/object/logwrapper.php @@ -1,50 +1,50 @@ -entry; - - $by = get_entity($entry->performed_by_guid); - $object = get_object_from_log_entry($entry->id); - - if (is_callable(array($object, 'getURL'))) - $obj_url = $object->getURL(); - - //echo elgg_view_listing($icon, $info); -?> - - - - - - -
- time_created ); ?> - - getURL()."\">{$by->name}"; - echo " guid}\">" . $by->guid . ""; - } - else echo " "; ?> - - - "; - echo "{$entry->object_class}"; - if ($obj_url) echo ""; - echo " " . $entry->object_id; - - ?> - -
- event); ?> -
-
+ * @link http://elgg.com/ + */ + + $entry = $vars['entity']->entry; + + $by = get_entity($entry->performed_by_guid); + $object = get_object_from_log_entry($entry->id); + + if (is_callable(array($object, 'getURL'))) + $obj_url = $object->getURL(); + + //echo elgg_view_listing($icon, $info); +?> + + + + + + +
+ time_created ); ?> + + getURL()."\">{$by->name}"; + echo " guid}\">" . $by->guid . ""; + } + else echo " "; ?> + + + "; + echo "{$entry->object_class}"; + if ($obj_url) echo ""; + echo " " . $entry->object_id; + + ?> + +
+ event); ?> +
+
\ No newline at end of file -- cgit v1.2.3