Browse Source

Fix admin layout

pull/457/head
danpros 4 years ago
parent
commit
3a1a459119
4 changed files with 9 additions and 10 deletions
  1. +1
    -1
      COPYRIGHT.txt
  2. +2
    -2
      system/admin/views/add-content.html.php
  3. +2
    -2
      system/admin/views/edit-content.html.php
  4. +4
    -5
      system/admin/views/layout.html.php

+ 1
- 1
COPYRIGHT.txt View File

@ -1,4 +1,4 @@
Copyright (c) 2015-2021 Danang Probo Sayekti.
Copyright (c) 2014-2021 Danang Probo Sayekti.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by


+ 2
- 2
system/admin/views/add-content.html.php View File

@ -112,14 +112,14 @@ $( function() {
<br> <br>
<?php if ($type == 'is_audio'):?> <?php if ($type == 'is_audio'):?>
<label for="pAudio"><?php echo i18n('Featured_Audio');?> <span class="required">*</span></label>
<label for="pAudio"><?php echo i18n('Featured_Audio');?> <span class="required">*</span> (e.g Soundcloud)</label>
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postAudio)) { if (empty($postAudio)) { echo 'error';} } ?>" id="pAudio" name="audio"><?php if (isset($postAudio)) { echo $postAudio;} ?></textarea> <textarea rows="2" cols="20" class="form-control text <?php if (isset($postAudio)) { if (empty($postAudio)) { echo 'error';} } ?>" id="pAudio" name="audio"><?php if (isset($postAudio)) { echo $postAudio;} ?></textarea>
<input type="hidden" name="is_audio" value="is_audio"> <input type="hidden" name="is_audio" value="is_audio">
<br> <br>
<?php endif;?> <?php endif;?>
<?php if ($type == 'is_video'):?> <?php if ($type == 'is_video'):?>
<label for="pVideo"><?php echo i18n('Featured_Video');?> <span class="required">*</span></label>
<label for="pVideo"><?php echo i18n('Featured_Video');?> <span class="required">*</span> (e.g Youtube)</label>
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postVideo)) { if (empty($postVideo)) { echo 'error';} } ?>" id="pVideo" name="video"><?php if (isset($postVideo)) { echo $postVideo;} ?></textarea> <textarea rows="2" cols="20" class="form-control text <?php if (isset($postVideo)) { if (empty($postVideo)) { echo 'error';} } ?>" id="pVideo" name="video"><?php if (isset($postVideo)) { echo $postVideo;} ?></textarea>
<input type="hidden" name="is_video" value="is_video"> <input type="hidden" name="is_video" value="is_video">
<br> <br>


+ 2
- 2
system/admin/views/edit-content.html.php View File

@ -168,14 +168,14 @@ $( function() {
<br> <br>
<?php if ($type == 'is_audio'):?> <?php if ($type == 'is_audio'):?>
<label for="pAudio"><?php echo i18n('Featured_Audio');?> <span class="required">*</span></label>
<label for="pAudio"><?php echo i18n('Featured_Audio');?> <span class="required">*</span> (e.g Soundcloud)</label>
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postAudio)) { if (empty($postAudio)) { echo 'error';} } ?>" id="pAudio" name="audio"><?php echo $oldaudio; ?></textarea> <textarea rows="2" cols="20" class="form-control text <?php if (isset($postAudio)) { if (empty($postAudio)) { echo 'error';} } ?>" id="pAudio" name="audio"><?php echo $oldaudio; ?></textarea>
<input type="hidden" name="is_audio" value="is_audio"> <input type="hidden" name="is_audio" value="is_audio">
<br> <br>
<?php endif;?> <?php endif;?>
<?php if ($type == 'is_video'):?> <?php if ($type == 'is_video'):?>
<label for="pVideo"><?php echo i18n('Featured_Video');?> <span class="required">*</span></label>
<label for="pVideo"><?php echo i18n('Featured_Video');?> <span class="required">*</span> (e.g Youtube)</label>
<textarea rows="2" cols="20" class="form-control text <?php if (isset($postVideo)) { if (empty($postVideo)) { echo 'error';} } ?>" id="pVideo" name="video"><?php echo $oldvideo ?></textarea> <textarea rows="2" cols="20" class="form-control text <?php if (isset($postVideo)) { if (empty($postVideo)) { echo 'error';} } ?>" id="pVideo" name="video"><?php echo $oldvideo ?></textarea>
<input type="hidden" name="is_video" value="is_video"> <input type="hidden" name="is_video" value="is_video">
<br> <br>


+ 4
- 5
system/admin/views/layout.html.php View File

@ -2,11 +2,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title><?php echo $title;?></title>
<?php echo head_contents();?>
<title><?php echo $title;?></title>
<meta name="description" content="<?php echo $description; ?>"/>
<link rel="canonical" href="<?php echo $canonical; ?>" />
<link rel="stylesheet" href="<?php echo site_url() ?>system/resources/css/font-awesome.css"> <link rel="stylesheet" href="<?php echo site_url() ?>system/resources/css/font-awesome.css">
<link href="<?php echo site_url() ?>system/resources/css/adminlte.min.css" rel="stylesheet"> <link href="<?php echo site_url() ?>system/resources/css/adminlte.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">


Loading…
Cancel
Save