Recent Changes - Search:

Users

Developers

Wiki help.

CompleteButton

Purpose

Adds an extra Complete Checked Items button to the bar above the listed items. Convenient if you have a long list and don't want to scroll all the way to the bottom.

Modification instructions (for V0.7 RC1)

1. In listItems.php, around line 123, find:
echo '<form action="listItems.php?type='.$type.'" method="post">'."\n";

2. Replace the line in step 1 with this:
echo '<div style="float:left"><form action="listItems.php?type='.$type.'" method="post">'."\n";

3. Find this, around line 141:
echo "</form>\n\n";

4. Replace the line in step 3 with this:
echo "</form></div>\n\n";

5. Find this line, around line 179:

   echo '<form action="processItemUpdate.php" method="post">'."\n";
6. Insert the following just after the line in step 5:
   echo '<div style="padding-top:6px"><input type="hidden" name="type" value="'.$type.'" />'."\n";
   echo '<input type="hidden" name="contextId" value="'.$contextId.'" />'."\n";
   echo '<input type="hidden" name="timeId" value="'.$timeId.'" />'."\n";
   echo '<input type="hidden" name="referrer" value="i" />'."\n";
   echo '<input type="submit" class="button" value="Complete checked items" name="submit"></div>'."\n";

7. Save, refresh your browser, and enjoy!

Questions/comments

Add-Ons User Contributed

Edit - History - Print - Recent Changes - Search
Page last modified on December 17, 2007, at 07:52 AM