Commit Graph
81 Commits
Author SHA1 Message Date
Eugene Sandulenko f37f91a98d WEB: Removed hardcoded list of languages 2016-01-23 20:23:00 +01:00
Eugene Sandulenko b73e6cd683 WEB: Remove incorrectly set cookie 2016-01-23 20:13:19 +01:00
Filippos Karapetis 3144721800 WEB: Fix multilingual support 2016-01-23 03:43:34 +02:00
Adrian Astley 5c27ce3e0e WEB: Fix language switching
As mentioned in f3c2203e2f,
the language switching was always 1 behind. As in, the
language would be the last language you selected.

The first problem is that some of the smarty config variables
were being set after the call to _smarty->config_load(). Since
the smarty instance is cached, it was using the last set of variables.

I don't know why the production web site isn't throwing errors. My
personal set up wouldn't load until I could set _smarty->compile_dir
the first time. Perhaps the language update was done on the fly, so
smarty was still cached.

The next potential problem is persistence with $_SESSION.
The session is never initialized with session_start(). However,
the production php.ini may have session auto start enabled.
2016-01-21 12:43:43 -06:00
Eugene Sandulenko f3c2203e2f WEB: Attempt to implement language switcher functionality
For some reason the language switching is working one click behind.
The goal is to have the page switched instantly, but it doesn't happen now.
2016-01-16 23:43:58 +01:00
Filippos Karapetis 1b9d45b878 WEB: Split game downloads into a separate "Games" page
This separates binary ScummVM downloads from the freeware games and
extras downloads
2013-11-04 12:11:19 +02:00
Filippos Karapetis 69686f2b37 WEB: Disable PHP notices by default
The site code accesses a lot of uninitialized variables, which fills
the screen with notices on my system. Disabling notices by default is
probably best for the current code base
2013-11-04 12:04:04 +02:00
Filippos Karapetis 17ead65c0c WEB: Silence PHP warnings about uninitialized variables 2013-07-02 12:24:52 +03:00
Paweł Kołodziejski 162a3d3ba2 revert my last change, sorry, mixed branches
svn path=/web/trunk/; revision=56224
2012-01-04 21:22:03 +00:00
Paweł Kołodziejski 1c809071c6 added permament move into www.residualvm.org
svn path=/web/trunk/; revision=56223
2012-01-04 20:22:51 +00:00
Eugene Sandulenko 2201edb6ae Add news about Snowberry & ScummVM joint release.
svn path=/web/trunk/; revision=42024
2009-07-02 12:43:35 +00:00
Fredrik Wendel ecbe49af28 Create a specific class for exception handling and modify relevant code parts. We can now properly detect if the MenuModel is causing the exception and therefor skip it.
Without this fix we wouldn't be able to display the exception if MenuModel was the cause since it's used in the Controller, which ExceptionsPage inherits from.

svn path=/web/trunk/; revision=40948
2009-05-27 18:24:16 +00:00
Fredrik Wendel 463765c838 Only allow the exception handler function to accept Exceptions as input.
svn path=/web/trunk/; revision=40929
2009-05-26 21:16:48 +00:00
Eugene Sandulenko d429c48de0 Website rewrite from Fredrik Wendel
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00
Max Horn 67267e1c90 Added links to the atom & RSS feeds
svn path=/web/trunk/; revision=36126
2009-01-29 01:40:30 +00:00
Max Horn 012bfa65c8 WEB: Changed HTTP_GET_VARS to _GET
svn path=/web/trunk/; revision=34600
2008-09-18 11:55:05 +00:00
Eugene Sandulenko 2d8beb24de Don't mention EPOC as deonted in bug #1939634: "Web site should not mention EPOC"
svn path=/web/trunk/; revision=31467
2008-04-10 19:00:44 +00:00
Eugene Sandulenko 3ee063c6a3 Shut PHP warnings on our site
svn path=/web/trunk/; revision=29702
2007-12-02 12:59:29 +00:00
Filippos Karapetis 9e907a35ca Typo
svn path=/web/trunk/; revision=28984
2007-09-20 11:46:52 +00:00
Max Horn d352da77fe Moved LEC screenshots into per-game (rather, gameid) subdirs
svn path=/web/trunk/; revision=27863
2007-07-02 21:22:46 +00:00
Max Horn 678800ad94 Updated screenshot JavaScript code, added a new scr_table var mapping screenshot ids to caption, image path, thumbnail path
svn path=/web/trunk/; revision=27858
2007-07-02 20:33:49 +00:00
Max Horn b6fc0960ce Changed the way scrcatnums works
svn path=/web/trunk/; revision=27857
2007-07-02 20:21:27 +00:00
Max Horn b0877a1683 Replaced the screenshots/*.txt files with a single screenshhots 'database' file screenshots/screenshots.csv
svn path=/web/trunk/; revision=27856
2007-07-02 20:06:57 +00:00
Max Horn 6c145c16c9 Got rid of screenshots.js
svn path=/web/trunk/; revision=27322
2007-06-10 16:53:43 +00:00
Max Horn f9a0ac427d Reworked the screenshot code on the website once again, simplifying the code and enabling descriptive titles on the screenshot viewer window in all situations
svn path=/web/trunk/; revision=27319
2007-06-10 16:26:55 +00:00
Max Horn df5aef12d0 Greatly simplified the code for the random screenshot on the front page
svn path=/web/trunk/; revision=27092
2007-06-04 22:50:42 +00:00
Max Horn abe62b6b6c more cleanup
svn path=/web/trunk/; revision=27091
2007-06-04 22:34:24 +00:00
Max Horn cd5c130f32 Some cleanup to the screenshot handling code
svn path=/web/trunk/; revision=27090
2007-06-04 22:29:34 +00:00
Max Horn e8e9ad4ea6 Small enhancement to screenshot windows on website: Use the window title of the screenshot viewer to display some info about the shot (does *not* yet work for the front page display, though :-/)
svn path=/web/trunk/; revision=27088
2007-06-04 22:03:22 +00:00
James Brown c5350201ff Remove fundraising bar. Thanks everyone :)
svn path=/web/trunk/; revision=25077
2007-01-14 00:29:20 +00:00
Max Horn 64b654dd7f Fix HTML validity
svn path=/web/trunk/; revision=25031
2007-01-06 16:37:51 +00:00
James Brown d7fec4a9bf Link donation bar to forum topic
svn path=/web/trunk/; revision=24992
2007-01-04 14:19:56 +00:00
Max Horn e20325afdd Rephrase text on the frontpage of our website a bit so that we don't have to constantly update the list of supported games there -- rather, point people to the compatibility page
svn path=/web/trunk/; revision=24990
2007-01-04 12:14:43 +00:00
Max Horn 87aabd3842 oops ;)
svn path=/web/trunk/; revision=24984
2007-01-03 22:30:14 +00:00
Max Horn d5462fb275 Some improvements for the news system:
* For each news item there is now a dedicate page showing just that item
* The title bar of each news items links to its dedicated page
* The Atom and RSS feeds make use of this new item specific URL
* The Atom feed now has the scummvm front page as an alternate link

svn path=/web/trunk/; revision=24983
2007-01-03 22:18:56 +00:00
Max Horn 2858c58511 Some tweaks to our news feeds:
* Removed the 'Posted by' text from the <author> field
* Drop fake email adress in the ATOM feeds (the same is not possible for the RSS feeds, though)
* Only add an author field if an author was specified in the first place
* Drop the CDATA encoding for the <title> field

svn path=/web/trunk/; revision=24982
2007-01-03 21:35:18 +00:00
Eugene Sandulenko f84e1059b0 Fix HTML validity
svn path=/web/trunk/; revision=24979
2007-01-03 16:14:22 +00:00
James Brown 7fefb8c1e5 Restore donation links to website - add gauge
svn path=/web/trunk/; revision=24973
2007-01-03 14:33:58 +00:00
Max Horn eca724bfb9 Remove XMLisms from our webpages (i.e. use <br> instead of <br />)
svn path=/web/trunk/; revision=24077
2006-10-02 19:06:48 +00:00
Max Horn d08171e561 Patch #1534858: web: question mark on index.php, list kyra in introduction
svn path=/web/trunk/; revision=23682
2006-08-05 10:54:49 +00:00
Max Horn 449c015738 Added Atom + RSS 2.0 news feeds
svn path=/web/trunk/; revision=23432
2006-07-08 18:14:10 +00:00
Torbjörn Andersson 5701957a47 Reduce the number of different spellings of "screenshot". I've changed "Game
Shots", "ScreenShots" and "ScreenShot Viewer", but someone else will have to
take care of rs-top.png. And of course, I may have missed some.

svn path=/web/trunk/; revision=22484
2006-05-16 07:35:32 +00:00
Max Horn 7a39cd3f0a Parse the <DATE> field of news items using strtotime; use this to present news item dates in a uniform style, and to make it possible to link to specific news items
svn path=/web/trunk/; revision=2443
2005-12-19 22:02:07 +00:00
Max Horn d72a68f19a Split CSS so that page specific stuff is confined to a CSS file for that page only
svn path=/web/trunk/; revision=2412
2005-11-26 19:52:45 +00:00
Eugene Sandulenko 68dd1bc0b8 fix typo
svn path=/web/trunk/; revision=2393
2005-11-14 21:14:55 +00:00
Eugene Sandulenko 49dbcf4dd1 Fix HTML warning.
svn path=/web/trunk/; revision=2385
2005-11-13 14:34:47 +00:00
Eugene Sandulenko 0752bcb37e Little more formatting
svn path=/web/trunk/; revision=2384
2005-11-13 03:48:30 +00:00
Eugene Sandulenko a308ee9bed We updated "about" blurb some time ago. Sync with that.
svn path=/web/trunk/; revision=2383
2005-11-13 03:47:20 +00:00
Eugene Sandulenko 04dcc25b9c Fixing even more HTML validation faults. Now site is clean.
svn path=/web/trunk/; revision=2380
2005-11-13 03:20:51 +00:00
Eugene Sandulenko ae57ee4bdd Another batch of HTML validation fixes
svn path=/web/trunk/; revision=2379
2005-11-13 02:46:35 +00:00