Example #1
0
?>
 value="<?php 
echo $post_type_name . '||||' . $type_object;
?>
" />
<input type="hidden" name="object_<?php 
wptouch_admin_the_encoded_setting_name();
?>
" id="<?php 
wptouch_admin_the_setting_name();
?>
"<?php 
if (wptouch_admin_is_post_type_checked()) {
    echo " checked";
}
if (wptouch_admin_is_setting_pro()) {
    echo ' disabled';
}
?>
 value="<?php 
echo $post_type_name . '||||' . $type_object;
?>
" />
<label class="checkbox" for="<?php 
wptouch_admin_the_setting_name();
?>
"><?php 
wptouch_admin_the_setting_desc();
?>
</label>
<?php 
Example #2
0
<input type="checkbox" class="checkbox" name="<?php 
wptouch_admin_the_encoded_setting_name();
?>
" id="<?php 
wptouch_admin_the_setting_name();
?>
"<?php 
if (wptouch_admin_is_setting_checked()) {
    echo " checked";
}
if (wptouch_admin_is_setting_pro() && defined('WPTOUCH_IS_FREE')) {
    echo ' disabled';
}
?>
 />
<label class="checkbox" for="<?php 
wptouch_admin_the_setting_name();
?>
"><?php 
wptouch_admin_the_setting_desc();
?>
</label>
<?php 
if (wptouch_admin_setting_has_tooltip()) {
    ?>
	<i class="wptouch-tooltip icon-info-sign" title="<?php 
    wptouch_admin_the_setting_tooltip();
    ?>
"></i>
<?php 
}