Skip to content

Commit

Permalink
Fix for issue #87: Add publication date for website type citation
Browse files Browse the repository at this point in the history
  • Loading branch information
mah0001 committed Jan 18, 2024
1 parent acd87f0 commit a007829
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions application/views/citations/edit_website.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,32 @@

<?php echo form_author_field("author",'Author(s)'); ?>

<div class="form-group">
<label for="data_accessed"><?php echo t('website_access_date');?></label>
<input name="data_accessed" type="text" id="data_accessed" size="10" maxlength="10" class="form-control" value="<?php echo get_form_value('data_accessed',isset($data_accessed) ? $data_accessed : ''); ?>"/>

<div class="row mt-3 mb-3">
<div class="col-md-6">
<div><label><?php echo t('publication_day_month_year');?></label></div>
<div class="form-inline">
<div class="form-group">
<div class="publications">
<input name="pub_day" placeholder="DD" class="form-control" type="text" size="2" maxlength="2" value="<?php echo get_form_value('pub_day',isset($pub_day) ? $pub_day: ''); ?>"/> /
<input name="pub_month" placeholder="MM" type="text" class="form-control" size="10" maxlength="20" value="<?php echo get_form_value('pub_month',isset($pub_month) ? $pub_month: ''); ?>"/> /
<input name="pub_year" placeholder="YYYY" type="text" class="form-control" size="4" maxlength="4" value="<?php echo get_form_value('pub_year',isset($pub_year) ? $pub_year: ''); ?>"/>
</div>
</div>
</div>
</div>

<div class="col-md-6">
<div class="form-group">
<label for="data_accessed"><?php echo t('website_access_date');?></label>
<input name="data_accessed" type="text" id="data_accessed" size="10" maxlength="10" class="form-control" value="<?php echo get_form_value('data_accessed',isset($data_accessed) ? $data_accessed : ''); ?>"/>
</div>
</div>

</div>



<div class="form-group">
<label for="url"><?php echo t('url');?></label>
<input name="url" type="text" id="url" size="50" class="form-control" value="<?php echo get_form_value('url',isset($url) ? $url : ''); ?>"/>
Expand Down

0 comments on commit a007829

Please sign in to comment.