@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $page = $_GET['page'] ?? 1; |
| 26 | 26 | $count = $_GET['count'] ?? Config::instance()->module('Shop')->items_per_page; |
| 27 | 27 | if ($Session->user()) { |
| 28 | - $orders = $Orders->get( |
|
| 28 | + $orders = $Orders->get( |
|
| 29 | 29 | $Orders->search( |
| 30 | 30 | [ |
| 31 | 31 | 'user' => $Session->get_user() |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | } |
| 322 | 322 | $filename = static::file_put_contents_with_hash($target_directory_path, 'js', $scripts_content); |
| 323 | 323 | // Add script with combined content file to the end |
| 324 | - $data .= "<script src=\"./$filename\"></script>"; |
|
| 324 | + $data .= "<script src=\"./$filename\"></script>"; |
|
| 325 | 325 | $not_embedded_resources[] = str_replace(getcwd(), '', "$target_directory_path/$filename"); |
| 326 | 326 | } else { |
| 327 | 327 | // Add combined content inline script to the end |
@@ -373,7 +373,7 @@ discard block |
||
| 373 | 373 | /** |
| 374 | 374 | * If content is link to CSS file |
| 375 | 375 | */ |
| 376 | - $css = static::css( |
|
| 376 | + $css = static::css( |
|
| 377 | 377 | file_get_contents("$dir/$url"), |
| 378 | 378 | "$dir/$url", |
| 379 | 379 | $target_directory_path, |
@@ -24,8 +24,7 @@ |
||
| 24 | 24 | ). |
| 25 | 25 | h::label($L->gallery_title). |
| 26 | 26 | h::{'cs-input-text input[name=add[title]]'}(). |
| 27 | - ($Config->core['simple_admin_mode'] ? '' : |
|
| 28 | - h::label(h::info('photo_gallery_gallery_path')). |
|
| 27 | + ($Config->core['simple_admin_mode'] ? '' : h::label(h::info('photo_gallery_gallery_path')). |
|
| 29 | 28 | h::{'cs-input-text input[name=add[path]]'}() |
| 30 | 29 | ). |
| 31 | 30 | h::label($L->gallery_description). |
@@ -30,8 +30,7 @@ |
||
| 30 | 30 | 'value' => $gallery['title'] |
| 31 | 31 | ] |
| 32 | 32 | ). |
| 33 | - ($Config->core['simple_admin_mode'] ? '' : |
|
| 34 | - h::label(h::info('photo_gallery_gallery_path')). |
|
| 33 | + ($Config->core['simple_admin_mode'] ? '' : h::label(h::info('photo_gallery_gallery_path')). |
|
| 35 | 34 | h::{'cs-input-text input[name=edit[path]]'}( |
| 36 | 35 | [ |
| 37 | 36 | 'value' => $gallery['path'] |