Removed -lang- prefix in get_lang() calls

skala
Yannick Warnier 12 years ago
parent 52cb8ee787
commit a863768ab9
  1. 12
      main/document/slideshow.php
  2. 6
      main/document/slideshowoptions.php

@ -136,12 +136,12 @@ echo '<a href="document.php?action=exit_slideshow&curdirpath='.$pathurl.'">'.Dis
// Show thumbnails
if ($slide_id != 'all') {
echo '<a href="slideshow.php?slide_id=all&curdirpath='.$pathurl.'">'.Display::return_icon('thumbnails.png',get_lang('_show_thumbnails'),'',ICON_SIZE_MEDIUM).'</a>';
echo '<a href="slideshow.php?slide_id=all&curdirpath='.$pathurl.'">'.Display::return_icon('thumbnails.png',get_lang('ShowThumbnails'),'',ICON_SIZE_MEDIUM).'</a>';
} else {
echo Display::return_icon('thumbnails_na.png',get_lang('_show_thumbnails'),'',ICON_SIZE_MEDIUM);
echo Display::return_icon('thumbnails_na.png',get_lang('ShowThumbnails'),'',ICON_SIZE_MEDIUM);
}
// Slideshow options
echo '<a href="slideshowoptions.php?curdirpath='.$pathurl.'">'.Display::return_icon('settings.png',get_lang('_set_slideshow_options'),'',ICON_SIZE_MEDIUM).'</a>';
echo '<a href="slideshowoptions.php?curdirpath='.$pathurl.'">'.Display::return_icon('settings.png',get_lang('SetSlideshowOptions'),'',ICON_SIZE_MEDIUM).'</a>';
?>
</div>
@ -515,16 +515,16 @@ if ($slide_id != 'all') {
echo '<tr>';
echo '<td align="center">';
if ($_SESSION['image_resizing'] == 'resizing') {
$resize_info = get_lang('_resizing').'<br />';
$resize_info = get_lang('Resizing').'<br />';
$resize_widht = $_SESSION["image_resizing_width"].' x ';
$resize_height = $_SESSION['image_resizing_height'];
}
elseif($_SESSION['image_resizing'] != 'noresizing'){
$resize_info = get_lang('_resizing').'<br />';
$resize_info = get_lang('Resizing').'<br />';
$resize_widht = get_lang('Auto').' x ';
$resize_height = get_lang('Auto');
} else {
$resize_info = get_lang('_no_resizing').'<br />';
$resize_info = get_lang('NoResizing').'<br />';
}
echo $resize_info;
echo $resize_widht;

@ -47,7 +47,7 @@ $interbreadcrumb[] = array('url' => $url, 'name' => $originaltoolname);
// Because $nametools uses $_SERVER['PHP_SELF'] for the breadcrumbs instead of $_SERVER['REQUEST_URI'], I had to
// bypass the $nametools thing and use <b></b> tags in the $interbreadcrump array
$url = 'slideshowoptions.php?curdirpath='.$pathurl;
$originaltoolname = '<b>'.get_lang('_slideshow_options').'</b>';
$originaltoolname = '<b>'.get_lang('SlideshowOptions').'</b>';
$interbreadcrumb[] = array('url' => $url, 'name' => $originaltoolname );
Display::display_header($originalToolName, 'Doc');
@ -98,7 +98,7 @@ echo '</div>';
?>
<form action="slideshow.php?curdirpath=<?php echo $pathurl; ?>" method="post" name="options" id="options">
<legend><?php echo get_lang('_slideshow_options') ?></legend>
<legend><?php echo get_lang('SlideshowOptions') ?></legend>
<div>
<div class="label">
<input class="checkbox" name="radio_resizing" type="radio" onClick="disableresizing()" value="noresizing" <?php
@ -144,7 +144,7 @@ echo '</div>';
</div>
<div>
<?php echo get_lang('ResizingComment'); ?><br />
<?php echo get_lang('_width'); ?>:
<?php echo get_lang('Width'); ?>:
&nbsp;<input name="width" type="text" id="width" <?php
if ($image_resizing == 'resizing') {
echo ' value="'.$width.'"';

Loading…
Cancel
Save