コード例 #1
0
					<input name="funnybranding[smtp][smtp_is_html]" type="checkbox" <?php 
fyb_chkbx('smtp_is_html');
?>
 />
				</label>
			</td>
		</tr>
		
		
		<tr valign="top">
			<th class="titledesc" scope="row"> <label for="smtp_auth">SMTP Auth</label> </th>
			 
			<td class="forminp forminp-select"> 
				<label>
					<input name="funnybranding[smtp][smtp_auth]" type="checkbox" <?php 
fyb_chkbx('smtp_auth');
?>
 />
				</label>
				 
			</td>
		</tr>		
		<tr valign="top">
			<th class="titledesc" scope="row"> <label for="smtp_host">SMTP Host</label> </th>
			<td class="forminp forminp-select">
				<input id="smtp_host" class="regular-text" type="text" value="<?php 
funnyBranding_setting('smtp_host');
?>
" name="funnybranding[smtp][smtp_host]">
 			</td>
		</tr>		
コード例 #2
0
					<input name="funnybranding[general][footer_verison_hide]" type="checkbox" <?php 
fyb_chkbx('footer_verison_hide');
?>
   />
				</label>
					<p class="inline-block description">Removes version info from wp-admin and also from site meta_tag.</p>
			</td>
		</tr>

		
		<tr valign="top">
			<th class="titledesc" scope="row"> <label for="collapse_menu_bar">Collapse Menu Bar</label> </th>
			<td class="forminp forminp-select"> 
				<label>
					<input name="funnybranding[general][collapse_menu_bar]" type="checkbox" <?php 
fyb_chkbx('collapse_menu_bar');
?>
 /> 
				</label>
				<p class="inline-block description">Keep Right Menu Bar Closed.</p>
			</td>
		</tr>
 
		<tr valign="top">
			<th class="titledesc" scope="row"> </th>
			<td class="forminp forminp-select">
				<input id="general_update" class="button button-primary" type="submit" value="Save General Settings" name="save_changes">
			</td>
		</tr>
		
	</tbody>
コード例 #3
0
echo '<tr>';
echo '<td colspan="2">Add Post Status Colour</td>';
echo '</tr>';
echo '<tr>';
echo '<th>Status Name </th>';
echo '<th>Color </th>';
echo '</tr>';
echo '</thead>';
echo '<tbody>';
echo '<tr valign="top">';
echo '<td class="titledesc" scope="row"> <label for="smtp_is_html">Custom Post Status Color</label> </td>';
echo '<td colspan="2" class="forminp forminp-select"> ';
echo '<label>';
?>
                     <input class="ps_color_status" name="funnybranding[postpage][ps_color_status]" type="checkbox" <?php 
fyb_chkbx('ps_color_status');
?>
 />
                    <?php 
echo ' </label>';
echo '</td>';
echo '</tr> ';
foreach (get_post_stati() as $fyb_psK => $fyb_psV) {
    if ($fyb_psK == 'auto-draft' || $fyb_psK == 'inherit' || $fyb_psK == 'future') {
        continue;
    }
    echo '<tr class="' . $fyb_class . ' custom_post_status_color">';
    echo '<td>' . $fyb_psV . '</td>';
    echo '<td><input data-default-color="" value="' . @$fyb_ex_color[$fyb_psV] . '" type="text" name="funnybranding[postpage][ps_color][' . $fyb_psV . ']" class="post_status_color regular-text" /></td>';
    echo '</tr>';
}
コード例 #4
0
			<td class="forminp forminp-select">
 
				<textarea rows="5" cols="39" id="login_page_style" name="funnybranding[login][login_page_style]" class="regular-text"><?php 
echo funnyBranding_setting('login_page_style');
?>
</textarea>
				<p class="description">Enter your custom style for login page <br/> <strong>Note : </strong> Do not enter style code with <code>style tag</code></p>
				
			</td>
		</tr>
		<tr valign="top">
			<th class="titledesc" scope="row"> <label for="footer_verison_hide">Use jQuery In Login Page</label> </th>
			<td class="forminp forminp-select"> 
				<label>
					<input name="funnybranding[login][user_jquery_login_page]" type="checkbox" <?php 
fyb_chkbx('user_jquery_login_page');
?>
  /> 
				</label>
				<p class="inline-block description">add jQuery Library to WordPress Login page.</p>
			</td>
		</tr>		
		<tr valign="top">
			<th class="titledesc" scope="row"> <label for="login_page_script">Login Page Script </label> </th>
			<td class="forminp forminp-select">
 
				<textarea rows="5" cols="39" id="login_page_script" name="funnybranding[login][login_page_script]" class="regular-text"><?php 
echo funnyBranding_setting('login_page_script');
?>
</textarea>
				<p class="description">Enter your custom script for login page <br/> <strong>Note : </strong> Do not enter script code with <code>script tag</code></p>
コード例 #5
0
		<tr valign="top">
			<th class="titledesc" scope="row"> <label for="blogInfo">Blog Info Shortcode</label> </th>
			<td class="forminp forminp-select"> 
				<label>
					<input name="funnybranding[shortcode][blogInfo]" type="checkbox"  <?php 
fyb_chkbx('blogInfo');
?>
 />
				</label> 
				<p class="description">  How To Use : <code>[bloginfo key='name']</code>. <br/>
					For more Keys please refer <a href="http://codex.wordpress.org/Function_Reference/bloginfo">http://codex.wordpress.org/Function_Reference/bloginfo</a> 
				</p>
			</td>
		</tr>		
 
		<tr valign="top">
			<th class="titledesc" scope="row"> <label for="blogInfo">Get User IP</label> </th>
			<td class="forminp forminp-select"> 
				<label>
					<input name="funnybranding[shortcode][user_ip]" type="checkbox"  <?php 
fyb_chkbx('user_ip');
?>
 />
				</label> 
				<p class="description">  How To Use : <code>[show_ip]</code>.</p>
			</td>
		</tr>		
	</tbody>
</table>

<input id="general_update" class="button button-primary" type="submit" value="Save Shortcode Settings" name="save_changes">
コード例 #6
0
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/
defined('ABSPATH') or die("No script kiddies please!");
?>
<div id="mediaLib" class="tab tab-table hidden">
    <table class="tab-table">
        <tbody>  
            
            <tr valign="top">
                <th class="titledesc" scope="row"> <label for="smtp_is_html">Show Image Metadata in Library</label> </th>
                <td class="forminp forminp-select"> 
                    <label>
                        <input name="funnybranding[postpage][media_meta_info]" type="checkbox" <?php 
fyb_chkbx('media_meta_info');
?>
 />
                    </label>
                </td>
            </tr> 		 
 		       
        </tbody>
    </table>
     
        <tbody>
            <tr valign="top">
                <th class="titledesc" scope="row"> </th>
                <td class="forminp forminp-select">
                    <input id="general_update" class="button button-primary" type="submit" value="Save Media Library Settings" name="save_changes">
                </td>