Browse Source

Update the label

pull/457/head
danpros 4 years ago
parent
commit
21d9bbb9b9
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      system/admin/views/add-content.html.php
  2. +2
    -2
      system/admin/views/edit-content.html.php

+ 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> (SoundCloud <?php echo i18n('Only');?>)</label>
<label for="pAudio"><?php echo i18n('Featured_Audio');?> <span class="required">*</span></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> (Youtube <?php echo i18n('Only');?>)</label>
<label for="pVideo"><?php echo i18n('Featured_Video');?> <span class="required">*</span></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> (SoundCloud <?php echo i18n('Only');?>)</label>
<label for="pAudio"><?php echo i18n('Featured_Audio');?> <span class="required">*</span></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> (Youtube <?php echo i18n('Only');?>)</label>
<label for="pVideo"><?php echo i18n('Featured_Video');?> <span class="required">*</span></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>


Loading…
Cancel
Save