コード例 #1
0
ファイル: default.php プロジェクト: BillVGN/PortalPRP
		</div>
	<?php endif; ?>	
	<div id="j-main-container"<?php echo empty($this->sidebar) ? '' : ' class="span10"'; ?>>
		<div class="clr"> </div><!-- needed for some admin templates -->		
		<div class="fltlft">			
			<?php 			
			//message in jomsocial facebook plugin is installed and enabled
			if($this->check_jomsocial_facebook_plugin()){
				echo '<div class="rol_warning">';
				echo 'jomsocial facebook plugin might conflict with first login ';
				echo '<a href="http://www.pages-and-items.com/extensions/redirect-on-login/faqs?faqitem=config_jomsocial_facebook" target="_blank">?</a>';
				echo '</div>';
			}
							
			$tabs = array('options', 'frontend', 'backend');//compatibility with j2.5
			redirectonloginHelper::tab_set_start('rol_config', 'options', 1, $tabs); 
			redirectonloginHelper::tab_add('rol_config', 'options', JText::_('JOPTIONS')); 
			?>				
			<fieldset class="adminform pi_wrapper_nice">
				<legend class="pi_legend"><?php echo JText::_('JSTATUS'); ?></legend>				
				<table class="adminlist pi_table tabletop">				
					<tr>
						<td class="rol_nowrap" style="width: 250px;">
							<label class="hasTip required"><?php echo JText::_('COM_REDIRECTONLOGIN_STATUS'); ?> Redirect-on-Login</label>
						</td>
						<td>
							<input type="radio" name="enable_redirection" id="enable_yes" value="yes" <?php if($this->controller->rol_config['enable_redirection']=='yes'){echo $checked;}?> />
							<label for="enable_yes"><?php echo JText::_('JENABLED'); ?></label>	
							<br /><br />			
							<input type="radio" name="enable_redirection" id="enable_no" value="no" <?php if($this->controller->rol_config['enable_redirection']=='no'){echo $checked;}?> />
							<label for="enable_no"><?php echo JText::_('JDISABLED'); ?></label>
コード例 #2
0
ファイル: default.php プロジェクト: BillVGN/PortalPRP
</script>

<form action="" method="post" name="adminForm" id="adminForm">
	<?php if (!empty($this->sidebar)): ?>
		<div id="j-sidebar-container" class="span2">
			<?php echo $this->sidebar; ?>
		</div>
	<?php endif; ?>	
	<div id="j-main-container"<?php echo empty($this->sidebar) ? '' : ' class="span10"'; ?>>
		<div class="clr"> </div><!-- needed for some admin templates -->		
		<div class="fltlft">
			<h2 class="rol_h2"><?php echo JText::_('COM_REDIRECTONLOGIN_ACCESSLEVEL_REDIRECT').': '.$this->group_title; ?></h2>
			<?php 				
			$tabs = array('frontend', 'backend');//compatibility with j2.5
			redirectonloginHelper::tab_set_start('rol_level', 'frontend', 1, $tabs); 
			redirectonloginHelper::tab_add('rol_level', 'frontend', JText::_('COM_REDIRECTONLOGIN_FRONTEND')); 
			?>
			<fieldset class="adminform pi_wrapper_nice">
				<legend class="pi_legend"><?php echo JText::_('COM_REDIRECTONLOGIN_FRONTEND') ?></legend>
				<?php
				if($this->controller->rol_config['frontend_u_or_a']=='u'){
					echo '<div class="rol_fontsize rol_warning rol_padleft">';
					echo JText::_('COM_REDIRECTONLOGIN_NOT_SET_TO_ACCESSLEVELS').' <a href="index.php?option=com_redirectonlogin&view=configuration&tab=frontend">'.$this->controller->rol_strtolower(JText::_('COM_REDIRECTONLOGIN_CONFIGURATION')).'</a>.</div>';
				}
				?>
				<table class="adminlist pi_table tabletop">				
					<tr>
						<td class="rol_nowrap" style="width: 250px;">
							<label class="hasTip required"><?php echo JText::_('COM_REDIRECTONLOGIN_REDIRECT_TYPE_LOGIN'); ?></label>
						</td>
コード例 #3
0
ファイル: default.php プロジェクト: BillVGN/PortalPRP
	});	
}

</script>
<form action="" method="post" name="adminForm" id="adminForm">
	<?php if (!empty($this->sidebar)): ?>
		<div id="j-sidebar-container" class="span2">
			<?php echo $this->sidebar; ?>
		</div>
	<?php endif; ?>	
	<div id="j-main-container"<?php echo empty($this->sidebar) ? '' : ' class="span10"'; ?>>
		<div class="clr"> </div><!-- needed for some admin templates -->		
		<div class="fltlft">
			<?php 				
			$tabs = array('frontend', 'backend');//compatibility with j2.5
			redirectonloginHelper::tab_set_start('rol_allusers', 'frontend', 1, $tabs); 
			redirectonloginHelper::tab_add('rol_allusers', 'frontend', JText::_('COM_REDIRECTONLOGIN_FRONTEND')); 
			?>						
			<a name="frontend"></a>
			<fieldset class="adminform pi_wrapper_nice">
				<legend class="pi_legend"><?php echo JText::_('COM_REDIRECTONLOGIN_FRONTEND'); ?></legend>				
				<table class="adminlist pi_table tabletop">					
					<tr>
						<td style="width: 250px;">
							<label class="hasTip required"><?php echo JText::_('COM_REDIRECTONLOGIN_DEFAULT_REDIRECT_TYPE_LOGIN'); ?></label>
						</td>
						<td colspan="3">
							<?php echo JText::_('COM_REDIRECTONLOGIN_DEFAULT_REDIRECT_TYPE_INFO_FRONTEND'); ?>.
						</td>					
					</tr>
					<tr>