- Timestamp:
- Oct 20, 2009, 10:55:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Public_Piwigo_WordPress_Widget/Public_WP_Piwigo_code.php
r4055 r4073 62 62 $cats = unserialize($response); 63 63 if ($cats["stat"] == 'ok') { 64 echo '<ul style="clear: both;"><li>' . __('Pictures categories' ) . '<ul>';64 echo '<ul style="clear: both;"><li>' . __('Pictures categories','pwg') . '<ul>'; 65 65 foreach ($cats["result"]["categories"] as $cat) { 66 66 echo '<li><a title="' . $cat['name'] . '" href="' . $piwigo_url . 'index.php?category/' . $cat['id'] . '">' . $cat['name'] . '</a></li>'; … … 75 75 76 76 if ($most_visited == 'true') 77 echo '<li><a title="' . __('Most visited' ) . '" href="' . $piwigo_url . 'index.php?most_visited' . '">' . __('Most visited') . '</a></li>';77 echo '<li><a title="' . __('Most visited','pwg') . '" href="' . $piwigo_url . 'index.php?most_visited' . '">' . __('Most visited','pwg') . '</a></li>'; 78 78 79 79 if ($best_rated == 'true') 80 echo '<li><a title="' . __('Best rated' ) . '" href="' . $piwigo_url . 'index.php?best_rated' . '">' . __('Best rated') . '</a></li>';80 echo '<li><a title="' . __('Best rated','pwg') . '" href="' . $piwigo_url . 'index.php?best_rated' . '">' . __('Best rated','pwg') . '</a></li>'; 81 81 82 82 if ($most_commented == 'true') 83 echo '<li><a title="' . __('Most commented' ) . '" href="' . $piwigo_url . 'index.php?most_commented' . '">' . __('Most commented') . '</a></li>';83 echo '<li><a title="' . __('Most commented','pwg') . '" href="' . $piwigo_url . 'index.php?most_commented' . '">' . __('Most commented','pwg') . '</a></li>'; 84 84 85 85 if ($random == 'true') 86 echo '<li><a title="' . __('Random' ) . '" href="' . $piwigo_url . 'random.php' . '">' . __('Random') . '</a></li>';86 echo '<li><a title="' . __('Random','pwg') . '" href="' . $piwigo_url . 'random.php' . '">' . __('Random','pwg') . '</a></li>'; 87 87 88 88 if ($recent_pics == 'true') 89 echo '<li><a title="' . __('Recent pics' ) . '" href="' . $piwigo_url . 'index.php?recent_pics' . '">' . __('Recent pics') . '</a></li>';89 echo '<li><a title="' . __('Recent pics','pwg') . '" href="' . $piwigo_url . 'index.php?recent_pics' . '">' . __('Recent pics','pwg') . '</a></li>'; 90 90 91 91 if ($calendar == 'true') 92 echo '<li><a title="' . __('Calendar' ) . '" href="' . $piwigo_url . 'index.php?created-monthly-calendar' . '">' . __('Calendar') . '</a></li>';92 echo '<li><a title="' . __('Calendar','pwg') . '" href="' . $piwigo_url . 'index.php?created-monthly-calendar' . '">' . __('Calendar','pwg') . '</a></li>'; 93 93 94 94 if ($tags == 'true') 95 echo '<li><a title="' . __('Tags' ) . '" href="' . $piwigo_url . 'tags.php' . '">' . __('Tags') . '</a></li>';95 echo '<li><a title="' . __('Tags','pwg') . '" href="' . $piwigo_url . 'tags.php' . '">' . __('Tags','pwg') . '</a></li>'; 96 96 97 97 if ($comments == 'true') 98 echo '<li><a title="' . __('Comments' ) . '" href="' . $piwigo_url . 'comments.php' . '">' . __('Comments') . '</a></li>';98 echo '<li><a title="' . __('Comments','pwg') . '" href="' . $piwigo_url . 'comments.php' . '">' . __('Comments','pwg') . '</a></li>'; 99 99 100 100
Note: See TracChangeset
for help on using the changeset viewer.