You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.8 KiB
71 lines
2.8 KiB
<?php $this->partial ('aside_configure'); ?> |
|
|
|
<div class="post"> |
|
<a href="<?php echo _url ('index', 'index'); ?>"><?php echo Translate::t ('back_to_rss_feeds'); ?></a> |
|
|
|
<datalist id="keys"> |
|
<?php foreach ($this->list_keys as $key) { ?> |
|
<option value="<?php echo $key; ?>"> |
|
<?php } ?> |
|
</datalist> |
|
|
|
<?php $s = $this->conf->shortcuts (); ?> |
|
|
|
<form method="post" action="<?php echo _url ('configure', 'shortcut'); ?>"> |
|
<legend><?php echo Translate::t ('shortcuts_management'); ?></legend> |
|
|
|
<noscript><p class="alert alert-error"><?php echo Translate::t ('javascript_for_shortcuts'); ?></p></noscript> |
|
|
|
<div class="form-group"> |
|
<label class="group-name" for="mark_read"><?php echo Translate::t ('mark_read'); ?></label> |
|
<div class="group-controls"> |
|
<input type="text" id="mark_read" name="shortcuts[mark_read]" list="keys" value="<?php echo $s['mark_read']; ?>" /> |
|
<?php echo Translate::t ('shift_for_all_read'); ?> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group"> |
|
<label class="group-name" for="mark_favorite"><?php echo Translate::t ('mark_favorite'); ?></label> |
|
<div class="group-controls"> |
|
<input type="text" id="mark_favorite" name="shortcuts[mark_favorite]" list="keys" value="<?php echo $s['mark_favorite']; ?>" /> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group"> |
|
<label class="group-name" for="go_website"><?php echo Translate::t ('see_on_website'); ?></label> |
|
<div class="group-controls"> |
|
<input type="text" id="go_website" name="shortcuts[go_website]" list="keys" value="<?php echo $s['go_website']; ?>" /> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group"> |
|
<label class="group-name" for="next_entry"><?php echo Translate::t ('next_article'); ?></label> |
|
<div class="group-controls"> |
|
<input type="text" id="next_entry" name="shortcuts[next_entry]" list="keys" value="<?php echo $s['next_entry']; ?>" /> |
|
<?php echo Translate::t ('shift_for_last'); ?> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group"> |
|
<label class="group-name" for="prev_entry"><?php echo Translate::t ('previous_article'); ?></label> |
|
<div class="group-controls"> |
|
<input type="text" id="prev_entry" name="shortcuts[prev_entry]" list="keys" value="<?php echo $s['prev_entry']; ?>" /> |
|
<?php echo Translate::t ('shift_for_first'); ?> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group"> |
|
<label class="group-name" for="collapse_entry"><?php echo Translate::t ('collapse_article'); ?></label> |
|
<div class="group-controls"> |
|
<input type="text" id="collapse_entry" name="shortcuts[collapse_entry]" list="keys" value="<?php echo $s['collapse_entry']; ?>" /> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group form-actions"> |
|
<div class="group-controls"> |
|
<button type="submit" class="btn btn-important"><?php echo Translate::t ('save'); ?></button> |
|
<button type="reset" class="btn"><?php echo Translate::t ('cancel'); ?></button> |
|
</div> |
|
</div> |
|
</form> |
|
</div>
|
|
|