Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1564 | Revision 1581 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1564 Revision 1568
Zeile 67... Zeile 67...
67
                    /* ######################################################################## */ /* Link entsprechend der Alias-Definition generieren.                        */
67
                    /* ######################################################################## */ /* Link entsprechend der Alias-Definition generieren.                        */
68
                    /* ######################################################################## */
68
                    /* ######################################################################## */
69
                    // Pfad ermitteln
69
                    // Pfad ermitteln
70
                    $buffer = array();
70
                    $buffer = array();
Zeile 71... Zeile 71...
71
 
71
 
Zeile 72... Zeile 72...
72
                    $dirLink = "/" . $zeile['id'] . "-" . $zeile["slug"] . "/";
72
                    $dirLink = "/directory/" . $zeile['id'] . "-" . $zeile["slug"] . "/";
73
 
73
 
74
 
74
 
Zeile 84... Zeile 84...
84
                    $subdirs = array();
84
                    $subdirs = array();
85
                    foreach ( $subdirC as $subdir )
85
                    foreach ( $subdirC as $subdir )
86
                    {
86
                    {
87
                        $subdirs[] = array(
87
                        $subdirs[] = array(
88
                            "id"   => $subdir["id"],
88
                            "id"   => $subdir["id"],
89
                            "link" => "/" . $subdir["id"] . "-" . $subdir['slug'] . "/",
89
                            "link" => "/directory/" . $subdir["id"] . "-" . $subdir['slug'] . "/",
90
                            "name" => $subdir["name"],
90
                            "name" => $subdir["name"],
91
                        );
91
                        );
92
                    }
92
                    }
93
                    $nav["sub"][] = array(
93
                    $nav["sub"][] = array(
94
                        "id"   => $zeile["id"],
94
                        "id"   => $zeile["id"],
Zeile 208... Zeile 208...
208
            }
208
            }
Zeile 209... Zeile 209...
209
 
209
 
210
            $dirs = self::with( 'directory' )->orderBy( "kennung" )->orderBy( "name" )->whereIn( "status", [ 0, 99 ] )->where( "directory_id", "=", $father )->where( 'articlemaster', '=', 0 )->get();
210
            $dirs = self::with( 'directory' )->orderBy( "kennung" )->orderBy( "name" )->whereIn( "status", [ 0, 99 ] )->where( "directory_id", "=", $father )->where( 'articlemaster', '=', 0 )->get();
211
            foreach ( $dirs as $cnt => $dir )
211
            foreach ( $dirs as $cnt => $dir )
212
            {
212
            {
213
                $dirLink = "/" . $dir["id"] . "-" . $dir["slug"] . "/";
213
                $dirLink = "/directory/" . $dir["id"] . "-" . $dir["slug"] . "/";
214
                if ( $dir["url"] )
214
                if ( $dir["url"] )
215
                {
215
                {
216
                    $dirLink = $dir["url"];
216
                    $dirLink = $dir["url"];
217
                }
217
                }