4 * Copyright (c) 2003-2009 John Willinsky
5 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
7 * List available import/export plugins.
9 * $Id: managePlugins.tpl,v 1.3 2009/05/26 01:31:18 mcrider Exp $
12 {assign var="pageTitle" value="manager.plugins.$path"}
13 {include file="common/header.tpl"}
17 {if $path == 'install'}
20 <p>{translate key="manager.plugins.installDescription"}</p>
23 <form method="post" action="{url path="installPlugin"}" enctype="multipart/form-data">
25 <span class="formError">{translate key="form.errorsOccurred"}:</span>
26 <ul class="formErrorList">
28 {if is_array($message)}
29 {translate key=$message[0]} {$message[1]}
31 {translate key=$message}
39 {if is_array($message)}
40 {translate key=$message[0]} {$message[1]}
42 {translate key=$message}
49 <table class="data" width="100%">
51 <td width="25%" class="label">
52 {translate key="manager.plugins.uploadPluginDir"}
54 <td width="75%" class="value">
55 <input type="file" class="uploadField" name="newPlugin" id="newPlugin" />
56 <input name="uploadPlugin" type="submit" value="{translate key="common.continue"}" class="button defaultButton" />
63 {elseif $path == 'upgrade'}
66 <p>{translate key="manager.plugins.upgradeDescription"}</p>
69 <form method="post" action="{url path="upgradePlugin"|to_array:$plugin}" enctype="multipart/form-data">
71 <span class="formError">{translate key="form.errorsOccurred"}:</span>
72 <ul class="formErrorList">
73 {if is_array($message)}
74 {translate key=$message[0]} {$message[1]}
76 {translate key=$message}
83 {if is_array($message)}
84 {translate key=$message[0]} {$message[1]}
86 {translate key=$message}
93 <table class="data" width="100%">
95 <td width="25%" class="label">
96 {translate key="manager.plugins.uploadPluginDir"}
98 <td width="75%" class="value">
99 <input type="file" class="uploadField" name="newPlugin" id="newPlugin" />
100 <input name="uploadPlugin" type="submit" value="{translate key="common.continue"}" class="button defaultButton" />
107 {elseif $path == 'delete'}
110 <p>{translate key="manager.plugins.deleteDescription"}</p>
115 <ul class="formErrorList">
116 <li>{translate key="manager.plugins.deleteConfirm"}</li>
121 <form method="post" action="{url path="deletePlugin"|to_array:$plugin}" enctype="multipart/form-data">
123 <span class="formError">{translate key="form.errorsOccurred"}:</span>
124 <ul class="formErrorList">
126 {if is_array($message)}
127 {translate key=$message[0]} {$message[1]}
129 {translate key=$message}
134 <input type="submit" name="save" class="button defaultButton" value="{translate key="common.delete"}"/> <input type="button" class="button" value="{translate key="common.cancel"}" onclick="history.go(-1)"/>
137 <p>{translate key="manager.plugins.deleteSuccess"}</p>
142 {include file="common/footer.tpl"}