Procházet zdrojové kódy

Version 1.3.4: Media Library

trendschau před 5 roky
rodič
revize
0d52a5175c
5 změnil soubory, kde provedl 64 přidání a 60 odebrání
  1. 19 19
      .gitignore
  2. 40 40
      .htaccess
  3. binární
      media/markdown.png
  4. 4 0
      settings/languages/en.yaml
  5. 1 1
      settings/languages/vuejs-en.yaml

+ 19 - 19
.gitignore

@@ -1,20 +1,20 @@
-cache/lastCache.txt
-cache/lastSitemap.txt
-cache/metatabs.yaml
-cache/navigation.txt
-cache/sitemap.xml
-cache/structure-draft.txt
-cache/structure-extended.yaml
-cache/structure.txt
-content/index.yaml
-content/00-Welcome/index.yaml
-content/00-Welcome/00-Setup.yaml
-content/00-Welcome/01-Write-Content.yaml
-content/00-Welcome/02-Get-Help.yaml
-content/00-Welcome/03-Markdown-Test.yaml
-settings/settings.yaml
-settings/users
-system/vendor
-plugins/demo
-zips
+cache/lastCache.txt
+cache/lastSitemap.txt
+cache/metatabs.yaml
+cache/navigation.txt
+cache/sitemap.xml
+cache/structure-draft.txt
+cache/structure-extended.yaml
+cache/structure.txt
+content/index.yaml
+content/00-welcome/index.yaml
+content/00-welcome/00-setup.yaml
+content/00-welcome/01-write-content.yaml
+content/00-welcome/02-get-help.yaml
+content/00-welcome/03-markdown-test.yaml
+settings/settings.yaml
+settings/users
+system/vendor
+plugins/demo
+zips
 build.php

+ 40 - 40
.htaccess

@@ -1,41 +1,41 @@
-RewriteEngine On
-
-# If your homepage is http://yourdomain.com/yoursite
-# Set the RewriteBase to:
-# RewriteBase /yoursite
-
-# In some environements, an empty RewriteBase is required:
-# RewriteBase /
-
-# Protect your system files from prying eyes
-RewriteRule ^(system\/author\/) - [L]
-RewriteRule ^(system) - [F,L]
-RewriteRule ^(content) - [F,L]
-RewriteRule ^(settings) - [F,L]
-RewriteRule ^(.*)?\.yml$ - [F,L]
-Rewriterule ^(.*)?\.yaml$ - [F,L]
-RewriteRule ^(.*)?\.txt$ - [F,L]
-RewriteRule ^(.*)?\.example$ - [F,L]
-RewriteRule ^(.*/)?\.git+ - [F,L]
-
-# Use this to redirect HTTP to HTTPS on apache servers
-# RewriteCond %{HTTPS} off
-# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
-
-# Use this to redirect www to non-wwww on apache servers
-# RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
-# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
-
-# Use this to redirect slash/ to no slash urls on apache servers
-# RewriteCond %{REQUEST_FILENAME} !-d
-# RewriteRule ^(.*)/$ /$1 [R=301,L]
-
-# Removes index.php
-RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
-RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]
-
-# Directs all web requests through the site index file
-RewriteCond %{REQUEST_URI} !^/index\.php
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteCond %{REQUEST_FILENAME} !-d
+RewriteEngine On
+
+# If your homepage is http://yourdomain.com/yoursite
+# Set the RewriteBase to:
+# RewriteBase /yoursite
+
+# In some environements, an empty RewriteBase is required:
+# RewriteBase /
+
+# Protect your system files from prying eyes
+RewriteRule ^(system\/author\/) - [L]
+RewriteRule ^(system) - [F,L]
+RewriteRule ^(content) - [F,L]
+RewriteRule ^(settings) - [F,L]
+RewriteRule ^(.*)?\.yml$ - [F,L]
+Rewriterule ^(.*)?\.yaml$ - [F,L]
+RewriteRule ^(.*)?\.txt$ - [F,L]
+RewriteRule ^(.*)?\.example$ - [F,L]
+RewriteRule ^(.*/)?\.git+ - [F,L]
+
+# Use this to redirect HTTP to HTTPS on apache servers
+# RewriteCond %{HTTPS} off
+# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
+
+# Use this to redirect www to non-wwww on apache servers
+# RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
+# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
+
+# Use this to redirect slash/ to no slash urls on apache servers
+# RewriteCond %{REQUEST_FILENAME} !-d
+# RewriteRule ^(.*)/$ /$1 [R=301,L]
+
+# Removes index.php
+RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
+RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]
+
+# Directs all web requests through the site index file
+RewriteCond %{REQUEST_URI} !^/index\.php
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^ index.php [QSA,L]

binární
media/markdown.png


+ 4 - 0
settings/languages/en.yaml

@@ -58,8 +58,10 @@ QUOTES: Quote
 TABLE_OF_CONTENTS: Table of Contents
 TABLE: Table
 TEXT_FILE: text-file
+UPLOAD: upload
 VIDEO: Video
 
+# others
 ACCOUNT: Account
 ACTIVE: Active
 ACTUAL_PASSWORD: Actual Password
@@ -70,7 +72,9 @@ ADD_ITEM: add item
 ALL_USERS: All users
 AUTHOR: Author
 BACK_TO_STARTPAGE: back to startpage
+BROWSE: BROWSE
 BY: by
+CHOOSE_FILE: Choose file
 CODE: code
 CONTENT: Content
 COPYRIGHT: Copyright

+ 1 - 1
settings/languages/vuejs-en.yaml

@@ -22,7 +22,7 @@ en:
   delete content-block: delete content-block
   delete row: delete row
   description: description
-  drag a picture or click to select: drag a picture or click to select
+  drag a picture or click to select: upload an image
   Head: Head
   Headline: Headline
   Horizontal Line: Horizontal Line