Changeset 4216 for extensions/piwigopress/PiwigoPress_code.php
- Timestamp:
- Nov 5, 2009, 11:15:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piwigopress/PiwigoPress_code.php
r4125 r4216 65 65 echo '<ul style="clear: both;"><li>' . __('Pictures categories','pwg') . '<ul>'; 66 66 foreach ($cats["result"]["categories"] as $cat) { 67 echo '<li><a title="' . $cat['name'] . '" href="' . $piwigo_url . 'index.php?category/' . $cat['id'] . '">' . $cat['name'] . '</a></li>' ;67 echo '<li><a title="' . $cat['name'] . '" href="' . $piwigo_url . 'index.php?category/' . $cat['id'] . '">' . $cat['name'] . '</a></li>'."\r\n"; 68 68 } 69 echo '</ul></li></ul>' ;69 echo '</ul></li></ul>'."\r\n"; 70 70 } 71 71 } … … 76 76 77 77 if ($most_visited == 'true') 78 echo '<li><a title="' . __('Most visited','pwg') . '" href="' . $piwigo_url . 'index.php?most_visited' . '">' . __('Most visited','pwg') . '</a></li>' ;78 echo '<li><a title="' . __('Most visited','pwg') . '" href="' . $piwigo_url . 'index.php?most_visited' . '">' . __('Most visited','pwg') . '</a></li>'."\r\n"; 79 79 80 80 if ($best_rated == 'true') 81 echo '<li><a title="' . __('Best rated','pwg') . '" href="' . $piwigo_url . 'index.php?best_rated' . '">' . __('Best rated','pwg') . '</a></li>' ;81 echo '<li><a title="' . __('Best rated','pwg') . '" href="' . $piwigo_url . 'index.php?best_rated' . '">' . __('Best rated','pwg') . '</a></li>'."\r\n"; 82 82 83 83 if ($most_commented == 'true') 84 echo '<li><a title="' . __('Most commented','pwg') . '" href="' . $piwigo_url . 'index.php?most_commented' . '">' . __('Most commented','pwg') . '</a></li>' ;84 echo '<li><a title="' . __('Most commented','pwg') . '" href="' . $piwigo_url . 'index.php?most_commented' . '">' . __('Most commented','pwg') . '</a></li>'."\r\n"; 85 85 86 86 if ($random == 'true') 87 echo '<li><a title="' . __('Random','pwg') . '" href="' . $piwigo_url . 'random.php' . '">' . __('Random','pwg') . '</a></li>' ;87 echo '<li><a title="' . __('Random','pwg') . '" href="' . $piwigo_url . 'random.php' . '">' . __('Random','pwg') . '</a></li>'."\r\n"; 88 88 89 89 if ($recent_pics == 'true') 90 echo '<li><a title="' . __('Recent pics','pwg') . '" href="' . $piwigo_url . 'index.php?recent_pics' . '">' . __('Recent pics','pwg') . '</a></li>' ;90 echo '<li><a title="' . __('Recent pics','pwg') . '" href="' . $piwigo_url . 'index.php?recent_pics' . '">' . __('Recent pics','pwg') . '</a></li>'."\r\n"; 91 91 92 92 if ($calendar == 'true') 93 echo '<li><a title="' . __('Calendar','pwg') . '" href="' . $piwigo_url . 'index.php?created-monthly-calendar' . '">' . __('Calendar','pwg') . '</a></li>' ;93 echo '<li><a title="' . __('Calendar','pwg') . '" href="' . $piwigo_url . 'index.php?created-monthly-calendar' . '">' . __('Calendar','pwg') . '</a></li>'."\r\n"; 94 94 95 95 if ($tags == 'true') 96 echo '<li><a title="' . __('Tags','pwg') . '" href="' . $piwigo_url . 'tags.php' . '">' . __('Tags','pwg') . '</a></li>' ;96 echo '<li><a title="' . __('Tags','pwg') . '" href="' . $piwigo_url . 'tags.php' . '">' . __('Tags','pwg') . '</a></li>'."\r\n"; 97 97 98 98 if ($comments == 'true') 99 echo '<li><a title="' . __('Comments','pwg') . '" href="' . $piwigo_url . 'comments.php' . '">' . __('Comments','pwg') . '</a></li>' ;99 echo '<li><a title="' . __('Comments','pwg') . '" href="' . $piwigo_url . 'comments.php' . '">' . __('Comments','pwg') . '</a></li>'."\r\n"; 100 100 101 101 102 102 if ($most_visited == 'true' or $best_rated == 'true' or 103 103 $most_commented == 'true' or $random == 'true' or $recent_pics == 'true' or 104 $calendar == 'true' or $tags == 'true' or $comments == 'true') echo '</ul>' ;104 $calendar == 'true' or $tags == 'true' or $comments == 'true') echo '</ul>'."\r\n"; 105 105 106 106 echo $after_widget;
Note: See TracChangeset
for help on using the changeset viewer.