From 9a66466e79f863a93ae54b534a0e11eecb950bbe Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 25 Nov 2005 20:03:26 +0000 Subject: [PATCH] r598: Adding language direction attribute to templates --- includes/init.php | 1 + templates/editattach.tpl | 2 +- templates/editcomment.tpl | 2 +- templates/history.tpl | 2 +- templates/login.tpl | 2 +- templates/newattach.tpl | 2 +- templates/newreport.tpl | 2 +- templates/quicksearch.tpl | 2 +- templates/register.tpl | 2 +- templates/search.tpl | 2 +- templates/search_results.tpl | 2 +- templates/showreport.tpl | 2 +- templates/std_error.tpl | 2 +- templates/std_message.tpl | 2 +- templates/std_redirect.tpl | 2 +- templates/trackerhome.tpl | 2 +- templates/userctrl.tpl | 2 +- 17 files changed, 17 insertions(+), 16 deletions(-) diff --git a/includes/init.php b/includes/init.php index c711dbb..b264897 100755 --- a/includes/init.php +++ b/includes/init.php @@ -127,6 +127,7 @@ $LANGDATA = fetch_user_language(); $lang->init_with_table(fetch_strings($LANGDATA['id'])); $stylevar['lang'] = $LANGDATA['code']; +$stylevar['lang_dir'] = $LANGDATA['direction']; $stylevar['charset'] = $LANGDATA['charset']; // ################################################################### diff --git a/templates/editattach.tpl b/templates/editattach.tpl index 83afa84..e48d3f7 100644 --- a/templates/editattach.tpl +++ b/templates/editattach.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/editcomment.tpl b/templates/editcomment.tpl index 339c11d..3990549 100644 --- a/templates/editcomment.tpl +++ b/templates/editcomment.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/history.tpl b/templates/history.tpl index 5ab20f0..843fb2b 100644 --- a/templates/history.tpl +++ b/templates/history.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude {@"Bug History"} - $bug[summary] diff --git a/templates/login.tpl b/templates/login.tpl index 144254f..37f249d 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/newattach.tpl b/templates/newattach.tpl index d07b62c..c098c42 100644 --- a/templates/newattach.tpl +++ b/templates/newattach.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/newreport.tpl b/templates/newreport.tpl index 99bbb5e..2e7c19e 100644 --- a/templates/newreport.tpl +++ b/templates/newreport.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/quicksearch.tpl b/templates/quicksearch.tpl index 76f3a7d..ef027a8 100644 --- a/templates/quicksearch.tpl +++ b/templates/quicksearch.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/register.tpl b/templates/register.tpl index bf019a4..17bd382 100644 --- a/templates/register.tpl +++ b/templates/register.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/search.tpl b/templates/search.tpl index 3c8ac53..0639de4 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/search_results.tpl b/templates/search_results.tpl index 93cd433..7460593 100644 --- a/templates/search_results.tpl +++ b/templates/search_results.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude {$bugsys->options['trackertitle']} - {@"Search Results"} diff --git a/templates/showreport.tpl b/templates/showreport.tpl index 560db89..d64646a 100644 --- a/templates/showreport.tpl +++ b/templates/showreport.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/std_error.tpl b/templates/std_error.tpl index 5a4e94e..25324ff 100644 --- a/templates/std_error.tpl +++ b/templates/std_error.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/std_message.tpl b/templates/std_message.tpl index 2140592..4a5bdf8 100644 --- a/templates/std_message.tpl +++ b/templates/std_message.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/std_redirect.tpl b/templates/std_redirect.tpl index 04d59ff..243ce7a 100644 --- a/templates/std_redirect.tpl +++ b/templates/std_redirect.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude diff --git a/templates/trackerhome.tpl b/templates/trackerhome.tpl index dbe147e..7ee9566 100644 --- a/templates/trackerhome.tpl +++ b/templates/trackerhome.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude {$bugsys->options['trackertitle']} - {@"Bug Listing"} diff --git a/templates/userctrl.tpl b/templates/userctrl.tpl index 38fff1b..8649fc2 100644 --- a/templates/userctrl.tpl +++ b/templates/userctrl.tpl @@ -1,5 +1,5 @@ $doctype - + $headinclude -- 2.22.5