Location: PHPKode > projects > Libretto: Web download manager > libretto/content/menu.php
<?
/*
 * Libretto - Web download manager.
 * Copyright (C) 2007 Jordi Pujol (jordi_pujolATtelefonicaDOTnet).
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any later
 * version.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * 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., 59 Temple
 * Place, Suite 330, Boston, MA 02111-1307 USA
 */

?>
<div id="menu">
<div id="menuinner" class="roundcornertopleft roundcornerbottomleft">
	&nbsp;<? echo t('menu'); ?>&nbsp;&nbsp;<select name="content" onchange="submit();"
	title="<? echo t('menu'); ?>">
		<option value="download" title="<? echo t('downloadstatus'); ?>"
		<? if ($content == 'download') echo ' selected="selected"'; ?>><? echo t('status'); ?>
		</option>
		<option value="adddownload" title="<? echo t('adddownload'); ?>"
		<? if ($content == 'adddownload') echo ' selected="selected"'; ?>><? echo t('add'); ?>
		</option>
		<? if ( ! $authrequire ||
		(isset($users[$user]['administrator']) && $users[$user]['administrator'] ) ) { ?>
		<option value="config" title="<? echo t('configlibretto'); ?>"
			<? if ($content == 'config') echo ' selected="selected"'; ?>><? echo t('configuration'); ?>
		</option>
		<? }; ?>
		<option value="help" title="<? echo t('helplibretto'); ?>"
		<? if ($content == 'help') echo ' selected="selected"'; ?>><? echo t('help'); ?>
		</option>
		<option value="about" title="<? echo t('aboutlibretto'); ?>"
		<? if ($content == 'about') echo ' selected="selected"'; ?>><? echo t('about'); ?>
		</option>
	</select>
</div>
</div>
Return current item: Libretto: Web download manager