includes/pageutils.php
changeset 115 261f367623af
parent 112 008b1c42be72
child 142 ca9118d9c0f2
equal deleted inserted replaced
114:47393c6619ea 115:261f367623af
   507     else
   507     else
   508     {
   508     {
   509       
   509       
   510       echo '<form action="'.makeUrlNS($namespace, $page_id, 'do=diff').'" onsubmit="ajaxHistDiff(); return false;" method="get">
   510       echo '<form action="'.makeUrlNS($namespace, $page_id, 'do=diff').'" onsubmit="ajaxHistDiff(); return false;" method="get">
   511             <input type="submit" value="Compare selected revisions" />
   511             <input type="submit" value="Compare selected revisions" />
       
   512             ' . ( urlSeparator == '&' ? '<input type="hidden" name="title" value="' . htmlspecialchars($paths->nslist[$namespace] . $page_id) . '" />' : '' ) . '
       
   513             ' . ( $session->sid_super ? '<input type="hidden" name="auth"  value="' . $session->sid_super . '" />' : '') . '
       
   514             <input type="hidden" name="do" value="diff" />
   512             <br /><span>&nbsp;</span>
   515             <br /><span>&nbsp;</span>
   513             <div class="tblholder">
   516             <div class="tblholder">
   514             <table border="0" width="100%" cellspacing="1" cellpadding="4">
   517             <table border="0" width="100%" cellspacing="1" cellpadding="4">
   515             <tr>
   518             <tr>
   516               <th colspan="2">Diff</th>
   519               <th colspan="2">Diff</th>