Project

General

Profile

« Previous | Next » 

Revision 938

Added by doc almost 16 years ago

added option to invoke module upgrade.php/uninstall.php files from backend (for modules uploaded via FTP)

View differences:

template.html
73 73
<br />
74 74
</form>
75 75

  
76
<form name="details" action="manual_install.php" method="post" class="{DISPLAY_MANUAL_INSTALL}">
76
<div class="{DISPLAY_MANUAL_INSTALL}">
77
<h2>{HEADING_INVOKE_MODULE_FILES}</h2>
78
<p>{TEXT_MANUAL_INSTALLATION}</p>
77 79

  
78
<h2>{HEADING_MANUAL_MODULE_INSTALLATION}</h2>
79
{TEXT_MANUAL_INSTALLATION}
80
<p>{TEXT_MANUAL_INSTALLATION_2}</p>
81

  
82
<table cellpadding="2" cellspacing="0" border="0" width="100%">
83
<tr>
84
	<td>
85
		<select name="file" style="width: 97%;">
86
		<option value="" selected>{TEXT_PLEASE_SELECT}...</option>
80
<form name="details" action="manual_install.php" method="post" class="{INSTALL_VISIBLE}">
81
	{TEXT_FILE}:</strong> "install.php"&nbsp;&nbsp;&nbsp;
82
	<input type="hidden" name="action" value="install" />
83
	<select name="file" style="width: 250px;">
84
	<option value="" selected>{TEXT_PLEASE_SELECT}...</option>
87 85
		<!-- BEGIN install_list_block -->
88
			<option value="{VALUE}">{NAME}</option>
86
		<option value="{VALUE}">{NAME}</option>
89 87
		<!-- END install_list_block -->
90
		</select>
91
	</td>
92
	<td width="110">
93
		<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" />
94
	</td>
95
</tr>
96
</table>
97
<p style="color: red;">{TEXT_MANUAL_INSTALLATION_WARNING}</p>
88
	</select>
89
	<input type="submit" name="submit" value="{TEXT_EXECUTE}" style="width: 100px; margin-left: 1em;" />
90
</form>
98 91

  
99
<br />
92
<form name="details" action="manual_install.php" method="post" class="{UPGRADE_VISIBLE}">
93
	<br />{TEXT_FILE}: "upgrade.php"
94
	<input type="hidden" name="action" value="upgrade" />
95
	<select name="file" style="width: 250px;">
96
	<option value="" selected>{TEXT_PLEASE_SELECT}...</option>
97
		<!-- BEGIN upgrade_list_block -->
98
		<option value="{VALUE}">{NAME}</option>
99
		<!-- END upgrade_list_block -->
100
	</select>
101
	<input type="submit" name="submit" value="{TEXT_EXECUTE}" style="width: 100px; margin-left: 1em;" />
100 102
</form>
101 103

  
104
<form name="details" action="manual_install.php" method="post" class="{UNINSTALL_VISIBLE}">
105
	<br />{TEXT_FILE}: "uninstall.php"
106
	<input type="hidden" name="action" value="uninstall" />
107
	<select name="file" style="width: 250px;">
108
	<option value="" selected>{TEXT_PLEASE_SELECT}...</option>
109
		<!-- BEGIN uninstall_list_block -->
110
		<option value="{VALUE}">{NAME}</option>
111
		<!-- END uninstall_list_block -->
112
	</select>
113
	<input type="submit" name="submit" value="{TEXT_EXECUTE}" style="width: 100px; margin-left: 1em;" />
114
</form>
115

  
116
<p style="color: red;">{TEXT_MANUAL_INSTALLATION_WARNING}</p>
117
</div>
118

  
102 119
<!-- END main_block -->

Also available in: Unified diff