From: Andreas Unterkircher Date: Sat, 12 Jan 2008 09:57:24 +0000 (+0100) Subject: issue93, photo-index and reset-all via access key X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=c8da52df68d737fde60b0efbdf7f18ec0030481d;hp=c9a7f083b220f2702f5de26e2252a4f3f4e0e45b issue93, photo-index and reset-all via access key Signed-off-by: Andreas Unterkircher --- 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 @@