Commit Graph

20 Commits

Author SHA1 Message Date
Christoph Wurst caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.

This also removes and empty lines from method/function bodies at the
beginning and end.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 14:19:56 +02:00
splitt3r 42eb1538ef
Update dynamic year in example theme 2019-02-01 15:07:36 +01:00
andyg5000 c55643d8d7
Make the data year in the template dynamic by using date(). 2019-02-01 15:07:36 +01:00
chiyi4488 e4c583c186
Small text error
Small text error
2018-07-07 01:26:07 +08:00
Julius Härtl cf4d27b115
Use customclient_* values by default and do not use them in custom themes anymore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-03-26 19:26:36 +02:00
Christian Oliff 4257d0a566
Update iOS link to geo-detect show correct store listing
Adding 'geo.' at beginning of the URL will automatically show users the store listing for their region so it's a better experience.

For example users in Japan will see: https://itunes.apple.com/jp/app/nextcloud/id1125420102?mt=8 which has local customer reviews and certain other information in Japanese.
2018-02-01 19:43:24 +09:00
Morris Jobke 585e5c6ea5
Logo claim is not used anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-02 23:08:45 +02:00
Lukas Reschke 6458875dc1
Update documentation go.php URL to 12
Fixes https://github.com/nextcloud/server/issues/4646

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-02 08:17:59 +02:00
Julius Haertl 68a63ad3f3
Implement scss variable injection by OC_Defaults
Signed-off-by: Julius Haertl <jus@bitgrid.net>

Add Scss variables to example theme and theming app

Signed-off-by: Julius Haertl <jus@bitgrid.net>

Use SCSSCacher to build theming css

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Update theming.scss

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Code cleanup

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Fix tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Inject SCSSCacher for easier testing

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Fix typehint

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>

Generate absolute URLs

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>

Fix tests to always use absolute urls for theming images

Signed-off-by: Julius Härtl <jus@bitgrid.net>

MailheaderColor -> ColorPrimary

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-04-25 11:39:45 +02:00
Jan-Christoph Borchardt 9a75714c22
rename confusing getMailHeaderColor to getColorPrimary, ref #3491
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-03-29 18:23:23 +02:00
Marius Blüm 5e2995923d
Prevent Example-Theme from using invalid URLs
Signed-off-by: Marius Blüm <marius@lineone.io>
2017-01-16 17:52:28 +01:00
Felix A. Epp 98bdef8d83 Cahnge URL for desktop clients directly to pop-up
by adding `/#install-clients` to the URL

Signed-off-by: Felix A. Epp <work@felixepp.de>
2016-12-08 12:40:52 +01:00
Philip Allgaier 9ad735417f Updated doc link version in default theme from 9 to 11 2016-10-27 10:59:17 +02:00
Joachim Sokolowski 235e2fc68e default.php for nextcloud
changing it to nextcloud
2016-06-21 17:27:02 +02:00
Daniel Hansson e4c21eef7b 2015 --> 2016 2016-04-27 15:52:59 +02:00
Morris Jobke ed2ed4be8d Update example theme with App URLs and PHPDoc 2015-10-05 11:15:14 +02:00
Morris Jobke 64203331bc [example theme] make it easier for non PHP people to understand what to change 2015-09-10 11:03:00 +02:00
Joas Schilling 32ccd66214 Revert "make knowledge base url configurable"
This reverts commit 8fb89056bd.
2015-08-11 14:20:25 +02:00
Bjoern Schiessle 8fb89056bd make knowledge base url configurable 2015-07-29 18:07:04 +02:00
Jan-Christoph Borchardt cd0fa062eb add example theme 2015-05-22 02:17:46 +02:00