<td> wrapped around zero</td> </tr></table> </div> <div class="roundedCorner" id='tab5' style='display: none; margin-top: 30px; margin-left: 20px; width: 350px; height: 420px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/application_form.png' width='16' height='16' alt=''/></td> <td width='240'><b>Legend</b></td> <td width='20'><input type='checkbox' id='l_enabled' checked='checked' /></td> <td width='38'>Enabled</td> </tr></table> <br/> <table><tr> <td width='50'>Font</td> <td><select id='l_font'><?php listfonts("pf_arma_five"); ?> </select></td> <td> Size </td> <td><input type='text' id='l_font_size' value='6' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Color </td> <td><input type='text' id='l_font_color' class='color' value='#000000' style='text-align: center; width: 50px;' onchange='applyColor("l_font_color","l_font_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='l_font_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> </tr></table> <table><tr> <td width='50'>Margin</td> <td><input type='text' id='l_margin' value='6' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Alpha </td> <td><input type='text' id='l_alpha' value='30' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Format</td> <td> <select id='l_format'><?php
/** * Displays the fontsize of the label * * @param int $number */ function display_font($family, $size) { if ($family === '0') { $family = 'Arial.ttf'; } $text2display = ''; $text2display .= '<select name="font_family" size="1" style="width:130px">'; $text2display .= '<option value="-1">No Text</option>'; // List of all fonts available $f = listfonts(); $c = count($f); for ($i = 0; $i < $c; $i++) { $text2display .= '<option value="' . $f[$i] . '"'; if ($f[$i] === $family) { $text2display .= ' selected="selected"'; } $text2display .= '>' . $f[$i] . '</option>'; } $text2display .= '</select>'; $text2display .= ' '; $text2display .= '<input type="text" name="font_size" value="' . $size . '" size="3" style="width:30px" />'; return $text2display; }
<td><?php echo getInputTextHtml('scale', $scale, array('type' => 'number', 'min' => 1, 'max' => 3, 'required' => 'required')); ?> </td> </tr> <tr> <td><label for="rotation">Rotation</label></td> <td><?php echo getSelectHtml('rotation', $rotation, array(0 => 'No rotation', 90 => '90° clockwise', 180 => '180° clockwise', 270 => '270° clockwise')); ?> </td> </tr> <tr> <td><label for="font_family">Font</label></td> <td><?php echo getSelectHtml('font_family', $font_family, listfonts('../class')); ?> <?php echo getInputTextHtml('font_size', $font_size, array('type' => 'number', 'min' => 1, 'max' => 30)); ?> </td> </tr> <tr> <td><label for="text">Data</label></td> <td> <div class="generate" style="float: left"><?php echo getInputTextHtml('text', $text, array('type' => 'text', 'required' => 'required')); ?> <input type="submit" value="Generate" /></div> <div class="possiblechars" style="float: right; position: relative;"><a href="#" class="info characters"><img src="info.gif" alt="Help" /></a></div> </td>