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"> <form id="changepassword-form" class="form" method="post">
<div> <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 /> <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 /> <input name="password2" type="password" /><br />
</div> </div>
</form> </form>

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

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

@ -577,7 +577,7 @@ if (!isset($_POST['compose'])) {
<span style="float: right;">&nbsp;</span> <span style="float: right;">&nbsp;</span>
<form id="search_simple" name="search_simple" method="get" action="' . api_get_self() . '" class="form-search"> <form id="search_simple" name="search_simple" method="get" action="' . api_get_self() . '" class="form-search">
<fieldset> <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> <span><button type="submit" name="submit" class="btn btn">' . get_lang('Search') . '</button></span>
<div class="clear"></div> <div class="clear"></div>
</fieldset> </fieldset>

Loading…
Cancel
Save