equal
deleted
inserted
replaced
1006 $this->tpl_bool['auth_rename'] = ( $local_page_exists && $session->check_acl_scope('rename', $local_namespace) && ( $perms->get_permissions('rename') && ( $paths->page_protected && $perms->get_permissions('even_when_protected') || !$paths->page_protected ) )); |
1006 $this->tpl_bool['auth_rename'] = ( $local_page_exists && $session->check_acl_scope('rename', $local_namespace) && ( $perms->get_permissions('rename') && ( $paths->page_protected && $perms->get_permissions('even_when_protected') || !$paths->page_protected ) )); |
1007 $this->tpl_bool['enable_uploads'] = ( getConfig('enable_uploads') == '1' && $session->get_permissions('upload_files') ) ? true : false; |
1007 $this->tpl_bool['enable_uploads'] = ( getConfig('enable_uploads') == '1' && $session->get_permissions('upload_files') ) ? true : false; |
1008 $this->tpl_bool['stupid_mode'] = false; |
1008 $this->tpl_bool['stupid_mode'] = false; |
1009 $this->tpl_bool['in_admin'] = ( ( $local_page_id == 'Administration' && $local_namespace == 'Special' ) || $local_namespace == 'Admin' ); |
1009 $this->tpl_bool['in_admin'] = ( ( $local_page_id == 'Administration' && $local_namespace == 'Special' ) || $local_namespace == 'Admin' ); |
1010 |
1010 |
|
1011 // allows conditional testing of the theme ID (a bit crude, came from my NSIS days) |
|
1012 $this->tpl_bool["theme_is_{$this->theme}"] = true; |
|
1013 |
1011 $p = ( isset($_GET['printable']) ) ? '/printable' : ''; |
1014 $p = ( isset($_GET['printable']) ) ? '/printable' : ''; |
1012 |
1015 |
1013 // Add the e-mail address client code to the header |
1016 // Add the e-mail address client code to the header |
1014 $this->add_header($email->jscode()); |
1017 $this->add_header($email->jscode()); |
1015 |
1018 |