1088 |
1088 |
1089 $logout_link = $parser->run(); |
1089 $logout_link = $parser->run(); |
1090 |
1090 |
1091 $parser->assign_vars(Array( |
1091 $parser->assign_vars(Array( |
1092 'HREF'=>makeUrlNS('Special', 'Login/' . $local_page), |
1092 'HREF'=>makeUrlNS('Special', 'Login/' . $local_page), |
1093 'FLAGS'=>'onclick="if ( !KILL_SWITCH ) { ajaxStartLogin(); return false; }"', |
1093 'FLAGS'=>'onclick="if ( !KILL_SWITCH ) { ajaxStartLogin(); return false; }"' . ( $local_page_id == 'Login' && $local_namespace == 'Special' ? ' class="currentpage"' : '' ), |
1094 'TEXT'=>$lang->get('sidebar_btn_login'), |
1094 'TEXT'=>$lang->get('sidebar_btn_login'), |
1095 )); |
1095 )); |
1096 |
1096 |
1097 $login_link = $parser->run(); |
1097 $login_link = $parser->run(); |
1098 |
1098 |
1099 $parser->assign_vars(Array( |
1099 $parser->assign_vars(Array( |
1100 'HREF'=>makeUrlNS('Special', 'ChangeStyle/'.$local_page), |
1100 'HREF'=>makeUrlNS('Special', 'ChangeStyle/'.$local_page), |
1101 'FLAGS'=>'onclick="if ( !KILL_SWITCH ) { ajaxChangeStyle(); return false; }"', |
1101 'FLAGS'=>'onclick="if ( !KILL_SWITCH ) { ajaxChangeStyle(); return false; }"' . ( $local_page_id == 'ChangeStyle' && $local_namespace == 'Special' ? ' class="currentpage"' : '' ), |
1102 'TEXT'=>$lang->get('sidebar_btn_changestyle'), |
1102 'TEXT'=>$lang->get('sidebar_btn_changestyle'), |
1103 )); |
1103 )); |
1104 |
1104 |
1105 $theme_link = $parser->run(); |
1105 $theme_link = $parser->run(); |
1106 |
1106 |
1824 // Images |
1824 // Images |
1825 $message = RenderMan::process_image_tags($message, $taglist); |
1825 $message = RenderMan::process_image_tags($message, $taglist); |
1826 $message = RenderMan::process_imgtags_stage2($message, $taglist); |
1826 $message = RenderMan::process_imgtags_stage2($message, $taglist); |
1827 |
1827 |
1828 // Internal links |
1828 // Internal links |
1829 $message = RenderMan::parse_internal_links($message, $tplvars['sidebar_button'], false); |
1829 $message = RenderMan::parse_internal_links($message, $tplvars['sidebar_button'], false, $this->page_id, $this->namespace); |
1830 |
1830 |
1831 // External links |
1831 // External links |
1832 |
1832 |
1833 $url_regexp = <<<EOF |
1833 $url_regexp = <<<EOF |
1834 ( |
1834 ( |