Module: nagvis
Branch: master
Commit: 978eb17a6784114ee849903df5d14ad78710f029
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=978eb17a6784114ee849903df5d14ad78710f029

Author: LaMi <[email protected]>
Date:   Fri Feb 19 20:38:15 2010 +0100

Not showing the WUI link when already in WUI

---

 share/userfiles/templates/default.header.html |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/share/userfiles/templates/default.header.html 
b/share/userfiles/templates/default.header.html
index 1fc8554..85902dd 100644
--- a/share/userfiles/templates/default.header.html
+++ b/share/userfiles/templates/default.header.html
@@ -43,8 +43,10 @@
                                        <li id="rotationStart" 
style="display:none"><a 
href="javascript:switchRotation()">{$langRotationStart}</a></li>
                                        <li id="rotationStop" 
style="display:inline"><a 
href="javascript:switchRotation()">{$langRotationStop}</a></li>
                                        {/if}
-                                       {if $mod == 'Map' && $permittedEdit == 
true}
+                                       {if $mod == 'Map' && $permittedEdit == 
true && $act != 'edit'}
                                        <li><a 
href="{$pathBase}/frontend/wui/index.php?mod=Map&amp;act=edit&amp;show={$currentMap}"
 class="underline">{$langEditMap}</a></li>
+                                       {else}
+                                       <li class="spacer underline"></li>
                                        {/if}
                                </ul>
                        </dd>


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to