Remove all get_lang('lang...') - refs #4467

1.10.x
Yannick Warnier 10 years ago
parent fd6ee8af00
commit 0bf126df31
  1. 4
      custompages/first_login-dist.php
  2. 6
      custompages/index-unlogged-dist.php
  3. 4
      custompages/lostpassword-dist.php
  4. 2
      plugin/ticket/src/new_ticket.php

@ -88,9 +88,9 @@ if ($_GET['invalid'] == 2) {
}?>
<form id="changepassword-form" class="form" method="post">
<div>
<label for="password">*<?php echo custompages_get_lang('langPass');?></label>
<label for="password">*<?php echo custompages_get_lang('Password');?></label>
<input name="password" type="password" /><br />
<label for="password2">*<?php echo custompages_get_lang('langPass');?></label>
<label for="password2">*<?php echo custompages_get_lang('Password');?></label>
<input name="password2" type="password" /><br />
</div>
</form>

@ -92,7 +92,7 @@ $rootWeb = api_get_path('WEB_PATH');
<div>
<label for="login">*<?php echo custompages_get_lang('User');?></label>
<input name="login" type="text" /><br />
<label for="password">*<?php echo custompages_get_lang('langPass');?></label>
<label for="password">*<?php echo custompages_get_lang('Password');?></label>
<input name="password" type="password" /><br />
</div>
</form>
@ -103,12 +103,12 @@ $rootWeb = api_get_path('WEB_PATH');
<?php if (api_get_setting('allow_registration') === 'true') { ?>
<a href="<?php echo api_get_path(WEB_PATH); ?>main/auth/inscription.php?language=<?php echo api_get_interface_language(); ?>">
<?php echo custompages_get_lang('langReg')?>
<?php echo custompages_get_lang('Registration')?>
</a><br />
<?php } ?>
<a href="<?php echo api_get_path(WEB_PATH); ?>main/auth/lostPassword.php?language=<?php echo api_get_interface_language(); ?>">
<?php echo custompages_get_lang('langLostPassword')?>
<?php echo custompages_get_lang('LostPassword')?>
</a>
</div>
</div> <!-- #form -->

@ -43,7 +43,7 @@ require_once('language.php');
<?php if(isset($content['error']) && !empty($content['error'])){
echo $content['info'];
} else {
echo custompages_get_lang('lang_enter_email_and_well_send_you_password');
echo custompages_get_lang('EnterEmailAndWeWillSendYouYourPassword');
}?>
</div>
<div id="lostpassword-form-box" class="form-box">
@ -57,7 +57,7 @@ require_once('language.php');
</div>
</form>
<div id="lostpassword-form-submit" class="form-submit" onclick="document.forms['lostpassword-form'].submit();">
<span><?php echo custompages_get_lang('langSend'); ?> </span>
<span><?php echo custompages_get_lang('Send'); ?> </span>
</div> <!-- #form-submit -->
</div> <!-- #form -->
<div id="footer">

@ -577,7 +577,7 @@ if (!isset($_POST['compose'])) {
<span style="float: right;">&nbsp;</span>
<form id="search_simple" name="search_simple" method="get" action="' . api_get_self() . '" class="form-search">
<fieldset>
<span><label for="keyword">' . get_lang('langSearchAUser') . ': &nbsp;</label><input type="text" name="keyword" size="25"></span>
<span><label for="keyword">' . get_lang('SearchAUser') . ': &nbsp;</label><input type="text" name="keyword" size="25"></span>
<span><button type="submit" name="submit" class="btn btn">' . get_lang('Search') . '</button></span>
<div class="clear"></div>
</fieldset>

Loading…
Cancel
Save