2 /*=====================================================================*\
3 || ###################################################################
4 || # Blue Static ISSO Framework
5 || # Copyright ©2002-[#]year[#] Blue Static
7 || # This program is free software; you can redistribute it and/or modify
8 || # it under the terms of the GNU General Public License as published by
9 || # the Free Software Foundation; version [#]gpl[#] of the License.
11 || # This program is distributed in the hope that it will be useful, but
12 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 || # You should have received a copy of the GNU General Public License along
17 || # with this program; if not, write to the Free Software Foundation, Inc.,
18 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 || ###################################################################
20 \*=====================================================================*/
29 require_once('ISSO/PrinterElement.php');
30 require_once('ISSO/PrinterBaseElement.php');
31 require_once('ISSO/PrinterLabelElement.php');
32 require_once('ISSO/PrinterRootElement.php');
33 require_once('ISSO/PrinterRootElementPage.php');
34 require_once('ISSO/PrinterRootElementTable.php');
35 require_once('ISSO/PrinterRootElementForm.php');
36 require_once('ISSO/PrinterTableElement.php');
41 * This framework generates standard HTML through various functions. The purpose
42 * is generally so that things like the admin system can be created without templates.
45 * ISSO_PRINTER_DONE_HEADER - An internal constant that is used to check to see
46 * if the page header has already been printed
47 * ISSO_PRINTER_HIDE_SETUP - Will stop the page footer data (copyright and debug
48 * box) from being printed
49 * ISSO_PRINTER_NO_NAVIGATION - Do not show the navigation frame from ISSO.Printer.Navigation
52 * @copyright Copyright ©2002 - [#]year[#], Blue Static
59 // ###################################################################
61 * Creates a table row with a <textarea> as the value column
63 * @param string Label text
64 * @param string Name of the <textarea>
65 * @param string Value of the <textarea>
66 * @param integer Colspan attribute
67 * @param integer Number of rows in the <textarea>
68 * @param integer Number of colums in the <textarea>
69 * @param bool Whether or not to use monospacing font
70 * @param string Extra style attributes to apply to the <textarea>
72 public function row_textarea($label, $name, $value = '', $colspan = 2, $rows = 7, $cols = 50, $code = false
, $style = '')
74 $this->row_text($label, "<textarea name=\"$name\" class=\"" . ($code ?
'code' : 'input') . "\" rows=\"$rows\" cols=\"$cols\"" . ($style ?
' style="' . $style . '"' : '') . ">$value</textarea>", 'top', $colspan);
78 /*=====================================================================*\
79 || ###################################################################
82 || ###################################################################
83 \*=====================================================================*/