| [ Index ] | PHP Cross Reference of Mambo 4.6.5 |
|
| [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package Mambo 4 * @subpackage Installer 5 * @author Mambo Foundation Inc see README.php 6 * @copyright (C) 2000 - 2009 Mambo Foundation Inc. 7 * See COPYRIGHT.php for copyright notices and details. 8 * @license GNU/GPL Version 2, see LICENSE.php 9 * 10 * Redistributions of files must retain the above copyright notice. 11 * 12 * Mambo is free software; you can redistribute it and/or 13 * modify it under the terms of the GNU General Public License 14 * as published by the Free Software Foundation; version 2 of the License. 15 */ 16 17 /** ensure this file is being included by a parent file */ 18 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); 19 20 class HTML_mambot { 21 /** 22 * Displays the installed non-core Mambot 23 * @param array An array of mambot object 24 * @param strong The URL option 25 */ 26 function showInstalledMambots( &$rows, $option ) { 27 ?> 28 <table class="adminheading"> 29 <tr> 30 <th class="install"> 31 <?php echo T_('Installed Mambots'); ?> 32 </th> 33 </tr> 34 <tr> 35 <td> 36 <?php echo T_('Only those Mambots that can be uninstalled are displayed - some Core Mambots cannot be removed.'); ?> 37 <br /><br /> 38 </td> 39 </tr> 40 </table> 41 <?php 42 if ( count( $rows ) ) { ?> 43 <form action="index2.php" method="post" name="adminForm"> 44 <table class="adminlist"> 45 <tr> 46 <th width="20%" class="title"> 47 <?php echo T_('Mambot'); ?> 48 </th> 49 <th width="10%" class="title"> 50 <?php echo T_('Type'); ?> 51 </th> 52 <!-- 53 Currently Unsupported 54 <th width="10%" align="left"> 55 Client 56 </th> 57 --> 58 <th width="10%" align="left"> 59 <?php echo T_('Author'); ?> 60 </th> 61 <th width="5%" align="center"> 62 <?php echo T_('Version'); ?> 63 </th> 64 <th width="10%" align="center"> 65 <?php echo T_('Date'); ?> 66 </th> 67 <th width="15%" align="left"> 68 <?php echo T_('Author Email'); ?> 69 </th> 70 <th width="15%" align="left"> 71 <?php echo T_('Author URL'); ?> 72 </th> 73 </tr> 74 <?php 75 $rc = 0; 76 $n = count( $rows ); 77 for ($i = 0; $i < $n; $i++) { 78 $row =& $rows[$i]; 79 ?> 80 <tr class="<?php echo "row$rc"; ?>"> 81 <td> 82 <input type="radio" id="cb<?php echo $i;?>" name="cid[]" value="<?php echo $row->id; ?>" onclick="isChecked(this.checked);"> 83 <span class="bold"> 84 <?php echo $row->name; ?> 85 </span> 86 </td> 87 <td> 88 <?php echo $row->folder; ?> 89 </td> 90 <!-- 91 Currently Unsupported 92 <td> 93 <?php //echo $row->client_id == "0" ? 'Site' : 'Administrator'; ?> 94 </td> 95 --> 96 <td> 97 <?php echo @$row->author != '' ? $row->author : " "; ?> 98 </td> 99 <td align="center"> 100 <?php echo @$row->version != '' ? $row->version : " "; ?> 101 </td> 102 <td align="center"> 103 <?php echo @$row->creationdate != '' ? $row->creationdate : " "; ?> 104 </td> 105 <td> 106 <?php echo @$row->authorEmail != '' ? $row->authorEmail : " "; ?> 107 </td> 108 <td> 109 <?php echo @$row->authorUrl != "" ? "<a href=\"" .(substr( $row->authorUrl, 0, 7) == 'http://' ? $row->authorUrl : 'http://'.$row->authorUrl). "\" target=\"_blank\">$row->authorUrl</a>" : " ";?> 110 </td> 111 </tr> 112 <?php 113 $rc = 1 - $rc; 114 } 115 ?> 116 </table> 117 118 <input type="hidden" name="task" value="" /> 119 <input type="hidden" name="boxchecked" value="0" /> 120 <input type="hidden" name="option" value="com_installer" /> 121 <input type="hidden" name="element" value="mambot" /> 122 </form> 123 <?php 124 } else { 125 ?> 126 <?php echo T_('There are no non-core, custom mambots installed.'); ?> 127 <?php 128 } 129 } 130 } 131 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Feb 8 00:05:01 2012 | Cross-referenced by PHPXref 0.7 |
| Mambo API: Mambo is Free software released under the GNU/General Public License, Version 2 |