summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-09 06:34:43 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-09 06:34:43 +0000
commit9c185a9fa176f472cd9a708a9e1b14866cd71872 (patch)
tree19295c4c2cd7cfbb367f91c5220452b519c2f44b /UI
parent8f58174dbfdc741af29638d304c6b503dc31f214 (diff)
Menu fixes
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1547 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r--UI/login.html10
-rw-r--r--UI/menu/expanding.html12
2 files changed, 14 insertions, 8 deletions
diff --git a/UI/login.html b/UI/login.html
index c437c5dc..f2d99f76 100644
--- a/UI/login.html
+++ b/UI/login.html
@@ -59,7 +59,8 @@
<input class="login"
name="login" size="30"
value=""
- id="login" />
+ id="login"
+ accesskey="n" />
</div>
</div>
<div class="labelledinput">
@@ -74,13 +75,12 @@
type="password"
name="password"
size="30"
- id="password" />
+ id="password"
+ accesskey="p" />
</div>
</div>
</div>
- <input type="hidden" name="path" value="bin/mozilla" />
- <input type="hidden" name="js" value="" />
- <button type="submit" name="action" value="login"><?lsmb text('Login') ?></button>
+ <button type="submit" name="action" value="login" accesskey="l"><?lsmb text('Login') ?></button>
</div>
</div>
</form>
diff --git a/UI/menu/expanding.html b/UI/menu/expanding.html
index 7f57dad9..0854d59f 100644
--- a/UI/menu/expanding.html
+++ b/UI/menu/expanding.html
@@ -62,10 +62,16 @@
?>id=<?lsmb item.id
?>&open=<?lsmb open
?><?lsmb END ?>"
- <?lsmb IF item.module ?>
+ <?lsmb IF (item.module != 'menu.pl') &&
+ ('login.pl' != item.module) ?>
target = "main_window"
+ <?lsmb ELSIF ('New Window' == item.label) ?>
+ target = 'new'
+ <?lsmb ELSIF ('login.pl' == item.module) ?>
+ target = '_top'
<?lsmb END ?>
- <?lsmb IF item.menu ?>
+ <?lsmb IF item.menu &&
+ ('New Menu' != item.label) ?>
onclick="return SwitchMenu('<?lsmb item.id ?>')"
<?lsmb END ?>
class = "<?lsmb IF (item.menu && item.open)
@@ -75,7 +81,7 @@
id = "a_<?lsmb item.id ?>"
><?lsmb text(item.label) ?></a>
</div>
- <?lsmb IF item.menu ?>
+ <?lsmb IF item.menu && (item.label != 'New Window') ?>
<div id="sub_<?lsmb item.id ?>" class="submenu"
<?lsmb IF item.open ?>
style="display: block"