summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpfspot.js8
-rw-r--r--themes/default/templates/index.tpl4
2 files changed, 10 insertions, 2 deletions
diff --git a/phpfspot.js b/phpfspot.js
index 4bd321f..abf9c43 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -442,6 +442,14 @@ function keyDown(e) {
}
return;
}
+ if(key == 73 && evt.altKey && evt.ctrlKey) /* ctrl+alt+i */ {
+ showPhotoIndex();
+ return;
+ }
+ if(key == 82 && evt.altKey && evt.ctrlKey) /* ctrl+alt+r */ {
+ resetAll();
+ return;
+ }
}
}
diff --git a/themes/default/templates/index.tpl b/themes/default/templates/index.tpl
index 10459aa..be8ba6c 100644
--- a/themes/default/templates/index.tpl
+++ b/themes/default/templates/index.tpl
@@ -5,10 +5,10 @@
<div class="menu">
<div class="icons">
- <a href="javascript:showPhotoIndex();" onclick="click(this);" title="Show Photo Index">
+ <a href="javascript:showPhotoIndex();" onclick="click(this);" title="Show Photo Index (CTRL+ALT+i)">
<img src="resources/photo_index.png" alt="photo index" />
</a>
- <a href="javascript:resetAll();" onclick="click(this);" title="Reset selected-tags and search results">
+ <a href="javascript:resetAll();" onclick="click(this);" title="Reset selected-tags and search results (CTRL+ALT+r)">
<img src="resources/reload.png" alt="reset tags" />
</a>
<a href="javascript:showCredits();" onclick="click(this);" title="Show's a little credit page">