Changeset 5515 for trunk/admin/plugins_new.php
- Timestamp:
- Apr 1, 2010, 12:41:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/plugins_new.php
r5406 r5515 106 106 foreach($plugins->server_plugins as $plugin) 107 107 { 108 list($date, ) = explode(' ', $plugin['revision_date']); 109 110 $ext_desc = '<i>'.l10n('Downloads').':</i> '.$plugin['extension_nb_downloads']."\r\n" 111 ."\r\n" 112 .$plugin['extension_description']; 113 114 $rev_desc = '<i>'.l10n('Version').':</i> '.$plugin['revision_name']."\r\n" 115 .'<i>'.l10n('Released on').':</i> '.$date."\r\n" 116 .'<i>'.l10n('Downloads').':</i> '.$plugin['revision_nb_downloads']."\r\n" 117 ."\r\n" 118 .$plugin['revision_description']; 108 $ext_desc = trim($plugin['extension_description'], " \n\r"); 109 list($small_desc) = explode("\n", wordwrap($ext_desc, 200)); 119 110 120 111 $url_auto_install = htmlentities($base_url) … … 125 116 126 117 $template->append('plugins', array( 118 'ID' => $plugin['extension_id'], 127 119 'EXT_NAME' => $plugin['extension_name'], 128 120 'EXT_URL' => PEM_URL.'/extension_view.php?eid='.$plugin['extension_id'], 129 'EXT_DESC' => $ext_desc, 121 'SMALL_DESC' => trim($small_desc, " \r\n"), 122 'BIG_DESC' => $ext_desc, 130 123 'VERSION' => $plugin['revision_name'], 131 'DATE' => $date,132 'VER_DESC' => $rev_desc,133 124 'AUTHOR' => $plugin['author_name'], 125 'DOWNLOADS' => $plugin['revision_nb_downloads'], 134 126 'URL_INSTALL' => $url_auto_install, 135 127 'URL_DOWNLOAD' => $plugin['download_url'] . '&origin=piwigo_download'));
Note: See TracChangeset
for help on using the changeset viewer.