Commit f8c44e02 authored by Dries's avatar Dries

- Fixed some broken links.
parent 73d5cf86
......@@ -2,8 +2,8 @@
function xtemplate_settings() {
$output = form_textarea("Message on front page", "xtemplate_message", variable_get("xtemplate_message", "edit message"), 70, 6, "This text will be displayed on the front page. It can be used to display a mission statement, announcement or site description..");
$output .= form_textarea("Primary links", "xtemplate_primary_links", variable_get("xtemplate_primary_links", l("edit primary links", "admin/system/themes/settings")), 70, 6, "The primary links.");
$output .= form_textarea("Secondary links", "xtemplate_secondary_links", variable_get("xtemplate_secondary_links", l("edit secondary links", "admin/system/themes/settings")), 70, 6, "The secondary links.");
$output .= form_textarea("Primary links", "xtemplate_primary_links", variable_get("xtemplate_primary_links", l("edit primary links", "admin/system/themes/xtemplate")), 70, 6, "The primary links.");
$output .= form_textarea("Secondary links", "xtemplate_secondary_links", variable_get("xtemplate_secondary_links", l("edit secondary links", "admin/system/themes/xtemplate")), 70, 6, "The secondary links.");
$output .= form_select("Search box", "xtemplate_search_box", variable_get("xtemplate_search_box", 0), array(t("Disabled"), t("Enabled")), "Show a search box in the upper right corner.");
return $output;
}
......@@ -77,8 +77,8 @@ function header($title = "") {
"head" => theme_head(),
"base" => "$base_url/",
"onload_attributes" => theme_onload_attribute(),
"primary_links" => variable_get("xtemplate_primary_links", l("edit primary links", "admin/system/themes/settings")),
"secondary_links" => variable_get("xtemplate_secondary_links", l("edit secondary links", "admin/system/themes/settings"))
"primary_links" => variable_get("xtemplate_primary_links", l("edit primary links", "admin/system/themes/xtemplate")),
"secondary_links" => variable_get("xtemplate_secondary_links", l("edit secondary links", "admin/system/themes/xtemplate"))
));
if (variable_get("xtemplate_search_box", 1)) {
$this->template->assign(array(
......@@ -90,7 +90,7 @@ function header($title = "") {
}
if (!arg(0)) {
$this->template->assign("header_message", variable_get("xtemplate_message", l("edit message", "admin/system/themes/settings")));
$this->template->assign("header_message", variable_get("xtemplate_message", l("edit message", "admin/system/themes/xtemplate")));
$this->template->parse("header.message");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment