Changeset 2157:bdd306788929
- Timestamp:
- 09/30/13 07:38:09 (10 years ago)
- Branch:
- dcRepo
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_plugins.js
r2156 r2157 78 78 var support = $(rsp).find('support').text(); 79 79 var box = document.createElement('div'); 80 var dl = document.createElement('dl'); 80 var dl = document.createElement('ul'); 81 dl.className = "mod-more"; 81 82 82 83 if (author) { 83 $(dl).append($('< dt>'+dotclear.msg.module_author+'</dt><dd>'+author+'</dd>'));84 $(dl).append($('<li>'+dotclear.msg.module_author+' '+author+'</li>')); 84 85 } 85 86 if (details) { … … 90 91 dd += '<a class="support" href="'+support+'">'+dotclear.msg.module_support+'</a>'; 91 92 } 92 $(dl).append($('< dt>'+dotclear.msg.module_help+'</dt><dd>'+dd+'</dd>'));93 $(dl).append($('<li>'+dotclear.msg.module_help+' '+dd+'</li>')); 93 94 } 94 95 95 $(td).append($(box).addClass(' box').append(dl));96 $(td).append($(box).addClass('two-boxes').append(dl)); 96 97 97 98 var section = $(rsp).find('section').text(); … … 99 100 100 101 var boxb = document.createElement('div'); 101 var dlb = document.createElement('dl'); 102 var dlb = document.createElement('ul'); 103 dlb.className = "mod-more"; 102 104 103 105 if (section) { 104 $(dlb).append($('< dt>'+dotclear.msg.module_section+'</dt><dd>'+section+'</dd>'));106 $(dlb).append($('<li>'+dotclear.msg.module_section+' '+section+'</li>')); 105 107 } 106 108 if (tags) { 107 $(dlb).append($('< dt>'+dotclear.msg.module_tags+'</dt><dd>'+tags+'</dd>'));109 $(dlb).append($('<li>'+dotclear.msg.module_tags+' '+tags+'</li>')); 108 110 } 109 $(td).append($(boxb).addClass(' box').append(dlb));111 $(td).append($(boxb).addClass('two-boxes').append(dlb)); 110 112 } else { 111 113 alert($(rsp).find('message').text()); -
admin/plugins.php
r2156 r2157 220 220 221 221 echo 222 '<div class="multi-part" id="new" title="'.__('Add plugins').'">'. 223 '<h3>'.__('Add plugins').'</h3>'. 224 '<p>'.sprintf( 225 __("You can install plugins directly from %s repository."), 226 '<a title="'.__('Visit Dotaddict').'" href="http://dotaddict.org/dc2/plugins">dotaddict.org</a>' 227 ).'</p>'; 222 '<div class="multi-part" id="new" title="'.__('Add plugins from Dotaddict').'">'. 223 '<h3>'.__('Add plugins from Dotaddict repository').'</h3>'; 228 224 229 225 $list … … 240 236 241 237 echo 238 '<div class="info">'. 239 '<p>'.sprintf( 240 __("Visit %s repository, the resources center for Dotclear."), 241 '<a href="http://dotaddict.org/dc2/plugins">Dotaddict</a>' 242 ).'</p></div>'. 242 243 '</div>'; 243 244 244 245 # Add a new plugin 245 246 echo 246 '<div class="multi-part" id="addplugin" title="'.__('Install or upgrade a plugin').'">';247 '<div class="multi-part" id="addplugin" title="'.__('Install or upgrade manually').'">'; 247 248 248 249 echo '<p>'.__('You can install plugins by uploading or downloading zip files.').'</p>'; -
admin/style/default.css
r2156 r2157 1988 1988 padding: 4px 4px 0 20px; 1989 1989 } 1990 #m_search { 1991 background: transparent url(search.png) no-repeat 4px center; 1992 } 1993 .modules tr.expand, .modules td.expand { 1994 background: #f5f5f5; 1995 border-color: #bee74b; 1996 } 1997 .modules tr.expand { 1998 font-weight: bold; 1999 } 2000 .modules td.expand { 2001 padding: 0; 2002 } 2003 .mod-more, .mod-more li { 2004 margin: 0 0 0 1em; 2005 padding: 0; 2006 list-style-type: none; 2007 } 1990 2008 /* ---------------------------------------------------------- post.php, page.php */ 1991 2009 #entry-wrapper { -
inc/admin/lib.dc.page.php
r2156 r2157 610 610 __('Details')). 611 611 self::jsVar('dotclear.msg.module_support', 612 __('Support :')).612 __('Support')). 613 613 self::jsVar('dotclear.msg.module_help', 614 __(' Aide:')).614 __('Help:')). 615 615 self::jsVar('dotclear.msg.module_section', 616 616 __('Section:')). -
inc/admin/lib.moduleslist.php
r2156 r2157 124 124 125 125 echo 126 '<div class="box">'. 127 '<form action="'.$this->getPageURL().'" method="get">'. 128 '<p><label for="m_search" class="classic">'.__('Search:').' </label><br />'. 129 form::field(array('m_search'), 30, 255, html::escapeHTML($query)). 126 '<form action="'.$this->getPageURL().'" method="get" class="fieldset">'. 127 '<p><label for="m_search" class="classic">'.__('Search in repository:').' </label><br />'. 128 form::field(array('m_search','m_search'), 30, 255, html::escapeHTML($query)). 130 129 '<input type="submit" value="'.__('Search').'" /> '. 131 130 '</p>'; … … 133 132 if ($query) { 134 133 echo 135 '<p class="info">'.sprintf(134 '<p>'.sprintf( 136 135 __('Found %d result for search "%s".', 'Found %d results for search "%s".', count($this->modules)), 137 136 count($this->modules), html::escapeHTML($query) 138 ).' <a href="'.$this->getPageURL().'" >'.__('Reset search').'</a>'.137 ).' <a href="'.$this->getPageURL().'" class="button">'.__('Reset search').'</a>'. 139 138 '</p>'; 140 139 } 141 140 142 141 echo 143 '</form>'. 144 '</div>'; 142 '</form>'; 145 143 146 144 return $this; … … 199 197 } 200 198 # Parse navigation menu 201 echo '<div class="pager">'.__(' Index:').' <ul>'.implode('',$buttons).'</ul></div>';199 echo '<div class="pager">'.__('Browse index:').' <ul>'.implode('',$buttons).'</ul></div>'; 202 200 203 201 return $this;
Note: See TracChangeset
for help on using the changeset viewer.