From 76fb09f9fc463d5e394c41c377fe2727ef2ace24 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sun, 4 Jul 2010 02:20:01 +0000 Subject: [PATCH] * add the feature of common view extension. --- trunk/module/common/view/action.html.php | 1 + trunk/module/common/view/autocomplete.html.php | 1 + trunk/module/common/view/autosuggest.html.php | 1 + trunk/module/common/view/colorbox.html.php | 1 + trunk/module/common/view/colorize.html.php | 1 + trunk/module/common/view/datepicker.html.php | 1 + trunk/module/common/view/footer.html.php | 3 ++- trunk/module/common/view/header.html.php | 1 + trunk/module/common/view/header.lite.html.php | 1 + trunk/module/common/view/mail.html.php | 1 + trunk/module/common/view/table2csv.html.php | 1 + trunk/module/common/view/tablesorter.html.php | 1 + trunk/module/common/view/treetable.html.php | 1 + trunk/module/common/view/treeview.html.php | 1 + 14 files changed, 15 insertions(+), 1 deletion(-) diff --git a/trunk/module/common/view/action.html.php b/trunk/module/common/view/action.html.php index 1632051e1d..76025caa2b 100644 --- a/trunk/module/common/view/action.html.php +++ b/trunk/module/common/view/action.html.php @@ -1,3 +1,4 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> diff --git a/trunk/module/common/view/autocomplete.html.php b/trunk/module/common/view/autocomplete.html.php index 68731f72ab..b6124a2002 100644 --- a/trunk/module/common/view/autocomplete.html.php +++ b/trunk/module/common/view/autocomplete.html.php @@ -1,3 +1,4 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> diff --git a/trunk/module/common/view/autosuggest.html.php b/trunk/module/common/view/autosuggest.html.php index 8cb75f7788..ccefbfce7c 100644 --- a/trunk/module/common/view/autosuggest.html.php +++ b/trunk/module/common/view/autosuggest.html.php @@ -1,3 +1,4 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> diff --git a/trunk/module/common/view/colorize.html.php b/trunk/module/common/view/colorize.html.php index 1d6a9a2c26..b201243c7f 100644 --- a/trunk/module/common/view/colorize.html.php +++ b/trunk/module/common/view/colorize.html.php @@ -1,2 +1,3 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> diff --git a/trunk/module/common/view/datepicker.html.php b/trunk/module/common/view/datepicker.html.php index 324b15d879..99fd60d80e 100644 --- a/trunk/module/common/view/datepicker.html.php +++ b/trunk/module/common/view/datepicker.html.php @@ -1,3 +1,4 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> diff --git a/trunk/module/common/view/footer.html.php b/trunk/module/common/view/footer.html.php index 21d0076b90..57a9d867ee 100644 --- a/trunk/module/common/view/footer.html.php +++ b/trunk/module/common/view/footer.html.php @@ -1,4 +1,5 @@ -

+getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> +

diff --git a/trunk/module/common/view/header.html.php b/trunk/module/common/view/header.html.php index 4204928d07..a8eb5283ab 100644 --- a/trunk/module/common/view/header.html.php +++ b/trunk/module/common/view/header.html.php @@ -1,4 +1,5 @@ getExtViewFile(__FILE__)){include $extView; return helper::cd();} include 'header.lite.html.php'; include 'colorbox.html.php'; ?> diff --git a/trunk/module/common/view/header.lite.html.php b/trunk/module/common/view/header.lite.html.php index 2e3a77b753..1621121437 100644 --- a/trunk/module/common/view/header.lite.html.php +++ b/trunk/module/common/view/header.lite.html.php @@ -1,3 +1,4 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> app->getWebRoot(); $jsRoot = $webRoot . "js/"; diff --git a/trunk/module/common/view/mail.html.php b/trunk/module/common/view/mail.html.php index 3b27ccda5a..854cdb1fc0 100644 --- a/trunk/module/common/view/mail.html.php +++ b/trunk/module/common/view/mail.html.php @@ -1,3 +1,4 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> actor])) $action->actor = $users[$action->actor];?> action->printAction($action);?> comment) or !empty($action->history)):?> diff --git a/trunk/module/common/view/table2csv.html.php b/trunk/module/common/view/table2csv.html.php index 498935f070..573159b536 100644 --- a/trunk/module/common/view/table2csv.html.php +++ b/trunk/module/common/view/table2csv.html.php @@ -1,3 +1,4 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> diff --git a/trunk/module/common/view/tablesorter.html.php b/trunk/module/common/view/tablesorter.html.php index 0a17ec63e5..bde0e36da0 100644 --- a/trunk/module/common/view/tablesorter.html.php +++ b/trunk/module/common/view/tablesorter.html.php @@ -1,3 +1,4 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> diff --git a/trunk/module/common/view/treeview.html.php b/trunk/module/common/view/treeview.html.php index ed14b7e835..f476a8ef21 100644 --- a/trunk/module/common/view/treeview.html.php +++ b/trunk/module/common/view/treeview.html.php @@ -1,3 +1,4 @@ +getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>