mirror of
https://github.com/php/web-pres2.git
synced 2026-03-23 23:12:07 +01:00
A few tweaks
This commit is contained in:
@@ -85,7 +85,6 @@ class XML_Presentation extends XML_Parser
|
||||
function XML_Presentation($handle = '')
|
||||
{
|
||||
$this->XML_Parser();
|
||||
|
||||
if (@is_resource($handle)) {
|
||||
$this->setInput($handle);
|
||||
} elseif ($handle != '') {
|
||||
|
||||
@@ -1160,6 +1160,7 @@ class pdf extends display {
|
||||
pdf_translate($pdf,0,$y);
|
||||
pdf_scale($pdf, 1, -1); // Reflect across horizontal axis
|
||||
pdf_set_value($pdf,"horizscaling",-100); // Mirror
|
||||
|
||||
}
|
||||
// }}}
|
||||
|
||||
|
||||
@@ -201,6 +201,7 @@ switch($display_mode) {
|
||||
*/
|
||||
}
|
||||
?>
|
||||
<p><?php echo message('FONT_SIZES'); ?></p>
|
||||
<p><?php echo message('AVAILABLE_PRESENTATIONS'); ?></p>
|
||||
<table align="center" class="index">
|
||||
<tr><th><?php echo message('PRES_TITLE'); ?></th>
|
||||
|
||||
@@ -22,6 +22,7 @@ $messages = array(
|
||||
" <Space> or <Enter> next slide\n".
|
||||
" <Backspace> previous slide",
|
||||
'NO_PDF_EXTENSION' => 'The PDF extension is not loaded, so this format is not available here.',
|
||||
'FONT_SIZES' => 'You may need to play with your font sizes a bit to get these to display nicely.',
|
||||
'AVAILABLE_PRESENTATIONS' => 'The available presentations are... (most recent first)',
|
||||
'PRES_TITLE' => 'Title',
|
||||
'PRES_DATE' => 'Date',
|
||||
|
||||
@@ -22,6 +22,7 @@ $messages = array(
|
||||
" <Barra de espacio> or <Tecla de retorno> diapositiva siguiente\n".
|
||||
" <Tecla de retroceso> diapositiva previa",
|
||||
'NO_PDF_EXTENSION' => 'La extensi&ooacute;n de PDF no esta cargada, de manera que este formato no esta disponible aqui.',
|
||||
'FONT_SIZES' => 'You may need to play with your font sizes a bit to get these to display nicely.',
|
||||
'AVAILABLE_PRESENTATIONS' => 'Las presentaciones disponibles son... (la más reciente primera)',
|
||||
'PRES_TITLE' => 'Título',
|
||||
'PRES_DATE' => 'Fecha',
|
||||
|
||||
Reference in New Issue
Block a user