Changeset c6fe5ae78b4e556ec49be2d448128b662815d2b6
- 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
| r0047196 |
rc6fe5ae |
|
| 293 | 293 | public String echoShortcut(Context context, Base base, int field, int building) { |
|---|
| 294 | 294 | org.hibernate.Session db = context.getDB(); |
|---|
| 295 | | |
|---|
| 296 | | String sess = context.getSession(); |
|---|
| 297 | | |
|---|
| | 295 | |
|---|
| 298 | 296 | StringBuilder result = new StringBuilder(200); |
|---|
| 299 | 297 | |
|---|
| … | … | |
| 322 | 320 | "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');\" " + |
|---|
| 323 | 321 | "onmouseout=\"return nd();\" " + |
|---|
| 324 | | "href=\"./ds?module=building&sess="+sess+"&col="+base.getId()+"&field="+field+"\">[WF]</a>"); |
|---|
| | 322 | "href=\"./ds?module=building&col="+base.getId()+"&field="+field+"\">[WF]</a>"); |
|---|
| 325 | 323 | } |
|---|
| 326 | 324 | else { |
|---|
| 327 | | result.append("<a class=\"back\" href=\"./ds?module=building&sess="+sess+"&col="+base.getId()+"&field="+field+"\">[WF]</a>"); |
|---|
| | 325 | result.append("<a class=\"back\" href=\"./ds?module=building&col="+base.getId()+"&field="+field+"\">[WF]</a>"); |
|---|
| 328 | 326 | } |
|---|
| 329 | 327 | |
|---|
| … | … | |
| 366 | 364 | org.hibernate.Session db = context.getDB(); |
|---|
| 367 | 365 | User user = (User)context.getActiveUser(); |
|---|
| 368 | | |
|---|
| 369 | | String sess = context.getSession(); |
|---|
| 370 | | |
|---|
| | 366 | |
|---|
| 371 | 367 | int produce = context.getRequest().getParameterInt("produce"); |
|---|
| 372 | 368 | int count = context.getRequest().getParameterInt("count"); |
|---|
| … | … | |
| 608 | 604 | echo.append(bPlanMap.get(ammo)); |
|---|
| 609 | 605 | } |
|---|
| 610 | | echo.append("<img style=\"vertical-align:middle\" src=\""+item.getPicture()+"\" alt=\"\" /><a class=\"forschinfo\" href=\"./ds?module=iteminfo&sess="+sess+"&action=details&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&action=details&item="+item.getID()+"\">"+item.getName()+"</a>"); |
|---|
| 611 | 607 | echo.append("</td>\n"); |
|---|
| 612 | 608 | |
|---|
| … | … | |
| 626 | 622 | echo.append("<input name=\"produce\" type=\"hidden\" value=\""+ammo.getId()+"\" />\n"); |
|---|
| 627 | 623 | echo.append("<input name=\"col\" type=\"hidden\" value=\""+base.getId()+"\" />\n"); |
|---|
| 628 | | echo.append("<input name=\"sess\" type=\"hidden\" value=\""+sess+"\" />\n"); |
|---|
| 629 | 624 | echo.append("<input name=\"field\" type=\"hidden\" value=\""+field+"\" />\n"); |
|---|
| 630 | 625 | echo.append("<input name=\"module\" type=\"hidden\" value=\"building\" />\n"); |
|---|