mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-22 04:19:11 -04:00
Refactored the developer module. When a new module is generated a
skeleton adminstration page is generated as well. @todo is still generate a skeleton block and a skeleton dialog.
This commit is contained in:
@@ -17,30 +17,54 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Defines the available callback methods
|
||||
*/
|
||||
$config["methods"] = array(
|
||||
"theme" => array("album_blocks" => "", "album_bottom" => "",
|
||||
"album_top" => "", "admin_credits" => "",
|
||||
"admin_footer" => "", "admin_header_top" => "",
|
||||
"admin_header_bottom" => "", "admin_page_bottom" => "",
|
||||
"admin_page_top" => "", "admin_head" => "",
|
||||
"credits" => "", "dynamic_bottom" => "",
|
||||
"dynamic_top" => "", "footer" => "",
|
||||
"head" => "", "header_bottom" => "",
|
||||
"header_top" => "", "page_bottom" => "",
|
||||
"page_top" => "", "photo_blocks" => "",
|
||||
"photo_bottom" => "", "photo_top" => "",
|
||||
"sidebar_blocks" => "", "sidebar_bottom" => "",
|
||||
"sidebar_top" => "", "thumb_bottom" => "\$child",
|
||||
"thumb_info" => "\$child", "thumb_top" => "\$child"),
|
||||
"menu" => array("admin" => "\$menu, \$theme", "album" => "\$menu, \$theme",
|
||||
"photo" => "\$menu, \$theme", "site" => "\$menu, \$theme"),
|
||||
"block" => array("get" => "\$block_id", "get_list" => ""),
|
||||
"event" => array("batch_complete" => "", "comment_add_form" => "\$form",
|
||||
"comment_created" => "\$theme, \$args", "comment_updated" => "\$old, \$new",
|
||||
"group_before_delete" => "\$group", "group_created" => "\$group",
|
||||
"item_before_delete" => "\$item", "item_created" => "\$item",
|
||||
"item_related_update" => "\$item", "item_related_update_batch" => "\$sql",
|
||||
"item_updated" => "\$old, \$new", "user_before_delete" => "\$user",
|
||||
"user_created" => "\$user", "user_login" => "\$user",
|
||||
"user_logout" => "\$user" ),
|
||||
"installer" => array("install" => "", "uninstall" => ""));
|
||||
"theme" => array("album_blocks" => t("Album block"),
|
||||
"album_bottom" => t("Bottom of album content"),
|
||||
"album_top" => t("Top of Album content"),
|
||||
"admin_credits" => t("Administration page credits"),
|
||||
"admin_footer" => t("Adminsitration page footer"),
|
||||
"admin_header_top" => t("Top of administration page header"),
|
||||
"admin_header_bottom" => t("Bottom of administration page header"),
|
||||
"admin_page_bottom" => t("Bottom of administration page"),
|
||||
"admin_page_top" => t("Top of administration page"),
|
||||
"admin_head" => t("Adminstration page head"),
|
||||
"credits" => t("Album or photo page credits"),
|
||||
"dynamic_bottom" => t("Bottom of dynamic page content"),
|
||||
"dynamic_top" => t("Top of dynamic page content"),
|
||||
"footer" => t("Album or photo page footer"),
|
||||
"head" => t("Album or photo page head"),
|
||||
"header_bottom" => t("Album or photo header bottom"),
|
||||
"header_top" => t("Album or photo header top"),
|
||||
"page_bottom" => t("Album or photo bottom"),
|
||||
"page_top" => t("Album or photo top"),
|
||||
"photo_blocks" => t("Photo block"),
|
||||
"photo_bottom" => t("Bottom of photo content"),
|
||||
"photo_top" => t("Top of photo content"),
|
||||
"sidebar_blocks" => t("Sidebar block"),
|
||||
"sidebar_bottom" => t("Bottom of sidebar"),
|
||||
"sidebar_top" => t("Top of sidebar"),
|
||||
"thumb_bottom" => t("Bottom of thumbnail"),
|
||||
"thumb_info" => t("Thumbnail information"),
|
||||
"thumb_top" => t("Top of thumbnail display")),
|
||||
"menu" => array("album" => t("Add an album menu element"),
|
||||
"photo" => t("Add an photo menu element")),
|
||||
"event" => array("batch_complete" => t("Batch completion"),
|
||||
"comment_add_form" => t("Comment add form creation"),
|
||||
"comment_created" => t("Comment created"),
|
||||
"comment_updated" => t("Comment updated"),
|
||||
"group_before_delete" => t("Before delete group"),
|
||||
"group_created" => t("Group created"),
|
||||
"item_before_delete" => t("Before album or photo deletion"),
|
||||
"item_created" => t("Album or photo created"),
|
||||
"item_related_update" => t("Photo meta data update"),
|
||||
"item_related_update_batch" => t("Photo meta data update"),
|
||||
"item_updated" => t("Album or photo update"),
|
||||
"user_before_delete" => t("Before user deletion"),
|
||||
"user_created" => t("User created"),
|
||||
"user_login" => t("User login"),
|
||||
"user_logout" => t("User logout")));
|
||||
|
||||
Reference in New Issue
Block a user