From d9b0196269eb808468b060461a7f84d9f6b692e9 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 14 Feb 2011 01:51:40 +0000 Subject: getting rid of some warnings in theme preview git-svn-id: http://code.elgg.org/elgg/trunk@8218 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/theme_preview/forms.php | 64 +++++++++++----------- .../views/default/theme_preview/header.php | 1 - 2 files changed, 32 insertions(+), 33 deletions(-) (limited to 'mod/developers/views/default') diff --git a/mod/developers/views/default/theme_preview/forms.php b/mod/developers/views/default/theme_preview/forms.php index 621f71b33..5550e51d4 100644 --- a/mod/developers/views/default/theme_preview/forms.php +++ b/mod/developers/views/default/theme_preview/forms.php @@ -14,7 +14,7 @@ $ipsum = elgg_get_config('tp_ipsum');
Form legend -

+

'f1', @@ -22,8 +22,8 @@ $ipsum = elgg_get_config('tp_ipsum'); 'value' => 'input text', )); ?> -

-

+

+
'f2', @@ -31,26 +31,26 @@ $ipsum = elgg_get_config('tp_ipsum'); 'value' => 'password', )); ?> -

-

+

+

'f3', 'internalid' => 'f3', - 'options' => array(1, 2), + 'options' => array('a' => 1, 'b' => 2), )); ?> -

-

+

+

'f4', 'internalid' => 'f4', - 'options' => array(1, 2), + 'options' => array('a' => 1, 'b' => 2), )); ?> -

-

+

+

'f5', @@ -58,8 +58,8 @@ $ipsum = elgg_get_config('tp_ipsum'); 'options' => array('option 1', 'option 2'), )); ?> -

-

+

+
'f6', @@ -67,16 +67,16 @@ $ipsum = elgg_get_config('tp_ipsum'); 'value' => ACCESS_PUBLIC, )); ?> -

-

+

+
'f7', 'internalid' => 'f7', )); ?> -

-

+

+
'f8', @@ -84,8 +84,8 @@ $ipsum = elgg_get_config('tp_ipsum'); 'value' => 'http://elgg.org/', )); ?> -

-

+

+
'f9', @@ -93,8 +93,8 @@ $ipsum = elgg_get_config('tp_ipsum'); 'value' => 'one, two, three', )); ?> -

-

+

+
'f10', @@ -102,8 +102,8 @@ $ipsum = elgg_get_config('tp_ipsum'); 'value' => 'noone@elgg.org', )); ?> -

-

+

+
'f11', @@ -111,24 +111,24 @@ $ipsum = elgg_get_config('tp_ipsum'); 'match_on' => 'users', )); ?> -

-

+

+
'f12', 'internalid' => 'f12', )); ?> -

-

+

+
'f13', 'internalid' => 'f13', )); ?> -

-

+

+
'f14', @@ -136,8 +136,8 @@ $ipsum = elgg_get_config('tp_ipsum'); 'value' => $ipsum, )); ?> -

-

+

+
'f15', @@ -145,7 +145,7 @@ $ipsum = elgg_get_config('tp_ipsum'); 'value' => $ipsum, )); ?> -

+
diff --git a/mod/developers/views/default/theme_preview/header.php b/mod/developers/views/default/theme_preview/header.php index 0aa12347a..8a4a80449 100644 --- a/mod/developers/views/default/theme_preview/header.php +++ b/mod/developers/views/default/theme_preview/header.php @@ -14,7 +14,6 @@ $url = current_page_url(); $title = elgg_echo("theme_preview:{$vars['page']}"); $index = array_search($vars['page'], $vars['pages']); -echo $index; $previous = '< previous'; if ($index > 0) { -- cgit v1.2.3