equal
deleted
inserted
replaced
110 </script> |
110 </script> |
111 </enano:no-opt>'); |
111 </enano:no-opt>'); |
112 |
112 |
113 $x = getConfig('nb_portal_title'); |
113 $x = getConfig('nb_portal_title'); |
114 |
114 |
115 $template->tpl_strings['PAGE_NAME'] = ( $paths->cpage['urlname_nons'] == 'Portal' ) ? |
115 $page_name = ( $paths->cpage['urlname_nons'] == 'Portal' ) ? |
116 ( ( empty($x) ) ? |
116 ( ( empty($x) ) ? |
117 'Welcome to ' . getConfig('site_name') : |
117 'Welcome to ' . getConfig('site_name') : |
118 $x ) : |
118 $x ) : |
119 'News Archive'; |
119 'News Archive'; |
|
120 if ( method_exists($template, 'assign_vars') ) |
|
121 $template->assign_vars(array('PAGE_NAME' => $page_name)); |
|
122 else |
|
123 $template->tpl_strings['PAGE_NAME'] = $page_name; |
120 |
124 |
121 if ( !$page->perms->get_permissions('read') ) |
125 if ( !$page->perms->get_permissions('read') ) |
122 { |
126 { |
123 $page->err_access_denied(); |
127 $page->err_access_denied(); |
124 return false; |
128 return false; |