Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Collections - deleting items

#173

When you are entering any collection and try to delete an item without selecting any. The error occurs "are you sure you want to delete this item".

Change the error message into "no items selected".

Box: cms/delete

add the following at the bottom of the file.

if(empty($parameters['_key'])) {

    page_title (intl_get ('An Error Occurred'));
    echo '<p>' . intl_get ("No items selected.") . '</p>';

    echo '<p><a href="#" onclick="history.go (-1); return false;">' . intl_get("Go back.") . '</a></p>';
    return;

}

Reported by semias · March 11th, 2011 @ 03:43 AM

State: resolved
Milestone: 5.0.4
Assigned to: semias semias

Activity

  1. semias
    semias
    • No changes were found…

    March 11th, 2011 @ 03:52 AM

  2. semias
    semias
    • State changed from open to resolved

    March 11th, 2011 @ 05:36 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.