Interface fix: enable sorting bookmarks asc or desc; improve navigation links
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@119 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
791f149247
commit
c1c23e20db
7 changed files with 91 additions and 31 deletions
|
@ -71,7 +71,7 @@ $tplVars['popCount'] = 30;
|
||||||
$tplVars['sidebar_blocks'] = $GLOBALS["index_sidebar_blocks"];
|
$tplVars['sidebar_blocks'] = $GLOBALS["index_sidebar_blocks"];
|
||||||
$tplVars['range'] = 'all';
|
$tplVars['range'] = 'all';
|
||||||
$tplVars['pagetitle'] = T_('Store, share and tag your favourite links');
|
$tplVars['pagetitle'] = T_('Store, share and tag your favourite links');
|
||||||
$tplVars['subtitle'] = T_('Recent Bookmarks');
|
$tplVars['subtitle'] = T_('All Bookmarks');
|
||||||
$tplVars['bookmarkCount'] = $start + 1;
|
$tplVars['bookmarkCount'] = $start + 1;
|
||||||
$bookmarks =& $bookmarkservice->getBookmarks($start, $perpage, NULL, NULL, NULL, getSortOrder(), NULL, 0, $dtend);
|
$bookmarks =& $bookmarkservice->getBookmarks($start, $perpage, NULL, NULL, NULL, getSortOrder(), NULL, 0, $dtend);
|
||||||
$tplVars['total'] = $bookmarks['total'];
|
$tplVars['total'] = $bookmarks['total'];
|
||||||
|
|
Binary file not shown.
|
@ -8,8 +8,8 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Scuttle\n"
|
"Project-Id-Version: Scuttle\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2008-04-24 09:43+0200\n"
|
"POT-Creation-Date: 2008-04-24 19:03+0200\n"
|
||||||
"PO-Revision-Date: 2008-04-24 09:47+0100\n"
|
"PO-Revision-Date: 2008-04-24 19:07+0100\n"
|
||||||
"Last-Translator: BenjaminHKB <benjamin.huynh-kim-bang@loria.fr>\n"
|
"Last-Translator: BenjaminHKB <benjamin.huynh-kim-bang@loria.fr>\n"
|
||||||
"Language-Team: fr-FR <toony.sf@chezouam.net>\n"
|
"Language-Team: fr-FR <toony.sf@chezouam.net>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -226,8 +226,8 @@ msgid "Store, share and tag your favourite links"
|
||||||
msgstr "Conservez, partagez et taggez vos liens favoris"
|
msgstr "Conservez, partagez et taggez vos liens favoris"
|
||||||
|
|
||||||
#: ../../../index.php:74
|
#: ../../../index.php:74
|
||||||
msgid "Recent Bookmarks"
|
msgid "All Bookmarks"
|
||||||
msgstr "Signets récents"
|
msgstr "Tous les signets"
|
||||||
|
|
||||||
#: ../../../jsScuttle.php:22
|
#: ../../../jsScuttle.php:22
|
||||||
#: ../../../templates/tag2tagadd.tpl.php:21
|
#: ../../../templates/tag2tagadd.tpl.php:21
|
||||||
|
@ -316,6 +316,7 @@ msgstr "Mot de passe oublié"
|
||||||
#: ../../../populartags.php:49
|
#: ../../../populartags.php:49
|
||||||
#: ../../../templates/dynamictags.inc.php:101
|
#: ../../../templates/dynamictags.inc.php:101
|
||||||
#: ../../../templates/sidebar.block.common.php:9
|
#: ../../../templates/sidebar.block.common.php:9
|
||||||
|
#: ../../../templates/sidebar.block.menu.php:68
|
||||||
#: ../../../templates/sidebar.block.popular.php:15
|
#: ../../../templates/sidebar.block.popular.php:15
|
||||||
#: ../../../templates/sidebar.block.recent.php:30
|
#: ../../../templates/sidebar.block.recent.php:30
|
||||||
#: ../../../templates/toolbar.inc.php:24
|
#: ../../../templates/toolbar.inc.php:24
|
||||||
|
@ -398,7 +399,7 @@ msgstr "Signets ajoutés récemment à %s"
|
||||||
#: ../../../search.inc.php:13
|
#: ../../../search.inc.php:13
|
||||||
#: ../../../search.inc.php:41
|
#: ../../../search.inc.php:41
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Chercher"
|
msgstr "Chercher dans"
|
||||||
|
|
||||||
#: ../../../search.inc.php:19
|
#: ../../../search.inc.php:19
|
||||||
msgid "this user's bookmarks"
|
msgid "this user's bookmarks"
|
||||||
|
@ -692,12 +693,12 @@ msgstr "Suivant"
|
||||||
msgid "Last"
|
msgid "Last"
|
||||||
msgstr "Dernière"
|
msgstr "Dernière"
|
||||||
|
|
||||||
#: ../../../templates/bookmarks.tpl.php:238
|
#: ../../../templates/bookmarks.tpl.php:246
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Page %d of %d"
|
msgid "Page %d of %d"
|
||||||
msgstr "Page %d de %d"
|
msgstr "Page %d de %d"
|
||||||
|
|
||||||
#: ../../../templates/bookmarks.tpl.php:240
|
#: ../../../templates/bookmarks.tpl.php:252
|
||||||
msgid "No bookmarks available"
|
msgid "No bookmarks available"
|
||||||
msgstr "Pas de signets disponibles."
|
msgstr "Pas de signets disponibles."
|
||||||
|
|
||||||
|
@ -1004,16 +1005,29 @@ msgstr "Tags inclus dans le tag '%s'"
|
||||||
|
|
||||||
#: ../../../templates/sidebar.block.menu.php:29
|
#: ../../../templates/sidebar.block.menu.php:29
|
||||||
msgid "Menu Tags"
|
msgid "Menu Tags"
|
||||||
msgstr "Menu Tags"
|
msgstr "Tags Menu"
|
||||||
|
|
||||||
#: ../../../templates/sidebar.block.menu.php:60
|
#: ../../../templates/sidebar.block.menu.php:62
|
||||||
msgid "See all your tags"
|
msgid "See all your tags"
|
||||||
msgstr "Voir tous vos tags"
|
msgstr "Voir tous vos tags"
|
||||||
|
|
||||||
#: ../../../templates/sidebar.block.menu.php:60
|
#: ../../../templates/sidebar.block.menu.php:62
|
||||||
msgid "all your tags"
|
msgid "all your tags"
|
||||||
msgstr "Tous vos tags"
|
msgstr "Tous vos tags"
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.menu.php:64
|
||||||
|
msgid "See all tags from this user"
|
||||||
|
msgstr "Voir tous les tags de cet utilisateur"
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.menu.php:64
|
||||||
|
msgid "all tags from this user"
|
||||||
|
msgstr "tous les tags de cet utilisateur"
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.menu.php:68
|
||||||
|
#, fuzzy
|
||||||
|
msgid "See popular tags"
|
||||||
|
msgstr "Voir tous vos tags"
|
||||||
|
|
||||||
#: ../../../templates/sidebar.block.recent.php:15
|
#: ../../../templates/sidebar.block.recent.php:15
|
||||||
msgid "Recent Tags"
|
msgid "Recent Tags"
|
||||||
msgstr "Tags récents"
|
msgstr "Tags récents"
|
||||||
|
@ -1043,6 +1057,15 @@ msgstr "Derniers utilisateurs"
|
||||||
msgid "bookmarks"
|
msgid "bookmarks"
|
||||||
msgstr "signets"
|
msgstr "signets"
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.users.php:29
|
||||||
|
#, fuzzy
|
||||||
|
msgid "See all users"
|
||||||
|
msgstr "Voir tous vos tags"
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.users.php:29
|
||||||
|
msgid "All users"
|
||||||
|
msgstr "Tous les utilisateurs"
|
||||||
|
|
||||||
#: ../../../templates/sidebar.block.watchstatus.php:10
|
#: ../../../templates/sidebar.block.watchstatus.php:10
|
||||||
msgid "Remove from Watchlist"
|
msgid "Remove from Watchlist"
|
||||||
msgstr "Enlever de la liste des consultés"
|
msgstr "Enlever de la liste des consultés"
|
||||||
|
@ -1059,15 +1082,15 @@ msgstr "Editer un lien"
|
||||||
msgid "Synonyms:"
|
msgid "Synonyms:"
|
||||||
msgstr "Synonymes :"
|
msgstr "Synonymes :"
|
||||||
|
|
||||||
#: ../../../templates/tag2tagadd.tpl.php:10
|
#: ../../../templates/tag2tagadd.tpl.php:12
|
||||||
|
msgid "Create new link:"
|
||||||
|
msgstr "Créer un nouveau lien"
|
||||||
|
|
||||||
|
#: ../../../templates/tag2tagadd.tpl.php:19
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Note: include a tag into '%s' tag (e.g. %s>countries) display the tag into the menu box"
|
msgid "Note: include a tag into '%s' tag (e.g. %s>countries) display the tag into the menu box"
|
||||||
msgstr "Note : inclure un tag dans le tag '%s' (e.g. %s>countries) affiche ce tag dans la boîte de menu"
|
msgstr "Note : inclure un tag dans le tag '%s' (e.g. %s>countries) affiche ce tag dans la boîte de menu"
|
||||||
|
|
||||||
#: ../../../templates/tag2tagadd.tpl.php:13
|
|
||||||
msgid "Create new link:"
|
|
||||||
msgstr "Créer un nouveau lien"
|
|
||||||
|
|
||||||
#: ../../../templates/tag2tagadd.tpl.php:23
|
#: ../../../templates/tag2tagadd.tpl.php:23
|
||||||
#: ../../../templates/tag2tagedit.tpl.php:37
|
#: ../../../templates/tag2tagedit.tpl.php:37
|
||||||
msgid "Create"
|
msgid "Create"
|
||||||
|
@ -1127,6 +1150,8 @@ msgstr "Profil"
|
||||||
msgid "created in"
|
msgid "created in"
|
||||||
msgstr "Créé en "
|
msgstr "Créé en "
|
||||||
|
|
||||||
|
#~ msgid "Recent Bookmarks"
|
||||||
|
#~ msgstr "Signets récents"
|
||||||
#~ msgid "plus"
|
#~ msgid "plus"
|
||||||
#~ msgstr "plus"
|
#~ msgstr "plus"
|
||||||
#~ msgid ""
|
#~ msgid ""
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2008-04-24 09:43+0200\n"
|
"POT-Creation-Date: 2008-04-24 19:03+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -208,7 +208,7 @@ msgid "Store, share and tag your favourite links"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../index.php:74
|
#: ../../../index.php:74
|
||||||
msgid "Recent Bookmarks"
|
msgid "All Bookmarks"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../jsScuttle.php:22 ../../../templates/tag2tagadd.tpl.php:21
|
#: ../../../jsScuttle.php:22 ../../../templates/tag2tagadd.tpl.php:21
|
||||||
|
@ -298,6 +298,7 @@ msgstr ""
|
||||||
|
|
||||||
#: ../../../populartags.php:49 ../../../templates/dynamictags.inc.php:101
|
#: ../../../populartags.php:49 ../../../templates/dynamictags.inc.php:101
|
||||||
#: ../../../templates/sidebar.block.common.php:9
|
#: ../../../templates/sidebar.block.common.php:9
|
||||||
|
#: ../../../templates/sidebar.block.menu.php:68
|
||||||
#: ../../../templates/sidebar.block.popular.php:15
|
#: ../../../templates/sidebar.block.popular.php:15
|
||||||
#: ../../../templates/sidebar.block.recent.php:30
|
#: ../../../templates/sidebar.block.recent.php:30
|
||||||
#: ../../../templates/toolbar.inc.php:24
|
#: ../../../templates/toolbar.inc.php:24
|
||||||
|
@ -672,12 +673,12 @@ msgstr ""
|
||||||
msgid "Last"
|
msgid "Last"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../templates/bookmarks.tpl.php:238
|
#: ../../../templates/bookmarks.tpl.php:246
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Page %d of %d"
|
msgid "Page %d of %d"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../templates/bookmarks.tpl.php:240
|
#: ../../../templates/bookmarks.tpl.php:252
|
||||||
msgid "No bookmarks available"
|
msgid "No bookmarks available"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1000,14 +1001,26 @@ msgstr ""
|
||||||
msgid "Menu Tags"
|
msgid "Menu Tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../templates/sidebar.block.menu.php:60
|
#: ../../../templates/sidebar.block.menu.php:62
|
||||||
msgid "See all your tags"
|
msgid "See all your tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../templates/sidebar.block.menu.php:60
|
#: ../../../templates/sidebar.block.menu.php:62
|
||||||
msgid "all your tags"
|
msgid "all your tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.menu.php:64
|
||||||
|
msgid "See all tags from this user"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.menu.php:64
|
||||||
|
msgid "all tags from this user"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.menu.php:68
|
||||||
|
msgid "See popular tags"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../templates/sidebar.block.recent.php:15
|
#: ../../../templates/sidebar.block.recent.php:15
|
||||||
msgid "Recent Tags"
|
msgid "Recent Tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1037,6 +1050,14 @@ msgstr ""
|
||||||
msgid "bookmarks"
|
msgid "bookmarks"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.users.php:29
|
||||||
|
msgid "See all users"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../templates/sidebar.block.users.php:29
|
||||||
|
msgid "All users"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../templates/sidebar.block.watchstatus.php:10
|
#: ../../../templates/sidebar.block.watchstatus.php:10
|
||||||
msgid "Remove from Watchlist"
|
msgid "Remove from Watchlist"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1053,17 +1074,17 @@ msgstr ""
|
||||||
msgid "Synonyms:"
|
msgid "Synonyms:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../templates/tag2tagadd.tpl.php:10
|
#: ../../../templates/tag2tagadd.tpl.php:12
|
||||||
|
msgid "Create new link:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../templates/tag2tagadd.tpl.php:19
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Note: include a tag into '%s' tag (e.g. %s>countries) display the tag into "
|
"Note: include a tag into '%s' tag (e.g. %s>countries) display the tag into "
|
||||||
"the menu box"
|
"the menu box"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../templates/tag2tagadd.tpl.php:13
|
|
||||||
msgid "Create new link:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../../../templates/tag2tagadd.tpl.php:23
|
#: ../../../templates/tag2tagadd.tpl.php:23
|
||||||
#: ../../../templates/tag2tagedit.tpl.php:37
|
#: ../../../templates/tag2tagedit.tpl.php:37
|
||||||
msgid "Create"
|
msgid "Create"
|
||||||
|
|
|
@ -63,12 +63,17 @@ window.onload = playerLoad;
|
||||||
<p id="sort">
|
<p id="sort">
|
||||||
<?php echo $total.' '.T_("bookmark(s)"); ?> -
|
<?php echo $total.' '.T_("bookmark(s)"); ?> -
|
||||||
<?php echo T_("Sort by:"); ?>
|
<?php echo T_("Sort by:"); ?>
|
||||||
<a href="?sort=date_desc"><?php echo T_("Date"); ?></a><span> / </span>
|
<?php
|
||||||
<a href="?sort=title_asc"><?php echo T_("Title"); ?></a><span> / </span>
|
$dateSort = (getSortOrder()=='date_desc')? 'date_asc':'date_desc';
|
||||||
|
$titleSort = (getSortOrder()=='title_asc')? 'title_desc':'title_asc';
|
||||||
|
$urlSort = (getSortOrder()=='url_asc')? 'url_desc':'url_asc';
|
||||||
|
?>
|
||||||
|
<a href="?sort=<?php echo $dateSort ?>"><?php echo T_("Date"); ?></a><span> / </span>
|
||||||
|
<a href="?sort=<?php echo $titleSort ?>"><?php echo T_("Title"); ?></a><span> / </span>
|
||||||
<?php
|
<?php
|
||||||
if (!isset($hash)) {
|
if (!isset($hash)) {
|
||||||
?>
|
?>
|
||||||
<a href="?sort=url_asc"><?php echo T_("URL"); ?></a>
|
<a href="?sort=<?php echo $urlSort ?>"><?php echo T_("URL"); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -57,8 +57,16 @@ if (sizeof($menuTags) > 0 || ($userid != 0 && $userid === $logged_on_userid)) {
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<?php $cUser = $userservice->getUser($userid); ?>
|
<?php $cUser = $userservice->getUser($userid); ?>
|
||||||
|
<?php if($userid>0): ?>
|
||||||
|
<?php if($userid==$logged_on_userid): ?>
|
||||||
<p style="text-align:right"><a href="<?php echo createURL('alltags', $cUser['username']); ?>" title="<?php echo T_('See all your tags')?>"><?php echo T_('all your tags'); ?></a> →</p>
|
<p style="text-align:right"><a href="<?php echo createURL('alltags', $cUser['username']); ?>" title="<?php echo T_('See all your tags')?>"><?php echo T_('all your tags'); ?></a> →</p>
|
||||||
|
<?php else: ?>
|
||||||
|
<p style="text-align:right"><a href="<?php echo createURL('alltags', $cUser['username']); ?>" title="<?php echo T_('See all tags from this user')?>"><?php echo T_('all tags from this user'); ?></a> →</p>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<?php else : ?>
|
||||||
|
<p style="text-align:right"><a href="<?php echo createURL('populartags', $cUser['username']); ?>" title="<?php echo T_('See popular tags')?>"><?php echo T_('Popular Tags'); ?></a> →</p>
|
||||||
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -22,10 +22,11 @@ foreach ($lastUsers as $row) {
|
||||||
echo ' (<a href="'.createURL('bookmarks', $row['username']).'">'.T_('bookmarks').'</a>)';
|
echo ' (<a href="'.createURL('bookmarks', $row['username']).'">'.T_('bookmarks').'</a>)';
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
}
|
}
|
||||||
echo '<tr><td><a href="'.createURL('users').'">...</a></td></tr>';
|
//echo '<tr><td><a href="'.createURL('users').'">...</a></td></tr>';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
<p style="text-align:right"><a href="<?php echo createURL('users'); ?>" title="<?php echo T_('See all users')?>"><?php echo T_('All users'); ?></a> →</p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue