From: Bharat M. <bh...@us...> - 2002-10-26 08:14:01
|
Update of /cvsroot/gallery/gallery2/modules/core/templates In directory usw-pr-cvs1:/tmp/cvs-serv6993/modules/core/templates Modified Files: AdminEditGroup.tpl AdminEditGroupUsers.tpl AdminModules.tpl Log Message: * Changed the way that module installs works. Moved the core install code out of setup.php & unit tests, and into the module.inc itself. GalleryModule now has an install() method where the module can allow the GalleryStore to do all of its configuration. This has several big benefits: - we don't have to duplicate initial params for the core in the setup.php and unit tests anymore. - we can upgrade the core by dropping in a new version - the core acts pretty much the same as any other module * Permissions now have an 'admin' flag. Any permission that allows editting of an item should have this flag turned on. This will allow us to quickly determine if we should display the [edit item] link * "All admins" is now "Site admins" * GalleryModule now has setModuleParameter/getModuleParameter convenience methods * core:SiteAdmin - AdminModules now has an 'install' option for new modules * removed dataVersion from GalleryEntity -- it's vestigal Index: AdminEditGroup.tpl =================================================================== RCS file: /cvsroot/gallery/gallery2/modules/core/templates/AdminEditGroup.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AdminEditGroup.tpl 16 Oct 2002 06:51:14 -0000 1.2 +++ AdminEditGroup.tpl 26 Oct 2002 08:13:28 -0000 1.3 @@ -18,10 +18,10 @@ </tr> {/if} - {if $form.groupType == GROUP_ALL_ADMINS} + {if $form.groupType == GROUP_SITE_ADMINS} <tr> <td colspan="2" align="center"> - {galleryText text="This group contains all Gallery administrators. Any users you add to this group will have Gallery administrative privileges."} + {galleryText text="This group contains all Gallery site administrators. Any users you add to this group will have Gallery administrative privileges."} </td> </tr> {/if} Index: AdminEditGroupUsers.tpl =================================================================== RCS file: /cvsroot/gallery/gallery2/modules/core/templates/AdminEditGroupUsers.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AdminEditGroupUsers.tpl 16 Oct 2002 06:51:14 -0000 1.2 +++ AdminEditGroupUsers.tpl 26 Oct 2002 08:13:28 -0000 1.3 @@ -33,11 +33,11 @@ </td> </tr> - {if ($form.groupType == GROUP_ALL_ADMINS)} + {if ($form.groupType == GROUP_SITE_ADMINS)} <tr> <td colspan="2" align="center"> {galleryWarningFontColor} - {galleryText text="Note: This is the admin group. Any users you add to this group will have site-wide administrative privileges"} + {galleryText text="Note: This is the site administrator group. Any users you add to this group will have site-wide administrative privileges"} {/galleryWarningFontColor} </td> </tr> Index: AdminModules.tpl =================================================================== RCS file: /cvsroot/gallery/gallery2/modules/core/templates/AdminModules.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AdminModules.tpl 29 Sep 2002 07:04:06 -0000 1.2 +++ AdminModules.tpl 26 Oct 2002 08:13:28 -0000 1.3 @@ -26,7 +26,7 @@ {$module.action.text} </a> {else} - <a href="{galleryUrl controller=$module.action.controller module=$module.action.module action=$module.action.action}"> + <a href="{galleryUrl controller=$module.action.controller moduleName=$module.action.moduleName action=$module.action.action}"> {$module.action.text} </a> {/if} |