Commit Graph

150 Commits

Author SHA1 Message Date
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
Andy Miller
059cab3504 finishing the visibility updates 2015-08-14 14:28:24 -06:00
Flavio Copes
ecfc77df1c Admin language switcher. Enabled only if multilang is active. Allows to switch pages content to the desired language 2015-08-14 19:12:04 +02:00
Flavio Copes
dd41509c79 Drop unneeded line 2015-08-14 17:37:51 +02:00
Flavio Copes
b80678c74b Move translate function so it's accessible from all admin parts. Correctly change $l->translate() calls to it 2015-08-14 15:05:33 +02:00
Andy Miller
7c8b3363b9 fix for empty tags being saved in page 2015-08-14 06:41:43 -06:00
Andy Miller
65cf04faed progress so far.. 2015-08-14 06:23:16 -06:00
Flavio Copes
e0675355e2 Centralized translate() function in the controller 2015-08-13 21:18:03 +02:00
Flavio Copes
89ddc3625d Fix popularity class string 2015-08-13 21:16:43 +02:00
Flavio Copes
716c36edf3 Use PLUGIN_ADMIN. prefix for translations 2015-08-13 20:44:56 +02:00
Flavio Copes
d86b0980b9 Merge branch 'feature/fix-57' into feature/translate-admin 2015-08-13 18:18:32 +02:00
Flavio Copes
7b18ddb740 Correctly set the file name including the language if set 2015-08-12 19:05:30 +02:00
Andy Miller
61f1908750 Added a phpinfo page under configuration 2015-08-11 18:30:27 -06:00
Flavio Copes
b4af153baa Go on with translations 2015-08-11 14:00:31 +02:00
Sommerregen
0165f53d44 Fixes #30, added logout page 2015-08-08 11:16:04 +02:00
Djamil Legato
d98644277c Added isSymlink logic to determine if Grav is symbolically linked or not. 2015-08-07 13:31:15 -07:00
Flavio Copes
b8c197e4ed Merge branch 'feature/fix-error-on-deleting-homepage' into develop 2015-08-07 19:29:54 +02:00
Flavio Copes
fe8446aa08 Fix fatal error on deleting the homepage 2015-08-07 12:05:34 +02:00
Flavio Copes
39870339b3 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into feature/work-on-toggleables 2015-08-07 09:06:32 +02:00
Andy Miller
8921b8afb1 put a safety check around new unsetRoute() method 2015-08-06 18:29:29 -06:00
Djamil Legato
4f3c37aefb Implemented button groups and hooked up all different types of Clear Cache available 2015-08-06 16:15:41 -07:00
Andy Miller
90f07e0d1c removed overkill stuff 2015-08-06 16:19:36 -06:00
Andy Miller
7b3e300e87 added multiple clear type support 2015-08-06 16:16:18 -06:00
Andy Miller
ec49b3983c Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop
# By Flavio Copes
# Via Flavio Copes
* 'develop' of https://github.com/getgrav/grav-plugin-admin:
  Fix #12 link to rockettheme.com, thanks @symac
  A better update success message. Update the version in the footer.
  Show error message if Grav is symlinked, and stop the upgrade process
  Manage permissions
  Add feedback during/after upgrade
  Remove unneeded code
  Update Grav when pressing the "Update Grav Now" button
2015-08-06 11:03:28 -06:00
Andy Miller
0511409567 Fix for #15 - requires grav update though. 2015-08-06 11:03:14 -06:00
Flavio Copes
7b705d3595 A better update success message. Update the version in the footer. 2015-08-06 17:23:08 +02:00
Flavio Copes
66764b2255 Show error message if Grav is symlinked, and stop the upgrade process 2015-08-06 16:35:45 +02:00
Flavio Copes
473511d948 Manage permissions 2015-08-06 15:16:22 +02:00
Flavio Copes
01c73d1451 Update Grav when pressing the "Update Grav Now" button 2015-08-06 09:34:55 +02:00
Andy Miller
1945099227 clear cache on page delete 2015-08-05 19:11:09 -06:00
Andy Miller
273db412d0 force modular class for modular template type 2015-08-05 19:04:55 -06:00
Andy Miller
75774e65af more robust order handling 2015-08-05 18:10:15 -06:00
Andy Miller
5ca737b8de ensure we don't change page type when it's empty 2015-08-05 18:09:08 -06:00