diff --git a/Extend.php b/Extend.php new file mode 100644 index 0000000..9041f02 --- /dev/null +++ b/Extend.php @@ -0,0 +1,15 @@ + - Illustration <?php echo $new[ 'title' ]; ?> + Illustration <?php echo t($new[ 'title' ]); ?> -

+ +

+ +

+ - ~ -

+ + ~ + +

+ - diff --git a/composer.json b/composer.json index e35ff8d..ea467cb 100644 --- a/composer.json +++ b/composer.json @@ -2,9 +2,15 @@ "name": "soosyze-extension/editorial", "type": "soosyze-theme", "description": "Say hello to Editorial, a blog/magazine-ish template built around a toggleable \"locking\" sidebar (scroll down to see what I mean) and an accordion-style menu.", - "version": "1.0", + "version": "1.0.0", + "autoload": { + "psr-4": { + "SoosyzeApp\\Theme\\Editorial\\": "/" + } + }, "extra": { - "soosyze-theme": { + "soosyze": { + "title": "Editorial", "sections": [ "header", "sidebar", diff --git a/html.php b/html.php index 314c807..82e5328 100644 --- a/html.php +++ b/html.php @@ -7,37 +7,38 @@ - <?php echo $title; ?> + + <?php echo htmlspecialchars($title); ?> + - - - - - + + + -
+
- - - + + + - - \ No newline at end of file diff --git a/menu-user.php b/menu-user.php index b3cc5e8..5450da3 100644 --- a/menu-user.php +++ b/menu-user.php @@ -3,14 +3,14 @@ diff --git a/menu.php b/menu.php index b3cc5e8..5450da3 100644 --- a/menu.php +++ b/menu.php @@ -3,14 +3,14 @@ diff --git a/news/content-news-index.php b/news/content-news-index.php index 66a44c5..47eecc8 100644 --- a/news/content-news-index.php +++ b/news/content-news-index.php @@ -6,20 +6,31 @@
- Illustration <?php echo $new[ 'title' ]; ?> + Illustration <?php echo t($new[ 'title' ]); ?> -

+ +

+ +

+ - ~ -

+ + ~ + +

+
- +

diff --git a/node/content-node-show_article.php b/node/content-node-show_article.php index 46cae94..590ea46 100644 --- a/node/content-node-show_article.php +++ b/node/content-node-show_article.php @@ -1,6 +1,4 @@ - -
@@ -9,6 +7,8 @@ - - ~ + ~
- \ No newline at end of file + \ No newline at end of file diff --git a/page-front.php b/page-front.php index e68fc30..1890fa8 100644 --- a/page-front.php +++ b/page-front.php @@ -8,8 +8,8 @@ -

- +

+