Changeset 2222:30fe556de226 for inc/admin
- Timestamp:
- 10/03/13 00:57:41 (12 years ago)
- Branch:
- dcRepo
- File:
- 
          - 1 edited
 
 - 
          inc/admin/lib.moduleslist.php (modified) (6 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
        inc/admin/lib.moduleslist.phpr2221 r2222 269 269 'tags' => '', 270 270 'details' => '', 271 'sshot' => '' 271 'sshot' => '', 272 'score' => 0 272 273 ), 273 274 # Module's values … … 314 315 } 315 316 317 if (in_array('score', $cols) && $this->getSearchQuery() !== null && defined('DC_DEBUG') && DC_DEBUG) { 318 echo 319 '<th class="nowrap">'.__('Score').'</th>'; 320 } 321 316 322 if (in_array('version', $cols)) { 317 323 echo … … 381 387 html::escapeHTML($module['name']) 382 388 ).'</td>'; 389 390 # Display score only for debug purpose 391 if (in_array('score', $cols) && $this->getSearchQuery() !== null && defined('DC_DEBUG') && DC_DEBUG) { 392 echo 393 '<td class="module-version nowrap count"><span class="debug">'.$module['score'].'</span></td>'; 394 } 383 395 384 396 if (in_array('version', $cols)) { … … 863 875 } 864 876 877 # Display score only for debug purpose 878 if (in_array('score', $cols) && $this->getSearchQuery() !== null && defined('DC_DEBUG') && DC_DEBUG) { 879 $line .= 880 '<p class="module-score debug">'.sprintf(__('Score: %s'), $module['score']).'</p>'; 881 } 882 865 883 if (in_array('sshot', $cols)) { 866 884 # Screenshot from url … … 901 919 } 902 920 921 if (in_array('current_version', $cols)) { 922 $line .= 923 '<span class="module-current-version">'.sprintf(__('(current version %s)'),html::escapeHTML($module['current_version'])).'</span> '; 924 } 925 903 926 if (in_array('parent', $cols) && $has_parent) { 904 927 if ($is_parent_present) { … … 910 933 '<span class="module-parent-missing">'.sprintf(__('(requires "%s")'),html::escapeHTML($parent)).'</span> '; 911 934 } 912 }913 914 if (in_array('version', $cols)) {915 $line .=916 '<span class="module-version">'.sprintf(__('version %s'),html::escapeHTML($module['version'])).'</span> ';917 935 } 918 936 
Note: See TracChangeset
          for help on using the changeset viewer.
      