diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-07 18:42:45 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-07 18:42:45 +0000 |
commit | ab7a2112f96bb48ee2713ada4c9ce73322cf3cba (patch) | |
tree | 44f229f1c011fc135571849c386f78bbb5a9af48 /pages/page_init.ecpp | |
parent | 9508850d788d905b21cd2622b22cb76e80cf34ca (diff) | |
download | vdr-plugin-live-ab7a2112f96bb48ee2713ada4c9ce73322cf3cba.tar.gz vdr-plugin-live-ab7a2112f96bb48ee2713ada4c9ce73322cf3cba.tar.bz2 |
- simplified error handling
- moved error_widget to error.ecpp as subcomponent
- introduced error handling where necessary
- moved creation of timer settings string from page to code
- added redirect to edit_timer.ecpp after saving a timer
Diffstat (limited to 'pages/page_init.ecpp')
-rw-r--r-- | pages/page_init.ecpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pages/page_init.ecpp b/pages/page_init.ecpp new file mode 100644 index 0000000..c1d4680 --- /dev/null +++ b/pages/page_init.ecpp @@ -0,0 +1,12 @@ +<# do not add to Makefile #> +<%pre> +#include <tnt/savepoint.h> +#include "exception.h" +</%pre> +<%request scope="global"> +std::string pageTitle; +</%request> +<%cpp> +try { + tnt::Savepoint spoint( reply ); +</%cpp> |