Web:自定义ownCloud标语页脚文本

时间:2020-02-23 14:45:20  来源:igfitidea点击:

这是一些如何自定义页脚文本" ownCloud Web services由您控制",标题等的指示。
这可以轻松地在ownCloud根文件夹下编辑以下文件来实现:

/lib/private/defaults.php

然后,从第31行开始查找以下内容:

$this->defaultEntity = "ownCloud"; /* e.g. company name, used for footers and copyright notices */
$this->defaultName = "ownCloud"; /* short name, used when referring to the software */
$this->defaultTitle = "ownCloud"; /* can be a longer name, for titles */
$this->defaultBaseUrl = "https://www.owncloud.org";
$this->defaultSyncClientUrl = "https://owncloud.org/sync-clients/";
$this->defaultDocBaseUrl = "http://doc.owncloud.org";
$this->defaultDocVersion = $version[0] . ".0"; //used to generate doc links
$this->defaultSlogan = $this->l->t("web services under your control");
$this->defaultLogoClaim = "";
$this->defaultMailHeaderColor = "#1d2d44"; /* header color of mail notifications */

您要更改的内容是:

$this->defaultEntity = "ownCloud"; /* e.g. company name, used for footers and copyright notices */
$this->defaultName = "ownCloud"; /* short name, used when referring to the software */
$this->defaultTitle = "ownCloud"; /* can be a longer name, for titles */
$this->defaultBaseUrl = "https://www.owncloud.org";
$this->defaultSlogan = $this->l->t("web services under your control");