Browse Source

Update config

pull/436/head
danpros 4 years ago
parent
commit
1dd825ec11
2 changed files with 25 additions and 0 deletions
  1. +6
    -0
      system/admin/views/config-metatags.html.php
  2. +19
    -0
      system/admin/views/config-reading.html.php

+ 6
- 0
system/admin/views/config-metatags.html.php View File

@ -45,6 +45,12 @@ if (file_exists($config_file)) {
<input type="number" name="-config-description.char" class="form-control" id="description.char" value="<?php echo config('description.char');?>">
</div>
</div>
<div class="form-group row">
<label for="read.more" class="col-sm-2 col-form-label">Breadcrumb home text</label>
<div class="col-sm-10">
<input type="text" name="-config-breadcrumb.home" class="form-control" id="breadcrumb.home" value="<?php echo valueMaker(config('breadcrumb.home'));?>" placeholder="Home">
</div>
</div>
<br>
<h4>Sitemap</h4>
<hr>


+ 19
- 0
system/admin/views/config-reading.html.php View File

@ -32,6 +32,25 @@
</div>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Enable /blog URL</label>
<div class="col-sm-10">
<div class="col-sm-10">
<div class="form-check">
<input class="form-check-input" type="radio" name="-config-blog.enable" id="blog.enable1" value="true" <?php if (config('blog.enable') === 'true'):?>checked<?php endif;?>>
<label class="form-check-label" for="blog.enable1">
Enable
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="-config-blog.enable" id="blog.enable2" value="false" <?php if (config('blog.enable') === 'false'):?>checked<?php endif;?>>
<label class="form-check-label" for="blog.enable2">
Disable
</label>
</div>
</div>
</div>
</div>
<div class="form-group row">
<label for="posts.perpage" class="col-sm-2 col-form-label">Posts in front page show at most</label>
<div class="col-sm-10">


Loading…
Cancel
Save