venice-dynamo-rewrite/venice-data/velocity/sysadmin/module_install.vm

38 lines
1.6 KiB
Plaintext

#*
The contents of this file are subject to the Mozilla Public License Version 1.1
(the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
language governing rights and limitations under the License.
The Original Code is the Venice Web Communities System.
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
Copyright (C) 2003 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
*#
#*
Parameters:
modlist = List of module file names which are not yet installed.
*#
#header1( "Install New Modules" )
<p><a href="#formatURL( "SERVLET" "sysadmin/modules.js.vs" )">Return to Previous Menu</a></p>
#if ( $modlist.isEmpty() )
<p><em>There are no new modules to be installed at this time.</em></p>
#else
<p>The following modules are present on the server but have not yet been installed. Click the module's name
to install it.</p>
<div align="left"><table border="0" cellpadding="0" cellspacing="2">
#foreach( $m in $modlist )
#set( $em = "#encodeURL( $m )"
<tr><td class="content">
<a href="#formatURL( "SERVLET" "sysadmin/module_install.js.vs?mod=$em" )">#encodeHTML( $m )</a>
</td></tr>
#end
</table></div>
#end