summaryrefslogtreecommitdiff
path: root/pages/page_init.ecpp
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-07 18:42:45 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-07 18:42:45 +0000
commitab7a2112f96bb48ee2713ada4c9ce73322cf3cba (patch)
tree44f229f1c011fc135571849c386f78bbb5a9af48 /pages/page_init.ecpp
parent9508850d788d905b21cd2622b22cb76e80cf34ca (diff)
downloadvdr-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.ecpp12
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>