From cc381c14613b4c4539d74f38ec58196f6dfcdaa0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 1 Nov 2002 10:47:20 +0000 Subject: - Fixed glitch in block module: the admin links were not composed correctly. Patch by Stefan. - Added missing t() functions and improved the %x directives for better readability and to ease the process of translating your site. Patches by Stefan. - Made two small additions to the 'code-clean.sh' script; it will now remove patch related junk. NOTES: - I removed the · related bits. Let's tackle these later on in a separate patch after we got some sort of consensus. - I removed the 'module_exist("drupal")' check in the user module; I *think* it is incomplete and therefore incorrect. - Stefan, try using quotes in your translations and check whether everything still works. Example: translate the "Create account" button to "Create \"haha\" account \'hihi\'" and see if you can still create new accounts. Maybe automate this using a quick hack in the locale module ... --- modules/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index 8140914b1..a9c4863f9 100644 --- a/modules/node.module +++ b/modules/node.module @@ -500,7 +500,7 @@ function node_admin_nodes() { $output .= "". implode(" :: ", $links) ."
"; $output .= "\n"; - $output .= " \n"; + $output .= " \n"; while ($node = db_fetch_object($result)) { $output .= ""; } -- cgit v1.2.3
". t("title") ."type". t("author") ."". t("status") ."". t("operations") ."
". t("title") ."". t("type") ."". t("author") ."". t("status") ."". t("operations") ."
". l(check_output($node->title), array("id" => $node->nid)) ."". module_invoke($node->type, "node", "name") ."". format_name($node) ."". ($node->status ? t("published") : t("not published")) ."". la(t("edit node"), array("mod" => "node", "op" => "edit", "id" => $node->nid)) ."". la(t("delete node"), array("mod" => "node", "op" => "delete", "id" => $node->nid)) ."