Exemplo n.º 1
0
    /**
     * Permissions
     *
     * The output of the Permissions box in the settings page
     *
     * @return void
     */
    public function permissions()
    {
        ?>
		<h4><?php 
        _e('These settings will effect access to this plugins features', 'simple-links');
        ?>
</h4>
		<ul>
			<li><?php 
        _e('Hide Link Ordering from editors', 'simple-links');
        ?>
:
				<input type="checkbox" name="sl-hide-ordering" <?php 
        checked(get_option('sl-hide-ordering'));
        ?>
 value="1"/>
				<?php 
        simple_links_questions('SL-hide-ordering');
        ?>
			</li>
			<li><?php 
        _e('Show Simple Link Settings to editors', 'simple-links');
        ?>
:
				<input type="checkbox" name="sl-show-settings"
					<?php 
        checked(get_option('sl-show-settings'));
        ?>
 value="1"/>
				<?php 
        simple_links_questions('SL-show-settings');
        ?>
			</li>

		</ul>

	<?php 
    }
?>
 value="1"/>
		<?php 
simple_links_questions('SL-remove-links');
?>
	</li>
	<li>
		<div class="sl-updated" id="import-links-success" style="display:none">
			<p><?php 
_e('The links have been imported successfully', 'simple-links');
?>

			</p>
		</div>
		<div>
			<img id="sl-import-loading" style="display: none" src="<?php 
echo get_bloginfo('url');
?>
/wp-includes/js/thickbox/loadingAnimation.gif"/>
			<p>
				<?php 
submit_button(__('Import Links', 'simple-links'), 'secondary', 'sl-import-links', false);
?>
&nbsp;<?php 
simple_links_questions('SL-import-links');
?>
			</p>
		</div>
	</li>
</ul>