@@ -56,7 +56,7 @@ function onShow() {
5656 // $app->listform->listDef["page_params"] = "&id=".$app->tform_actions->id."&next_tab=".$_SESSION["s"]["form"]["tab"];
5757 $ app ->listform ->listDef ["page_params " ] = "&id= " .$ this ->form ->id ."&next_tab= " .$ _SESSION ["s " ]["form " ]["tab " ];
5858 $ listTpl ->setVar ('parent_id ' , $ this ->form ->id );
59- $ listTpl ->setVar ('theme ' , $ _SESSION ['s ' ]['theme ' ]);
59+ $ listTpl ->setVar ('theme ' , $ _SESSION ['s ' ]['theme ' ], true );
6060
6161 // Generate the SQL for searching
6262 $ sql_where = "" ;
@@ -193,13 +193,13 @@ function onShow() {
193193
194194 $ listTpl ->setVar ('phpsessid ' , session_id ());
195195
196- $ listTpl ->setVar ('theme ' , $ _SESSION ['s ' ]['theme ' ]);
196+ $ listTpl ->setVar ('theme ' , $ _SESSION ['s ' ]['theme ' ], true );
197197 $ listTpl ->setVar ('html_content_encoding ' , $ app ->_conf ['html_content_encoding ' ]);
198198
199199 $ listTpl ->setVar ('delete_confirmation ' , $ app ->lng ('delete_confirmation ' ));
200200 //print_r($_SESSION);
201201 if (isset ($ _SESSION ['s ' ]['module ' ]['name ' ])) {
202- $ listTpl ->setVar ('app_module ' , $ _SESSION ['s ' ]['module ' ]['name ' ]);
202+ $ listTpl ->setVar ('app_module ' , $ _SESSION ['s ' ]['module ' ]['name ' ], true );
203203 }
204204 if (isset ($ _SESSION ['s ' ]['user ' ]) && $ _SESSION ['s ' ]['user ' ]['typ ' ] == 'admin ' ) {
205205 $ listTpl ->setVar ('is_admin ' , 1 );
@@ -209,7 +209,7 @@ function onShow() {
209209 }
210210 /* Show username */
211211 if (isset ($ _SESSION ['s ' ]['user ' ])) {
212- $ listTpl ->setVar ('cpuser ' , $ _SESSION ['s ' ]['user ' ]['username ' ]);
212+ $ listTpl ->setVar ('cpuser ' , $ _SESSION ['s ' ]['user ' ]['username ' ], true );
213213 $ listTpl ->setVar ('logout_txt ' , $ app ->lng ('logout_txt ' ));
214214 /* Show search field only for normal users, not mail users */
215215 if (stristr ($ _SESSION ['s ' ]['user ' ]['username ' ], '@ ' )){
0 commit comments