Changeset c6fe5ae78b4e556ec49be2d448128b662815d2b6

Show
Ignore:
Timestamp:
05/22/08 18:48:53 (5 months ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1211474933 +0200
git-parent:

[e02edb82cc874a53fa278adf95eeb4455edaaa68]

git-author:
Christopher Jung <bktheg@web.de> 1211474933 +0200
Message:

[ref] Die Waffenfabrik fuegt nun kein sess mehr zu URLs hinzu

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/net/driftingsouls/ds2/server/bases/Waffenfabrik.java

    r0047196 rc6fe5ae  
    293293        public String echoShortcut(Context context, Base base, int field, int building) { 
    294294                org.hibernate.Session db = context.getDB(); 
    295                  
    296                 String sess = context.getSession(); 
    297                  
     295 
    298296                StringBuilder result = new StringBuilder(200); 
    299297                 
     
    322320                                        "onmouseover=\"return overlib('<span style=\\'font-size:13px\\'>"+StringEscapeUtils.escapeJavaScript(popup.toString())+"</span>',REF,'p"+base.getId()+"_"+field+"',REFY,22,NOJUSTY,TIMEOUT,0,DELAY,150,WIDTH,260,BGCLASS,'gfxtooltip',FGCLASS,'gfxtooltip',TEXTFONTCLASS,'gfxtooltip');\" " + 
    323321                                        "onmouseout=\"return nd();\" " + 
    324                                         "href=\"./ds?module=building&amp;sess="+sess+"&amp;col="+base.getId()+"&amp;field="+field+"\">[WF]</a>"); 
     322                                        "href=\"./ds?module=building&amp;col="+base.getId()+"&amp;field="+field+"\">[WF]</a>"); 
    325323                }  
    326324                else { 
    327                         result.append("<a class=\"back\" href=\"./ds?module=building&amp;sess="+sess+"&amp;col="+base.getId()+"&amp;field="+field+"\">[WF]</a>"); 
     325                        result.append("<a class=\"back\" href=\"./ds?module=building&amp;col="+base.getId()+"&amp;field="+field+"\">[WF]</a>"); 
    328326                } 
    329327         
     
    366364                org.hibernate.Session db = context.getDB(); 
    367365                User user = (User)context.getActiveUser(); 
    368                  
    369                 String sess = context.getSession(); 
    370                  
     366 
    371367                int produce = context.getRequest().getParameterInt("produce"); 
    372368                int count = context.getRequest().getParameterInt("count"); 
     
    608604                                echo.append(bPlanMap.get(ammo)); 
    609605                        } 
    610                         echo.append("<img style=\"vertical-align:middle\" src=\""+item.getPicture()+"\" alt=\"\" /><a class=\"forschinfo\" href=\"./ds?module=iteminfo&amp;sess="+sess+"&amp;action=details&amp;item="+item.getID()+"\">"+item.getName()+"</a>"); 
     606                        echo.append("<img style=\"vertical-align:middle\" src=\""+item.getPicture()+"\" alt=\"\" /><a class=\"forschinfo\" href=\"./ds?module=iteminfo&amp;action=details&amp;item="+item.getID()+"\">"+item.getName()+"</a>"); 
    611607                        echo.append("</td>\n"); 
    612608                         
     
    626622                        echo.append("<input name=\"produce\" type=\"hidden\" value=\""+ammo.getId()+"\" />\n"); 
    627623                        echo.append("<input name=\"col\" type=\"hidden\" value=\""+base.getId()+"\" />\n"); 
    628                         echo.append("<input name=\"sess\" type=\"hidden\" value=\""+sess+"\" />\n"); 
    629624                        echo.append("<input name=\"field\" type=\"hidden\" value=\""+field+"\" />\n"); 
    630625                        echo.append("<input name=\"module\" type=\"hidden\" value=\"building\" />\n");