diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-29 17:41:38 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-29 17:41:38 +0000 |
commit | 6bd91ddffe86ebeb10420f05a232f8e779eaf86d (patch) | |
tree | 09fe2c9617c08799e2689afa2fc9d0366bd16ff9 /tntconfig.cpp | |
parent | c6754ca96830f5034ca56a4ca2987df4c50375db (diff) | |
download | vdr-plugin-live-6bd91ddffe86ebeb10420f05a232f8e779eaf86d.tar.gz vdr-plugin-live-6bd91ddffe86ebeb10420f05a232f8e779eaf86d.tar.bz2 |
- Made vdr ajax requests work also via a static page. This is for
browsers that don't support javascript (e.g. PDA browsers)
- Implemented for AJAX request a visual notification how requested action
performed.
- Adapted styles for this.
- Moded images for rounded boxes (formerly tip-hint-??.png) to central
image directory and renamed them according to their color. This
makes them reusable in different themes.
- Adapted themes to this move.
Diffstat (limited to 'tntconfig.cpp')
-rw-r--r-- | tntconfig.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tntconfig.cpp b/tntconfig.cpp index fc4217b..28ad521 100644 --- a/tntconfig.cpp +++ b/tntconfig.cpp @@ -37,16 +37,20 @@ void TntConfig::WriteConfig() // XXX modularize file << "MapUrl ^/$ login@" << endl; + // the following redirects vdr_request URL to the component + // specified by the action parameter. + file << "MapUrl ^/vdr_request/([^.]+) $1@" << endl; + // the following selects the theme specific 'theme.css' file file << "MapUrl ^/themes/([^/]*)/css.*/(.+\\.css) content@ themes/$1/css/$2 text/css" << endl; // the following rules provide a search scheme for images. The first // rule where a image is found, terminates the search. // 1. /themes/<theme>/img/<imgname>.<ext> - // 2. /dist/img/<imgname>.<ext> + // 2. /img/<imgname>.<ext> // 3. <imgname>.<ext> (builtin images) file << "MapUrl ^/themes/([^/]*)/img.*/(.+)\\.(.+) content@ themes/$1/img/$2.$3 image/$3" << endl; - file << "MapUrl ^/themes/([^/]*)/img.*/(.+)\\.(.+) content@ common/img/$2.$3 image/$3" << endl; + file << "MapUrl ^/themes/([^/]*)/img.*/(.+)\\.(.+) content@ img/$2.$3 image/$3" << endl; file << "MapUrl ^/themes/([^/]*)/img.*/(.+)\\.(.+) $2@" << endl; // Epg images |