A few tweaks

This commit is contained in:
Rasmus Lerdorf
2005-11-22 17:29:42 +00:00
parent 60bdd8fe3e
commit b4e307f90c
5 changed files with 4 additions and 1 deletions

View File

@@ -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 != '') {

View File

@@ -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
}
// }}}

View File

@@ -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>

View File

@@ -22,6 +22,7 @@ $messages = array(
" &lt;Space&gt; or &lt;Enter&gt; next slide\n".
" &lt;Backspace&gt; 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',

View File

@@ -22,6 +22,7 @@ $messages = array(
" &lt;Barra de espacio&gt; or &lt;Tecla de retorno&gt; diapositiva siguiente\n".
" &lt;Tecla de retroceso&gt; 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&aacute;s reciente primera)',
'PRES_TITLE' => 'T&iacute;tulo',
'PRES_DATE' => 'Fecha',