[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1547] trunk/UI



Revision: 1547
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1547&view=rev
Author:   einhverfr
Date:     2007-09-08 23:34:43 -0700 (Sat, 08 Sep 2007)

Log Message:
-----------
Menu fixes

Modified Paths:
--------------
    trunk/UI/login.html
    trunk/UI/menu/expanding.html

Modified: trunk/UI/login.html
===================================================================
--- trunk/UI/login.html	2007-09-08 23:44:34 UTC (rev 1546)
+++ trunk/UI/login.html	2007-09-09 06:34:43 UTC (rev 1547)
@@ -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>

Modified: trunk/UI/menu/expanding.html
===================================================================
--- trunk/UI/menu/expanding.html	2007-09-08 23:44:34 UTC (rev 1546)
+++ trunk/UI/menu/expanding.html	2007-09-09 06:34:43 UTC (rev 1547)
@@ -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"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.