Ejemplo n.º 1
0
 function description()
 {
     $button = HTML::input(array('type' => 'submit', 'value' => _("compare revisions"), 'class' => 'wikiaction'));
     $js_desc = $no_js_desc = _RecentChanges_HtmlFormatter::description();
     $js_desc->pushContent("\n", _("Check any two boxes to compare revisions."));
     $no_js_desc->pushContent("\n", fmt("Check any two boxes then %s.", $button));
     return IfJavaScript($js_desc, $no_js_desc);
 }