From c8da52df68d737fde60b0efbdf7f18ec0030481d Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 12 Jan 2008 10:57:24 +0100 Subject: [PATCH 1/1] issue93, photo-index and reset-all via access key Signed-off-by: Andreas Unterkircher --- phpfspot.js | 8 ++++++++ themes/default/templates/index.tpl | 4 ++-- 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 @@