| | 1 | 2007-03-16 Benoit Grégoire <bock@step.polymtl.ca> |
| | 2 | * Lots of work on profiles. The HTML and CSS are not final, but #18 can be considered closed. |
| | 3 | * ProfileField::getContentField(): Fix bug where the object wouldn't refresh properly. |
| | 4 | * Content: Delicate refactoring of the UI to create new content. |
| | 5 | The content object now supports directly adding the actual values of a new |
| | 6 | Content in getNewContentUI(), if the content filter only allows a single content type. |
| | 7 | For this to work, the Content type must overload the getNewUI() method. |
| | 8 | This saves many mouse clicks for form style interface, like profiles. |
| | 9 | * User: Don't create profile automatically. |
| | 10 | * Don't show profiles when user is invisible. |
| | 11 | * Langstring, SimpleString, HTMLEditor: Support getNewUI(). As a result of these changes, SmartyTemplate, SimpleSmartyTemplate, Stylesheet also get it for free. |
| | 12 | * Add new standard Smarty value userOriginallyRequestedURL. |
| | 13 | Note that this does NOT fix #266 |
| | 14 | * Add new standard Smarty value nodeWebSiteURL |
| | 15 | * Some work towards #158 |
| | 16 | 1- The "Use the Internet" link pointing to the originally requested URL is no longuer a part of every portal. To restore that functionnality, paste the following code in a SmartyTemplate in the Content manager. |
| | 17 | {if $userOriginallyRequestedURL} |
| | 18 | <a href='{$userOriginallyRequestedURL}'>Take me where I originally wanted to go</a> |
| | 19 | {/if} |
| | 20 | 2- The "Where am I" link is gone. It made little sense to have that content common to all groups. To restore it, pu it inline in your login page, link a html page on your auth server, or link a Content display page. |
| | 21 | 3- Same with the link to the Network. To restore the unctionnality, paste the following code in a SmartyTemplate: |
| | 22 | <a class="administration" href="{$networkWebSiteURL}"><img class="administration" src="{$common_images_url}lien_ext.gif"> {$networkName}</a> |
| | 23 | * ContentTypeFilter: Saving still wasn't neutral. Strip the array indexes to fix it. |
| | 24 | |