Пример #1
0
)" target="_blank" title="<?php 
_e("For the help with Turkish translation", 'ure');
?>
" href="http://www.kartaca.com">Can KAYA</a>
                      <a class="ure_rsb_link" style="background-image:url(<?php 
echo URE_PLUGIN_URL . '/images/fullthrottle.png';
?>
)" target="_blank" title="<?php 
_e("For the code to hide administrator role", 'ure');
?>
" href="http://fullthrottledevelopment.com/how-to-hide-the-adminstrator-on-the-wordpress-users-screen">FullThrottle</a>
											<?php 
_e('Do you wish to see your name with link to your site here? You are welcome! Your help with translation and new ideas are very appreciated.', 'ure');
?>
									<?php 
ure_displayBoxEnd();
?>
						</div>
					</div>
          <div class="has-sidebar" >
            <form method="post" action="<?php 
echo URE_PARENT;
?>
?page=user-role-editor.php" onsubmit="return ure_onSubmit();">
              <?php 
settings_fields('ure-options');
?>

              <?php 
if ($ure_object == 'user') {
    require_once 'ure-user-edit.php';
Пример #2
0
		<?php ure_displayBoxStart(__('About this Plugin:', 'ure')); ?>
		<a class="ure_rsb_link" style="background-image:url(<?php echo $shinephpFavIcon; ?>);" target="_blank" href="http://www.shinephp.com/"><?php _e("Author's website", 'ure'); ?></a>
		<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . 'images/user-role-editor-icon.png'; ?>);" target="_blank" href="http://role-editor.com"><?php _e('Plugin webpage', 'ure'); ?></a>
		<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . 'images/changelog-icon.png'; ?>);" target="_blank" href="http://www.shinephp.com/user-role-editor-wordpress-plugin/#changelog"><?php _e('Changelog', 'ure'); ?></a>
		<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . 'images/faq-icon.png'; ?>);" target="_blank" href="http://www.shinephp.com/user-role-editor-wordpress-plugin/#faq"><?php _e('FAQ', 'ure'); ?></a>
		<hr />
		<div style="text-align: center;">
			<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
				<input type="hidden" name="cmd" value="_s-xclick">
				<input type="hidden" name="encrypted" 
							 value="-----BEG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GgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMTEyMTAwODU3MjdaMCMGCSqGSIb3DQEJBDEWBBSFh6YmkoVtYdMaDd5G6EN0dGcPpzANBgkqhkiG9w0BAQEFAASBgAB91K/+gsmpbKxILdCVXCkiOg1zSG+tfq2EZSNzf8z/R1E3HH8qPdm68OToILsgWohKFwE+RCwcQ0iq77wd0alnWoknvhBBoFC/U0yJ3XmA3Hkgrcu6yhVijY/Odmf6WWcz79/uLGkvBSECbjTY0GLxvhRlsh2nAioCfxAr1cFo-----END PKCS7-----">
				<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
				<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">                        
			</form>                        
		</div>
		<?php ure_displayBoxEnd(); ?>
	</div>

	<div class="has-sidebar" >
		<form id="ure_form" method="post" action="<?php echo URE_PARENT; ?>?page=user-role-editor.php" >
      <div id="ure_form_controls">
			<?php
			settings_fields('ure-options');
			?>
								
			<?php
			if ($ure_object == 'user') {
				require_once(URE_PLUGIN_DIR .'includes/ure-user-edit.php');
			} else {
				require_once(URE_PLUGIN_DIR .'includes/ure-role-edit.php');
			}