]> git.mxchange.org Git - friendica.git/blobdiff - addon/randplace/randplace.php
Update info comments in all plugins
[friendica.git] / addon / randplace / randplace.php
index d7ea65c9d23e0b2083b2c38bf50f25d6afdf301c..bae8e7c690dc059ada01b8f0e49f461cbe2e2fb3 100644 (file)
@@ -1,13 +1,12 @@
 <?php
-
-/**
- * Sample Friendika plugin/addon
- *
- * Addon Name: randplace
- *
- */
-
 /**
+ * Name: Random place
+ * Description: Sample Friendika plugin/addon. Set a random place when posting.
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ * 
+ * 
+ * 
  *
  * Addons are registered with the system in the
  * .htconfig.php file.
@@ -167,6 +166,7 @@ function randplace_settings(&$a,&$s) {
 
        /* Add some HTML to the existing form */
 
+       $s .= '<div class="settings-block">';
        $s .= '<h3>' . t('Randplace Settings') . '</h3>';
        $s .= '<div id="randplace-enable-wrapper">';
        $s .= '<label id="randplace-enable-label" for="randplace-checkbox">' . t('Enable Randplace Plugin') . '</label>';
@@ -175,6 +175,6 @@ function randplace_settings(&$a,&$s) {
 
        /* provide a submit button */
 
-       $s .= '<div class="settings-submit-wrapper" ><input type="submit" name="submit" class="settings-submit" value="' . t('Submit') . '" /></div>';
+       $s .= '<div class="settings-submit-wrapper" ><input type="submit" name="submit" class="settings-submit" value="' . t('Submit') . '" /></div></div>';
 
-}
\ No newline at end of file
+}