Location: PHPKode > projects > Anchor CMS > anchor-cms-0.9.1/install/views/metadata.php
<?php echo $header; ?>

<section class="content">
	<article>
		<h1>Site metadata</h1>

		<p>In order to personalise your Anchor blog, it's recommended you add some metadata about your site. This can all be changed at any time, though.</p>
	</article>

	<form method="post" action="<?php echo Uri::to('metadata'); ?>" autocomplete="off">
		<?php echo $messages; ?>

		<fieldset>
			<p>
				<label for="site_name">Site Name</label>
				<i>What’s your blog called?.</i>

				<input id="site_name" name="site_name" value="<?php echo Input::previous('site_name', 'My First Anchor Blog'); ?>">
			</p>

			<p>
				<label for="site_description">Site Description</label>
				<i>A little bit about you or your blog.</i>

				<textarea id="site_description" name="site_description"><?php echo Input::previous('site_description',
					'It&rsquo;s not just any blog. It&rsquo;s an Anchor blog.'); ?></textarea>
			</p>

			<p>
				<label for="site_path">Site Path</label>
				<i>Anchor’s folder. Change if this is wrong.</i>
				<input id="site_path" name="site_path" value="<?php echo Input::previous('site_path', $site_path); ?>">
			</p>

			<?php if(count($themes) > 1): ?>
			<p>
				<label for="theme">Theme</label>
				<i>Your Anchor theme.</i>
				<select id="theme" name="theme">
					<?php foreach($themes as $dir => $theme): ?>
					<option value="<?php echo $dir; ?>"><?php echo $theme['name']; ?> by <?php echo $theme['author']; ?></option>
					<?php endforeach; ?>
				</select>
			</p>
			<?php else: $theme = key($themes); ?>
			<input name="theme" type="hidden" value="<?php echo $theme; ?>">
			<?php endif; ?>

			<p>
				<label for="rewrite">Clean Urls</label>
				<i>Url rewiting</i>

			<?php if(mod_rewrite()): ?>

				<div class="more">Looks like you are running apache with <code>mod_rewrite</code> enabled.<br>
				The installer will create the htaccess for you.</div>

			<?php elseif(is_apache()): ?>

				<div class="more">Looks like you are running apache, but <code>mod_rewrite</code> is not enabled.</div>

				<div class="more"><input id="rewrite" name="rewrite" type="checkbox" value="1">
				Create the htaccess file for me anyway.</div>

			<?php elseif(is_cgi()): ?>

				<div class="more">Looks like you are running <code>PHP</code> as a fastcgi process.<br>
				You will have to setup your own url rewriting.</div>

			<?php endif; ?>
			</p>
		</fieldset>

		<section class="options">
			<a href="<?php echo uri_to('database'); ?>" class="btn quiet">&laquo; Back</a>
			<button type="submit" class="btn">Next Step &raquo;</button>
		</section>
	</form>
</section>

<?php echo $footer; ?>
Return current item: Anchor CMS