Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Form position and style updates.

  • Loading branch information...
commit 378e453317adf49fa8fe76f2ee52d230e2a6503c 1 parent f895027
julmis authored
Showing with 23 additions and 31 deletions.
  1. +23 −31 lib/editor/popups/link.php
View
54 lib/editor/popups/link.php
@@ -131,14 +131,8 @@ function submit_form(dothis) {
font-size: 14px;
color: black;
}
-input,select {
-font-family: Tahoma, sans-serif;
-font-size: 11px;
-}
-legend {
-font-family: Tahoma, sans-serif;
-font-size: 11px;
-}
+input,select { font-family: Tahoma, sans-serif; font-size: 11px; }
+legend { font-family: Tahoma, sans-serif; font-size: 11px; }
p {
margin-left: 10px;
background-color: transparent;
@@ -146,10 +140,7 @@ function submit_form(dothis) {
font-size: 11px;
color: black;
}
-td {
-font-family: Tahoma, sans-serif;
-font-size: 11px;
-}
+td { font-family: Tahoma, sans-serif; font-size: 11px; }
button {
width: 70px;
font-family: Tahoma, sans-serif;
@@ -163,6 +154,7 @@ function submit_form(dothis) {
color: black;
}
.space { padding: 2px; }
+form { margin-bottom: 1px; margin-top: 1px; }
</style>
</head>
@@ -244,36 +236,36 @@ function submit_form(dothis) {
<table border="0" cellpadding="2" cellspacing="0">
<tr><td><?php print_string("selection","editor");?>: </td>
<td><form name="idelete" id="idelete">
- <input name="btnDelete" type="submit" id="btnDelete" value="<?php print_string("delete","editor");?>" onclick="return submit_form('delete');" /></form></td>
+ <input name="btnDelete" type="submit" id="btnDelete" value="<?php print_string("delete","editor");?>" onclick="return submit_form('delete');"></form></td>
<td><form name="imove" id="imove">
- <input name="btnMove" type="submit" id="btnMove" value="<?php print_string("move","editor");?>" onclick="return submit_form('move');" /></form></td>
+ <input name="btnMove" type="submit" id="btnMove" value="<?php print_string("move","editor");?>" onclick="return submit_form('move');"></form></td>
<td><form name="izip" id="izip">
- <input name="btnZip" type="submit" id="btnZip" value="<?php print_string("zip","editor");?>" onclick="return submit_form('zip');" /></form></td>
+ <input name="btnZip" type="submit" id="btnZip" value="<?php print_string("zip","editor");?>" onclick="return submit_form('zip');"></form></td>
<td><form name="irename" id="irename" method="post" action="../coursefiles.php" target="fbrowser">
- <input type="hidden" name="id" value="<?php print($course->id);?>" />
- <input type="hidden" name="wdir" value="" />
- <input type="hidden" name="file" value="" />
- <input type="hidden" name="action" value="rename" />
- <input name="btnRename" type="submit" id="btnRename" value="<?php print_string("rename","editor");?>" /></form></td>
+ <input type="hidden" name="id" value="<?php print($course->id);?>">
+ <input type="hidden" name="wdir" value="">
+ <input type="hidden" name="file" value="">
+ <input type="hidden" name="action" value="rename">
+ <input name="btnRename" type="submit" id="btnRename" value="<?php print_string("rename","editor");?>"></form></td>
</tr></table>
<table border="0" cellpadding="1" cellspacing="1">
<tr>
<td height="22"><?php
if(isteacher($id)) { ?>
<form name="cfolder" id="cfolder" action="../coursefiles.php" method="post" target="fbrowser">
- <input type="hidden" name="id" value="<?php print($course->id);?>" />
- <input type="hidden" name="wdir" value="" />
- <input type="hidden" name="action" value="mkdir" />
- <input name="name" type="text" id="foldername" size="35" />
- <input name="btnCfolder" type="submit" id="btnCfolder" value="<?php print_string("createfolder","editor");?>" onclick="return checkvalue('foldername','cfolder');" />
+ <input type="hidden" name="id" value="<?php print($course->id);?>">
+ <input type="hidden" name="wdir" value="">
+ <input type="hidden" name="action" value="mkdir">
+ <input name="name" type="text" id="foldername" size="35">
+ <input name="btnCfolder" type="submit" id="btnCfolder" value="<?php print_string("createfolder","editor");?>" onclick="return checkvalue('foldername','cfolder');">
</form>
<form action="../coursefiles.php?id=<?php print($course->id);?>" method="post" enctype="multipart/form-data" name="uploader" target="fbrowser" id="uploader">
- <input type="hidden" name="MAX_FILE_SIZE" value="<?php print($upload_max_filesize);?>" />
- <input type="hidden" name="id" VALUE="<?php print($course->id);?>" />
- <input type="hidden" name="wdir" value="" />
- <input type="hidden" name="action" value="upload" />
- <input type="file" name="userfile" id="userfile" size="35" />
- <input name="save" type="submit" id="save" onclick="return checkvalue('userfile','uploader');" value="<?php print_string("upload","editor");?>" />
+ <input type="hidden" name="MAX_FILE_SIZE" value="<?php print($upload_max_filesize);?>">
+ <input type="hidden" name="id" VALUE="<?php print($course->id);?>">
+ <input type="hidden" name="wdir" value="">
+ <input type="hidden" name="action" value="upload">
+ <input type="file" name="userfile" id="userfile" size="35">
+ <input name="save" type="submit" id="save" onclick="return checkvalue('userfile','uploader');" value="<?php print_string("upload","editor");?>">
</form>
<?php
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.