Update html.formsms.class.php

This commit is contained in:
Philippe Grand 2018-09-15 21:34:55 +02:00 committed by GitHub
parent 51ba970eaf
commit 1d82825afa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,16 +88,17 @@ class FormSms
return 1;
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Show the form to input an sms.
*
* @param string $morecss Class on first column td
* @param int $showform Show form tags and submit button (recommanded is to use with value 0)
* @param string $morecss Class on first column td
* @param int $showform Show form tags and submit button (recommanded is to use with value 0)
* @return void
*/
// phpcs:ignore PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
function show_form($morecss='titlefield', $showform=1)
{
// phpcs:enable
global $conf, $langs, $user, $form;
if (! is_object($form)) $form=new Form($this->db);