Changeset 1591 for trunk


Ignore:
Timestamp:
Nov 3, 2006, 12:11:43 AM (18 years ago)
Author:
rub
Message:

Resolved Issue ID 0000575:

o Missing Help on screen Groups List/Group Management

Resolved Issue ID 0000356:

o Increase security on adviser mode (Screen Group List)

Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11local
        22gal2
         3feed.xml
  • trunk/admin/group_list.php

    r1583 r1591  
    4242// +-----------------------------------------------------------------------+
    4343
    44 if (isset($_GET['delete']) and is_numeric($_GET['delete']))
     44if (isset($_GET['delete']) and is_numeric($_GET['delete']) and !is_adviser())
    4545{
    4646  // destruction of the access linked to the group
     
    8585// +-----------------------------------------------------------------------+
    8686
    87 if (isset($_POST['submit_add']))
     87if (isset($_POST['submit_add']) and !is_adviser())
    8888{
    8989  if (empty($_POST['groupname']))
     
    127127// +-----------------------------------------------------------------------+
    128128
    129 if (isset($_GET['toggle_is_default']) and is_numeric($_GET['toggle_is_default']))
     129if (isset($_GET['toggle_is_default']) and is_numeric($_GET['toggle_is_default']) and !is_adviser())
    130130{
    131131  $query = '
     
    158158$template->assign_vars(
    159159  array(
    160     'F_ADD_ACTION' => PHPWG_ROOT_PATH.'admin.php?page=group_list'
     160    'F_ADD_ACTION' => PHPWG_ROOT_PATH.'admin.php?page=group_list',
     161    'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=group_list',
    161162    )
    162163  );
  • trunk/plugins

    • Property svn:ignore set to
      text_integrator
  • trunk/template/yoga/admin/group_list.tpl

    r1583 r1591  
    11<!-- $Id$ -->
    2 <h2>{lang:title_groups}</h2>
     2<div class="titrePage">
     3  <ul class="categoryActions">
     4    <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
     5  </ul>
     6  <h2>{lang:title_groups}</h2>
     7</div>
    38
    49<form method="post" name="add_user" action="{F_ADD_ACTION}" class="properties">
Note: See TracChangeset for help on using the changeset viewer.