Kawai Wiki

Compare Revisions

Ignore whitespace Rev 75 → Rev 77

/trunk/src/main/java/org/kawai/action/PageAction.java
4,6 → 4,7
 
import org.kawai.dao.PageDAO;
import org.kawai.dao.UserDAO;
import org.kawai.model.Group;
import org.kawai.model.Language;
import org.kawai.model.Page;
import org.kawai.model.Preview;
288,7 → 289,7
}
public String list() {
List<Page> pages = pageDAO.loadAll();
List<Page> pages = pageDAO.loadAll(sessionUser.getGroup() == Group.ADMIN);
output.setValue("pages", pages);
return AJAX;
}