Tabs are out
This commit is contained in:
+21
-21
@@ -3,8 +3,8 @@
|
||||
|
||||
<table cellpadding="9" cellspacing="0" >
|
||||
<tr valign="top">
|
||||
<td align="right">resource_framesize:</td>
|
||||
<td>
|
||||
<td align="right">resource_framesize:</td>
|
||||
<td>
|
||||
<input name="resource_framesize" type="text" size="5" value="<?php p($CFG->resource_framesize) ?>" />
|
||||
</td>
|
||||
<td>
|
||||
@@ -12,8 +12,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right">resource_websearch:</td>
|
||||
<td>
|
||||
<td align="right">resource_websearch:</td>
|
||||
<td>
|
||||
<input name="resource_websearch" type="text" size="30" value="<?php p($CFG->resource_websearch) ?>" />
|
||||
</td>
|
||||
<td>
|
||||
@@ -21,8 +21,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right">resource_defaulturl:</td>
|
||||
<td>
|
||||
<td align="right">resource_defaulturl:</td>
|
||||
<td>
|
||||
<input name="resource_defaulturl" type="text" size="30" value="<?php p($CFG->resource_defaulturl) ?>" />
|
||||
</td>
|
||||
<td>
|
||||
@@ -30,8 +30,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right">resource_secretphrase:</td>
|
||||
<td>
|
||||
<td align="right">resource_secretphrase:</td>
|
||||
<td>
|
||||
<input name="resource_secretphrase" type="text" size="30" value="<?php p($CFG->resource_secretphrase) ?>" />
|
||||
</td>
|
||||
<td>
|
||||
@@ -39,8 +39,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right">resource_allowlocalfiles:</td>
|
||||
<td>
|
||||
<td align="right">resource_allowlocalfiles:</td>
|
||||
<td>
|
||||
<?php
|
||||
unset($choices);
|
||||
$choices["0"] = get_string("no");
|
||||
@@ -53,8 +53,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right">resource_filterexternalpages:</td>
|
||||
<td>
|
||||
<td align="right">resource_filterexternalpages:</td>
|
||||
<td>
|
||||
<?php
|
||||
unset($choices);
|
||||
$choices["0"] = get_string("no");
|
||||
@@ -67,8 +67,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right">resource_popup:</td>
|
||||
<td>
|
||||
<td align="right">resource_popup:</td>
|
||||
<td>
|
||||
<?php
|
||||
unset($choices);
|
||||
$choices[""] = get_string("no");
|
||||
@@ -83,8 +83,8 @@
|
||||
<?php foreach ($RESOURCE_WINDOW_OPTIONS as $optionname) {
|
||||
$defaultvalue = "resource_popup$optionname";
|
||||
echo "<tr valign=\"top\">";
|
||||
echo "<td align=\"right\">$defaultvalue:</td>";
|
||||
echo "<td>";
|
||||
echo "<td align=\"right\">$defaultvalue:</td>";
|
||||
echo "<td>";
|
||||
if ($optionname == "height" or $optionname == "width") {
|
||||
echo "<input name=$defaultvalue type=\"text\" size=\"5\" value=\"".$CFG->$defaultvalue."\" />";
|
||||
} else {
|
||||
@@ -98,8 +98,8 @@
|
||||
}
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align="right">resource_windowsettings:</td>
|
||||
<td>
|
||||
<td align="right">resource_windowsettings:</td>
|
||||
<td>
|
||||
<?php
|
||||
unset($choices);
|
||||
$choices["0"] = get_string("hidesettings");
|
||||
@@ -112,8 +112,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right">resource_parametersettings:</td>
|
||||
<td>
|
||||
<td align="right">resource_parametersettings:</td>
|
||||
<td>
|
||||
<?php
|
||||
unset($choices);
|
||||
$choices["0"] = get_string("hidesettings");
|
||||
@@ -127,7 +127,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center">
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>" /></td>
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
+7
-7
@@ -354,19 +354,19 @@ function survey_print_multi($question) {
|
||||
$stripreferthat = get_string("ipreferthat", "survey");
|
||||
$strifoundthat = get_string("ifoundthat", "survey");
|
||||
echo "<br />\n";
|
||||
echo "<font size=\"4\"><b>$question->text</b></font><br />";
|
||||
echo "<font size=\"4\"><b>$question->text</b></font><br />";
|
||||
|
||||
echo "<table align=\"center\" width=\"90%\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\">";
|
||||
echo "<table align=\"center\" width=\"90%\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\">";
|
||||
|
||||
$options = explode( ",", $question->options);
|
||||
$numoptions = count($options);
|
||||
|
||||
$oneanswer = ($question->type == 1 || $question->type == 2) ? true : false;
|
||||
if ($question->type == 2) {
|
||||
$P = "P";
|
||||
} else {
|
||||
$P = "";
|
||||
}
|
||||
if ($question->type == 2) {
|
||||
$P = "P";
|
||||
} else {
|
||||
$P = "";
|
||||
}
|
||||
|
||||
if ($oneanswer) {
|
||||
echo "<tr><td colspan=\"2\">$question->intro</td>";
|
||||
|
||||
Reference in New Issue
Block a user