function getTaskBoard()
 {
     if (!$this->Taskboard) {
         $TargetColumn = taskboard_column_get_object($this->getTargetColumnID());
         $this->Taskboard = $TargetColumn->Taskboard;
     }
     return $this->Taskboard;
 }
Example #2
0
 * it under the terms of the GNU General Public License as published
 * by the Free Software Foundation; either version 2 of the License,
 * or (at your option) any later version.
 *
 * FusionForge is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
$column_id = getStringFromRequest('column_id', '');
$confirmed = getStringFromRequest('confirmed', '');
$column =& taskboard_column_get_object($column_id);
if ($confirmed) {
    db_begin();
    if ($column->delete()) {
        db_commit();
        $feedback .= _('Successfully Removed');
    } else {
        db_rollback();
    }
    $action = 'columns';
    include $gfplugins . 'taskboard/www/admin/columns.php';
} else {
    $taskboard->header(array('title' => 'Taskboard for ' . $group->getPublicName() . ' : Administration : Column configuration', 'pagename' => _('Column configuration'), 'sectionvals' => array(group_getname($group_id)), 'group' => $group_id));
    if ($taskboard->isError()) {
        echo '<div id="messages" class="error">' . $taskboard->getErrorMessage() . '</div>';
    } else {