Project

General

Profile

« Previous | Next » 

Revision 15567921

Added by sbeaver over 10 years ago

edit.php - Form field class corrected

View differences:

usr/local/www/edit.php
50 50
			} elseif(is_dir($_POST['file'])) {
51 51
				print('|4|' . '<div class="alert alert-danger" role="alert">' . gettext("Loading a directory is not supported") .'</div>' . '|');
52 52
			} elseif(! is_file($_POST['file'])) {
53
				print('|3|' . '<div class="alert alert-danger" role="alert">' . gettext("File does not exist or is not a regular file") . '</div>' . '.|');
53
				print('|3|' . '<div class="alert alert-danger" role="alert">' . gettext("File does not exist or is not a regular file") . '</div>' . '|');
54 54
			} else {
55 55
				$data = file_get_contents(urldecode($_POST['file']));
56 56
				if($data === false) {
......
100 100
<div class="panel panel-info">
101 101
	<div class="panel-heading">
102 102
        <?=gettext("Save / Load from path"); ?>:
103
        <input type="text"   class="formfld file" id="fbTarget" size="45" />
103
<!--        <input type="text"   class="formfld file" id="fbTarget" size="45%"/> -->
104
        <input type="text"   class="form-control" id="fbTarget"/>        
104 105
        <input type="button" class="btn btn-default btn-sm"	  onclick="loadFile();" value="<?=gettext('Load')?>" />
105 106
        <input type="button" class="btn btn-default btn-sm"	  id="fbOpen"		   value="<?=gettext('Browse')?>" />
106 107
        <input type="button" class="btn btn-default btn-sm"	  onclick="saveFile();" value="<?=gettext('Save')?>" />

Also available in: Unified diff