Dokuwiki - Print View Button

Make use of the do=export_html option of doku.php.

That option removes all the buttons and stuff and shows the wikipage only.

Changes: (dokuwiki-2006-03-09)

  • lib/tpl/default/main.php @ line 53
        <?php tpl_button('history')?>
++      <?php print html_btn('show_print_view',$ID,'v',array('do' => 'export_html')) ?>
     </div>
  • inc/lang/en/lang.php @ line 15


Mariusz Zalewski 2006/12/02 21:18

2009/12/10 - Ronny: Changes above (2006-03-09) are working with the current Release Candidate dokuwiki-rc2009-12-02 - regards. Ronny

Changes: (dokuwiki-2005-02-18)

  • doku.php @ line 94

  • lang/en/lang.php @ line 14


FIXME does no longer work... (doku.php has only 71 lines)

Changes: (dokuwiki-2005-05-07)

  • inc/html.php @ line 107
  • lang/en/lang.php @ line 14

Changes: (dokuwiki-2005-07-13)

  • inc/html.php @ line 107
  • inc/lang/en/lang.php @ line 14

This works for me - Ronny

Changes: (dokuwiki-2005-09-22a)

  • inc/html.php @ line 106
  • inc/lang/en/lang.php @ line 14

Works for me too ;-) Phil Wenzlawski

Changes: (dokuwiki-2006-03-09)

  • inc/lang/en/lang.php @ line 16
  • inc/html.php @ line 115

Here's the diff:



Joseph Nahmias 2006-07-26 18:02

Nice hack, here is patch file for Czech lanuague:
*** lang.php.cz.orig    2006-08-09 19:06:56.000000000 +0200
--- lang.php.cz 2006-08-09 19:07:21.000000000 +0200
***************
*** 11,16 ****
--- 11,17 ----
  $lang['btn_edit']   = 'Upravit stránku';
  $lang['btn_source'] = 'Zdrojový kód stránky';
  $lang['btn_show']   = 'Zobrazit stránku';
+ $lang['btn_show_print_view']   = 'Náhled tisku';
  $lang['btn_create'] = 'Vytvořit stránku';
  $lang['btn_search'] = 'Hledat';
  $lang['btn_save']   = 'Uložit';


Aleš Zelený

This does no longer seem to work with the current version of DokuWiki. Does anyone have a fix ? Thanks

Hugh Norris - 11/16/2006

 
wiki/projects/php/dokuwiki/print_view.txt · Last modified: 2010/06/23 13:44 by e-razor
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki