Location: PHPKode > projects > Netautor Professional > netautor/napro4/admin/docu/docu_menu.php
<?php
/* +----------------------------------------------------------------------+
   | Netautor Professional Application Server                             |
   +----------------------------------------------------------------------+
   | Copyright (C) 1998-2005 digiconcept GmbH. <www.digiconcept.net>      |
   +----------------------------------------------------------------------+
   | This file is subject to license, that is bundled with this package   |
   | in the file LICENSE.TXT, and is available at through the             |
   | world-wide-web at http://www.netautor.com/license/                   |
   |                                                                      |
   | If you did not receive a copy of the license and are unable to       |
   | obtain it through the world-wide-web, please send a note to          |
   | hide@address.com so we can mail you a copy.                      |
   +----------------------------------------------------------------------+
   | Authors: Stefan Rottensteiner <hide@address.com>    |
   |          Marek  Kadziela      <hide@address.com>	      |
   |          Gregor Wollner                                              |
   |          Christian Unger                                             |
   |          Helli  Kleinhans  									      |
   +----------------------------------------------------------------------+
   | @version	$Revision: 1.18 $										  |
   +----------------------------------------------------------------------+*/

	require_once('../../include/init.inc');

	$text	=	array	('de'	=> array	(	'german'			=> 'Deutsch',
												'english'			=> 'Englisch',
												'any_lang'			=> 'Jede Sprache',
												'show_deprecated'	=> 'Zeige alte Parameter'

											),
						 'en'	=> array	(	'german'			=> 'German',
						 						'english'			=> 'English',
												'any_lang'			=> 'Any language',
												'show_deprecated' 	=> 'Show old parameter'
											),
						 ''	=> array(	'german'			=> 'German',
						 				'english'			=> 'English',
										'any_lang'			=> 'Any language',
										'show_deprecated' 	=> 'Show old parameter'
									 )
						);

	if (empty($language)) $language='en';	/*HotFix : Is not allways be set by browser*/
	$function_name = strtolower($function_name);

	session_register('show_language');
	session_register('show_deprecated');
	session_register('NAPRO_APPLICATION_CACHE');

	if(isset($new_show_language))		  $show_language = ($new_show_language=='--' ? '' : $new_show_language);
	if (isset($new_show_deprecated[0]) )  $show_deprecated = ($new_show_deprecated[0]=='set' ? 'set' : '' );

	if (!isset($show_language)) $show_language = $language;

	if (empty($show_language)) $show_language='en';
	$GLOBALS['NAPRO_APPLICATION_CACHE']['APP_LANGUAGE'][0]=$show_language;

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<title>/digiconcept/netautor/documentation menu</title>

	<link rel="stylesheet" type="text/css" media="screen" href="../../include/docu.css">

</head>
<body bgcolor="#ffffff" marginwidth="10" marginheight="0" leftmargin="10" topmargin="0" class="bghead">

<table border="0" cellspacing="1" cellpadding="4" width="100%">
	<form action="docu_menu.php">
	<tr>
		<td align="left" valign="middle">
			<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td align="left" valign="center">
						<select name="new_show_language" onChange="this.form.submit();" class="select">
							<option <?php if ($show_language=='en') echo('selected');?>  value="en"	><?php echo (htmlentities($text[$show_language]['english'])); ?></option>			
							<option <?php if ($show_language=='de') echo('selected');?>  value="de"	><?php echo (htmlentities($text[$show_language]['german'])); ?></option>
						</select>
					</td>
					<td align="left" valign="center" class="menuhead">
						&nbsp;&nbsp;&nbsp;&nbsp;&raquo;&nbsp;<a class="menuhead" href="<?php echo($show_language)?>/install1.html"			target="docu_main">install</a><br>
					</td>
					<td align="left" valign="center" class="menuhead">
						&nbsp;&nbsp;&nbsp;&nbsp;&raquo;&nbsp;<a class="menuhead" href="<?php echo($show_language)?>/adm_frame.html"		target="docu_main">administration</a><br>
					</td>
					<td align="left" valign="center" class="menuhead">
						&nbsp;&nbsp;&nbsp;&nbsp;&raquo;&nbsp;<a class="menuhead" href="<?php echo($show_language)?>/general.html"			target="docu_main">general</a><br>
					</td>
					<td align="left" valign="center" class="menuhead">
						&nbsp;&nbsp;&nbsp;&nbsp;&raquo;&nbsp;<a class="menuhead" href="docu_main.html" 									target="docu_main">functions</a><br>
					</td>
					<td align="left" valign="center" class="menuhead">
					</td>
				</tr>
			</table>
			<img src="../grafik/pixel.gif" width="1" height="1"><br>
		</td>
		<td align="right" valign="top" width="100%">
			<table cellpadding="0" cellspacing="0" border="0" align="right">
				<tr>
					<td align="right" valign="middle">
						<script language="JavaScript">
							<!--
							// Bildaustauschen mit onMouseOut
							function MM_swapImgRestore() { //v3.0
							  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
							}
					
							function MM_findObj(n, d) { //v3.0
							  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
							    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
							  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
							  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
							}
							// Bildaustauschen mit onMouseOver
							function MM_swapImage() { //v3.0
							  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
							   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
							}
						//-->
						</script>
						<a href="mailto:hide@address.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('post','','../../grafik/feature_mail_on.gif',1)"><img src="../../grafik/feature_mail_off.gif" width="28" height="27" border="0" name="post" alt="Mail"></a><img src="../grafik/pixel.gif" width="6" height="1"><a href="http://www.netautor.com" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('www','','../../grafik/feature_www_on.gif',1)"><img src="../../grafik/feature_www_off.gif" width="28" height="27" border="0" name="www" alt="netautor.com"></a><br>
					</td>
					<td align="right" valign="top">
						<img src="../../grafik/na_logo_docu.gif" width="229" height="27"><br>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	</form>
</table>

</body>
</html>
Return current item: Netautor Professional