2

适用于 Linux的Cpanel产品可以通过其 SDK 为您自己的自定义表单和 PHP 脚本创建新图标以执行各种任务。我加入了一个项目,原来的开发人员不再在那里,也没有留下任何文档。我们可以更改 PHP 脚本和表单,但我们无法弄清楚如何更改在此托管计划中向客户显示的 Cpanel 图标的标签。

我们如何更改自定义 cpanel 图标上的标签?我们编辑什么文件?我们在哪里做出改变?为了让所有客户都能看到更改,我们是否必须在编辑后做任何事情?

4

2 回答 2

1

On shared hosting you need at least WHM access. If you have WHM access, you will see in cPanel a new functionality called Branding cPanel, in there you can play with css files and html files used to change the look and feel of you cPanel.

Anyway it's not an easy task. To change a label you would probably have to find the id of such label and using the branding editor upload a javascript file in the cPanel header that gets the id of the DOM object of the icon you want to chnage the label.

I mean in the branding editor I don't rememebr you can change a label of an icon, but just the icon image.

于 2010-07-10T19:55:44.077 回答
0

这是用于品牌/定制的 cPanel 文档

http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/AdvancedBrandingGuide

于 2012-03-30T09:29:56.043 回答