Commit Graph

27 Commits

Author SHA1 Message Date
6a487c218d Removed loading login.class.php from lib2/common.inc.php. So no $login variable is propagated anymore (for lib2).
Fixed all calls in index.php and included files. DID NOT YET FIX OTHER PAGES! THEY WILL BREAK!
N.B.: Instead of $login->..., you now have to do $GLOBALS['container']->get('ocde.login')->...
2014-01-18 23:50:39 +01:00
c2e063dd7b Started phasing out $opt['rootpath']. Replaced by Config class. Also optimized some class files (cookie, template). Minor changes. 2014-01-14 01:10:43 +01:00
d8dfe69821 Use core.php to load Autoloader and initialise everything.
Signed-off-by: Markus Birth <mbirth@gmail.com>
2014-01-12 05:37:24 +01:00
f8a58c18a3 Added Composer to manage autoloads and HTMLPurifier and Smarty.
Install by doing (from htdocs):
$ curl -sS https://getcomposer.org/installer | php
$ ./composer.phar install

If you want to update autoloader:
$ ./composer.phar dumpautoload

Signed-off-by: Markus Birth <mbirth@gmail.com>
2014-01-12 05:35:35 +01:00
7aca9812a3 adaptions for national OC sites
- made header logo configurable
- made main country and language configurable
- move German content to bottom of start page for other languages
- made toprating statistics interval configurable and country-dependend
- made "more new caches" link country-dependend
- fixed welcome messages
2013-08-05 15:16:28 +02:00
229c14071c added decimal dots to start page statistics 2013-08-04 16:00:37 +02:00
9fc8c75ac5 added api key to minimap url 2013-05-17 22:12:58 +02:00
d8803d0d6b styled minimap for new caches; made minimap url configurable; fixed line-breaking in new caches list 2013-05-16 19:56:37 +02:00
07712191cb refactored and translated 404-errorpage 2013-04-25 23:58:07 +02:00
ed1a383ee6 added 404-errorpage including template and image, changed some variables
in templates and pulled parts out in new templates, fixed some bugs and
typos from previous commits

moved new events, ratings and caches HTML code generation into separate
templates and changed templates accordingly to avoid redundant code

moved generation of HTML code for RSSParser into separate smarty
template and changed involved files accordingly

moved code that generates the "new" (cache, event, rating, forum, blog,
etc.) sections into separate class to avoid redundant code
2013-04-25 23:38:25 +02:00
1aff750485 Merge branch 'stable' 2013-04-10 21:22:52 +02:00
d45409bf0b changed news view on start page to headlines-only 2013-04-10 21:20:27 +02:00
125ba7348b Merge branch 'stable' 2013-03-26 22:58:45 +01:00
a6a95e2d4b translate 'adm1' country names 2013-03-26 22:55:56 +01:00
81ac563d02 added newsfeed link to start page 2013-03-21 01:10:58 +01:00
10ce948a93 new log picture gallery 2013-03-14 09:44:36 +01:00
95068b9e6d reformatted translation texts and welcome message;
fixed and completed German translations;
moved old code away
2013-03-09 16:18:43 +01:00
398681b039 configurable welcome message 2013-02-05 21:27:53 +01:00
557f3f7b9c minor changes to new rss-inclusion 2012-10-07 22:16:45 +02:00
275582628b bugfixes and typo after testing news and forum via RSS-feed 2012-10-02 22:48:14 +02:00
f6d0f92d58 added funcionality to get news and forum posts from RSS-feeds 2012-09-26 22:21:15 +02:00
9bc361c3e3 fixed rating bugs introduced with commit c32a4b06 2012-08-27 14:15:16 +02:00
c32a4b06ff improved start page performance; top rating statistics was very slow
needs a new database field with manual init, see db-changes.txt !

and fixed another recommendation bug:
- recommendations will not get lost when a user edits one of multiple logs
  for the same cache
2012-08-25 00:00:25 +02:00
acb6f77ed5 log- and recommendation-related fixes and changes
- recommendation will not be lost if the cache is logged a second time
- RT406: recommendation will not be lost if other log of same user is deleted
* recommendation stars will only be displayed with found and attended logs
- recommendations cannot be logged with event notes
- multiple found logs of one user will be counted as 1 at top ratings list
* reversed event log type order: will attend / attended / note
2012-08-23 23:18:42 +02:00
ad59dc916b updates source code license and xml docu 2012-08-16 21:04:13 +02:00
01291a4034 Gleichsetzung GIT auf Basis des Produktivsystems Teil 1 2012-07-08 21:56:11 +02:00
e05b7bb8f0 first init 2012-05-09 20:05:43 +02:00