<ul id="nav_secondary">
	<li id="email_settings">
		<a href="<?php echo $this->moduleBaseUrl ?>/settings/webmail" title='global' tabindex="0">
			<span class="label"><?php print $this->translate('Webmail Settings')?></span>
		</a>
	</li>
	
		
			<!-- <li id="spam_settings">
				<a href="<?php echo $this->moduleBaseUrl ?>/settings/spam" title='spam' tabindex="0">
					<span class="label"><?php print $this->translate('Anti-Spam Settings')?></span>
				</a>
			</li> -->
			
    <?php if( false && $this->group['Carddav'] == '1' ): ?>
	<li id="abook_settings">
		<a href="<?php echo $this->moduleBaseUrl ?>/settings/abook" title='abook' tabindex="0">
			<span class="label"><?php print $this->translate('Contact Settings')?></span>
		</a>
	</li>
    <?php endif; ?>

    <?php if( $this->group['Calendar'] == '1' ): ?>
	<!--<li id="calendar_settings">
		<a href="<?php echo $this->moduleBaseUrl ?>/settings/calendar" title='calendar'>
			<span class="label"><?php print $this->translate('Calendar Settings')?></span>
		</a>
	</li>-->
    <?php endif; ?>
    
	<?php if($this->localDomain): ?>
	
		<?php if(Zend_Registry::get('config')->global['install_type'] == 'server'): ?>
		
		    <?php if (Zend_Registry::get('config')->exim['filter_sa_enable'] == '1' && $this->pluginCall('pluginImplements', 'anti-spam') == ''): ?>
				<!--
			<li id="spam_settings">
				<a href="<?php echo $this->moduleBaseUrl ?>/settings/spam" title='spam' tabindex="0">
					<span class="label"><?php print $this->translate('Anti-Spam Settings')?></span>
				</a>
			</li>
			-->
			<?php endif; ?>
			<?php if( Zend_Registry::get('config')->exim['enableMailFilters'] == '1') : ?>
			<li id="filter_settings">
				<a href="<?php echo $this->moduleBaseUrl ?>/settings/filters" title='filters' tabindex="0">
					<span class="label"><?php print $this->translate('Email Filters')?></span>
				</a>
			</li>
			<?php endif; ?>
		<?php endif; ?>
		
		<li id="mailoptions_settings">
			<a href="<?php echo $this->moduleBaseUrl ?>/settings/mail" title='mailoptions' tabindex="0">
				<span class="label"><?php print $this->translate('Mail Options')?></span>
			</a>
		</li>
		
		<?php if( !isset(Zend_Registry::get('config')->global['altUserPasswordChange']) || (isset(Zend_Registry::get('config')->global['altUserPasswordChange']) && Zend_Registry::get('config')->global['altUserPasswordChange'] != 'false')) :?>
		<li id="change_password">
			<a href="<?php echo $this->moduleBaseUrl ?>/settings/password" title='password' tabindex="0">
				<span class="label"><?php print $this->translate('Change Password')?></span>
			</a>
		</li>
		<?php endif; ?>
		
	<?php endif; ?>
	
	<?php /* if (Zend_Registry::get('config')->global['iosProfiles'] == '1'): ?>
		<li id="ios">
			<a href="<?php echo $this->moduleBaseUrl ?>/settings/ios" title='iOS Profile'>
				<span class="label"><?php print $this->translate('iOS Profile')?></span>
			</a>			
		</li>
	<?php endif; */ ?>


	<?php if( $this->ucsettings['SIPEnabled'] == true ) : ?>
	
		<li id="sip_settings">
			<a href="<?php echo $this->moduleBaseUrl ?>/settings/sipaccountsettings" title='sipaccountsettings' tabindex="0">
				<span class="label"><?php print $this->translate('Webphone Settings')?></span>
			</a>
		</li>
		
	<?php endif ?>

	<?php $this->pluginCall('renderMailSettingsNav'); ?>
</ul>


