mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Contest Translations
This commit is contained in:
@@ -28,29 +28,31 @@
|
||||
|
||||
<form method="post" action="<?php echo site_url('contesting/edit/'); ?><?php echo $contest->id; ?>" name="edit_contest">
|
||||
<div class="form-group">
|
||||
<label for="contestnameInput">Contest Name</label>
|
||||
<label for="contestnameInput"><?php echo lang('contesting_contest_name'); ?></label>
|
||||
<input type="text" class="form-control" name="name" id="nameInput" aria-describedby="contestnameInputHelp" value="<?php if(set_value('name') != "") { echo set_value('name'); } else { echo $contest->name; } ?>" required>
|
||||
<small id="contestnameInputHelp" class="form-text text-muted">Name of Contest</small>
|
||||
<small id="contestnameInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_name_of_contest'); ?></small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="adifnameInput">ADIF Contest Name</label>
|
||||
<label for="adifnameInput"><?php echo lang('admin_contest_name_adif'); ?></label>
|
||||
<input type="text" class="form-control" name="adifname" id="adifnameInput" aria-describedby="adifnameInputHelp" value="<?php if(set_value('adifname') != "") { echo set_value('adifname'); } else { echo $contest->adifname; } ?>">
|
||||
<small id="adifnameInputHelp" class="form-text text-muted">Name of Contest in ADIF-specification</small>
|
||||
<small id="adifnameInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_name_of_adif'); ?></small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="activeInput">Active</label>
|
||||
<label for="activeInput"><?php echo lang('admin_contest_menu_active'); ?></label>
|
||||
<select id="activeInput" class="form-control mode form-control-sm" name="active">
|
||||
<?php
|
||||
printf("<option value=\"1\" %s>active</option>", $contest->active==1?"selected=\"selected\"":"");
|
||||
printf("<option value=\"0\" %s>not active</option>", $contest->active==0?"selected=\"selected\"":"");
|
||||
?>
|
||||
</select>
|
||||
<small id="activeInputHelp" class="form-text text-muted">Set to active if to be listed in Contest-list</small>
|
||||
<option value="1" <?php echo $contest->active == 1 ? "selected=\"selected\"" : ""; ?>>
|
||||
<?php echo lang('admin_contest_menu_active'); ?>
|
||||
</option>
|
||||
<option value="0" <?php echo $contest->active == 0 ? "selected=\"selected\"" : ""; ?>>
|
||||
<?php echo lang('admin_contest_menu_n_active'); ?>
|
||||
</option>
|
||||
</select>
|
||||
<small id="activeInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_edit_active_hint'); ?></small>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-sm"><i class="fas fa-plus-square"></i> Update Contest</button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><i class="fas fa-plus-square"></i> <?php echo lang('admin_save'); ?></button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user