Commit e8f58b02 authored by robert's avatar robert

See Changelog


git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/terfe/trunk@2459 735d13b6-9817-0410-8766-e36946ffe9aa
parent 19a04a8b
16.03.2006 Robert Lemke <robert@typo3.org>
* Removed dummy content from renderListView_detailledExtensionRecord(). That was very confusing because in the list view the documentation link was always "not available" and downloadcounter "12333/32111" - because it was hardcoded. Please make sure to clean up before you commit.
16.03.2006 Robert Lemke <robert@typo3.org>
* Only a few cosmetic changes after the review of Michaels code
......
......@@ -373,9 +373,9 @@ class tx_terfe_pi1 extends tslib_pibase {
global $TYPO3_DB, $TSFE;
$selectConditions = array (
'full' => ($this->tooFewReviewsMode ? 'reviewstate >= 0' : 'reviewstate > 0'),
'reviewed' => 'reviewstate > 0',
'unreviewed' => 'reviewstate = 0'
'full' => ($this->tooFewReviewsMode ? ' AND reviewstate >= 0' : 'reviewstate > 0'),
'reviewed' => ' AND reviewstate > 0',
'unreviewed' => ' AND reviewstate = 0'
);
$sorting = $this->piVars['sorting'];
......@@ -391,7 +391,7 @@ class tx_terfe_pi1 extends tslib_pibase {
$res = $TYPO3_DB->exec_SELECTquery (
'extensionkey,title,version,state,lastuploaddate',
'tx_terfe_extensions',
$this->standardSelectionClause.$selectConditions[$mode],
$this->standardSelectionClause . $selectConditions[$mode],
'',
$sortingConditions[$sorting].'title ASC, lastuploaddate DESC',
''
......@@ -718,12 +718,7 @@ class tx_terfe_pi1 extends tslib_pibase {
}
$extensionRecord = $this->commonObj->db_prepareExtensionRecordForOutput ($extensionRecord);
$extensionRecord['reviewstate_label'] = $extensionRecord['reviewstate_raw'] ? 'reviewed' : 'unreviewed';
//dummy content
$extensionRecord['rating'] = 'none yet';
$extensionRecord['versiondownloadcounter'] = '12333/32111';
$documentationLink = 'not available';
$tableRows = '
<li>
<dl class="ext-header">
......
......@@ -70,15 +70,15 @@
<label index="extensioninfo_views_rating">Ratings</label>
<label index="extensioninfo_feedback_feedbacktotheauthor">Feedback to the author</label>
<label index="extensioninfo_feedback_introduction">
Use this form to give feedback including bug reports to the author (%s) of this extension.
Remember that kind words are a special kind of fuel for the people donation time and talent
to an Open Source project like TYPO3. So be kind, constructive, encouraging, but honest at
the same time.
</label>
Use this form to give feedback including bug reports to the author (%s) of this extension.
Remember that kind words are a special kind of fuel for the people donation time and talent
to an Open Source project like TYPO3. So be kind, constructive, encouraging, but honest at
the same time.
</label>
<label index="extensioninfo_feedback_moreintroduction">
Please don't try to flatter the author for the sole purpose of getting some support for
free. That is not the point here.
</label>
Please don't try to flatter the author for the sole purpose of getting some support for
free. That is not the point here.
</label>
<label index="extensioninfo_feedback_yourname">Your name</label>
<label index="extensioninfo_feedback_youremailaddress">Your email address</label>
<label index="extensioninfo_feedback_yourcomment">Your comment</label>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment