Stupid fixes.
authorsoranzo <soranzo>
Sat, 5 May 2007 02:21:06 +0000 (02:21 +0000)
committersoranzo <soranzo>
Sat, 5 May 2007 02:21:06 +0000 (02:21 +0000)
classes/Misc.php

index 0afe5acfdeec2ad895bd028fc6cfa121fbd378bb..ef996e8caedd63cb461c20c9d6e48ec108c8d875 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.150 2007/05/03 17:10:00 ioguix Exp $
+        * $Id: Misc.php,v 1.151 2007/05/05 02:21:06 soranzo Exp $
         */
         
        class Misc {
                 *                                       it may be used to derive new fields or modify actions.
                 *                                       It can return an array of actions specific to the row,
                 *                                       or if nothing is returned then the standard actions are used.
-                *                                       (see functions.php and constraints.php for examples)
+                *                                       (see tblproperties.php and constraints.php for examples)
                 */
                function printTable(&$tabledata, &$columns, &$actions, $nodata = null, $pre_fn = null, $multiactions = null) {
                        global $data, $conf, $misc, $lang;
                                                        case 'actions':
                                                                foreach ($alt_actions as $action) {
                                                                        if (isset($action['disable']) && $action['disable'] === true) {
-                                                                               echo "<td class=\"data{$id}\"></td>";
+                                                                               echo "<td class=\"data{$id}\"></td>\n";
                                                                        } else {
                                                                                echo "<td class=\"opbutton{$id}\">";
                                                                                echo "<a href=\"{$action['url']}";
                                                                                $misc->printUrlVars($action['vars'], $tabledata->fields);
-                                                                               echo "\">{$action['title']}</a></td>";
+                                                                               echo "\">{$action['title']}</a></td>\n";
                                                                        }
                                                                }
                                                                break;