HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/EvLuik/vanluiktegelwerken.nl/wwwroot/plugins/fhs_adminmenu/admin.php
<?php
/*
 * fhs_adminmenu
 */

/* utf8-marker = äöüß */ 

if (!defined('CMSIMPLE_XH_VERSION')) {
	header('HTTP/1.0 403 Forbidden');
	exit;
}

function fhs_adminmenu_info() {
	global $o, $pth;
	
	$o .= '<p style="text-align:right;"><img src="' . $pth['folder']['plugins'] . 'fhs_adminmenu/images/fhs_adminmenu_icon.png" alt="Application Icon" style="width: 302px; height: 107px;"></p>';
	$o .= '<h1>fhs_adminmenu 2.01</h1>';
	$o .= '<p>A alternative and full accessible Admin-Menu for CMSimple_XH <span style="color: #f60;"><strong>≥ 1.7</strong></span></p>';
	$o .= '<p>[1] = Access-Key to show/hide admin-menu (toggle)<br>[2] = Access-Key toggle Edit/Preview<br>[3] = Access-Key to show debug messages (if existent)<br>[4] = Access-Key for Logout</p>';
	$o .= '<p><strong>Hinweis</strong><br>';
	$o .= '<span style="color: #f60;">Für volle Funktionalität wird das Plugin FA_XH benötigt!</span><br>';
	$o .= '<h2>Thanks to</h2>';
	$o .= '<p><a target="_blank" href="http://3-magi.net/">Christoph</a> (cmb): basic Plugin-Code and helpful tips<br>';
	$o .= 'Bernd (isometric): basic Plugin-Configuration-Code<br>';
	$o .= '<a target="_blank" href="http://www.cmsimplexh.momadu.de/">Ludwig</a> (lck): helpful tips<br>';
	$o .= '<a href="http://www.cmsimple.sk/" target="_blank">Martin</a> (Tata): helpful tips and slovak translation<br>';
	$o .= '<a href="http://cmsimple.holgerirmler.de/" target="_blank">Holger</a>: function for sitemap in a selectbox</p>';
	$o .= '<hr style="border-color: #666;border-style: none none dotted;border-width: 0 0 1px;clear: both;height: 0;">';
	$o .= '<p style="clear:both;">&copy; 2019 <img src="' . $pth['folder']['plugins'] . 'fhs_adminmenu/images/fhs_logo.png" style="width:37px; height:42px;vertical-align: middle;" alt="fhs-Logo"> <a target="_blank" href="http://www.fhseidel.de">Frank H. Seidel</a>';
}

/*
 * Register the plugin menu items.
 */
if (function_exists('XH_registerStandardPluginMenuItems')) {
	XH_registerStandardPluginMenuItems(false);
}

if (function_exists('XH_wantsPluginAdministration') 
		&& XH_wantsPluginAdministration('fhs_adminmenu') 
		|| isset($fhs_adminmenu) && $fhs_adminmenu == 'true') {
			$o .= print_plugin_admin('off');
			switch ($admin) {
				case '':
				$o .= fhs_adminmenu_info();
			break;
				default:
				$o .= plugin_admin_common($action, $admin, 'fhs_adminmenu');
			}
		}