includes/template.php
changeset 335 67bd3121a12e
parent 326 ab66d6d1f1f4
child 345 4ccdfeee9a11
--- a/includes/template.php	Wed Dec 26 00:37:26 2007 -0500
+++ b/includes/template.php	Thu Dec 27 22:09:33 2007 -0500
@@ -324,7 +324,7 @@
     else if($session->get_permissions('view_source') && ( !$session->get_permissions('edit_page') || !$session->get_permissions('even_when_protected') && $paths->page_protected ) && $paths->namespace != 'Special' && $paths->namespace != 'Admin') 
     {
       $button->assign_vars(array(
-        'FLAGS' => 'onclick="if ( !KILL_SWITCH ) { void(ajaxViewSource()); return false; }" title="' . $lang->get('onpage_tip_viewsource') . '" accesskey="e"',
+        'FLAGS' => 'onclick="if ( !KILL_SWITCH ) { void(ajaxEditor()); return false; }" title="' . $lang->get('onpage_tip_viewsource') . '" accesskey="e"',
         'PARENTFLAGS' => 'id="mdgToolbar_edit"',
         'HREF' => makeUrl($paths->page, 'do=viewsource', true),
         'TEXT' => $lang->get('onpage_btn_viewsource')