mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Redesign the way that we consider page types to create buckets of page
types, and a subtype for specifics. Currently the top level bucket collection, item, other Here are the core subtypes so far: collection: album, search, tag item: movie, photo other: login, reset, comment-fragment, comment It's legal to create new page_subtypes whenever you want. Use the appropriate page_type to get the coarse grain behavior that you want.
This commit is contained in:
@@ -93,7 +93,7 @@ class Password_Controller extends Controller {
|
||||
}
|
||||
|
||||
private function _new_password_form($hash=null) {
|
||||
$template = new Theme_View("page.html", "reset");
|
||||
$template = new Theme_View("page.html", "other", "reset");
|
||||
|
||||
$form = new Forge("password/do_reset", "", "post", array("id" => "g-change-password-form"));
|
||||
$group = $form->group("reset")->label(t("Change Password"));
|
||||
|
||||
Reference in New Issue
Block a user