Removed -lang- prefix in get_lang() calls

skala
Yannick Warnier 13 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 // Show thumbnails
if ($slide_id != 'all') { 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 { } 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 // 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> </div>
@ -515,16 +515,16 @@ if ($slide_id != 'all') {
echo '<tr>'; echo '<tr>';
echo '<td align="center">'; echo '<td align="center">';
if ($_SESSION['image_resizing'] == 'resizing') { 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_widht = $_SESSION["image_resizing_width"].' x ';
$resize_height = $_SESSION['image_resizing_height']; $resize_height = $_SESSION['image_resizing_height'];
} }
elseif($_SESSION['image_resizing'] != 'noresizing'){ elseif($_SESSION['image_resizing'] != 'noresizing'){
$resize_info = get_lang('_resizing').'<br />'; $resize_info = get_lang('Resizing').'<br />';
$resize_widht = get_lang('Auto').' x '; $resize_widht = get_lang('Auto').' x ';
$resize_height = get_lang('Auto'); $resize_height = get_lang('Auto');
} else { } else {
$resize_info = get_lang('_no_resizing').'<br />'; $resize_info = get_lang('NoResizing').'<br />';
} }
echo $resize_info; echo $resize_info;
echo $resize_widht; 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 // 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 // bypass the $nametools thing and use <b></b> tags in the $interbreadcrump array
$url = 'slideshowoptions.php?curdirpath='.$pathurl; $url = 'slideshowoptions.php?curdirpath='.$pathurl;
$originaltoolname = '<b>'.get_lang('_slideshow_options').'</b>'; $originaltoolname = '<b>'.get_lang('SlideshowOptions').'</b>';
$interbreadcrumb[] = array('url' => $url, 'name' => $originaltoolname ); $interbreadcrumb[] = array('url' => $url, 'name' => $originaltoolname );
Display::display_header($originalToolName, 'Doc'); 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"> <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>
<div class="label"> <div class="label">
<input class="checkbox" name="radio_resizing" type="radio" onClick="disableresizing()" value="noresizing" <?php <input class="checkbox" name="radio_resizing" type="radio" onClick="disableresizing()" value="noresizing" <?php
@ -144,7 +144,7 @@ echo '</div>';
</div> </div>
<div> <div>
<?php echo get_lang('ResizingComment'); ?><br /> <?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 &nbsp;<input name="width" type="text" id="width" <?php
if ($image_resizing == 'resizing') { if ($image_resizing == 'resizing') {
echo ' value="'.$width.'"'; echo ' value="'.$width.'"';

Loading…
Cancel
Save