コード例 #1
0
ファイル: editor.php プロジェクト: avillaverdec/cacti
			<td><select name="mapstyle_arrowstyle">
			  <option <?php echo ($map->links['DEFAULT']->arrowstyle=='classic' ? 'selected' : '') ?> value="classic">Classic</option>
			  <option <?php echo ($map->links['DEFAULT']->arrowstyle=='compact' ? 'selected' : '') ?> value="compact">Compact</option>
			</select></td>
		  </tr>
		  <tr>
			<th>Node Font</th>
			<td><?php echo get_fontlist($map,'mapstyle_nodefont',$map->nodes['DEFAULT']->labelfont); ?></td>
		  </tr>
		  <tr>
			<th>Link Label Font</th>
			<td><?php echo get_fontlist($map,'mapstyle_linkfont',$map->links['DEFAULT']->bwfont); ?></td>
		  </tr>
		  <tr>
			<th>Legend Font</th>
			<td><?php echo get_fontlist($map,'mapstyle_legendfont',$map->keyfont); ?></td>
		  </tr>
		  <tr>
			<th>Font Samples:</th>
			<td><div class="fontsamples" ><img alt="Sample of defined fonts" src="?action=font_samples&mapname=<?php echo  $mapname?>" /></div><br />(Drawn using your PHP install)</td>
		  </tr>
		</table>
	  </div>

	  <div class="dlgHelp" id="mapstyle_help">
		Helpful text will appear here, depending on the current
		item selected. It should wrap onto several lines, if it's
		necessary for it to do that.
	  </div>
	</div><!-- Map Style -->
コード例 #2
0
ファイル: editor.php プロジェクト: setiseta/Weathermap
			<td><?php 
    echo get_fontlist($map, 'mapstyle_nodefont', $map->nodes['DEFAULT']->labelfont);
    ?>
</td>
		  </tr>
		  <tr>
			<th>Link Label Font</th>
			<td><?php 
    echo get_fontlist($map, 'mapstyle_linkfont', $map->links['DEFAULT']->bwfont);
    ?>
</td>
		  </tr>
		  <tr>
			<th>Legend Font</th>
			<td><?php 
    echo get_fontlist($map, 'mapstyle_legendfont', $map->keyfont);
    ?>
</td>
		  </tr>
		  <tr>
			<th>Font Samples:</th>
			<td><div class="fontsamples" ><img alt="Sample of defined fonts" src="?action=font_samples&mapname=<?php 
    echo $mapname;
    ?>
" /></div><br />(Drawn using your PHP install)</td>
		  </tr>
		</table>
	  </div>

	  <div class="dlgHelp" id="mapstyle_help">
		Helpful text will appear here, depending on the current