summaryrefslogtreecommitdiff
path: root/app/views/configure
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-01-03 00:01:29 -0500
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-01-03 00:01:29 -0500
commit7db271e95ebab52c31c78f51270de71af1d750d2 (patch)
tree6e8a825d6954b401b1cb7a2f7147747f1fcdd90a /app/views/configure
parentb4c477ca41a7ecaa6364dd6a97603829b14b11ef (diff)
Add a shortcut to open the share div. The default shortcut is "s".
Diffstat (limited to 'app/views/configure')
-rw-r--r--app/views/configure/shortcut.phtml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml
index 2e564a7b6..b0867f711 100644
--- a/app/views/configure/shortcut.phtml
+++ b/app/views/configure/shortcut.phtml
@@ -68,6 +68,13 @@
</div>
</div>
+ <div class="form-group">
+ <label class="group-name" for="auto_share_shortcut"><?php echo Minz_Translate::t ('auto_share'); ?></label>
+ <div class="group-controls">
+ <input type="text" id="auto_share_shortcut" name="shortcuts[auto_share]" list="keys" value="<?php echo $s['auto_share']; ?>" />
+ </div>
+ </div>
+
<div class="form-group form-actions">
<div class="group-controls">
<button type="submit" class="btn btn-important"><?php echo Minz_Translate::t ('save'); ?></button>