Minor - fix label, fix text.

pull/2487/head
jmontoyaa 7 years ago
parent 57d38b56b2
commit 9baca5d2b8
  1. 7
      main/session/session_category_edit.php
  2. 4
      main/social/search.php

@ -4,6 +4,7 @@
* Edition script for sessions categories * Edition script for sessions categories
* @package chamilo.admin * @package chamilo.admin
*/ */
$cidReset = true; $cidReset = true;
require_once __DIR__.'/../inc/global.inc.php'; require_once __DIR__.'/../inc/global.inc.php';
@ -82,7 +83,7 @@ if (!empty($return)) {
<input type="hidden" name="formSent" value="1"> <input type="hidden" name="formSent" value="1">
<legend><?php echo $tool_name; ?> </legend> <legend><?php echo $tool_name; ?> </legend>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_lang('SessionName') ?></label> <label class="col-sm-3 control-label"><?php echo get_lang('Name') ?></label>
<div class="col-sm-6"> <div class="col-sm-6">
<input class="form-control" type="text" name="name" size="50" maxlength="50" value="<?php if ($formSent) echo api_htmlentities($name, ENT_QUOTES, $charset); else echo api_htmlentities($infos['name'], ENT_QUOTES, $charset); ?>"> <input class="form-control" type="text" name="name" size="50" maxlength="50" value="<?php if ($formSent) echo api_htmlentities($name, ENT_QUOTES, $charset); else echo api_htmlentities($infos['name'], ENT_QUOTES, $charset); ?>">
</div> </div>
@ -227,8 +228,8 @@ if (!empty($return)) {
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="col-sm-offset-3 col-sm-6"> <div class="col-sm-offset-3 col-sm-6">
<button class="btn btn-success" type="submit" value="<?php echo get_lang('ModifyThisSession') ?>"> <button class="btn btn-success" type="submit" value="<?php echo get_lang('Edit') ?>">
<?php echo get_lang('ModifyThisSession') ?> <?php echo get_lang('Edit') ?>
</button> </button>
</div> </div>
</div> </div>

@ -156,7 +156,7 @@ if ($query != '' || ($query_vars['search_type'] == '1' && count($query_vars) > 2
$results, $results,
'search-friends', 'search-friends',
null, null,
'friends-acorderon', 'friends-accordion',
'friends-collapse' 'friends-collapse'
); );
@ -228,7 +228,7 @@ if ($query != '' || ($query_vars['search_type'] == '1' && count($query_vars) > 2
$block_groups, $block_groups,
'search-groups', 'search-groups',
null, null,
'groups-acorderon', 'groups-accordion',
'groups-collapse' 'groups-collapse'
); );
} }

Loading…
Cancel
Save