fix span6 boostrap 2 deleted refs - CT#7539

1.10.x
aragonc 10 years ago
parent 49321f27de
commit 685c287528
  1. 2
      main/admin/access_url_edit.php
  2. 2
      main/admin/course_edit.php
  3. 2
      main/course_info/infocours.php
  4. 4
      main/document/create_audio.php
  5. 2
      main/exercice/question.class.php
  6. 2
      main/group/group_edit.php
  7. 4
      main/template/default/skill/drh_report.tpl

@ -105,7 +105,7 @@ if ($form->validate()) {
$form->setConstants(array('sec_token' => $token));
}
$form->addElement('text', 'url', 'URL', array('class' => 'span6'));
$form->addElement('text', 'url', 'URL');
$form->addRule('url', get_lang('ThisFieldIsRequired'), 'required');
$form->addRule('url', '', 'maxlength', 254);
$form->addElement('textarea', 'description', get_lang('Description'));

@ -99,7 +99,7 @@ $form->addElement('header', get_lang('Course') . ' #' . $courseInfo['real_id']
$form->addElement('hidden', 'code', $course_code);
//title
$form->addText('title', get_lang('Title'), true, array('class' => 'span6'));
$form->addText('title', get_lang('Title'), true);
$form->applyFilter('title', 'html_filter');
$form->applyFilter('title', 'trim');

@ -211,7 +211,7 @@ $form->addGroup($group, '', array(get_lang("Unsubscription")), '');
$form->addText('course_registration_password', get_lang('CourseRegistrationPassword'), false, array('size' => '60'));
$form->addElement('checkbox', 'activate_legal', array(null, get_lang('ShowALegalNoticeWhenEnteringTheCourse')), get_lang('ActivateLegal'));
$form->addElement('textarea', 'legal', get_lang('CourseLegalAgreement'), array('class'=>'span6', 'rows' => 8));
$form->addElement('textarea', 'legal', get_lang('CourseLegalAgreement'), array('rows' => 8));
$form->addButtonSave(get_lang('SaveSettings'), 'submit_save');
$form->addElement('html', '</div></div>');

@ -221,7 +221,7 @@ if (Security::remove_XSS($_GET['dt2a']) == 'google') {
$form->addElement('hidden', 'id', $document_id);
$form->addElement('text', 'title', get_lang('Title'));
$form->addElement('select', 'lang', get_lang('Language'), $options);
$form->addElement('textarea', 'text', get_lang('InsertText2Audio'), array('id' => 'textarea_google', 'class' =>'span6' ));
$form->addElement('textarea', 'text', get_lang('InsertText2Audio'), array('id' => 'textarea_google'));
//echo Display :: return_icon('info3.gif', get_lang('HelpGoogleAudio'), array('align' => 'absmiddle', 'hspace' => '3px'), false);
$form->addButtonSave(get_lang('SaveMP3'));
$defaults = array();
@ -253,7 +253,7 @@ if (Security::remove_XSS($_GET['dt2a']) == 'pediaphon') {
$speed_options['1.6'] = get_lang('SlowDown');
$form->addElement('select', 'speed', get_lang('Speed'), $speed_options, array());
$form->addElement('textarea', 'text', get_lang('InsertText2Audio'), array('id' => 'textarea_pediaphon', 'class' =>'span6'));
$form->addElement('textarea', 'text', get_lang('InsertText2Audio'), array('id' => 'textarea_pediaphon'));
//echo Display :: return_icon('info3.gif', get_lang('HelpPediaphon'), array('align' => 'absmiddle', 'hspace' => '3px'), false);
$form->addButtonSave(get_lang('SaveMP3'));
$defaults = array();

@ -1424,7 +1424,7 @@ abstract class Question
</script>';
// question name
$form->addElement('text', 'questionName', get_lang('Question'), array('class' => 'span6'));
$form->addElement('text', 'questionName', get_lang('Question'));
$form->addRule('questionName', get_lang('GiveQuestion'), 'required');
// default content

@ -130,7 +130,7 @@ $form->addElement('hidden', 'referer');
$form->addText('name', get_lang('GroupName'));
// Description
$form->addElement('textarea', 'description', get_lang('Description'), array ('class' => 'span6', 'rows' => 6));
$form->addElement('textarea', 'description', get_lang('Description'), array ('rows' => 6));
$complete_user_list = GroupManager :: fill_groups_list($current_group['id']);
usort($complete_user_list, 'sort_users');

@ -10,7 +10,7 @@
<h1 class="page-header">{{ 'Skills' | get_lang }}</h1>
<div class="row">
<div class="span6">
<div class="col-md-6">
<form class="form-inline" method="post" action="{{ _p.web_self }}">
<label for="course">{{ 'Courses' | get_lang }}</label>
<select name="course" id="course">
@ -22,7 +22,7 @@
<button type="submit" class="btn btn-default">{{ 'Filter' | get_lang }}</button>
</form>
</div>
<div class="span6">
<div class="col-md-6">
<form class="form-inline" method="post" action="{{ _p.web_self }}">
<label for="skill">{{ 'Skills' | get_lang }}</label>
<select name="skill" id="skill">

Loading…
Cancel
Save