X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=planets%2Fplanets.php;h=d40e6c61a1b34ba1c92ea390c632e4a1820da122;hb=e452272dec8ed37d56585f0bd4861d3fb7d0a34a;hp=72698cb9b3e71ed1a67f6862b28baa192f8ebb6e;hpb=dfa4cfc7cde6c6f755beae5818fe3eee99724c5c;p=friendica-addons.git diff --git a/planets/planets.php b/planets/planets.php index 72698cb9..d40e6c61 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]; @@ -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 */