Exemple #1
0
    public static function display_backend()
    {
        ?>
		<fieldset>
			<legend><i class="fa fa-fw fa-newspaper-o"></i> <?php 
        echo ___('Graphic text mode settings');
        ?>
</legend>
			<p class="description"><?php 
        echo ___('Graphic text mode is a different with normal card list mode. It is mixed list with graphic and text.');
        ?>
</p>
			<table class="form-table">
				<tbody>
					<tr>
						<th><label for="<?php 
        echo __CLASS__;
        ?>
-enabled"><?php 
        echo ___('Enable or not?');
        ?>
</label></th>
						<td>
							<select name="<?php 
        echo __CLASS__;
        ?>
[enabled]" id="<?php 
        echo __CLASS__;
        ?>
-enabled" class="widefat">
								<?php 
        the_option_list(-1, ___('Disable'), self::get_options('enabled'));
        ?>
								<?php 
        the_option_list(1, ___('Enable'), self::get_options('enabled'));
        ?>
							</select>
						</td>
					</tr>
					<tr>
						<th><label for="<?php 
        echo __CLASS__;
        ?>
-cat-id"><?php 
        echo ___('Which category using?');
        ?>
</label></th>
						<td>
							<?php 
        theme_features::cat_option_list(__CLASS__, 'cat-id');
        ?>
						</td>
					</tr>
				</tbody>
			</table>
		</fieldset>

		<?php 
    }