diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-23 07:46:50 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-23 07:46:50 +0000 |
commit | f39cf6ed2f43706ef13e67353ea7e43f5d09b7a8 (patch) | |
tree | e037e37a23964a7c5be227537436f67b78354d6b /core/views | |
parent | 0ef6f4995c9b1e9abfcdd28203235eb1dc6260b9 (diff) |
Add a button to install all plugins at once, now that we have so many.
Improve the style a bit, sort the plugins, put core first and make it
stand out so that you don't accidentally uninstall it.
Diffstat (limited to 'core/views')
-rw-r--r-- | core/views/welcome.html.php | 12 | ||||
-rw-r--r-- | core/views/welcome_syscheck.html.php | 9 |
2 files changed, 21 insertions, 0 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index a3f70d33..41578935 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -106,6 +106,18 @@ display: inline; } + tr.core td { + border-bottom: 1px solid black; + + } + + a { + text-decoration: none; + } + + a:hover { + text-decoration: underline; + } </style> <script type="text/javascript" src="<?= url::file("lib/jquery.js") ?>"></script> <script type="text/javascript" src="<?= url::file("lib/jquery.cookie.js") ?>"></script> diff --git a/core/views/welcome_syscheck.html.php b/core/views/welcome_syscheck.html.php index 7d972689..e469a724 100644 --- a/core/views/welcome_syscheck.html.php +++ b/core/views/welcome_syscheck.html.php @@ -35,7 +35,13 @@ <th align="left">Version</th> <th align="left">Action</th> </tr> + <tr class="core"> + <td> <b> core </b> </td> + <td> <b> <?= $modules["core"] ?> </b> </td> + <td> <b> <?= html::anchor("welcome/uninstall/core", "reset install") ?> </b> </td> + </tr> <? foreach ($modules as $module_name => $module_version): ?> + <? if ($module_name == "core") continue; ?> <tr> <td><?= $module_name ?></td> <td><?= empty($module_version) ? "" : $module_version ?></td> @@ -49,6 +55,9 @@ </tr> <? endforeach; ?> <tr> + <td colspan="3" align="center"> + <button onclick="document.location.href='<?= url::site("welcome/install/*") ?>'">Install All Plugins</button> + </td> </tr> </table> <? endif; ?> |