From 946602e3d9d3127a1b8b2e4e1e5a7fc4036a0b6b Mon Sep 17 00:00:00 2001 From: Dylan Thiedeke Date: Wed, 8 Jul 2015 08:28:32 +1000 Subject: [PATCH 1/2] Add HTML code to planets.php as requested to match spec --- planets/planets.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/planets/planets.php b/planets/planets.php index 72698cb9b..a64b2abb0 100755 --- a/planets/planets.php +++ b/planets/planets.php @@ -146,12 +146,20 @@ function planets_settings(&$a,&$s) { /* Add some HTML to the existing form */ - $s .= '
'; + $s .= ''; + $s .= '

' . t('Planets') . '

'; + $s .= '
'; + $s .= ''; /* provide a submit button */ From e8a01cada181bde91d202460049c8c3678c044c3 Mon Sep 17 00:00:00 2001 From: Dylan Thiedeke Date: Wed, 8 Jul 2015 08:35:44 +1000 Subject: [PATCH 2/2] Fixed spelling for Kashyyk and Dagobah --- planets/planets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planets/planets.php b/planets/planets.php index a64b2abb0..d40e6c61a 100755 --- a/planets/planets.php +++ b/planets/planets.php @@ -92,7 +92,7 @@ function planets_post_hook($a, &$item) { * */ - $planets = array('Alderaan','Tatooine','Dagoba','Polis Massa','Coruscant','Hoth','Endor','Kamino','Rattatak','Mustafar','Iego','Geonosis','Felucia','Dantooine','Ansion','Artaru','Bespin','Boz Pity','Cato Neimoidia','Christophsis','Kashyyk','Kessel','Malastare','Mygeeto','Nar Shaddaa','Ord Mantell','Saleucami','Subterrel','Death Star','Teth','Tund','Utapau','Yavin'); + $planets = array('Alderaan','Tatooine','Dagobah','Polis Massa','Coruscant','Hoth','Endor','Kamino','Rattatak','Mustafar','Iego','Geonosis','Felucia','Dantooine','Ansion','Artaru','Bespin','Boz Pity','Cato Neimoidia','Christophsis','Kashyyyk','Kessel','Malastare','Mygeeto','Nar Shaddaa','Ord Mantell','Saleucami','Subterrel','Death Star','Teth','Tund','Utapau','Yavin'); $planet = array_rand($planets,1); $item['location'] = $planets[$planet];