| Zeile 41... |
Zeile 41... |
| 41 |
if ( isset( $GLOBALS["INI"]["Navigation"]["showArtikelstamm"] ) )
|
41 |
if ( isset( $GLOBALS["INI"]["Navigation"]["showArtikelstamm"] ) )
|
| 42 |
{
|
42 |
{
|
| 43 |
$showArtikelstamm = true;
|
43 |
$showArtikelstamm = true;
|
| 44 |
}
|
44 |
}
|
| Zeile 45... |
Zeile 45... |
| 45 |
|
45 |
|
| Zeile 46... |
Zeile 46... |
| 46 |
$treebuffer = $this->with( 'directory' )->orderBy( "kennung" )->orderBy( "name" )->whereIn( "status", [ 0, 99 ] )->where( "directory_id", "=", $root )->get();
|
46 |
$treebuffer = $this->with( 'directory' )->orderBy( "kennung" )->orderBy( "name" )->whereIn( "status", [ 0, 99 ] )->where( "directory_id", "=", $root )->where( 'articlemaster', '=' , 0 )->get();
|
| 47 |
|
47 |
|
| 48 |
|
48 |
|
| Zeile 78... |
Zeile 78... |
| 78 |
|
78 |
|
| 79 |
/* ######################################################################## */ /* Ausgabe der Unterverzeichnisse */ /* ######################################################################## */
|
79 |
/* ######################################################################## */ /* Ausgabe der Unterverzeichnisse */ /* ######################################################################## */
|
| 80 |
// Container-Kopf
|
80 |
// Container-Kopf
|
| Zeile 81... |
Zeile 81... |
| 81 |
$_SESSION['navigation']['nav-zebra'] = $k;
|
81 |
$_SESSION['navigation']['nav-zebra'] = $k;
|
| 82 |
|
82 |
|
| 83 |
$subdirC = $this->with( 'directory' )->orderBy( "kennung" )->orderBy( "name" )->whereIn( "status", [ 0, 99 ] )->where( "directory_id", "=", $zeile["id"] )->get();
|
83 |
$subdirC = $this->with( 'directory' )->orderBy( "kennung" )->orderBy( "name" )->whereIn( "status", [ 0, 99 ] )->where( "directory_id", "=", $zeile["id"] )->where( 'articlemaster', '=', 0 )->get();
|
| 84 |
$subdirs = array();
|
84 |
$subdirs = array();
|
| 85 |
foreach ( $subdirC as $subdir )
|
85 |
foreach ( $subdirC as $subdir )
|
| 86 |
{
|
86 |
{
|
| Zeile 205... |
Zeile 205... |
| 205 |
if ( isset( $GLOBALS["INI"]["navigation"]["sqlErweiterung"] ) )
|
205 |
if ( isset( $GLOBALS["INI"]["navigation"]["sqlErweiterung"] ) )
|
| 206 |
{
|
206 |
{
|
| 207 |
$sql_erw .= " " . $GLOBALS["INI"]["navigation"]["sqlErweiterung"];
|
207 |
$sql_erw .= " " . $GLOBALS["INI"]["navigation"]["sqlErweiterung"];
|
| 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 )->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 = "/directory/" . $dir["id"] . "-" . $dir["slug"] . "/";
|
213 |
$dirLink = "/directory/" . $dir["id"] . "-" . $dir["slug"] . "/";
|
| 214 |
if ( $dir["url"] )
|
214 |
if ( $dir["url"] )
|