diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-11-01 10:47:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-11-01 10:47:20 +0000 |
commit | cc381c14613b4c4539d74f38ec58196f6dfcdaa0 (patch) | |
tree | 34c44d95ed24402bca4736765ba7a0d53e458ac5 /modules/node.module | |
parent | 74c722502bf274cc59b3b6fd871db9d96defba4f (diff) | |
download | brdo-cc381c14613b4c4539d74f38ec58196f6dfcdaa0.tar.gz brdo-cc381c14613b4c4539d74f38ec58196f6dfcdaa0.tar.bz2 |
- 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 ...
Diffstat (limited to 'modules/node.module')
-rw-r--r-- | modules/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= "<small>". implode(" :: ", $links) ."</small><hr />"; $output .= "<table border=\"1\" cellpadding=\"2\" cellspacing=\"2\">\n"; - $output .= " <tr><th>". t("title") ."</th><th>type</th><th>". t("author") ."</th><th>". t("status") ."</th><th colspan=\"2\">". t("operations") ."</th></tr>\n"; + $output .= " <tr><th>". t("title") ."</th><th>". t("type") ."</th><th>". t("author") ."</th><th>". t("status") ."</th><th colspan=\"2\">". t("operations") ."</th></tr>\n"; while ($node = db_fetch_object($result)) { $output .= "<tr><td>". l(check_output($node->title), array("id" => $node->nid)) ."</td><td>". module_invoke($node->type, "node", "name") ."</td><td nowrap=\"nowrap\">". format_name($node) ."</td><td>". ($node->status ? t("published") : t("not published")) ."</td><td nowrap=\"nowrap\">". la(t("edit node"), array("mod" => "node", "op" => "edit", "id" => $node->nid)) ."</td><td nowrap=\"nowrap\">". la(t("delete node"), array("mod" => "node", "op" => "delete", "id" => $node->nid)) ."</td></tr>"; } |