本文整理汇总了PHP中html_remark函数的典型用法代码示例。如果您正苦于以下问题:PHP html_remark函数的具体用法?PHP html_remark怎么用?PHP html_remark使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_remark函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: empty
<td class="listr"><?php
echo empty($volume['sparse']) ? '-' : 'on';
?>
</td>
<td class="listr"><?php
echo $volume['compression'];
?>
</td>
<td class="listr"><?php
echo $volume['dedup'];
?>
</td>
<td class="listr"><?php
echo $volume['sync'];
?>
</td>
</tr>
<?php
}
?>
</table>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("This page reflects the current system configuration. It may be different to the configuration which has been created with the WebGUI if changes has been done via command line."));
?>
</div>
</td>
</tr>
</table>
<?php
include "fend.inc";
示例2: gettext
<?php
$i++;
}
?>
<tr>
<td class="list" colspan="4"></td>
<td class="list">
<a href="disks_raid_gvinum_edit.php"><img src="plus.gif" title="<?php
echo gettext("Add RAID");
?>
" border="0" alt="<?php
echo gettext("Add RAID");
?>
" /></a>
</td>
</tr>
</table>
<div id="remarks">
<?php
html_remark("info", gettext("Info"), sprintf(gettext("%s is used to create %s volumes."), "GEOM Vinum", "RAID"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
示例3: disks_geom_cmd
break;
case "list":
disks_geom_cmd("vinum", "list", $object, true);
break;
case "remove":
disks_geom_cmd("vinum", "rm", "-r {$object}", true);
break;
case "forceup":
disks_geom_cmd("vinum", "setstate", "-f up {$object}", true);
break;
case "saveconfig":
disks_geom_cmd("vinum", "saveconfig", "", true);
break;
}
echo '</pre>';
}
?>
<div id="remarks">
<?php
html_remark("warning", gettext("Warning"), gettext("1. Use these specials actions for debugging only!<br />2. There is no need of using this menu for starting a RAID volume (start automaticaly)."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
示例4: gettext
</tr>
<?php
}
?>
<tr>
<td class="list" colspan="3"></td>
<td class="list">
<a href="services_afp_share_edit.php"><img src="plus.gif" title="<?php
echo gettext("Add share");
?>
" border="0" alt="<?php
echo gettext("Add share");
?>
" /></a>
</td>
</tr>
</table>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("All shares use the option 'usedots' thus making the filenames .Parent and anything beginning with .Apple illegal."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
示例5: gettext
<?php
echo gettext("Daemon events");
?>
<br />
</td>
</tr>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Save");
?>
" onclick="enable_change(true)" />
</div>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), sprintf(gettext("Syslog sends UDP datagrams to port 514 on the specified remote syslog server. Be sure to set syslogd on the remote server to accept syslog messages from %s."), get_product_name()));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
enable_change(false);
//-->
</script>
<?php
示例6: sprintf
</div>
<?php
if ($do_action) {
echo sprintf("<div id='cmdoutput'>%s</div>", gettext("Command output:"));
echo '<pre class="cmdoutput">';
//ob_end_flush();
ob_start();
// Install package.
packages_install($packagename);
// Delete file.
@unlink($packagename);
$cmdoutput = ob_get_contents();
ob_end_clean();
echo htmlspecialchars($cmdoutput);
echo '</pre>';
}
?>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("You can also install a package via SSH or console using the the pkg_add command.<br />Example: pkg_add -r packagename"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
示例7: html_inputbox
html_inputbox("desc", gettext("Description"), $pconfig['desc'], gettext("You may enter a description here for your reference."), false, 40);
?>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo isset($uuid) && FALSE !== $cnid ? gettext("Save") : gettext("Add");
?>
" />
<input name="Cancel" type="submit" class="formbtn" value="<?php
echo gettext("Cancel");
?>
" />
<input name="uuid" type="hidden" value="<?php
echo $pconfig['uuid'];
?>
" />
</div>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), sprintf(gettext("To get detailed informations about writing firewall rules check the FreeBSD <a href='%s' target='_blank'>documentation</a>."), "http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
示例8: html_inputbox
<?php
html_inputbox("ftp_username", gettext("User"), $pconfig['ftp_username'], "", true, 20);
?>
<?php
html_inputbox("ftp_password", gettext("Password"), $pconfig['ftp_password'], "", true, 20);
?>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Save");
?>
" onclick="enable_change(true)" />
</div>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("If the server is behind a proxy set these parameters to give local services access to the internet via proxy."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
proxy_auth_change();
enable_change(false);
//-->
</script>
示例9: html_textarea
<?php
/*html_inputbox("aiowbehind", gettext("AIO write behind"), $pconfig['aiowbehind'], "", false, 60);*/
?>
<?php
html_textarea("auxparam", gettext("Auxiliary parameters"), $pconfig['auxparam'], sprintf(gettext("These parameters are added to [Global] section of %s."), "smb.conf") . " " . sprintf(gettext("Please check the <a href='%s' target='_blank'>documentation</a>."), "http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html"), false, 65, 5, false, false);
?>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Save and Restart");
?>
" onclick="enable_change(true)" />
</div>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), sprintf(gettext("To increase CIFS performance try the following:<div id='enumeration'><ul><li>Enable 'Large read/write' switch</li><li>Enable '<a href='%s'>Tuning</a>' switch</li><li>Increase <a href='%s'>MTU</a></li></ul></div>"), "system_advanced.php", "interfaces_lan.php"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
enable_change(false);
authentication_change();
aio_change();
//-->
示例10: html_titleline
<?php
html_titleline(gettext("Extension Update"));
?>
<?php
html_text("ext_version_current", gettext("Installed version"), $config['downloady']['version']);
?>
<?php
html_text("ext_version_server", gettext("Latest version"), $server_version);
?>
<?php
html_separator();
?>
</table>
<div id="update_remarks">
<?php
html_remark("note_remove", gettext("Note"), sprintf(gettext("Removing %s integration from NAS4Free will leave the installation folder untouched - remove the files using Windows Explorer, FTP or some other tool of your choice. <br /><b>Please note: this page will no longer be available.</b> You'll have to re-run %s extension installation to get it back on your NAS4Free."), gettext("Downloady"), gettext("Downloady")));
?>
<br />
<input id="ext_update" name="ext_update" type="submit" class="formbtn" value="<?php
echo gettext("Update Extension");
?>
" onclick="return confirm('<?php
echo gettext("The selected operation will be completed. Please do not click any other buttons!");
?>
')" />
<input id="ext_remove" name="ext_remove" type="submit" class="formbtn" value="<?php
echo gettext("Remove Extension");
?>
" onclick="return confirm('<?php
echo gettext("Do you really want to remove the extension from the system?");
?>
示例11: confirm
?>
<a href="system_loaderconf.php?act=del&id=all" onclick="return confirm('<?php
echo gettext("Do you really want to delete all options?");
?>
')"><img src="x.gif" title="<?php
echo gettext("Delete all options");
?>
" border="0" alt="<?php
echo gettext("Delete all options");
?>
" /></a>
<?php
}
?>
</td>
</tr>
</table>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("These option(s) will be added to /boot/loader.conf.local. This allows you to specify parameters to be passed to kernel, and additional modules to be loaded."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
示例12: html_inputbox
<?php
html_inputbox("email_to", gettext("To email"), !empty($pconfig['email_to']) ? $pconfig['email_to'] : "", sprintf("%s %s", gettext("Destination email address."), gettext("Separate email addresses by semi-colon.")), true, 40);
?>
<?php
html_checkbox("email_testemail", gettext("Test email"), !empty($pconfig['email_testemail']) ? true : false, gettext("Send a TEST warning email on startup."));
?>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Save and Restart");
?>
" onclick="enable_change(true)" />
</div>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("Activate email report if you want to be notified if a failure or a new error has been detected, or if a S.M.A.R.T. command to a disk fails."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
enable_change(false);
//-->
</script>
<?php
示例13: gettext
<?php
}
?>
<?php
} else {
?>
<strong><?php
echo gettext("You must reboot the system before you can upgrade the firmware.");
?>
</strong>
<?php
}
?>
<div id="remarks">
<?php
html_remark("warning", gettext("Warning"), sprintf(gettext("DO NOT abort the firmware upgrade process once it has started. Once it is completed, the server will automatically reboot, the current configuration will be maintained.<br />You need a minimum of %d MiB free RAM to perform the upgrade.<br />It is strongly recommended that you <a href='%s'>Backup</a> the server configuration before doing a upgrade."), 512, "system_backup.php"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
<?php
}
}
?>
</td>
</tr>
</table>
<?php
include "fend.inc";
示例14: gettext
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Traceroute");
?>
" />
</div>
<?php
if ($do_traceroute) {
echo sprintf("<div id='cmdoutput'>%s</div>", gettext("Command output:"));
echo '<pre class="cmdoutput">';
ob_end_flush();
exec("/usr/sbin/traceroute " . ($resolve ? "" : "-n ") . "-w 2 -m " . escapeshellarg($ttl) . " " . escapeshellarg($host), $rawdata);
echo htmlspecialchars(implode("\n", $rawdata));
unset($rawdata);
echo '</pre>';
}
?>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("Traceroute may take a while to complete. You may hit the Stop button on your browser at any time to see the progress of failed traceroutes."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
示例15: gettext
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Execute");
?>
" />
</div>
<?php
if ($do_action) {
echo sprintf("<div id='cmdoutput'>%s</div>", gettext("Command output:"));
echo '<pre class="cmdoutput">';
ob_end_flush();
/* Check filesystem */
$result = disks_fsck($disk, $umount);
/* Display result */
echo 0 == $result ? gettext("Successful") : gettext("Failed");
echo '</pre>';
}
?>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("You can't unmount a drive which is used by swap file, a iSCSI-target file or any other running process!"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";