Révision 5a7e6170
Ajouté par Florent Torregrosa il y a environ 10 ans
drupal7/sites/all/modules/pdf_reader/theme/pdf_js.tpl.php | ||
---|---|---|
5 | 5 |
<div id="sidebarContainer"> |
6 | 6 |
<div id="toolbarSidebar" class="splitToolbarButton toggled"> |
7 | 7 |
<button id="viewThumbnail" class="toolbarButton group toggled" title="Show Thumbnails" onclick="PDFView.switchSidebarView('thumbs')" tabindex="1" data-l10n-id="thumbs"> |
8 |
<span data-l10n-id="thumbs_label">Thumbnails</span>
|
|
8 |
<span data-l10n-id="thumbs_label"><?php print t('Thumbnails'); ?></span>
|
|
9 | 9 |
</button> |
10 | 10 |
<button id="viewOutline" class="toolbarButton group" title="Show Document Outline" onclick="PDFView.switchSidebarView('outline')" tabindex="2" data-l10n-id="outline"> |
11 |
<span data-l10n-id="outline_label">Document Outline</span>
|
|
11 |
<span data-l10n-id="outline_label"><?php print t('Document Outline'); ?></span>
|
|
12 | 12 |
</button> |
13 | 13 |
<button id="viewSearch" class="toolbarButton group hidden" title="Search Document" onclick="PDFView.switchSidebarView('search')" tabindex="3" data-l10n-id="search_panel"> |
14 |
<span data-l10n-id="search_panel_label">Search Document</span>
|
|
14 |
<span data-l10n-id="search_panel_label"><?php print t('Search Document'); ?></span>
|
|
15 | 15 |
</button> |
16 | 16 |
</div> |
17 | 17 |
<div id="sidebarContent"> |
... | ... | |
22 | 22 |
<div id="searchView" class="hidden"> |
23 | 23 |
<div id="searchToolbar"> |
24 | 24 |
<input id="searchTermsInput" class="toolbarField" onkeydown='if (event.keyCode == 13) PDFView.search()'> |
25 |
<button id="searchButton" class="textButton toolbarButton" onclick='PDFView.search()' data-l10n-id="search">Find</button>
|
|
25 |
<button id="searchButton" class="textButton toolbarButton" onclick='PDFView.search()' data-l10n-id="search"><?php print t('Find'); ?></button>
|
|
26 | 26 |
</div> |
27 | 27 |
<div id="searchResults"></div> |
28 | 28 |
</div> |
... | ... | |
36 | 36 |
<div id="toolbarViewer"> |
37 | 37 |
<div id="toolbarViewerLeft"> |
38 | 38 |
<button id="sidebarToggle" class="toolbarButton" title="Toggle Sidebar" tabindex="4" data-l10n-id="toggle_slider"> |
39 |
<span data-l10n-id="toggle_slider_label">Toggle Sidebar</span>
|
|
39 |
<span data-l10n-id="toggle_slider_label"><?php print t('Toggle Sidebar'); ?></span>
|
|
40 | 40 |
</button> |
41 | 41 |
<div class="toolbarButtonSpacer"></div> |
42 | 42 |
<div class="splitToolbarButton"> |
43 | 43 |
<button class="toolbarButton pageUp" title="Previous Page" onclick="PDFView.page--" id="previous" tabindex="5" data-l10n-id="previous"> |
44 |
<span data-l10n-id="previous_label">Previous</span>
|
|
44 |
<span data-l10n-id="previous_label"><?php print t('Previous'); ?></span>
|
|
45 | 45 |
</button> |
46 | 46 |
<div class="splitToolbarButtonSeparator"></div> |
47 | 47 |
<button class="toolbarButton pageDown" title="Next Page" onclick="PDFView.page++" id="next" tabindex="6" data-l10n-id="next"> |
48 |
<span data-l10n-id="next_label">Next</span>
|
|
48 |
<span data-l10n-id="next_label"><?php print t('Next'); ?></span>
|
|
49 | 49 |
</button> |
50 | 50 |
</div> |
51 |
<label id="pageNumberLabel" class="toolbarLabel" for="pageNumber" data-l10n-id="page_label">Page: </label>
|
|
51 |
<label id="pageNumberLabel" class="toolbarLabel" for="pageNumber" data-l10n-id="page_label"><?php print t('Page'); ?>: </label>
|
|
52 | 52 |
<input type="number" id="pageNumber" class="toolbarField pageNumber" onchange="PDFView.page = this.value;" value="1" size="4" min="1" tabindex="7"> |
53 | 53 |
</input> |
54 | 54 |
<span id="numPages" class="toolbarLabel"></span> |
... | ... | |
56 | 56 |
<div id="toolbarViewerRight"> |
57 | 57 |
|
58 | 58 |
<button id="fullscreen" class="toolbarButton fullscreen" title="Fullscreen" tabindex="11" data-l10n-id="fullscreen" onclick="PDFView.fullscreen();"> |
59 |
<span data-l10n-id="fullscreen_label">Fullscreen</span>
|
|
59 |
<span data-l10n-id="fullscreen_label"><?php print t('Fullscreen'); ?></span>
|
|
60 | 60 |
</button> |
61 | 61 |
|
62 | 62 |
<button id="print" class="toolbarButton print" title="Print" tabindex="13" data-l10n-id="print" onclick="window.print()"> |
63 |
<span data-l10n-id="print_label">Print</span>
|
|
63 |
<span data-l10n-id="print_label"><?php print t('Print'); ?></span>
|
|
64 | 64 |
</button> |
65 | 65 |
|
66 | 66 |
<button id="download" class="toolbarButton download" title="Download" onclick="PDFView.download();" tabindex="14" data-l10n-id="download"> |
67 |
<span data-l10n-id="download_label">Download</span>
|
|
67 |
<span data-l10n-id="download_label"><?php print t('Download'); ?></span>
|
|
68 | 68 |
</button> |
69 | 69 |
<!-- <div class="toolbarButtonSpacer"></div> --> |
70 |
<a href="#" id="viewBookmark" class="toolbarButton bookmark" title="Current view (copy or open in new window)" tabindex="15" data-l10n-id="bookmark"><span data-l10n-id="bookmark_label">Current View</span></a>
|
|
70 |
<a href="#" id="viewBookmark" class="toolbarButton bookmark" title="Current view (copy or open in new window)" tabindex="15" data-l10n-id="bookmark"><span data-l10n-id="bookmark_label"><?php print t('Current View'); ?></span></a>
|
|
71 | 71 |
</div> |
72 | 72 |
<div class="outerCenter"> |
73 | 73 |
<div class="innerCenter" id="toolbarViewerMiddle"> |
74 | 74 |
<div class="splitToolbarButton"> |
75 | 75 |
<button class="toolbarButton zoomOut" title="Zoom Out" onclick="PDFView.zoomOut();" tabindex="8" data-l10n-id="zoom_out"> |
76 |
<span data-l10n-id="zoom_out_label">Zoom Out</span>
|
|
76 |
<span data-l10n-id="zoom_out_label"><?php print t('Zoom Out'); ?></span>
|
|
77 | 77 |
</button> |
78 | 78 |
<div class="splitToolbarButtonSeparator"></div> |
79 | 79 |
<button class="toolbarButton zoomIn" title="Zoom In" onclick="PDFView.zoomIn();" tabindex="9" data-l10n-id="zoom_in"> |
80 |
<span data-l10n-id="zoom_in_label">Zoom In</span>
|
|
80 |
<span data-l10n-id="zoom_in_label"><?php print t('Zoom In'); ?></span>
|
|
81 | 81 |
</button> |
82 | 82 |
</div> |
83 | 83 |
<span id="scaleSelectContainer" class="dropdownToolbarButton"> |
84 | 84 |
<select id="scaleSelect" onchange="PDFView.parseScale(this.value);" title="Zoom" oncontextmenu="return false;" tabindex="10" data-l10n-id="zoom"> |
85 |
<option id="pageAutoOption" value="auto" selected="selected" data-l10n-id="page_scale_auto">Automatic Zoom</option>
|
|
86 |
<option id="pageActualOption" value="page-actual" data-l10n-id="page_scale_actual">Actual Size</option>
|
|
87 |
<option id="pageFitOption" value="page-fit" data-l10n-id="page_scale_fit">Fit Page</option>
|
|
88 |
<option id="pageWidthOption" value="page-width" data-l10n-id="page_scale_width">Full Width</option>
|
|
85 |
<option id="pageAutoOption" value="auto" selected="selected" data-l10n-id="page_scale_auto"><?php print t('Automatic Zoom'); ?></option>
|
|
86 |
<option id="pageActualOption" value="page-actual" data-l10n-id="page_scale_actual"><?php print t('Actual Size'); ?></option>
|
|
87 |
<option id="pageFitOption" value="page-fit" data-l10n-id="page_scale_fit"><?php print t('Fit Page'); ?></option>
|
|
88 |
<option id="pageWidthOption" value="page-width" data-l10n-id="page_scale_width"><?php print t('Full Width'); ?></option>
|
|
89 | 89 |
<option id="customScaleOption" value="custom"></option> |
90 | 90 |
<option value="0.5">50%</option> |
91 | 91 |
<option value="0.75">75%</option> |
... | ... | |
114 | 114 |
<div id="errorMessageLeft"> |
115 | 115 |
<span id="errorMessage"></span> |
116 | 116 |
<button id="errorShowMore" onclick="" oncontextmenu="return false;" data-l10n-id="error_more_info"> |
117 |
More Information
|
|
117 |
<?php print t('More Information'); ?>
|
|
118 | 118 |
</button> |
119 | 119 |
<button id="errorShowLess" onclick="" oncontextmenu="return false;" data-l10n-id="error_less_info" hidden='true'> |
120 |
Less Information
|
|
120 |
<?php print t('Less Information'); ?>
|
|
121 | 121 |
</button> |
122 | 122 |
</div> |
123 | 123 |
<div id="errorMessageRight"> |
124 | 124 |
<button id="errorClose" oncontextmenu="return false;" data-l10n-id="error_close"> |
125 |
Close
|
|
125 |
<?php print t('Close'); ?>
|
|
126 | 126 |
</button> |
127 | 127 |
</div> |
128 | 128 |
<div class="clearBoth"></div> |
Formats disponibles : Unified diff
Update :