Changeset fed890a27561ed88e66a8e3b7ec311dd0693fe21

Show
Ignore:
Timestamp:
05/23/08 11:10:47 (3 months ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1211533847 +0200
git-parent:

[91559284cc965d5bc4bb284b11a817fd67399002]

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

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

Files:

Legend:

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

    r6f3057d rfed890a  
    8787        public String echoShortcut(Context context, Base base, int field, int building) { 
    8888                org.hibernate.Session db = context.getDB(); 
    89                  
    90                 String sess = context.getSession(); 
    91                                  
     89 
    9290                StringBuilder result = new StringBuilder(200); 
    9391                 
     
    9896                        werft.setBaseField(field); 
    9997                        if( !werft.isBuilding() ) { 
    100                                 result.append("<a class=\"back\" href=\"./ds?module=building&amp;sess="); 
    101                                 result.append(sess); 
     98                                result.append("<a class=\"back\" href=\"./ds?module=building"); 
    10299                                result.append("&amp;col="); 
    103100                                result.append(base.getId()); 
     
    144141                                result.append("_"); 
    145142                                result.append(field); 
    146                                 result.append("',REFY,22,NOJUSTY,FGCLASS,'gfxtooltip',BGCLASS,'gfxtooltip',TEXTFONTCLASS,'gfxtooltip',TIMEOUT,0,DELAY,150,WIDTH,430);\" onmouseout=\"return nd();\" href=\"./ds?module=building&amp;sess="); 
    147                                 result.append(sess); 
     143                                result.append("',REFY,22,NOJUSTY,FGCLASS,'gfxtooltip',BGCLASS,'gfxtooltip',TEXTFONTCLASS,'gfxtooltip',TIMEOUT,0,DELAY,150,WIDTH,430);\" onmouseout=\"return nd();\" href=\"./ds?module=building"); 
    148144                                result.append("&amp;col="); 
    149145                                result.append(base.getId()); 
     
    178174                org.hibernate.Session db = context.getDB(); 
    179175 
    180                 String sess = context.getSession(); 
    181176                StringBuilder response = new StringBuilder(500); 
    182177                                 
     
    185180                        .uniqueResult(); 
    186181                if( werft == null ) { 
    187                         response.append("<a href=\"./ds?module=basen&amp;sess="+sess+"\"><span style=\"color:#ff0000; font-weight:bold\">Fehler: Die angegebene Kolonie hat keine Werft</span></a>\n"); 
     182                        response.append("<a href=\"./ds?module=basen\"><span style=\"color:#ff0000; font-weight:bold\">Fehler: Die angegebene Kolonie hat keine Werft</span></a>\n"); 
    188183                        return response.toString(); 
    189184                }