Changed the name of the id for the focus when create a wiki CT#462

skala
Arthur Portugal 15 years ago
parent 57975a688c
commit c81dd2a180
  1. 2
      main/wiki/wiki.inc.php

@ -604,7 +604,7 @@ return true;
//form
echo '<form name="form1" method="post" onsubmit="return CheckSend()" action="'.api_get_self().'?cidReq='.$_course[id].'&action=showpage&amp;title='.$page.'&group_id='.Security::remove_XSS($_GET['group_id']).'">';
echo '<div id="wikititle" style="min-height:30px;">';
echo '<div style="width:70%;float:left;"><span class="form_required">*</span> '.get_lang(Title).': <input type="text" id="title" name="title" value="'.urldecode($_GET['title']).'" size="40"></div>';
echo '<div style="width:70%;float:left;"><span class="form_required">*</span> '.get_lang(Title).': <input type="text" id="wiki_title" name="title" value="'.urldecode($_GET['title']).'" size="40"></div>';
if(api_is_allowed_to_edit(false,true) || api_is_platform_admin())
{

Loading…
Cancel
Save