Added in all tools a java script to set a focus in the text box CT#462

skala
Arthur Portugal 15 years ago
parent 4192ff7deb
commit 5eafe32d03
  1. 9
      main/announcements/announcements.php
  2. 19
      main/calendar/agenda.inc.php
  3. 12
      main/document/create_document.php
  4. 9
      main/document/upload.php
  5. 19
      main/dropbox/dropbox_functions.inc.php
  6. 13
      main/exercice/exercise.class.php
  7. 25
      main/forum/forumfunction.inc.php
  8. 12
      main/glossary/index.php
  9. 15
      main/gradebook/lib/fe/evalform.class.php
  10. 2
      main/group/group_creation.php
  11. 2
      main/inc/global_error_message.inc.php
  12. 14
      main/newscorm/learnpath.class.php
  13. 9
      main/newscorm/lp_add.php
  14. 12
      main/notebook/index.php
  15. 38
      main/survey/create_new_survey.php
  16. 15
      main/survey/survey.lib.php
  17. 2
      main/survey/survey_list.php
  18. 10
      main/wiki/index.php
  19. 12
      main/wiki/wiki.inc.php
  20. 14
      main/work/work.php

@ -208,6 +208,15 @@ if ((empty($originalresource) || ($originalresource!=='no')) and (!empty($action
*/
$htmlHeadXtra[] = to_javascript();
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#emailTitle").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
/*
-----------------------------------------------------------

@ -29,6 +29,23 @@ $DaysLong = api_get_week_days_long();
// Defining the months of the year to allow translation of the months
$MonthsLong = api_get_months_long();
/*
-----------------------------------------------------------
Javascript
-----------------------------------------------------------
*/
$htmlHeadXtra[] = to_javascript();
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
/*
==============================================================================
FUNCTIONS
@ -2842,7 +2859,7 @@ function show_add_form($id = '')
</div>
<div class="formw">
<div id="err_title" style="display:none;color:red"></div>
<input type="text" size="60" name="title" value="';
<input type="text" id="title" size="60" name="title" value="';
if (isset($title)) echo $title;
echo '" />
</div>

@ -45,7 +45,7 @@ $language_file = 'document';
include ('../inc/global.inc.php');
$_SESSION['whereami'] = 'document/create';
$this_section = SECTION_COURSES;
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[]='<script>
function InnerDialogLoaded()
@ -182,8 +182,14 @@ function InnerDialogLoaded()
{
document.getElementById(\'title_edited\').value = "true";
}
}
}
function setFocus(){
$("#title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
require_once api_get_path(LIBRARY_PATH).'fileUpload.lib.php';

@ -93,6 +93,13 @@ function advanced_parameters() {
document.getElementById(\'img_plus_and_minus\').innerHTML=\'&nbsp;<img style="vertical-align:middle;" src="../img/div_show.gif" alt="" />&nbsp;'.get_lang('AdvancedParameters').'\';
}
}
function setFocus(){
$("#title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
/**
@ -548,7 +555,7 @@ $form->addElement('file','user_upload',get_lang('File'),'id="user_upload" size="
if(api_get_setting('use_document_title')=='true')
{
$form->addElement('text','title',get_lang('Title'),'size="20" style="width:300px;"');
$form->addElement('text','title',get_lang('Title'),array('size'=>'20','style' => 'width:300px','id' => 'title'));
$form->addElement('textarea','comment',get_lang('Comment'),'wrap="virtual" style="width:300px;"');
}
//Advanced parameters

@ -5,6 +5,23 @@
* functions in the init files also but I have moved them over
* to one file -- Patrick Cool <patrick.cool@UGent.be>, Ghent University
*/
include('../inc/global.inc.php');
/*
-----------------------------------------------------------
Javascript
-----------------------------------------------------------
*/
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
/**
* This function is a wrapper function for the multiple actions feature.
* @return Mixed If there is a problem, return a string message, otherwise nothing
@ -485,7 +502,7 @@ function display_addcategory_form($category_name='', $id='',$action)
{
echo '<span class="form_error">'.get_lang('CategoryAlreadyExistsEditIt').'<span><br />';
}
echo ' <input type="text" name="category_name" value="'.Security::remove_XSS($category_name).'" />
echo ' <input type="text" id="title" name="category_name" value="'.Security::remove_XSS($category_name).'" />
</div>
</div>';

@ -7,6 +7,7 @@
* @author Olivier Brouckaert
* @version $Id: exercise.class.php 22046 2009-07-14 01:45:19Z ivantcholakov $
*/
include ('../inc/global.inc.php');
define('ALL_ON_ONE_PAGE',1);
define('ONE_PER_PAGE',2);
@ -14,6 +15,16 @@ define('EXERCISE_FEEDBACK_TYPE_END',0);
define('EXERCISE_FEEDBACK_TYPE_DIRECT',1);
define('EXERCISE_FEEDBACK_TYPE_EXAM',2);
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
if(!class_exists('Exercise')):
class Exercise
@ -906,7 +917,7 @@ class Exercise
}
$form->addElement('header', '', $form_title);
// title
$form -> addElement('text', 'exerciseTitle', get_lang('ExerciseName'),'class="input_titles"');
$form -> addElement('text', 'exerciseTitle', get_lang('ExerciseName'),'class="input_titles" id="title"');
//$form->applyFilter('exerciseTitle','html_filter');
$form -> addElement('html','<div class="row">

@ -66,12 +66,31 @@
* -- Patrick Cool <patrick.cool@UGent.be>
**************************************************************************
*/
require_once '../inc/global.inc.php';
require_once(api_get_path(LIBRARY_PATH).'mail.lib.inc.php');
require_once(api_get_path(LIBRARY_PATH).'text.lib.php');
require_once(api_get_path(INCLUDE_PATH).'/conf/mail.conf.php');
require_once(api_get_path(LIBRARY_PATH).'usermanager.lib.php');
require_once(api_get_path(LIBRARY_PATH).'text.lib.php');
get_notifications_of_user();
/*
-----------------------------------------------------------
Javascript
-----------------------------------------------------------
*/
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
/**
* This function handles all the forum and forumcategories actions. This is a wrapper for the
* forum and forum categories. All this code code could go into the section where this function is
@ -152,7 +171,7 @@ function show_add_forumcategory_form($inputvalues=array()) {
// settting the form elements
$form->addElement('header', '', get_lang('AddForumCategory'));
$form->addElement('text', 'forum_category_title', get_lang('Title'),'class="input_titles"');
$form->addElement('text', 'forum_category_title', get_lang('Title'),'class="input_titles" id="title"');
//$form->applyFilter('forum_category_title', 'html_filter');
$form->addElement('html_editor', 'forum_category_comment', get_lang('Comment'), null, array('ToolbarSet' => 'Forum', 'Width' => '98%', 'Height' => '200'));
//$form->applyFilter('forum_category_comment', 'html_filter');
@ -206,7 +225,7 @@ function show_add_forum_form($inputvalues=array()) {
$form->addElement('hidden', 'forum_id', $my_forum_id);
}
// The title of the forum
$form->addElement('text', 'forum_title', get_lang('Title'),'class="input_titles"');
$form->addElement('text', 'forum_title', get_lang('Title'),'class="input_titles" id="title"');
//$form->applyFilter('forum_title', 'html_filter');
// The comment of the forum
$form->addElement('html_editor', 'forum_comment', get_lang('Comment'), null, array('ToolbarSet' => 'Forum', 'Width' => '98%', 'Height' => '200'));
@ -3204,7 +3223,7 @@ function forum_search() {
// settting the form elements
$form->addElement('header', '', get_lang('ForumSearch'));
$form->addElement('text', 'search_term', get_lang('SearchTerm'),'class="input_titles"');
$form->addElement('text', 'search_term', get_lang('SearchTerm'),'class="input_titles" id="title"');
$form->applyFilter('search_term', 'html_filter');
$form->addElement('static', 'search_information', '', get_lang('ForumSearchInformation')/*, $dissertation[$_GET['opleidingsonderdeelcode']]['code']*/);
$form->addElement('style_submit_button', null, get_lang('Search'), 'class="search"');

@ -23,7 +23,15 @@ require_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'
// additional javascript
$htmlHeadXtra[] = javascript_glossary();
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#glossary_title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
// setting the tool constants
$tool = TOOL_GLOSSARY;
@ -58,7 +66,7 @@ if (api_is_allowed_to_edit(null,true)) {
$form = new FormValidator('glossary','post', api_get_self().'?action='.Security::remove_XSS($_GET['action']));
// settting the form elements
$form->addElement('header', '', get_lang('TermAddNew'));
$form->addElement('text', 'glossary_title', get_lang('TermName'), array('size'=>'95'));
$form->addElement('text', 'glossary_title', get_lang('TermName'), array('size'=>'95', 'id'=>'glossary_title'));
//$form->applyFilter('glossary_title', 'html_filter');
$form->addElement('html_editor', 'glossary_comment', get_lang('TermDefinition'), null, array('ToolbarSet' => 'Glossary', 'Width' => '100%', 'Height' => '300'));
$form->addElement('style_submit_button', 'SubmitGlossary', get_lang('TermAddButton'), 'class="save"');

@ -32,6 +32,18 @@ require_once (api_get_path(LIBRARY_PATH) . 'formvalidator/FormValidator.class.ph
* @author Stijn Konings
* @package dokeos.gradebook
*/
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
class EvalForm extends FormValidator
{
const TYPE_ADD= 1;
@ -313,7 +325,8 @@ class EvalForm extends FormValidator
$this->addElement('hidden', 'hid_course_code');
$this->add_textfield('name', get_lang('EvaluationName'), true, array (
'size' => '54',
'maxlength' => '50'
'maxlength' => '50',
'id' => 'title'
));
$this->add_textfield('weight', get_lang('Weight'), true, array (
'size' => '4',

@ -282,7 +282,7 @@ EOT;
$form->addGroup($group_el, 'group_'.$group_number, null, '</td><td>', false);
}
$defaults['action'] = 'create_groups';
$defaults['number_of_groups'] = $_POST['number_of_groups'];
$defaults['number_of_groups'] = intval($_POST['number_of_groups']);
$form->setDefaults($defaults);
$form->addElement('style_submit_button', 'submit', get_lang('CreateGroup'), 'class="save"');
$form->display();

@ -12,7 +12,7 @@
*/
$Organisation = '<a href="http://www.dokeos.com" target="_blank">Dokeos Homepage</a>';
$PoweredBy = 'Platform <a href="http://www.dokeos.com" target="_blank"> Dokeos </a> &copy; 2009';
$PoweredBy = 'Platform <a href="http://www.dokeos.com" target="_blank"> Dokeos </a> &copy; '.date('Y');
/**
* English language variables.

@ -12,6 +12,20 @@
* Defines the learnpath parent class
* @package dokeos.learnpath
*/
// including the global file
require_once '../inc/global.inc.php';
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#idTitle").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
class learnpath {
var $attempt = 0; //the number for the current ID view

@ -65,6 +65,15 @@ $currentstyle = api_get_setting('stylesheets');
//$htmlHeadXtra[] = '<link rel="stylesheet" type="text/css" href="'.api_get_path(WEB_CODE_PATH).'css/'.$currentstyle.'/learnpath.css"/>';
//$htmlHeadXtra[] = '<link rel="stylesheet" type="text/css" href="learnpath.css" />'; //will be a merged with original learnpath.css
$htmlHeadXtra[] = '<link rel="stylesheet" type="text/css" href="dtree.css" />'; //will be moved
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#idTitle").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
/*
-----------------------------------------------------------
Constants and variables

@ -26,6 +26,16 @@ require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php';
// additional javascript
$htmlHeadXtra[] = javascript_notebook();
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#notetitle").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
// setting the tool constants
$tool = TOOL_NOTEBOOK;
@ -70,7 +80,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'addnote')
$form = new FormValidator('note','post', api_get_self().'?action='.Security::remove_XSS($_GET['action']));
// settting the form elements
$form->addElement('header', '', get_lang('NoteAddNew'));
$form->addElement('text', 'note_title', get_lang('NoteTitle'),array('size'=>'95'));
$form->addElement('text', 'note_title', get_lang('NoteTitle'),array('size'=>'95', 'id'=> 'notetitle'));
//$form->applyFilter('note_title', 'html_filter');
$form->addElement('html_editor', 'note_comment', get_lang('NoteComment'), null, api_is_allowed_to_edit()
? array('ToolbarSet' => 'Notebook', 'Width' => '100%', 'Height' => '300')

@ -34,21 +34,9 @@
$language_file = 'survey';
// including the global dokeos file
require_once ('../inc/global.inc.php');
$this_section=SECTION_COURSES;
$htmlHeadXtra[] = '<script type="text/javascript" language="javascript">
require_once '../inc/global.inc.php';
function advanced_parameters() {
if(document.getElementById(\'options\').style.display == \'none\') {
document.getElementById(\'options\').style.display = \'block\';
document.getElementById(\'plus_minus\').innerHTML=\'&nbsp;'.Display::return_icon('div_hide.gif',get_lang('Hide'),array('style'=>'vertical-align:middle')).'&nbsp;'.get_lang('AdvancedParameters').'\';
} else {
document.getElementById(\'options\').style.display = \'none\';
document.getElementById(\'plus_minus\').innerHTML=\'&nbsp;'.Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align:middle')).'&nbsp;'.get_lang('AdvancedParameters').'\';
}
}
</script>';
$this_section=SECTION_COURSES;
// including additional libraries
/** @todo check if these are all needed */
@ -63,6 +51,26 @@ require_once (api_get_path(LIBRARY_PATH)."/groupmanager.lib.php");
require_once (api_get_path(LIBRARY_PATH)."/usermanager.lib.php");
require_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php');
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript" language="javascript">
function advanced_parameters() {
if(document.getElementById(\'options\').style.display == \'none\') {
document.getElementById(\'options\').style.display = \'block\';
document.getElementById(\'plus_minus\').innerHTML=\'&nbsp;'.Display::return_icon('div_hide.gif',get_lang('Hide'),array('style'=>'vertical-align:middle')).'&nbsp;'.get_lang('AdvancedParameters').'\';
} else {
document.getElementById(\'options\').style.display = \'none\';
document.getElementById(\'plus_minus\').innerHTML=\'&nbsp;'.Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align:middle')).'&nbsp;'.get_lang('AdvancedParameters').'\';
}
}
function setFocus(){
$("#SurveyCode").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
// Database table definitions
$table_survey = Database :: get_course_table(TABLE_SURVEY);
$table_user = Database :: get_main_table(TABLE_MAIN_USER);
@ -147,7 +155,7 @@ if ($_GET['action'] == 'edit' AND isset($survey_id) AND is_numeric($survey_id))
$form->addElement('hidden', 'survey_id');
}
$survey_code = $form->addElement('text', 'survey_code', get_lang('SurveyCode'), array('size' => '20','maxlength'=>'20'));
$survey_code = $form->addElement('text', 'survey_code', get_lang('SurveyCode'), array('size' => '20','maxlength'=>'20', 'id'=>'SurveyCode'));
//$form->applyFilter('survey_code', 'html_filter');
if ($_GET['action'] == 'edit') {

@ -30,7 +30,20 @@
* @todo use consistent naming for the functions (save vs store for instance)
*/
$config['survey']['debug'] = false;
//require_once '../inc/global.inc.php';
require_once(api_get_path(LIBRARY_PATH).'usermanager.lib.php');
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript" language="javascript">
function setFocus(){
$("#keyword_title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
class survey_manager
{
/******************************************************************************************************
@ -4383,7 +4396,7 @@ class SurveyUtil {
'.get_lang('Title').'
</div>
<div class="formw">
<input type="text" name="keyword_title"/>
<input type="text" id="keyword_title" name="keyword_title"/>
</div>
</div>';
echo ' <div class="row">

@ -39,7 +39,7 @@ if (!isset ($_GET['cidReq'])){
$cidReset = true;
}
// including the global dokeos file
require ('../inc/global.inc.php');
require_once '../inc/global.inc.php';
$this_section=SECTION_COURSES;
// including additional libraries

@ -64,6 +64,7 @@ require_once 'wiki.inc.php';
$htmlHeadXtra[] ='<link rel="stylesheet" type="text/css" href="'.api_get_path(WEB_CODE_PATH).'wiki/css/default.css"/>';
// javascript for advanced parameters menu
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript" language="javascript">
function advanced_parameters() {
if(document.getElementById(\'options\').style.display == \'none\') {
@ -74,6 +75,13 @@ function advanced_parameters() {
document.getElementById(\'plus_minus\').innerHTML=\'&nbsp;'.Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align:middle')).'&nbsp;'.get_lang('AdvancedParameters').'\';
}
}
function setFocus(){
$("#search_term").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
@ -1032,7 +1040,7 @@ if ($_GET['action']=='searchpages')
// settting the form elements
$form->addElement('text', 'search_term', get_lang('SearchTerm'),'class="input_titles"');
$form->addElement('text', 'search_term', get_lang('SearchTerm'),'class="input_titles" id="search_term"');
$form->addElement('checkbox', 'search_content', null, get_lang('AlsoSearchContent'));
$form->addElement('style_submit_button', 'SubmitWikiSearch', get_lang('Search'), 'class="search"');

@ -32,6 +32,16 @@
* @package dokeos.wiki
*/
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript" language="javascript">
function setFocus(){
$("#title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
/*
==============================================================================
FUNCTIONS FOR WIKI
@ -598,7 +608,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">';
echo '<span class="form_required">*</span> '.get_lang(Title).': <input type="text" name="title" value="'.urldecode($_GET['title']).'" size="40">';
echo '<span class="form_required">*</span> '.get_lang(Title).': <input type="text" id="title" name="title" value="'.urldecode($_GET['title']).'" size="40">';
if(api_is_allowed_to_edit(false,true) || api_is_platform_admin())
{

@ -69,7 +69,7 @@ $language_file = array (
'document',
'admin'
);
require("../inc/global.inc.php");
require_once '../inc/global.inc.php';
// @todo why is this needed?
//session
if (isset ($_GET['id_session'])) {
@ -95,7 +95,17 @@ require_once(api_get_path(LIBRARY_PATH).'text.lib.php');
$this_section = SECTION_COURSES;
$ctok = $_SESSION['sec_token'];
$stok = Security::get_token();
$htmlHeadXtra[] = to_javascript_work();
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
$htmlHeadXtra[] = '<script type="text/javascript">
function setFocus(){
$("#title").focus();
}
$(window).load(function () {
setFocus();
});
</script>';
/*
-----------------------------------------------------------
@ -1394,7 +1404,7 @@ function draw_date_picker($prefix,$default='') {
</div>
<div class="formw">
<div id="msg_error1" style="display:none;color:red"></div>
<input type="text" name="new_dir" onfocus="document.getElementById(\'msg_error1\').style.display=\'none\';"/>
<input type="text" id="title" name="new_dir" onfocus="document.getElementById(\'msg_error1\').style.display=\'none\';"/>
</div>
</div>';
//$new_folder_text .= '<button type="button" name="create_dir" class="add" onClick="validate();" value="' . get_lang('Ok') . '"/>'.get_lang('CreateDirectory').'</button>';

Loading…
Cancel
Save