aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/admin/statistics_opt/numentities.php3
-rw-r--r--views/default/input/checkboxes.php1
-rw-r--r--views/default/search/entity_list.php5
3 files changed, 7 insertions, 2 deletions
diff --git a/views/default/admin/statistics_opt/numentities.php b/views/default/admin/statistics_opt/numentities.php
index fc88a11a5..f0baeb76c 100644
--- a/views/default/admin/statistics_opt/numentities.php
+++ b/views/default/admin/statistics_opt/numentities.php
@@ -12,7 +12,8 @@
// Get entity statistics
- $entity_stats = get_entity_statistics();
+ $entity_stats = get_entity_statistics();
+ $even_odd = "";
?>
<div class="admin_statistics">
<h3><?php echo elgg_echo('admin:statistics:label:numentities'); ?></h3>
diff --git a/views/default/input/checkboxes.php b/views/default/input/checkboxes.php
index f45f37583..ff3ab8523 100644
--- a/views/default/input/checkboxes.php
+++ b/views/default/input/checkboxes.php
@@ -41,6 +41,7 @@
$label = $option;
}
+ $disabled = "";
if ($vars['disabled']) $disabled = ' disabled="yes" ';
echo "<label><input type=\"checkbox\" $disabled {$vars['js']} name=\"{$vars['internalname']}[]\" {$selected} value=\"".htmlentities($option, null, 'UTF-8')."\" {$selected} class=\"$class\" />{$label}</label><br />";
}
diff --git a/views/default/search/entity_list.php b/views/default/search/entity_list.php
index 7f9018b2f..8ceb0b139 100644
--- a/views/default/search/entity_list.php
+++ b/views/default/search/entity_list.php
@@ -7,7 +7,10 @@
$count = $vars['count'];
$baseurl = $vars['baseurl'];
$context = $vars['context'];
- $viewtype = $vars['viewtype'];
+ $viewtype = $vars['viewtype'];
+
+ $html = "";
+ $nav = "";
if (isset($vars['viewtypetoggle'])) {
$viewtypetoggle = $vars['viewtypetoggle'];