Commit Graph

182 Commits

Author SHA1 Message Date
Andy Miller
0113cdcf59 Check to ensure template has modular templates before showing add modular button 2015-09-08 11:13:52 -06:00
mufac
69623b22d8 Fix missing dollar sign
grav_limit was a constant when it should be a variable.
2015-09-01 19:45:59 -05:00
Flavio Copes
72ac5c0b89 Fix offline fatal error on GPM initialization 2015-09-01 18:14:54 +02:00
Andy Miller
42510b63b8 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2015-08-29 10:44:03 -06:00
Andy Miller
e2e1076e8e support for independent file name and template override 2015-08-29 10:43:58 -06:00
Flavio Copes
ea30fcc43f Fallback to english if Language::getDefault() returns null (e.g. user sets the interface in a language, but translations are disabled) 2015-08-29 14:39:37 +02:00
Flavio Copes
193e4c9a86 Fix deleting responsive media. Fixes #111 2015-08-28 18:55:23 +02:00
Flavio Copes
697c9a4524 Prevent an error when there are no pages in the site 2015-08-28 16:02:32 +02:00
Flavio Copes
4295a5daba Fix for redirect after saving a page when multilang is not enabled 2015-08-26 10:25:14 +02:00
Flavio Copes
cdb4d2b7f4 Fallback to default lang if no string is found 2015-08-24 19:09:07 +02:00
Flavio Copes
9d9191974e Fix switching lang for subpages 2015-08-21 18:01:20 +02:00
Flavio Copes
ff0dffaca3 Always redirect back to pages 2015-08-21 15:54:21 +02:00
Flavio Copes
40b406977c Only delete the folder if it's the last language of this page 2015-08-21 15:54:08 +02:00
Andy Miller
d2b76ba93a Merge branch 'develop' into feature/work-on-languages-workflow
Conflicts:
	classes/controller.php
2015-08-20 18:15:09 -06:00
Andy Miller
8aa5c0ac2f various fixes for redirects and parents 2015-08-20 18:11:54 -06:00
Andy Miller
0af4d223fe redirect to rawroute 2015-08-20 15:39:13 -06:00
Andy Miller
3692dca100 Default to english if language is not set 2015-08-20 15:23:50 -06:00
Andy Miller
8e09213dc9 Fix for #84 - unique page counting 2015-08-20 15:23:20 -06:00
Andy Miller
6333c5886c Fix for #84 - unique page counting 2015-08-20 14:55:24 -06:00
Flavio Copes
5ad210029b Solve issue in redirect with adding a new page (and other situations) 2015-08-20 19:55:33 +02:00
Andy Miller
b50cbbc778 Default to english if language is not set 2015-08-20 11:29:37 -06:00
Flavio Copes
576a4f0765 Incorporate andy fixes, and correctly set redirects on switching language and saving as a new language 2015-08-20 17:00:46 +02:00
Flavio Copes
bf4f728232 Fix redirect for new pages 2015-08-20 16:03:54 +02:00
Flavio Copes
16fe926e5d Make sure that saving a page just saves it in its own language 2015-08-20 15:17:45 +02:00
Flavio Copes
c4127be37d Re-added language checks in the controller redirect function. Ensures Grav admin always has the correct language set in the links (otherwise it's not happening). Bring back some lines removed in 8e814e30ad 2015-08-20 15:17:11 +02:00
Matias Griese
c6b1f1d2eb Fix blueprints to be loaded by using blueprints:// stream (#38) 2015-08-20 11:58:14 +03:00
Andy Miller
8e814e30ad simplified redirect that was causing some issues 2015-08-19 16:54:48 -06:00
Andy Miller
7fcf239132 removed some double slash situations 2015-08-19 16:54:30 -06:00
Andy Miller
7cd4e5b0a6 added missing uninstall strings 2015-08-19 16:53:21 -06:00
Andy Miller
366b2a05a6 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2015-08-19 12:52:23 -06:00
Andy Miller
d773a878de Fix for #54 issue - Call to a member function path() on a non-object 2015-08-19 12:51:55 -06:00
Sommerregen
8f57adde65 Minor param_sep fixes 2015-08-19 20:03:05 +02:00
Flavio Copes
616b896cfd Add taskSaveas() to save a page in a new language 2015-08-19 17:28:39 +02:00
Flavio Copes
8d2440d238 Make sure we always have the language code in the URL 2015-08-19 17:27:57 +02:00
Flavio Copes
c2a54b3770 Add a button to switch to a different language version of a page. Uses the switchlanguage task to which I added a redirect parameter to correctly switch the language 2015-08-19 14:32:06 +02:00
Flavio Copes
79bafcd6ab Correctly set the default language when not set in the user yaml (fixes language not changing problem) 2015-08-19 10:17:50 +02:00
Flavio Copes
29a6af26f3 Fix untranslated string 2015-08-18 21:13:04 +02:00
Flavio Copes
84bd5605f0 Fix session variable if not set before 2015-08-18 21:07:11 +02:00
Flavio Copes
4f3ef359c8 Fix getting the site languages 2015-08-18 19:44:07 +02:00
Flavio Copes
0cd5c60e5d Defaults to english 2015-08-18 19:27:10 +02:00
Flavio Copes
38016fa5af Independent admin-side translate functionality 2015-08-18 18:48:15 +02:00
Flavio Copes
9976e2c72d Fix language change requiring a logout to be applied (still requires a second page reload) 2015-08-18 16:04:00 +02:00
Flavio Copes
3ec0cf22d2 Merge develop 2015-08-18 14:37:56 +02:00
Andy Miller
df11f9ee45 adminLanguages function 2015-08-17 18:22:15 -06:00
Flavio Copes
ca9139b5c7 Handle the special case of message post-login 2015-08-17 18:49:06 +02:00
Flavio Copes
874d905297 Go on with translations 2015-08-17 17:18:21 +02:00
Flavio Copes
266c964e36 Merge branch 'develop' into feature/translate-admin 2015-08-17 16:42:39 +02:00
Flavio Copes
958a715a3e Go on with translations 2015-08-17 10:26:35 +02:00
Andy Miller
d7ed057911 removed old 'visible' logic 2015-08-16 22:42:08 -06:00
Andy Miller
274c4ca410 Fix for page not redirecting when changing folder name - #67 (requires grav update) 2015-08-14 15:00:48 -06:00