2015-05-05 03:00:01 +02:00
|
|
|
<h2 class="title"><i class="fa fa-cogs"></i> Settings</h2>
|
|
|
|
|
|
|
|
<nav class="navbar nav-pills sublinks" data-tools="tabs" data-active="#general">
|
|
|
|
<ul>
|
|
|
|
<li class="active"><a href="#general">General</a></li>
|
|
|
|
<li><a href="#advanced">Advanced</a></li>
|
|
|
|
<li><a href="#regional">Regional</a></li>
|
|
|
|
<li><a href="#about">About</a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<!-- ===================================== -->
|
|
|
|
<!-- General Settings -->
|
|
|
|
<!-- ===================================== -->
|
|
|
|
|
|
|
|
<div id="general">
|
|
|
|
<form method="post" action="" class="forms">
|
|
|
|
<label>
|
|
|
|
Site title
|
|
|
|
<input type="text" name="title" class="width-50" value="<?php echo $Site->title() ?>">
|
2015-05-15 00:07:45 +02:00
|
|
|
<div class="forms-desc">Small and concise description of the field ???</div>
|
2015-05-05 03:00:01 +02:00
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
Site description
|
|
|
|
<input type="text" name="description" class="width-50" value="<?php echo $Site->description() ?>">
|
2015-05-15 00:07:45 +02:00
|
|
|
<div class="forms-desc">Small and concise description of the field ???</div>
|
2015-05-05 03:00:01 +02:00
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
Footer text
|
|
|
|
<input type="text" name="footer" class="width-50" value="<?php echo $Site->footer() ?>">
|
2015-05-15 00:07:45 +02:00
|
|
|
<div class="forms-desc">Small and concise description of the field ???</div>
|
2015-05-05 03:00:01 +02:00
|
|
|
</label>
|
|
|
|
|
|
|
|
<input type="submit" class="btn" value="Save" name="form-general">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ===================================== -->
|
|
|
|
<!-- Advanced Settings -->
|
|
|
|
<!-- ===================================== -->
|
|
|
|
<div id="advanced">
|
|
|
|
<form method="post" action="" class="forms">
|
|
|
|
<label for="postsperpage">
|
|
|
|
Posts per page
|
|
|
|
<select name="postsperpage" class="width-50">
|
|
|
|
<?php
|
|
|
|
$htmlOptions = array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5','6'=>'6','7'=>'7','8'=>'8');
|
|
|
|
foreach($htmlOptions as $text=>$value) {
|
|
|
|
echo '<option value="'.$value.'"'.( ($Site->postsPerPage()===$value)?' selected="selected"':'').'>'.$text.'</option>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
<div class="forms-desc">Number of posts you want to show on the home page.</div>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
Site URL
|
|
|
|
<input type="text" name="url" class="width-50" value="<?php echo $Site->url() ?>">
|
2015-05-15 00:07:45 +02:00
|
|
|
<div class="forms-desc">Small and concise description of the field ???</div>
|
2015-05-05 03:00:01 +02:00
|
|
|
</label>
|
|
|
|
|
|
|
|
<h4>Writting Settings</h4>
|
|
|
|
|
|
|
|
<ul class="forms-list">
|
|
|
|
<li>
|
|
|
|
<input type="checkbox" name="advancedOptions" id="advancedOptions" value="true" <?php echo $Site->advancedOptions()?'checked':'' ?>>
|
|
|
|
<label for="advancedOptions">Advanced options when writing.</label>
|
|
|
|
<div class="forms-desc">Add/edit friendly URL, description and tags.</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h4>URL Filters</h4>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
<div class="input-groups width-50">
|
|
|
|
<span class="input-prepend">Post</span><input type="text" name="uriPost" value="<?php echo $Site->uriFilters('post') ?>">
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
<div class="input-groups width-50">
|
|
|
|
<span class="input-prepend">Page</span><input type="text" name="uriPage" value="<?php echo $Site->uriFilters('page') ?>">
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
<div class="input-groups width-50">
|
|
|
|
<span class="input-prepend">Tag</span><input type="text" name="uriTag" value="<?php echo $Site->uriFilters('tag') ?>">
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<input type="submit" class="btn" value="Save" name="form-advanced">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ===================================== -->
|
|
|
|
<!-- Regional Settings -->
|
|
|
|
<!-- ===================================== -->
|
|
|
|
|
|
|
|
<div id="regional">
|
|
|
|
<form method="post" action="" class="forms" name="form-regional">
|
|
|
|
<label for="language">
|
|
|
|
Language
|
|
|
|
<select name="language" class="width-50">
|
|
|
|
<?php
|
2015-05-15 00:07:45 +02:00
|
|
|
$htmlOptions = array('English'=>'english');
|
2015-05-05 03:00:01 +02:00
|
|
|
foreach($htmlOptions as $text=>$value) {
|
|
|
|
echo '<option value="'.$value.'"'.( ($Site->language()===$value)?' selected="selected"':'').'>'.$text.'</option>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
2015-05-15 00:07:45 +02:00
|
|
|
<div class="forms-desc">Small and concise description of the field ???</div>
|
2015-05-05 03:00:01 +02:00
|
|
|
</label>
|
|
|
|
|
|
|
|
<label for="timezone">
|
|
|
|
Timezone
|
|
|
|
<select name="timezone" class="width-50">
|
2015-05-15 00:07:45 +02:00
|
|
|
<?php
|
|
|
|
$htmlOptions = Date::timezoneList();
|
|
|
|
foreach($htmlOptions as $text=>$value) {
|
|
|
|
echo '<option value="'.$value.'"'.( ($Site->timezone()===$value)?' selected="selected"':'').'>'.$text.'</option>';
|
|
|
|
}
|
|
|
|
?>
|
2015-05-05 03:00:01 +02:00
|
|
|
</select>
|
|
|
|
<div class="forms-desc">Select a timezone for a correct date/time display on your site.</div>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
Locale
|
|
|
|
<input type="text" name="locale" class="width-50" value="<?php echo $Site->locale() ?>">
|
2015-05-15 00:07:45 +02:00
|
|
|
<div class="forms-desc">Small and concise description of the field ???</div>
|
2015-05-05 03:00:01 +02:00
|
|
|
</label>
|
|
|
|
|
|
|
|
<input type="submit" class="btn" value="Save" name="form-regional">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ===================================== -->
|
|
|
|
<!-- About -->
|
|
|
|
<!-- ===================================== -->
|
|
|
|
|
|
|
|
<div id="about">
|
2015-05-15 00:07:45 +02:00
|
|
|
<p><i class="fa fa-pencil-square-o"></i> Bludit version <?php echo BLUDIT_VERSION.' ('.BLUDIT_RELEASE_DATE.')' ?></p>
|
2015-05-05 03:00:01 +02:00
|
|
|
</div>
|