[Customisation Database Commits] r867 - in /trunk/titania: includes/objects/contribution.php language/en/contributions.php styles/default/template/common/contribution_details.html
Mickael SALFATI
elglobo at phpbb-services.com
Wed Mar 24 10:00:54 GMT 2010
Author: elglobo
Date: Wed Mar 24 10:00:53 2010
New Revision: 867
Log:
Add link to announcement topic in contribution details view.
Modified:
trunk/titania/includes/objects/contribution.php
trunk/titania/language/en/contributions.php
trunk/titania/styles/default/template/common/contribution_details.html
Modified: trunk/titania/includes/objects/contribution.php
==============================================================================
*** trunk/titania/includes/objects/contribution.php (original)
--- trunk/titania/includes/objects/contribution.php Wed Mar 24 10:00:53 2010
***************
*** 543,548 ****
--- 543,550 ----
'CONTRIB_RATING' => $this->contrib_rating,
'CONTRIB_RATING_COUNT' => $this->contrib_rating_count,
'CONTRIB_RATING_STRING' => (!$simple) ? $this->rating->get_rating_string() : '',
+
+ 'CONTRIB_ANNOUNCEMENT_TOPIC' => sprintf(phpbb::$user->lang['ANNOUNCEMENT_TOPIC_VIEW'], '<a href="' . phpbb::append_sid('viewtopic', 't='.$this->contrib_release_topic_id) . '">', '</a>'),
// Download data
'CONTRIB_DOWNLOADS' => $this->contrib_downloads,
Modified: trunk/titania/language/en/contributions.php
==============================================================================
*** trunk/titania/language/en/contributions.php (original)
--- trunk/titania/language/en/contributions.php Wed Mar 24 10:00:53 2010
***************
*** 36,42 ****
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$lang = array_merge($lang, array(
! 'NO_REVISIONS' => 'No Revisions',
'AUTOMOD_RESULTS' => '<strong>Please check over the AutoMod install results and make sure that nothing needs to be fixed.<br /><br />If an error comes up and you are certain that the error is incorrect, just hit continue below.</strong>',
'AUTOMOD_TEST' => 'The Mod will be tested against AutoMod and results will be shown (this may take a few moments, so please be patient).<br /><br />Please hit continue when you are ready.',
--- 36,45 ----
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$lang = array_merge($lang, array(
! 'ANNOUNCEMENT_TOPIC' => 'Announcement topic',
! 'ANNOUNCEMENT_TOPIC_VIEW' => '%sView%s',
!
! 'NO_REVISIONS' => 'No Revisions',
'AUTOMOD_RESULTS' => '<strong>Please check over the AutoMod install results and make sure that nothing needs to be fixed.<br /><br />If an error comes up and you are certain that the error is incorrect, just hit continue below.</strong>',
'AUTOMOD_TEST' => 'The Mod will be tested against AutoMod and results will be shown (this may take a few moments, so please be patient).<br /><br />Please hit continue when you are ready.',
Modified: trunk/titania/styles/default/template/common/contribution_details.html
==============================================================================
*** trunk/titania/styles/default/template/common/contribution_details.html (original)
--- trunk/titania/styles/default/template/common/contribution_details.html Wed Mar 24 10:00:53 2010
***************
*** 79,84 ****
--- 79,89 ----
<li style="border-bottom: 0;">
<strong>{L_RATING}</strong> {CONTRIB_RATING_STRING} ({CONTRIB_RATING_COUNT})
</li>
+ <!-- IF CONTRIB_ANNOUNCEMENT_TOPIC -->
+ <li>
+ <strong>{L_ANNOUNCEMENT_TOPIC}</strong> {CONTRIB_ANNOUNCEMENT_TOPIC}
+ </li>
+ <!-- ENDIF -->
</ul>
<span class="corners-bottom main-corners"><span></span></span></div>
More information about the customisationdb-commits
mailing list