From: <var...@us...> - 2016-07-08 11:34:58
|
Revision: 9866 http://sourceforge.net/p/phpwiki/code/9866 Author: vargenau Date: 2016-07-08 11:34:55 +0000 (Fri, 08 Jul 2016) Log Message: ----------- Remove Fusionforge-specific files (g wikiadmin.php wikilist.php) Modified Paths: -------------- trunk/pgsrc/ReleaseNotes Removed Paths: ------------- trunk/g trunk/wikiadmin.php trunk/wikilist.php Deleted: trunk/g =================================================================== --- trunk/g 2016-07-08 11:32:02 UTC (rev 9865) +++ trunk/g 2016-07-08 11:34:55 UTC (rev 9866) @@ -1,309 +0,0 @@ -<?php -/* - * Copyright (C) 2008-2012 Alcatel-Lucent - * - * This file is part of PhpWiki. - * - * PhpWiki is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * PhpWiki is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with PhpWiki; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -/* - * Standard Alcatel-Lucent disclaimer for contributing to open source - * - * "The Configuration File ("Contribution") has not been tested and/or - * validated for release as or in products, combinations with products or - * other commercial use. Any use of the Contribution is entirely made at - * the user's own responsibility and the user can not rely on any features, - * functionalities or performances Alcatel-Lucent has attributed to the - * Contribution. - * - * THE CONTRIBUTION BY ALCATEL-LUCENT IS PROVIDED AS IS, WITHOUT WARRANTY - * OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE - * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COMPLIANCE, - * NON-INTERFERENCE AND/OR INTERWORKING WITH THE SOFTWARE TO WHICH THE - * CONTRIBUTION HAS BEEN MADE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * ALCATEL-LUCENT BE LIABLE FOR ANY DAMAGES OR OTHER LIABLITY, WHETHER IN - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - * CONTRIBUTION OR THE USE OR OTHER DEALINGS IN THE CONTRIBUTION, WHETHER - * TOGETHER WITH THE SOFTWARE TO WHICH THE CONTRIBUTION RELATES OR ON A STAND - * ALONE BASIS." - */ - -if (defined('WIKI_SOAP')) { - ini_set('memory_limit', -1); -} else { - ini_set('memory_limit', "256M"); -} -ini_set('pcre.backtrack_limit', 100000000); - -// Disable compression, seems needed to get all the messages. -$no_gz_buffer=true; - -if (defined('WIKI_SOAP')) { - require_once 'include/env.inc.php'; -} else { - require_once '../../../common/include/env.inc.php'; -} -require_once $gfcommon.'include/pre.php'; -require_once $gfplugins.'wiki/common/wikiconfig.class.php'; - -html_use_jquery(); -if (forge_get_config('use_jquery_form_navigate')) { - use_javascript('/scripts/jquery-formnavigate/jquery.FormNavigate-min.js'); - define('ENABLE_EDIT_TOOLBAR', true); -} else { - // Disable Toolbar for tests - define('ENABLE_EDIT_TOOLBAR', false); -} -define('JS_SEARCHREPLACE', false); - -if (defined('WIKI_SOAP')) { - $help = group_get_object_by_name('help'); - if ($help) { - $group_id = $help->getID(); - } else { - // Test system don't have help project, use projecta instead. - $group_id = 6; - } -} - -if (isset($group_id) && $group_id) { - if (! isset($project) || ! $project) { - $project = group_get_object($group_id); - } -} elseif(isset($project) && is_object($project)) { - $group_id = $project->getID(); -} - -if (! isset($group_id) || ! isset($project)) { - exit_no_group(); -} else if (!($project->usesPlugin("wiki"))) { - // We should test whether the wiki plugin is disabled globally - // in the Forge or by the current project. - // exit_disabled('home'); - exit_project_disabled('home'); -} else { - - global $robots; - - $robots = "noindex,nofollow"; - - $group_name = $project->getUnixName(); - $group_public_name = $project->getPublicName(); - - $is_external = method_exists($project, 'getIsExternal') && $project->getIsExternal(); - - $wc = new WikiConfig($group_id); - - define('VIRTUAL_PATH', '/wiki/g/'.$group_name); - global $page_prefix; - $page_prefix = '_g'.$group_id.'_'; - - // We have to use a smaller value than Phpwiki due to page prefix - define('MAX_PAGENAME_LENGTH', 92); - - define('THEME', 'fusionforge'); - - // For FusionForge, we create some specific pages, located in the theme - // except for given project - if ($group_name == forge_get_config('wiki_help_project', 'wiki')) { - define('WIKI_PGSRC', 'pgsrc'); - } else { - define('WIKI_PGSRC', 'themes/fusionforge/pgsrc'); - } - - define('FUSIONFORGE', true); - - define('PATH_INFO_PREFIX', '/'.$group_name . '/'); - define('USE_PATH_INFO', true); - - define('WIKI_NAME', $group_name); - - define('ALLOWED_PROTOCOLS', "http|https|mailto|ftp|ftps|news|nntp|ssh|gopher"); - - define('DISABLE_MARKUP_WIKIWORD', $wc->getWikiConfig('DISABLE_MARKUP_WIKIWORD')); - - define('NUM_SPAM_LINKS', 20 * ($wc->getWikiConfig('NUM_SPAM_LINKS'))); - - define('ENABLE_RATEIT', $wc->getWikiConfig('ENABLE_RATEIT')); - - define('UPLOAD_FILE_PATH', forge_get_config('groupdir_prefix').'/'.WIKI_NAME.'/www/uploads/'); - // define('UPLOAD_DATA_PATH', SERVER_URL . '/www/'.WIKI_NAME.'/uploads/'); - if ($project->isPublic()) { - define('UPLOAD_DATA_PATH', '/www/'.WIKI_NAME.'/uploads/'); - } else { - define('UPLOAD_DATA_PATH', '/wiki/view.php/'.WIKI_NAME.'/uploads/'); - } - - // Do not use a directory per user but only one (per project) - define('UPLOAD_USERDIR', false); - - // Allow Load File only from /tmp - define('ALLOWED_LOAD', '/tmp'); - - // Use black list of extensions instead of white list - define('DISABLE_UPLOAD_ONLY_ALLOWED_EXTENSIONS', true); - - // Get the maximum upload filesize from PHP config - define('MAX_UPLOAD_SIZE', octets(ini_get('upload_max_filesize'))); - - // Disable access log (already in Apache & FusionForge). - define('ACCESS_LOG_SQL', 0); - - define('DEBUG', (forge_get_config('installation_environment') != 'production')); - - // Postgresql - define('DATABASE_TYPE', 'SQL'); - // Dummy value (to avoid warning in SystemInfo plugin) - define('DATABASE_DSN', 'pgsql://localhost/user_phpwiki'); - - // Disable VACUUM (they are performed every night) - define('DATABASE_OPTIMISE_FREQUENCY', 0); - - // TBD: the name should be taken from FusionForge - // define('ADMIN_USER', 'ACOS Forge Administrator'); - define('ADMIN_USER', 'The PhpWiki programming team'); - // Dummy value - define('ADMIN_PASSWD', 'xxx'); - - // Allow ".svg" and ".swf" as extensions - define('INLINE_IMAGES', 'png|jpg|jpeg|gif|svg|swf'); - - // Allow <div> and <span> in wiki code - define('ENABLE_MARKUP_DIVSPAN', true); - - define('ENABLE_AJAX', false); - - define('TOOLBAR_PAGELINK_PULLDOWN', false); - define('TOOLBAR_TEMPLATE_PULLDOWN', 'Template*'); - define('TOOLBAR_IMAGE_PULLDOWN', true); - - // Enable external pages - define('ENABLE_EXTERNAL_PAGES', $is_external); - - // Let all revisions be stored. Default since 1.3.11 - define('MAJOR_MIN_KEEP', 2147483647); - define('MINOR_MIN_KEEP', 2147483647); - define('MAJOR_MAX_AGE', 2147483647); - define('MAJOR_KEEP', 2147483647); - define('MINOR_MAX_AGE', 2147483647); - define('MINOR_KEEP', 2147483647); - define('AUTHOR_MAX_AGE', 2147483647); - define('AUTHOR_KEEP', 2147483647); - define('AUTHOR_MIN_AGE', 2147483647); - define('AUTHOR_MAX_KEEP', 2147483647); - - // - // Define access rights for the wiki. - // - - // Do not allow anon users to edit pages - define('ALLOW_ANON_EDIT', false); - - // Do not allow fake user - define('ALLOW_BOGO_LOGIN', false); - - // A dedicated auth has been created to get auth from FusionForge - $USER_AUTH_ORDER = array("FusionForge"); - define('USER_AUTH_ORDER', 'FusionForge'); - define('USER_AUTH_POLICY', 'strict'); - - define('EXTERNAL_LINK_TARGET', '_top'); - - // Override the default configuration for CONSTANTS before index.php - $LC_ALL = language_name_to_locale_code(choose_language_from_context()); - $LANG = preg_replace('/_.*/', '', $LC_ALL); - - // We use a local interwiki map file - define('INTERWIKI_MAP_FILE', 'themes/fusionforge/interwiki.map'); - - define('DEFAULT_WIKI_PAGES', ""); - - define('DBAUTH_AUTH_CHECK', "SELECT IF(passwd='\$password',1,0) as ok FROM plugin_wiki_pref WHERE userid='\$userid'"); - define('DBAUTH_AUTH_USER_EXISTS', "SELECT userid FROM plugin_wiki_pref WHERE userid='\$userid'"); - define('DBAUTH_AUTH_CREATE', "INSERT INTO plugin_wiki_pref (passwd,userid) VALUES ('\$password','\$userid')"); - define('DBAUTH_PREF_SELECT', "SELECT prefs FROM plugin_wiki_pref WHERE userid='\$userid'"); - define('DBAUTH_PREF_UPDATE', "UPDATE plugin_wiki_pref SET prefs='\$pref_blob' WHERE userid='\$userid'"); - define('DBAUTH_PREF_INSERT', "INSERT INTO plugin_wiki_pref (prefs,userid) VALUES ('\$pref_blob','\$userid')"); - define('DBAUTH_IS_MEMBER', "SELECT userid FROM plugin_wiki_pref WHERE userid='\$userid' AND groupname='\$groupname'"); - define('DBAUTH_GROUP_MEMBERS', "SELECT userid FROM plugin_wiki_pref WHERE groupname='\$groupname'"); - define('DBAUTH_USER_GROUPS', "SELECT groupname FROM plugin_wiki_pref WHERE userid='\$userid'"); - - define('USE_DB_SESSION', true); - - define('USE_BYTEA', true); - - define('ENABLE_REVERSE_DNS', false); - - // Web DAV location - define('DEFAULT_DUMP_DIR', forge_get_config('groupdir_prefix').'/'.$group_name."/wikidump/"); - define('HTML_DUMP_DIR', forge_get_config('groupdir_prefix').'/'.$group_name."/wikidumphtml/"); - - define('COMPRESS_OUTPUT', false); - - define('CACHE_CONTROL', "NO_CACHE"); - - $lg = language_name_to_locale_code(forge_get_config('default_language')); - $lg = preg_replace('/_.*/', '', $lg); - define('DEFAULT_LANGUAGE', $lg); - - define('DISABLE_GETIMAGESIZE', true); - - // If the user is logged in, let the Wiki know - if (session_loggedin()) { - $user = session_get_user(); - if ($user && is_object($user) && !$user->isError() && $user->isActive()) { - $user_name = $user->getRealName(); - $_SESSION['user_id'] = $user_name; - $_SERVER['PHP_AUTH_USER'] = $user_name; - } - } else { - // clear out the globals, just in case... - } - - // Load the default configuration. - require_once(dirname(__FILE__).'/lib/prepend.php'); - require_once(dirname(__FILE__).'/lib/IniConfig.php'); - IniConfig(dirname(__FILE__)."/config/config-default.ini"); - - // Override the default configuration for VARIABLES after index.php: - // E.g. Use another DB: - $DBParams['dbtype'] = 'SQL'; - $DBParams['dsn'] = 'ffpgsql://' . forge_get_config('database_user') . ':' . - forge_get_config('database_password') . '@' . forge_get_config('database_host') .'/' . forge_get_config('database_name'); - - $DBParams['prefix'] = "plugin_wiki_"; - - // Start the wiki - include dirname(__FILE__).'/lib/main.php'; -} - -/** - * Return a number of octets from a string like "300M" - */ -function octets($val) { - $val = trim($val); - $last = strtolower($val[strlen($val)-1]); - switch($last) { - // The 'G' modifier is available since PHP 5.1.0 - case 'g': - $val *= 1024; - case 'm': - $val *= 1024; - case 'k': - $val *= 1024; - } - return $val; -} Modified: trunk/pgsrc/ReleaseNotes =================================================================== --- trunk/pgsrc/ReleaseNotes 2016-07-08 11:32:02 UTC (rev 9865) +++ trunk/pgsrc/ReleaseNotes 2016-07-08 11:34:55 UTC (rev 9866) @@ -1,4 +1,4 @@ -Date: Thu, 7 Jul 2016 22:43:03 +0000 +Date: Fri, 8 Jul 2016 13:33:33 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.5) Content-Type: application/x-phpwiki; pagename=ReleaseNotes; @@ -22,6 +22,7 @@ * Add HTML 5 <main> <header> <footer> <nav> in all themes * Better is_localhost() function (allow IPv6, allow Windows IIS). Patch by Thierry Nabeth. * Repair PhotoAlbumPlugin +* Remove Fusionforge-specific files (g wikiadmin.php wikilist.php) == 1.5.5 2015-12-11 Marc-Etienne Vargenau == Deleted: trunk/wikiadmin.php =================================================================== --- trunk/wikiadmin.php 2016-07-08 11:32:02 UTC (rev 9865) +++ trunk/wikiadmin.php 2016-07-08 11:34:55 UTC (rev 9866) @@ -1,169 +0,0 @@ -<?php -/* - * Copyright (C) 2009 Alain Peyrat, Alcatel-Lucent - * Copyright (C) 2009-2010 Marc-Etienne Vargenau, Alcatel-Lucent - * - * This file is part of PhpWiki. - * - * PhpWiki is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * PhpWiki is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with PhpWiki; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -/* - * Standard Alcatel-Lucent disclaimer for contributing to open source - * - * "The Wiki Configurator ("Contribution") has not been tested and/or - * validated for release as or in products, combinations with products or - * other commercial use. Any use of the Contribution is entirely made at - * the user's own responsibility and the user can not rely on any features, - * functionalities or performances Alcatel-Lucent has attributed to the - * Contribution. - * - * THE CONTRIBUTION BY ALCATEL-LUCENT IS PROVIDED AS IS, WITHOUT WARRANTY - * OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE - * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COMPLIANCE, - * NON-INTERFERENCE AND/OR INTERWORKING WITH THE SOFTWARE TO WHICH THE - * CONTRIBUTION HAS BEEN MADE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * ALCATEL-LUCENT BE LIABLE FOR ANY DAMAGES OR OTHER LIABLITY, WHETHER IN - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - * CONTRIBUTION OR THE USE OR OTHER DEALINGS IN THE CONTRIBUTION, WHETHER - * TOGETHER WITH THE SOFTWARE TO WHICH THE CONTRIBUTION RELATES OR ON A STAND - * ALONE BASIS." - */ - -require_once dirname(__FILE__) . "/../../env.inc.php"; -require_once $gfcommon . 'include/pre.php'; -require_once forge_get_config('plugins_path') . '/wiki/common/WikiPlugin.class.php'; -require_once forge_get_config('plugins_path') . '/wiki/common/wikiconfig.class.php'; - -$user = session_get_user(); // get the session user - -if (!$user || !is_object($user)) { - exit_error(_('Invalid User'), 'home'); -} elseif ($user->isError()) { - exit_error($user->getErrorMessage(), 'home'); -} elseif (!$user->isActive()) { - exit_error(_('User not active'), 'home'); -} - -$type = getStringFromRequest('type'); -$group_id = getIntFromRequest('group_id'); -$pluginname = 'wiki'; -$config = getArrayFromRequest('config'); - -if (!$type) { - exit_missing_param('', array(_('No TYPE specified')), 'home'); -} elseif (!$group_id) { - exit_missing_param('', array(_('No ID specified')), 'home'); -} else { - if ($type == 'admin_post') { - $group = group_get_object($group_id); - if (!$group) { - exit_no_group(); - } - if (!($group->usesPlugin($pluginname))) { //check if the group has the wiki plugin active - exit_error(sprintf(_('First activate the %s plugin through the Project\'s Admin Interface'), $pluginname), 'home'); - } - $userperm = $group->getPermission(); //we'll check if the user belongs to the group - if (!$userperm->IsMember()) { - exit_permission_denied(_('You are not a member of this project'), 'home'); - } - //only project admin can access here - if ($userperm->isAdmin()) { - - $wc = new WikiConfig($group_id); - - foreach ($wc->getWikiConfigNames() as $c) { - if (!array_key_exists($c, $config)) { - $config[$c] = 0; - } - } - - foreach ($config as $config_name => $config_value) { - $r = $wc->updateWikiConfig($config_name, $config_value); - if (!$r) exit_error("Error", $wc->getErrorMessage()); - } - - $type = 'admin'; - $feedback = _('Configuration saved.'); - } else { - exit_permission_denied(_('You are not a project Admin'), 'home'); - } - } - if ($type == 'admin') { - $group = group_get_object($group_id); - if (!$group) { - exit_no_group(); - } - if (!($group->usesPlugin($pluginname))) { //check if the group has the plugin active - exit_error(sprintf(_('First activate the %s plugin through the Project\'s Admin Interface'), $pluginname), 'home'); - } - $userperm = $group->getPermission(); //we'll check if the user belongs to the group - if (!$userperm->IsMember()) { - exit_permission_denied(_('You are not a member of this project'), 'home'); - } - //only project admin can access here - if ($userperm->isAdmin()) { - site_project_header(array('title' => _("Configuration for your project's wiki"), - 'pagename' => $pluginname, - 'group' => $group_id, - 'toptab' => 'wiki', - 'sectionvals' => array(group_getname($group_id)))); - - $wc = new WikiConfig($group_id); - - print "<table>\n"; - print "<tr>\n"; - print "<td>\n"; - print "<fieldset>\n"; - print "<legend>" . _('Wiki Configuration') . "</legend>\n"; - print "<form action=\"/wiki/wikiadmin.php\" method=\"post\">\n"; - print "<input type=\"hidden\" name=\"group_id\" value=\"$group_id\" />\n"; - print "<input type=\"hidden\" name=\"pluginname\" value=\"$pluginname\" />\n"; - print "<input type=\"hidden\" name=\"type\" value=\"admin_post\" />\n"; - - print '<table class="listing">'; - print "\n<thead>\n<tr>\n<th>" . - _("Parameter") . - "</th>" . - "<th>" . - _("Value") . - "</th>\n" . - "</tr>\n</thead>\n"; - - foreach ($wc->getWikiConfigNames() as $c) { - $checked = $wc->getWikiConfig($c) ? ' checked="checked"' : ''; - $desc = $wc->getWikiConfigDescription($c); - - print "<tr>\n<td>$desc</td>\n" . - '<td class="align-center">' . - "<input type=\"checkbox\" name=\"config[$c]\" value=\"1\"$checked /></td>\n" . - "</tr>\n"; - } - print "</table>\n"; - print '<p class="align-right"><input type="submit" value="' . - _("Save Configuration") . - "\" /></p>"; - print "</form>\n"; - print "</fieldset>\n"; - print "</td>\n"; - print "</tr>\n"; - print "</table>\n"; - } else { - exit_permission_denied(_('You are not a project Admin'), 'home'); - } - } -} - -site_project_footer(); Deleted: trunk/wikilist.php =================================================================== --- trunk/wikilist.php 2016-07-08 11:32:02 UTC (rev 9865) +++ trunk/wikilist.php 2016-07-08 11:34:55 UTC (rev 9866) @@ -1,92 +0,0 @@ -<?php -/** - * List of active wikis in Forge - * - * Copyright 2009-2011 Marc-Etienne Vargenau, Alcatel-Lucent - * - * This file is part of FusionForge. - * - * FusionForge is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * FusionForge is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with FusionForge; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -require_once dirname(__FILE__) . "/../../env.inc.php"; -require_once $gfcommon . 'include/pre.php'; -require_once $gfwww . 'admin/admin_utils.php'; - -$title = _('List of active wikis in Forge'); -site_admin_header(array('title' => $title)); - -$sortorder = getStringFromRequest('sortorder', 'group_name'); -$sortorder = util_ensure_value_in_set($sortorder, array('group_name', 'register_time', 'unix_group_name', 'is_public', 'is_external', 'members')); - -$res = db_query_params('SELECT group_name,register_time,unix_group_name,groups.group_id,is_public,is_external,status, COUNT(user_group.group_id) AS members - FROM groups LEFT JOIN user_group ON user_group.group_id=groups.group_id - WHERE status=$1 - GROUP BY group_name,register_time,unix_group_name,groups.group_id,is_public,is_external,status - ORDER BY ' . $sortorder, - array('A')); - -$headers = array( - _('Project Name'), - _('Registered'), - _('Unix Name'), - _('Is Public?') -); -if (forge_get_config('allow_external')) { - $headers[] = _("External?"); -} -$headers[] = _('Members'); -$headers[] = _('Upgrade'); - -$headerLinks = array( - '/wiki/wikilist.php?sortorder=group_name', - '/wiki/wikilist.php?sortorder=register_time', - '/wiki/wikilist.php?sortorder=unix_group_name', - '/wiki/wikilist.php?sortorder=is_public'); -if (forge_get_config('allow_external')) { - $headerLinks[] = '?sortorder=is_external'; -} -$headerLinks[] = '/wiki/wikilist.php?sortorder=members'; -$headerLinks[] = ''; - -echo $HTML->listTableTop($headers, $headerLinks); - -$i = 0; -while ($grp = db_fetch_array($res)) { - - $project = group_get_object($grp['group_id']); - if ($project->usesPlugin("wiki")) { - $time_display = ""; - if ($grp['register_time'] != 0) { - $time_display = date('Y-m-d H:i', $grp['register_time']); - } - echo '<tr ' . $HTML->boxGetAltRowStyle($i) . '>'; - echo '<td><a href="/wiki/g/' . $grp['unix_group_name'] . '/">' . $grp['group_name'] . '</a></td>'; - echo '<td>' . $time_display . '</td>'; - echo '<td>' . $grp['unix_group_name'] . '</td>'; - echo '<td>' . $grp['is_public'] . '</td>'; - if (forge_get_config('allow_external')) { - echo '<td>' . $grp['is_external'] . '</td>'; - } - echo '<td>' . $grp['members'] . '</td>'; - echo '<td><a title="'._('Upgrade').' '.$grp['group_name'].'" href="/wiki/g/'.$grp['unix_group_name'].'/?action=upgrade&nodb=true">'._('Upgrade').'</a></td>'; - echo '</tr>'; - $i++; - } -} - -echo $HTML->listTableBottom(); - -site_admin_footer(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |