tokul преди 20 години
родител
ревизия
1c4d9b4997
променени са 2 файла, в които са добавени 7 реда и са изтрити 1 реда
  1. 4 1
      plugins/listcommands/functions.php
  2. 3 0
      plugins/listcommands/setup.php

+ 4 - 1
plugins/listcommands/functions.php

@@ -16,6 +16,9 @@
  * @subpackage listcommands
  */
 
+/**
+ * internal function that builds mailing list links
+ */
 function plugin_listcommands_menu_do() {
     global $passed_id, $passed_ent_id, $color, $mailbox, $message, $startMessage;
 
@@ -89,4 +92,4 @@ function listcommands_fieldsdescr() {
             'help'        => _("Help"));
 }
 
-?>
+?>

+ 3 - 0
plugins/listcommands/setup.php

@@ -25,6 +25,9 @@ function squirrelmail_plugin_init_listcommands () {
     $squirrelmail_plugin_hooks['read_body_header']['listcommands'] = 'plugin_listcommands_menu';
 }
 
+/**
+ * Main function added to read_body_header
+ */
 function plugin_listcommands_menu() {
     include_once(SM_PATH . 'plugins/listcommands/functions.php');
     plugin_listcommands_menu_do();