| /dokuwiki/_test/tests/inc/ |
| H A D | difference_engine.test.php | 13 $diff = new Diff(explode("\n", $this->x), explode("\n", $this->y)); 15 $actual = $diffformatter->format($diff); 16 $expected = '<tr><td class="diff-blockheader" colspan="2">Line 1:</td> 17 <td class="diff-blockheader" colspan="2">Line 1:</td> 19 …diff-lineheader">-</td><td class="diff-deletedline"><strong class="diff-mark">zzz</strong></td><td… 20 <tr><td class="diff-lineheader"> </td><td class="diff-context"></td><td class="diff-lineheader… 21 <tr><td class="diff-lineheader"> </td><td class="diff-context">aaa</td><td class="diff-linehea… 22 <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></… 23 <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">bbb</td… 24 <tr><td class="diff-lineheader"> </td><td class="diff-context"></td><td class="diff-lineheader… [all …]
|
| /dokuwiki/lib/tpl/dokuwiki/css/ |
| H A D | _diff.css | 2 * This file provides styles for the diff view, which shows you 3 * differences between two versions of a page (?do=diff). 6 .dokuwiki table.diff { 10 .dokuwiki table.diff th, 11 .dokuwiki table.diff td { 21 .dokuwiki table.diff th { 26 .dokuwiki table.diff th a { 29 .dokuwiki table.diff th span.user { 32 .dokuwiki table.diff th span.sum { 36 .dokuwiki table.diff th.minor { [all …]
|
| /dokuwiki/inc/Feed/ |
| H A D | FeedPageProcessor.php | 5 use Diff; alias 34 case 'diff': 36 $opt = ['rev' => $this->getRev(), 'do' => 'diff']; 48 case 'diff': 49 $diff = $this->getDiff(); 50 // note: diff output must be escaped, UnifiedDiffFormatter provides plain text 52 return "<pre>\n" . hsc($udf->format($diff)) . "\n</pre>"; 55 $diff = $this->getDiff(); 56 // note: no need to escape diff output, TableDiffFormatter provides 'safe' html 61 $content .= $tdf->format($diff); [all …]
|
| /dokuwiki/vendor/paragonie/constant_time_encoding/src/ |
| H A D | Base64UrlSafe.php | 79 $diff = 0x41; 81 // if ($src > 25) $diff += 0x61 - 0x41 - 26; // 6 82 $diff += ((25 - $src) >> 8) & 6; 84 // if ($src > 51) $diff += 0x30 - 0x61 - 26; // -75 85 $diff -= ((51 - $src) >> 8) & 75; 87 // if ($src > 61) $diff += 0x2d - 0x30 - 10; // -13 88 $diff -= ((61 - $src) >> 8) & 13; 90 // if ($src > 62) $diff += 0x5f - 0x2b - 1; // 3 91 $diff += ((62 - $src) >> 8) & 49; 93 return \pack('C', $src + $diff);
|
| H A D | Base64.php | 303 $diff = 0x41; 305 // if ($src > 25) $diff += 0x61 - 0x41 - 26; // 6 306 $diff += ((25 - $src) >> 8) & 6; 308 // if ($src > 51) $diff += 0x30 - 0x61 - 26; // -75 309 $diff -= ((51 - $src) >> 8) & 75; 311 // if ($src > 61) $diff += 0x2b - 0x30 - 10; // -15 312 $diff -= ((61 - $src) >> 8) & 15; 314 // if ($src > 62) $diff += 0x2f - 0x2b - 1; // 3 315 $diff += ((62 - $src) >> 8) & 3; 317 return \pack('C', $src + $diff);
|
| /dokuwiki/inc/Action/ |
| H A D | Diff.php | 9 * Class Diff 15 class Diff extends AbstractAction class 28 // store the selected diff type in cookie
|
| /dokuwiki/inc/Subscriptions/ |
| H A D | PageSubscriptionSender.php | 5 use Diff; alias 12 * Send the diff for some page change 43 $df = new Diff( 51 $df = new Diff( 66 $trep['DIFF'] = $tdiff; 67 $hrep['DIFF'] = $hdiff;
|
| /dokuwiki/inc/ |
| H A D | DifferenceEngine.php | 3 * A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3) 89 * Class used internally by Diff to actually compute the diffs. 92 * Algorithm::Diff (version 1.06) by Ned Konz, which is available at: 93 * http://www.perl.com/CPAN/authors/id/N/NE/NEDKONZ/Algorithm-Diff-1.06.zip 125 function diff($from_lines, $to_lines) { function in _DiffEngine 517 * Class representing a 'diff' between two sequences of strings. 519 class Diff { class 525 * Computes diff between sequences of strings. 533 $this->edits = $eng->diff($from_lines, $to_lines); 538 * Compute reversed Diff. [all …]
|
| /dokuwiki/inc/lang/lt/ |
| H A D | mailtext.txt | 12 Pakeitimo diff'as: 14 @DIFF@
|
| /dokuwiki/inc/Ui/ |
| H A D | Diff.php | 8 * DokuWiki Diff Interface 13 abstract class Diff extends Ui class 30 * Diff Ui constructor 66 * Gets or Sets preference of the Ui\Diff object 97 // diff link icon click, eg. &do=diff&rev=# 107 // submit button with two checked boxes, eg. &do=diff&rev2[0]=#&rev2[1]=#
|
| H A D | PageDiff.php | 18 class PageDiff extends Diff 43 $this->preference['difftype'] = 'sidebyside'; // diff view type: inline or sidebyside 95 * Handle requested revision(s) and diff view preferences 108 // requested diff view type 174 * Show diff 210 $Difference = new \Diff( 219 if ($this->preference['showIntro']) echo p_locale_xhtml('diff'); 221 // print form to choose diff view type, and exact url reference to the view 229 // display diff view table 231 echo '<table class="diff diff_' . hsc($this->preference['difftype']) . '">'; [all …]
|
| H A D | MediaDiff.php | 16 class MediaDiff extends Diff 43 $this->preference['difftype'] = 'both'; // diff view type: both, opacity or portions 55 * Handle requested revision(s) and diff view preferences 66 // requested diff view type 110 // adjust requested diff view type 137 if ($this->preference['showIntro']) echo p_locale_xhtml('diff'); 139 // print form to choose diff view type 162 * Print form to choose diff view type 180 $form->setHiddenField('mediado', 'diff'); 200 // diff view type: opacity or portions [all …]
|
| H A D | MediaRevisions.php | 66 $form->setHiddenField('mediado', 'diff'); // required for media revisions 91 $RevInfo->showIconCompareWithCurrent(), // link to diff view icon 107 // show button for diff view 108 $form->addButton('do[diff]', $lang['diff2'])->attr('type', 'submit');
|
| /dokuwiki/_test/tests/Feed/ |
| H A D | FeedPageProcessorTest.php | 101 "http://wiki.example.com/doku.php?id=wiki:dokuwiki&rev=$expectedMtime&do=diff", 102 $proc->getURL('diff') 105 $diff = explode("\n", $proc->getBody('diff')); 106 $this->assertEquals('<pre>', $diff[0]); 107 $this->assertStringStartsWith('@@', $diff[1]);
|
| /dokuwiki/inc/ChangeLog/ |
| H A D | RevisionInfo.php | 55 * set value of associated "current" key for internal use. Some UI element like diff 256 * diff link icon in recent changes list, to compare (this) current revision with previous one 270 // diff icon will not be shown when external edit occurred 275 … $param = ['tab_details' => 'history', 'mediado' => 'diff', 'ns' => getNS($id), 'image' => $id]; 283 $href = wl($id, ['do' => 'diff'], false, '&'); 289 . '<img src="' . DOKU_BASE . 'lib/images/diff.png" width="15" height="11"' 290 . ' title="' . $lang['diff'] . '" alt="' . $lang['diff'] . '" />' 298 * diff link icon in revisions list, compare this revision with current one 313 $param = ['mediado' => 'diff', 'image' => $id, 'rev' => $rev]; 319 $href = wl($id, ['rev' => $rev, 'do' => 'diff'], false, '&'); [all …]
|
| /dokuwiki/lib/plugins/config/lang/id-ni/ |
| H A D | lang.php | 45 $lang['rss_content_o_diff'] = 'Unified Diff'; 46 $lang['rss_content_o_htmldiff'] = 'HTML formatted diff table'; 47 $lang['rss_content_o_html'] = 'Fefu HTML format diff table';
|
| /dokuwiki/inc/lang/zh/ |
| H A D | mailtext.txt | 12 @DIFF@
|
| /dokuwiki/inc/lang/zh-tw/ |
| H A D | mailtext.txt | 12 @DIFF@
|
| /dokuwiki/inc/lang/ja/ |
| H A D | mailtext.txt | 14 @DIFF@
|
| /dokuwiki/inc/lang/la/ |
| H A D | mailtext.txt | 11 @DIFF@
|
| /dokuwiki/inc/lang/be/ |
| H A D | mailtext.txt | 12 @DIFF@
|
| /dokuwiki/inc/lang/ko/ |
| H A D | mailtext.txt | 12 @DIFF@
|
| /dokuwiki/inc/lang/tr/ |
| H A D | mailtext.txt | 12 @DIFF@
|
| /dokuwiki/inc/lang/fi/ |
| H A D | mailtext.txt | 12 @DIFF@
|
| /dokuwiki/inc/lang/sk/ |
| H A D | mailtext.txt | 12 @DIFF@
|