Changeset 727315
- Timestamp:
- 06/17/2013 08:29:54 AM (13 years ago)
- Location:
- gplus-comments/trunk/includes
- Files:
-
- 2 edited
-
lib/admin.php (modified) (1 diff)
-
templates/container.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gplus-comments/trunk/includes/lib/admin.php
r725556 r727315 46 46 </tr> 47 47 <tr> 48 <td>Icon Theme:</td> 49 <td> 50 <select name="gplus-comments[icon_theme]"> 51 <option selected="selected" value="default">Default</option> 52 <option value="monotone">Monotone</option> 53 </select> 54 </td> 55 </tr> 56 <tr> 48 57 <td>Hide Icons:</td> 49 58 <td><input type="checkbox" name="gplus-comments[hide_icons]" value="1" <?php checked( '1', $options['hide_icons']);?>></td> -
gplus-comments/trunk/includes/templates/container.php
r726707 r727315 44 44 <?php 45 45 $tab_order = explode(',',$options['tab_order']); 46 $iconset = 'default'; 46 if(empty($options['icon_theme'])) 47 { 48 $options['icon_theme'] = 'default'; 49 } 47 50 $active = ' class="active"'; 48 51 foreach ($tab_order as $tab) … … 51 54 if(!$options['hide_icons']) 52 55 { 53 echo "<img src='".GPLUS_COMMENTS_URL."/assets/images/icons/".$ iconset."/".$tab.".png'>";56 echo "<img src='".GPLUS_COMMENTS_URL."/assets/images/icons/".$options['icon_theme']."/".$tab.".png'>"; 54 57 } 55 58 echo $options[${tab}.'_label']."</a></li>\n";
Note: See TracChangeset
for help on using the changeset viewer.