Changeset 315 for trunk/mapbender/http


Ignore:
Timestamp:
02/06/14 16:40:10 (10 years ago)
Author:
frank.jaeger
Message:

Feinschliff und Korrektur an Auskunft und Navigation

Location:
trunk/mapbender/http/nav
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/mapbender/http/nav/alkisnav.css

    r284 r315  
    11/* Style fuer ALKIS-Navigation  
    2         Version 
    3         2013-04-29      Abgleich Darstellung in IE/FF 
    4         2013-05-08  in Arbeit ... 
     2 Version 
     3  2013-04-29 Abgleich Darstellung in IE/FF 
     4  2013-05-15 EinrÃŒckungen vergrößert 
     5  2014-02-06 kosmetische Überarbeitung  
    56*/ 
    67body,p,a,.textfield,.sbutton    {font-family: Verdana, Arial, Helvetica, sans-serif;} 
    7 body            {font-size: 11px; color: #000000; margin: 0px; border: 0px;} 
    8 p                       {font-size: 10px;} 
     8body {font-size: 11px; color: #000000; margin: 0px; border: 0px;} 
     9p {font-size: 10px;} 
    910p.hilfe         {font-size:  9px; text-align: right; color: gray; padding-right: 3px;} /* Programmier-Hilfsfelder */ 
    1011p.start         {font-size:  9px; color: gray; padding: 2px; margin: 2px; border: 0px;} 
    11 p.nam           {font-size: 10px; border: 1px solid navy; padding: 3px; margin: 0px; color: maroon;} 
    12 p.err           {font-size: 11px; color: red;}  /* Fehler -> Anwender */ 
    13 p.dbg           {font-size: 10px; color: gray;} /* Debug -> Entwickler */ 
    14 p.ein, p.anz, p.blt     {font-size: 9px; text-align: right;}    /* Einleitung, Anzahl am Ende, BlÀttern weitere ... */ 
    15 p.ein   {color: navy; font-weight: bold;} 
    16 p.anz, p.blt    {color: purple;} 
     12p.nam {font-size: 10px; border: 1px solid navy; padding: 3px; margin: 0px; color: maroon;} 
     13p.err {font-size: 11px; color: red;} /* Fehler -> Anwender */ 
     14p.dbg {font-size: 10px; color: gray;} /* Debug -> Entwickler */ 
     15p.ein, p.anz, p.blt     {font-size: 9px; text-align: right;} /* Einleitung, Anzahl am Ende, BlÀttern weitere ... */ 
     16p.ein  {color: navy; font-weight: bold;} 
     17p.anz, p.blt {color: purple;} 
    1718 
    18 a                       {text-decoration: none;} 
    19 a:hover, a:active       {color: red;} 
    20 a.hislnk {color: gray; font-style: italic; text-align: right; padding-left: 50px;}      /* Link zur Historie */ 
     19a {text-decoration: none;} 
     20a:hover, a:active {color: red;} 
     21a.hislnk {color: gray; font-style: italic; text-align: right; padding-left: 50px;} /* Link zur Historie */ 
    2122a.hsnro {color: gray; font-style: italic;} /* HsNr ohne Haus */ 
    22 a.blt           {color: maroon; background-color: yellow;}      /* Link weitere ... */ 
     23a.blt {color: maroon; background-color: yellow;} /* Link weitere ... */ 
    2324 
    2425/* abgestuft eingerueckte Treffer in der Suche */ 
    25 div                     {margin: 0px; padding: 0px;} 
    26 div.back        {font-size: 10px; color: gray; border-bottom: 1px dotted gray;} 
     26div {margin: 0px; padding: 0px;} 
     27div.back {font-size: 10px; color: gray; border-bottom: 1px dotted gray;} 
    2728 
    28 div.ga          {color: fuchsia;        margin-left:  0px; margin-top: 6px;} /* GB-Amtsgericht */ 
    29 div.gm          {color: green;          margin-left:  0px; margin-top: 6px;} /* Gemeinde */ 
     29div.ga {color: fuchsia; margin-left: 0px; margin-top: 6px;} /* GB-Amtsgericht */ 
     30div.gm {color: green; margin-left: 0px; margin-top: 6px;} /* Gemeinde */ 
     31div.gk {color: black; margin-left: 7px; margin-top: 6px;} /* Gemarkung o. GB-Bezirk */ 
     32div.pe {color: black; margin-left: 7px; margin-top: 0px;} /* Person, Eigentuemer */ 
     33div.fl {color: olive; margin-left: 17px; margin-top: 4px;} /* Flur ()zw. Gemarkg und Flst.) */ 
     34div.gb {color: green; margin-left: 14px; margin-top: 3px;} /* Grundbuch */ 
     35div.gs {color: olive; margin-left: 21px; margin-top: 2px;} /* Grundstueck, BVNR */ 
     36div.fs {color: navy; margin-left: 28px; margin-top: 0px;} /* Flurstueck */ 
     37div.hi {color: gray; margin-left: 28px; margin-top: 0px;} /* Historie */ 
     38div.hn, p.hn    {color: gray; margin-left: 28px; margin-top: 0px;} /* Historie-Nachfolger */ 
    3039 
    31 div.gk          {color: black;          margin-left:  5px; margin-top: 6px;} /* Gemarkung o. GB-Bezirk */ 
    32 div.pe          {color: black;          margin-left:  5px; margin-top: 0px;} /* Person, Eigentuemer */ 
     40div.stu {color: maroon; font-size: 13px;} /* Strasse - Ueberschrift */ 
    3341 
    34 div.fl          {color: olive;          margin-left: 12px; margin-top: 4px;} /* Flur */ 
     42div.stl {color: maroon; font-size: 11px; margin-top: 3px; margin-left: 7px} /* Strasse - Liste */ 
    3543 
    36 div.gb          {color: green;          margin-left: 10px; margin-top: 3px;} /* Grundbuch */ 
    37  
    38 div.gs          {color: olive;          margin-left: 15px; margin-top: 2px;} /* Grundstueck, BVNR */ 
    39  
    40 div.fs          {color: navy;           margin-left: 20px; margin-top: 0px;} /* Flurstueck */ 
    41 div.hi          {color: gray;           margin-left: 20px; margin-top: 0px;} /* Historie */ 
    42 div.hn, p.hn    {color: gray;           margin-left: 20px; margin-top: 0px;} /* Historie-Nachfolger */ 
    43  
    44 div.stu         {color: maroon; font-size: 13px;} /* Strasse - Ueberschrift */ 
    45 div.stl         {color: maroon; font-size: 11px; margin-top: 3px;} /* Strasse - Liste */ 
    46  
    47 td.hsnr         {font-size: 11px; text-align: center; padding-left: 4px; padding-right: 4px;} /* Hausnummer */ 
    48 hr                              {color: silver; background-color: silver; height: 2px; border: 0px; width: 98%;} 
    49 dfn.title       {color: maroon; font-size: 10px; text-align: right; padding-left: 8px; padding-right: 4px;} 
    50 .aktuell                {background-color: #fdfbd0;} 
    51 .textfield      {border: 1px solid #990000; height: 20px; width: 140px; background: #FFFFFF;} 
    52 .sbutton                {font-size: 11px; font-weight: normal; border: solid 1px #000000; width: 22px; height: 20px; background: #6699FF;} 
    53 img                     {border: 0px;} /* Icons */ 
    54 img.nwlink      {border: 0px; margin: 0px; padding: 0px;} /* ..mit Link zum Buch-Nachweis */ 
    55 .letter         {cursor: pointer; font-weight: bold;} /* Liste Anfangsbuchstaben */ 
     44td.hsnr {font-size: 11px; text-align: center; padding-left: 4px; padding-right: 4px;} /* Hausnummer */ 
     45hr {color: silver; background-color: silver; height: 2px; border: 0px; width: 98%;} 
     46dfn.title {color: maroon; font-size: 10px; text-align: right; padding-left: 8px; padding-right: 4px;} 
     47.aktuell {background-color: #fdfbd0;} 
     48.textfield {border: 1px solid #990000; height: 20px; width: 140px; background: #FFFFFF;} 
     49.sbutton {font-size: 11px; font-weight: normal; border: solid 1px #000000; width: 22px; height: 20px; background: #6699FF;} 
     50img {border: 0px;} /* Icons */ 
     51img.nwlink {border: 0px; margin: 0px; padding: 0px;} /* ..mit Link zum Buch-Nachweis */ 
     52.letter {cursor: pointer; font-weight: bold;} /* Liste Anfangsbuchstaben */ 
    5653 
    5754/* Registertabs: ul in einem div id='tabs' */ 
     
    5956        margin-top: 0px; margin-left: 0px; margin-bottom: 20px; 
    6057        padding: 0px; width: 220px; text-align: left; border: 0px dashed #00aa00;} 
    61 div#tabs li { 
    62         cursor: pointer; 
    63         list-style: none; /* Eintraege NEBENeinander */ 
    64         float: left; 
    65         text-align: center; 
    66         background-color: #F9F9F9; 
    67         border: 1px solid #CCD5DE; 
    68         border-bottom-width: 1px; 
    69         vertical-align: text-bottom; 
    70         position: relative; 
     58div#tabs li {cursor: pointer; list-style: none; /* Eintraege NEBENeinander */ 
     59        float: left; text-align: center; background-color: #F9F9F9; 
     60        border: 1px solid #CCD5DE; border-bottom-width: 1px; 
     61        vertical-align: text-bottom; position: relative; 
    7162        background-image: url(./img/tab_bg_grau.gif); /* inaktive Tabs grau */ 
    72         background-repeat: repeat-x; 
    73         background-position: top left; 
    74         margin: 0 3px 0 0; 
    75         padding: 2px; 
    76 } 
     63        background-repeat: repeat-x; background-position: top left; 
     64        margin: 0 3px 0 0; padding: 2px;} 
    7765div#tabs li.aktiveTab { 
    7866        background-image: url(./img/tab_bg_rot.gif);  /* aktive Tabs rot */ 
  • trunk/mapbender/http/nav/alkisnav_eig.php

    r284 r315  
    33        2013-04-16 "import_request_variables" entfÀllt in PHP 5.4 
    44        2013-04-26      Ersetzen View "gemeinde_gemarkung" durch Tabelle "pp_gemarkung". 
    5                                         Stufe 2: GB *und* FS mit einem Klick anzeigen. 
    6                                         BlÀtterfunktion (Folgeseiten) fÃŒr lange Listen.  
    7                                         Function extern gemeinsam genutzt in _eig und _grd. 
    8                                         Dazu Var-Namen harmonisieren: $gb wird $blattgml. 
    9                                         ZurÃŒck-Link, Titel der Transaktion anzeigen. 
     5                                Stufe 2: GB *und* FS mit einem Klick anzeigen. 
     6                                BlÀtterfunktion (Folgeseiten) fÃŒr lange Listen.  
     7                                Function extern gemeinsam genutzt in _eig und _grd. 
     8                                Dazu Var-Namen harmonisieren: $gb wird $blattgml. 
     9                                ZurÃŒck-Link, Titel der Transaktion anzeigen. 
    1010        2013-04-29      Darstellung mit IE 
    1111        2013-05-07  Strukturierung des Programms, redundanten Code in Functions zusammen fassen 
    1212        2013-05-14  Hervorhebung aktuelles Objekt, Parameter "gbkennz" auswerten, 
    13                                         Title auch auf Icon, IE zeigt sonst alt= als Title dar. 
     13                                Title auch auf Icon, IE zeigt sonst alt= als Title dar. 
    1414*/ 
    1515$cntget = extract($_GET); 
     
    568568 
    569569// Quo Vadis? 
    570 if($blattgml != "") {           // FlurstÃŒcke zum Grundbuch 
     570if($blattgml != "") { // FlurstÃŒcke zum Grundbuch 
    571571 
    572572        // Das Programm hat sich selbst verlinkt aus einer Liste der GB zu einem EigentÃŒmer. 
    573573        // Wenn Parameter mitgegeben wurden, können diese fÃŒr einen "Link zurÃŒck" verwendet werden. 
    574574        $trans="Flurstücke zum Grundbuch"; 
    575         getFSbyGB(true);                                // mit BackLink 
    576  
    577 } elseif($person != "") {               // GrundbÃŒcher zur Person 
     575        getFSbyGB(true); // mit BackLink 
     576 
     577} elseif($person != "") { // GrundbÃŒcher zur Person 
    578578        // Das Programm hat sich selbst verlinkt aus einer Liste der Personen zu einer Suchmaske. 
    579579        if ($debug >= 2) {echo "\n<p class='dbg'>Gemeinde-Filter-Steuerung = '".$gfilter."'</p>";} 
    580580 
    581581        // Die Filtereinstellung beeinflusst die Such-Strategie: 
    582         if ($gfilter == 0) {                    // Keine Filterung auf "Gemeinde": große Datenmenge 
     582        if ($gfilter == 0) { // Keine Filterung auf "Gemeinde": große Datenmenge 
    583583                if ($kennztyp > 1) { 
    584584                        $trans = "Grundb&uuml;cher in ".$zgbbez." von .."; // Filter GB-Bez 
     
    592592                        getFSbyGB(false);       // Dann dazu auch gleich die Stufe 3 hinterher, aber ohne Backlink. 
    593593                } 
    594         } else {                                                // mit Filter auf Gemeinde: weniger Daten? 
     594        } else { // mit Filter auf Gemeinde: weniger Daten? 
    595595                if ($kennztyp > 1) { 
    596596                        #trans="Grundb. und Flurst. in ".$zgbbez." von .. "; // zu lang 
     
    600600                        $trans="Grundb. und Flurst. von .."; // der EigentÃŒmer steht darunter 
    601601                } 
    602                 getGBuFSbyPerson();             // Schritte 2+3 gleichzeitig, dabei Gemeinde-Filter auf Stufe 3 
    603         } 
    604  
    605 } elseif(isset($name)) {                // Suchbegriff aus Form: Suche nach Name 
     602                getGBuFSbyPerson(); // Schritte 2+3 gleichzeitig, dabei Gemeinde-Filter auf Stufe 3 
     603        } 
     604 
     605} elseif(isset($name)) { // Suchbegriff aus Form: Suche nach Name 
    606606 
    607607        $trans="Namensuche \"".$name."\""; 
    608         getEigByName();                                 // Suchen nach Namensanfang 
    609  
    610         if($person != "") {                     // genau EIN Treffer zum Namen 
     608        getEigByName(); // Suchen nach Namensanfang 
     609 
     610        if($person != "") { // genau EIN Treffer zum Namen 
    611611                if ($gfilter == 0) { 
    612612                        $trans="Grundb&uuml;cher zum Namen"; 
    613                         getGBbyPerson();                // Dann gleich das Grundbuch hinterher 
     613                        getGBbyPerson(); // Dann gleich das Grundbuch hinterher 
    614614                } else { 
    615615                        $trans="Grdb. und Flst. zum Namen"; 
  • trunk/mapbender/http/nav/alkisnav_fkt.php

    r284 r315  
    33        2013-05-07  Strukturierung des Programms, redundanten Code in Functions zusammen fassen 
    44        2013-05-14  Hervorhebung aktuelles Objekt, Title auch auf Icon, IE zeigt sonst alt= als Title dar. 
     5        2013-05-15  Function verlegt 
     6    2014-02-06  Korrektur zeile_person 
    57*/ 
    68 
     
    168170} 
    169171 
     172function zeile_gemeinde ($gmdnr, $gmdname, $aktuell) { 
     173        // Eine Zeile zu Gemeinde ausgeben, SchlÃŒssel und Name wird ÃŒbergeben 
     174        global $gkz, $gemeinde, $epsg; 
     175        $stadt=htmlentities($gmdname, ENT_QUOTES, "UTF-8"); 
     176        $bez=urlencode($gmdname); 
     177        if ($aktuell) {$cls=" aktuell";} 
     178        echo "\n<div class='gm".$cls."' title='Gemeinde'>"; 
     179                echo "\n\t\t<img class='nwlink' src='ico/Gemeinde.ico' width='16' height='16' alt='Stadt'>"; 
     180                echo " Gem. <a href='".$_SERVER['SCRIPT_NAME']."?gkz=".$gkz."&amp;gemeinde=".$gemeinde."&amp;epsg=".$epsg."&amp;gm=".$gmdnr."&amp;bez=".$bez."'>";               
     181                echo  " ".$stadt."</a> (".$gmdnr.")"; 
     182        echo "\n</div>"; 
     183        return; 
     184} 
     185 
    170186function zeile_flurstueck ($fs_gml, $fskenn, $x, $y, $gmkg, $flur, $aktuell) { 
    171187        // Zeile mit Icon (Link zum Buch-Nachweis) und Text (Link zum Positionieren) 
    172188        global $gkz, $gemeinde, $epsg, $auskpath, $scalefs; 
     189 
    173190        if ($aktuell) {$cls=" aktuell";} 
    174191        echo "\n<div class='fs".$cls."'>"; 
     
    197214function zeile_person ($persongml, $nachname, $vorname) { 
    198215        global $gkz, $gemeinde, $epsg, $auskpath; 
    199         // Zeile  P e r s o n   (oder Firma) 
     216        // Zeile  P e r s o n (oder Firma) 
    200217        $nnam=htmlentities($nachname, ENT_QUOTES, "UTF-8"); 
    201218        $namlnk=urlencode($nachname); 
    202219        $vnam=htmlentities($vorname, ENT_QUOTES, "UTF-8"); 
    203         // Link zur Auskunft Person ++ Icon differenzieren? Firma/Person 
     220        // Link zur Auskunft Person ++ Icon differenzieren nach Eigentuemerart? 
    204221 
    205222echo "<div class='pe'> 
    206         <a title='Nachweis' href='javascript:imFenster(\"".$auskpath."alkisnamstruk.php?gkz=".$gkz."&amp;gemeinde=".$gemeinde."&amp;gmlid=".$gml."\")'> 
     223        <a title='Nachweis' href='javascript:imFenster(\"".$auskpath."alkisnamstruk.php?gkz=".$gkz."&amp;gemeinde=".$gemeinde."&amp;gmlid=".$persongml."\")'> 
    207224                <img class='nwlink' src='ico/Eigentuemer.ico' width='16' height='16' alt='EIG' title='Nachweis'> 
    208225        </a>             
Note: See TracChangeset for help on using the changeset viewer.