diff -r be6c5fdd9203 -r 4ccdfeee9a11 plugins/admin/PageGroups.php --- a/plugins/admin/PageGroups.php Mon Dec 31 21:43:51 2007 -0500 +++ b/plugins/admin/PageGroups.php Thu Jan 03 00:53:33 2008 -0500 @@ -15,9 +15,12 @@ function page_Admin_PageGroups() { global $db, $session, $paths, $template, $plugins; // Common objects + global $lang; if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { - echo '
It looks like your administration session is invalid or you are not authorized to access this administration page. Please re-authenticate to continue.
'; + $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -30,27 +33,27 @@ case true: if ( empty($_POST['pg_name']) || empty($_POST['group_type']) ) { - echo 'Create page group | +' . $lang->get('acppg_th_create') . ' | ||
---|---|---|---|
- Group name: - This should be short, descriptive, and human-readable. + ' . $lang->get('acppg_field_group_name') . ' + ' . $lang->get('acppg_field_group_name_hint') . ' |
@@ -333,14 +336,14 @@ // Group type echo ' | ||
- Group type: + ' . $lang->get('acppg_field_group_type') . ' | |||
- Static group of pages + ' . $lang->get('acppg_gtype_static') . ' - Group of commonly tagged pages + ' . $lang->get('acppg_gtype_tagged') . ' - Mirror a category + ' . $lang->get('acppg_gtype_catlink') . ' - Filter through a regular expression + ' . $lang->get('acppg_gtype_regex') . ' | |||
- Member pages:
- Click the "plus" button to add more fields. + ' . $lang->get('acppg_field_member_pages') . ' + ' . $lang->get('acppg_field_member_pages_hint') . '
- Include pages in this category:
- Pages in subcategories are not included, however subcategory pages themselves are. + ' . $lang->get('acppg_field_target_category') . ' + ' . $lang->get('acppg_field_target_category_hint') . '
- Include pages with this tag:
+ ' . $lang->get('acppg_field_target_tag') . '
- Regular expression: - Be sure to include the starting and ending delimiters and any flags you might need. - These pages might help: Pattern modifiers • - Pattern syntax - Examples: /^(Special|Admin):/i • /^Image:([0-9]+)$/ - Developers, remember that this will be matched against the full page identifier string. This means that /^About_Enano$/ - will NOT match the page Special:About_Enano. + ' . $lang->get('acppg_field_target_regex') . ' + ' . $lang->get('acppg_field_target_regex_hint') . ' | ';
echo ' @@ -409,7 +407,7 @@ // Submit button echo ' | ||
+ |