Add the email in the customize page. re #53
這個提交存在於:
父節點
d9f0f3e051
當前提交
bb0ba69c09
共有 3 個檔案被更改,包括 12 行新增 和 2 行删除
11
base.php
11
base.php
|
@ -25,7 +25,12 @@ function getCurrentOption ($option) {
|
|||
if ($option == "style") {
|
||||
return "default";
|
||||
}
|
||||
return $config ["cops_" . $option];
|
||||
|
||||
if (isset($config ["cops_" . $option])) {
|
||||
return $config ["cops_" . $option];
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
function getCurrentCss () {
|
||||
|
@ -742,6 +747,10 @@ class PageCustomize extends Page
|
|||
array_push ($this->entryArray, new Entry (localize ("customize.paging"), "",
|
||||
$content, "text",
|
||||
array ()));
|
||||
$content = '<input type="email" onchange="updateCookie (this);" id="email" value="' . getCurrentOption ("email") . '" />';
|
||||
array_push ($this->entryArray, new Entry (localize ("customize.email"), "",
|
||||
$content, "text",
|
||||
array ()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
載入中…
新增表格
Add a link
新增問題並參考