Example #1
0
 value="2" name="icontype" id="icontype2" onclick="$('#iconsys').hide();$('#iconuser').show();" autocomplete="off"> 自定义上传</label>
					</div>
				</div>
				<div class="" id="iconsys" <?php 
    if ($category['icontype'] == 2) {
        ?>
 style="display:none;"<?php 
    }
    ?>
>
					<div class="form-group">
						<label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">系统图标</label>
						<div class="col-sm-8 col-xs-12">
							<div class="input-group"">
								<?php 
    echo tpl_form_field_icon('icon[icon]', $category['css']['icon']['icon']);
    ?>
							</div>
							<span class="help-block">导航的背景图标,系统提供了丰富的图标ICON。</span></div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">图标颜色</label>
						<div class="col-sm-8 col-xs-12">
							<?php 
    echo tpl_form_field_color('icon[color]', $category[css]['icon']['color']);
    ?>
							<span class="help-block">图标颜色,上传图标时此设置项无效</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">图标大小</label>
Example #2
0
						<input type="radio" value="2" name="icontype" id="define" autocomplete="off" <?php 
    if (!empty($item['fileicon'])) {
        ?>
 checked="checked" <?php 
    }
    ?>
 /> 自定义上传
					</label>
					<span class="help-block">请选择系统的默认图标或者自己上传图标</span>
				</div>
			</div>
			<div class="form-group system-icon">
				<label class="col-xs-12 col-sm-3 col-md-2 control-label">系统图标</label>
				<div class="col-sm-9 col-xs-12">
					<?php 
    echo tpl_form_field_icon('icon[icon]', $item['css']['icon']['icon']);
    ?>
					<span class="help-block">导航的背景图标,系统提供了丰富的图标ICON</span>
				</div>
			</div>
			<div class="form-group system-icon">
				<label class="col-xs-12 col-sm-3 col-md-2 control-label">图标颜色</label>
				<div class="col-sm-9 col-xs-12">
					<?php 
    echo tpl_form_field_color('icon[color]', $item['css']['icon']['color']);
    ?>
					<span class="help-block">图标颜色,上传图标时此设置项无效</span>
				</div>
			</div>
			<div class="form-group system-icon">
				<label class="col-xs-12 col-sm-3 col-md-2 control-label">图标大小</label>