Browse Source

template and content modifications

pull/2/head
Mark (ilosuna) 12 years ago
parent
commit
653ef6cc8b
6 changed files with 7 additions and 12 deletions
  1. BIN
      cms/data/content.sqlite
  2. BIN
      cms/data/userdata.sqlite
  3. +1
    -2
      cms/lang/english.admin.lang.php
  4. +2
    -9
      cms/templates/admin/subtemplates/settings.inc.tpl
  5. +1
    -1
      cms/templates/default.tpl
  6. +3
    -0
      static/css/style.css

BIN
cms/data/content.sqlite View File


BIN
cms/data/userdata.sqlite View File


+ 1
- 2
cms/lang/english.admin.lang.php View File

@ -426,8 +426,7 @@ $lang['settings'] = 'Settings';
$lang['advanced_settings'] = 'Advanced settings';
$lang['settings_website_title'] = 'Website title';
$lang['settings_website_subtitle'] = 'Subtitle';
$lang['settings_website_footnote_1'] = 'Footnote 1';
$lang['settings_website_footnote_2'] = 'Footnote 2';
$lang['settings_author'] = 'Author';
$lang['settings_website_address'] = 'URL';
$lang['settings_email'] = 'E-mail';
$lang['settings_index_page'] = 'Main page';


+ 2
- 9
cms/templates/admin/subtemplates/settings.inc.tpl View File

@ -26,16 +26,9 @@
</div>
<div class="form-group">
<label for="website_footnote_1" class="col-md-2 control-label"><?php echo $lang['settings_website_footnote_1']; ?></label>
<label for="author" class="col-md-2 control-label"><?php echo $lang['settings_author']; ?></label>
<div class="col-md-6">
<input type="text" class="form-control" id="website_footnote_1" name="website_footnote_1" value="<?php echo htmlspecialchars($settings['website_footnote_1']); ?>" size="35">
</div>
</div>
<div class="form-group">
<label for="website_footnote_2" class="col-md-2 control-label"><?php echo $lang['settings_website_footnote_2']; ?></label>
<div class="col-md-6">
<input type="text" class="form-control" id="website_footnote_2" name="website_footnote_2" value="<?php echo htmlspecialchars($settings['website_footnote_2']); ?>" size="35">
<input type="text" class="form-control" id="author" name="author" value="<?php echo htmlspecialchars($settings['author']); ?>" size="35">
</div>
</div>


+ 1
- 1
cms/templates/default.tpl View File

@ -91,7 +91,7 @@
<?php if($gcb_1 && isset($gcb[$gcb_1])): ?>
<?php echo $gcb[$gcb_1]; ?>
<?php else: ?>
<p>&copy; <a href="http://phpsqlitecms.net">phpSQLiteCMS</a> 2013<br /><?php if($type!='news' && $type!='search' && $type!='notes') echo $lang['page_last_modified']; ?></p>
<p>&copy; 2013 <?php echo $settings['author']; ?><?php if($type!='news' && $type!='search' && $type!='notes'): ?><br /><?php echo $lang['page_last_modified']; ?><?php endif; ?><br />Powered by <a href="http://phpsqlitecms.net">phpSQLiteCMS</a></p>
<?php endif; ?>
</div>
</footer>


+ 3
- 0
static/css/style.css View File

@ -12,6 +12,9 @@ body.admin { padding-top: 50px; padding-bottom: 20px;margin-bottom: 20px;
header { padding:10px 0 10px 0; }
header ul { padding:20px 0 0 0; }
.heading { margin:0 0 30px 0; padding: 20px; background:#eee; border-radius:6px 6px 6px 6px; }
.heading h1 { margin:10px 0; }
.heading p { margin:20px 0 10px 0; font-size:18px; }
.topsep { margin:10px 0 15px 0; }
.main-content p,


Loading…
Cancel
Save