diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-03-20 22:15:34 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-03-20 22:15:34 +0100 |
commit | bc178983b370ed005d569d70b4629e3181acc522 (patch) | |
tree | a7d5e99d85063641415b71f1b4160b3fb85a505a /data/templates | |
parent | 8146646a0e1c7535e62aeebab049f7b1740c86ae (diff) | |
parent | 975809a8347929c9eae9c6a8bf3beb8d92af63ef (diff) | |
download | semanticscuttle-bc178983b370ed005d569d70b4629e3181acc522.tar.gz semanticscuttle-bc178983b370ed005d569d70b4629e3181acc522.tar.bz2 |
Merge branch 'master' into jquery
Conflicts:
doc/ChangeLog
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/bookmarkcommondescriptionedit.tpl.php | 3 | ||||
-rw-r--r-- | data/templates/bookmarks.tpl.php | 3 | ||||
-rw-r--r-- | data/templates/editprofile.tpl.php | 2 | ||||
-rw-r--r-- | data/templates/sidebar.block.users.php | 2 | ||||
-rw-r--r-- | data/templates/tagcommondescriptionedit.tpl.php | 3 | ||||
-rw-r--r-- | data/templates/users.tpl.php | 9 |
6 files changed, 16 insertions, 6 deletions
diff --git a/data/templates/bookmarkcommondescriptionedit.tpl.php b/data/templates/bookmarkcommondescriptionedit.tpl.php index af5909a..807c58b 100644 --- a/data/templates/bookmarkcommondescriptionedit.tpl.php +++ b/data/templates/bookmarkcommondescriptionedit.tpl.php @@ -30,7 +30,8 @@ window.onload = function() { if(strlen($description['cdDatetime'])>0) { echo T_('Last modification:').' '.$description['cdDatetime'].', '; $lastUser = $userservice->getUser($description['uId']); - echo '<a href="'.createURL('profile', $lastUser['username']).'">'.$lastUser['username'].'</a>'; + echo '<a href="'.createURL('profile', $lastUser['username']).'">' + . SemanticScuttle_Model_UserArray::getName($lastUser) . '</a>'; } ?> </td> diff --git a/data/templates/bookmarks.tpl.php b/data/templates/bookmarks.tpl.php index 34beb39..55d6a0f 100644 --- a/data/templates/bookmarks.tpl.php +++ b/data/templates/bookmarks.tpl.php @@ -312,7 +312,8 @@ if ($currenttag!= '') { $copy .= T_('you'); } else { $copy .= '<a href="' . createURL('bookmarks', $row['username']) . '">' - . $row['username'] . '</a>'; + . SemanticScuttle_Model_UserArray::getName($row) + . '</a>'; } // others diff --git a/data/templates/editprofile.tpl.php b/data/templates/editprofile.tpl.php index 518afbe..2a3c3b8 100644 --- a/data/templates/editprofile.tpl.php +++ b/data/templates/editprofile.tpl.php @@ -56,7 +56,7 @@ $this->includeTemplate($GLOBALS['top_include']); <th align="left"><?php echo T_('Export bookmarks'); ?></th> <td> <a href="../api/export_html.php"><?php echo T_('HTML file (for browsers)')?></a> / - <a href="../api/posts/all"><?php echo T_('XML file (like del.icio.us)')?></a> / + <a href="../api/posts_all.php"><?php echo T_('XML file (like del.icio.us)')?></a> / <a href="../api/export_csv.php"><?php echo T_('CSV file (for spreadsheet tools)')?></a> </td> </tr> diff --git a/data/templates/sidebar.block.users.php b/data/templates/sidebar.block.users.php index 4dd47ae..58fdfb7 100644 --- a/data/templates/sidebar.block.users.php +++ b/data/templates/sidebar.block.users.php @@ -18,7 +18,7 @@ if ($lastUsers && count($lastUsers) > 0) { foreach ($lastUsers as $row) { echo '<tr><td>'; echo '<a href="'.createURL('profile', $row['username']).'">'; - echo $row['username']; + echo SemanticScuttle_Model_UserArray::getName($row); echo '</a>'; echo ' (<a href="'.createURL('bookmarks', $row['username']).'">'.T_('bookmarks').'</a>)'; echo '</td></tr>'; diff --git a/data/templates/tagcommondescriptionedit.tpl.php b/data/templates/tagcommondescriptionedit.tpl.php index d3a006a..f938f93 100644 --- a/data/templates/tagcommondescriptionedit.tpl.php +++ b/data/templates/tagcommondescriptionedit.tpl.php @@ -20,7 +20,8 @@ window.onload = function() { if(strlen($description['cdDatetime'])>0) { echo T_('Last modification:').' '.$description['cdDatetime'].', '; $lastUser = $userservice->getUser($description['uId']); - echo '<a href="'.createURL('profile', $lastUser['username']).'">'.$lastUser['username'].'</a>'; + echo '<a href="' . createURL('profile', $lastUser['username']) . '">' + . SemanticScuttle_Model_UserArray::getName($lastUser) . '</a>'; } ?> </td> diff --git a/data/templates/users.tpl.php b/data/templates/users.tpl.php index c209f94..fa92bef 100644 --- a/data/templates/users.tpl.php +++ b/data/templates/users.tpl.php @@ -14,7 +14,14 @@ if ($users && count($users) > 0) { <?php $contents = '<'; foreach ($users as $row) { - echo '<li><strong>'.$row['username'].'</strong> (<a href="'.createURL('profile', $row['username']).'">'.T_('profile').'</a> '.T_('created in').' '.date('M Y',strtotime($row['uDatetime'])).') : <a href="'.createURL('bookmarks', $row['username']).'">'.T_('bookmarks').'</a></li>'; + echo '<li><strong>' + . SemanticScuttle_Model_UserArray::getName($row) . '</strong>' + . ' (<a href="' . createURL('profile', $row['username']) . '">' + . T_('profile') . '</a> ' + . T_('created in') . ' ' + . date('M Y', strtotime($row['uDatetime'])) . ')' + . ' : <a href="' . createURL('bookmarks', $row['username']).'">' + . T_('bookmarks') . '</a></li>'; } ?> </ul> |