Some more accesskeys [kjell]

This commit is contained in:
Alexey Verkhovsky 2005-01-30 05:12:01 +00:00
parent 85bc93984d
commit d80d60243b
3 changed files with 4 additions and 4 deletions

View file

@ -13,10 +13,10 @@
<textarea name="content" style="width: 450px; height: 500px"><%= @page.content %></textarea> <textarea name="content" style="width: 450px; height: 500px"><%= @page.content %></textarea>
</p> </p>
<p> <p>
<input type="submit" value="Update" /> as <input type="submit" value="Submit" accesskey="s"/> as
<input type="text" name="author" id="authorName" value="<%= @author %>" <input type="text" name="author" id="authorName" value="<%= @author %>"
onClick="this.value == 'AnonymousCoward' ? this.value = '' : true" /> onClick="this.value == 'AnonymousCoward' ? this.value = '' : true" />
| <a href="../cancel_edit/<%= @page.name %>">Cancel</a> <small>(unlocks page)</small> | <a href="../cancel_edit/<%= @page.name %>" accesskey="c">Cancel</a> <small>(unlocks page)</small>
</p> </p>
</form> </form>

View file

@ -11,7 +11,7 @@
<textarea name="content" style="width: 450px; height: 500px"></textarea> <textarea name="content" style="width: 450px; height: 500px"></textarea>
</p> </p>
<p> <p>
<input type="submit" value="Create" /> as <input type="submit" value="Submit" accesskey="s"/> as
<input type="text" name="author" id="authorName" value="<%= @author %>" onClick="this.value == 'AnonymousCoward' ? this.value = '' : true" /> <input type="text" name="author" id="authorName" value="<%= @author %>" onClick="this.value == 'AnonymousCoward' ? this.value = '' : true" />
</p> </p>
</form> </form>

View file

@ -48,7 +48,7 @@
<% end %> <% end %>
<small> <small>
| Views: <a href="../print/<%= @page.name %>">Print</a> | Views: <a href="../print/<%= @page.name %>" accesskey="p">Print</a>
<% if defined? RedClothForTex and RedClothForTex.available? and @web.markup == :textile %> <% if defined? RedClothForTex and RedClothForTex.available? and @web.markup == :textile %>
| <a href="../tex/<%= @page.name %>">TeX</a> | <a href="../pdf/<%= @page.name %>">PDF</a> | <a href="../tex/<%= @page.name %>">TeX</a> | <a href="../pdf/<%= @page.name %>">PDF</a>
<% end %> <% end %>