Exemplo n.º 1
0
?>
">
		<div class="ccm-pane-body">
			<?php 
echo $this->controller->token->output('update_search_index');
?>
			
			<h3><?php 
echo t('Indexing Method');
?>
</h3>
			<? $methods = array(
				'whitelist' => t('Whitelist: Selected areas are only areas indexed.'),
				'blacklist' => t('Blacklist: Every area but the selected areas are indexed.')
			);
			print $form->select('SEARCH_INDEX_AREA_METHOD', $methods, IndexedSearch::getSearchableAreaAction(), array('class'=>'xlarge'));?>
			
			<h3><?php 
echo t('Areas');
?>
</h3>

			<? foreach($areas as $a) { ?>
				<div><?php 
echo $form->checkbox('arHandle[]', $a, in_array($a, $selectedAreas));
?>
 <?php 
echo $a;
?>
</div>
			<? } ?>
Exemplo n.º 2
0
</div>
	<?php 
    }
    ?>
	
	<br/>
	
	<h2><?php 
    echo t('Area Indexing Method');
    ?>
</h2>
	<?php 
    $methods = array('whitelist' => t('Whitelist: Selected areas are only areas indexed.'), 'blacklist' => t('Blacklist: Every area but the selected areas are indexed.'));
    ?>
	<?php 
    print $form->select('SEARCH_INDEX_AREA_METHOD', $methods, IndexedSearch::getSearchableAreaAction());
    print '<br/>';
    print '<br/>';
    $ih = Loader::helper('concrete/interface');
    $b1 = $ih->button(t('Cancel'), $this->url('/dashboard/sitemap/search'), 'left');
    $b2 = $ih->submit(t('Save'), 'ccm-search-index-manage', 'right');
    print $ih->buttons($b1, $b2);
    ?>
	</form>
	</div>

<?php 
} else {
    ?>
	<h1><span><?php 
    echo t('Search Pages');