Commit 59d04d48 authored by disappearer's avatar disappearer

Merged Robert's changes in pi2


git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/terfe/trunk@3747 735d13b6-9817-0410-8766-e36946ffe9aa
parent d8ad7064
01.09.2005 Robert Lemke <robert@typo3.org>
+ Added extension and extension key management for administrators to ter_fe_pi2. A fe_usergroup for administrators has to be created, and specified in plugin.tx_terfe_pi2.adminFEUserGroup
15.05.2006 Michael Scharkow <michael@underused.org>
* Finished ratings, with changes from public beta
* ATTN: Please remove reference to my server in common class icon
......
......@@ -879,7 +879,7 @@ class tx_terfe_common {
*/
protected function extensionIndex_wasModified () {
$oldMD5Hash = @file_get_contents (PATH_site.'typo3temp/tx_terfe/tx_terfe_extensionsmd5.txt');
$currentMD5Hash = md5_file($this->repositoryDir.'extensions.xml.gz');
$currentMD5Hash = @md5_file($this->repositoryDir.'extensions.xml.gz');
return ($oldMD5Hash != $currentMD5Hash);
}
......
......@@ -2,6 +2,11 @@ plugin.tx_terfe_pi1 {
repositoryDirectory =
}
plugin.tx_terfe_pi2{
repositoryDirectory =
adminFEUserGroup =
}
plugin.tx_terfe_pi3 {
repositoryDirectory =
}
......@@ -490,7 +490,7 @@ class tx_terfe_pi1 extends tslib_pibase {
break;
case 'rating':
$rating = new tx_terfe_ratings($extensionRecord,&$this);
$rating = new tx_terfe_ratings($extensionRecord, $this);
$rating->process_rating();
$subContent = '<ul class="extensions">'.$this->renderListView_detailledExtensionRecord ($extensionRecord);
$subContent .= $rating->renderSingleView_rating();
......
This diff is collapsed.
......@@ -66,7 +66,7 @@
<label index="views_introduction">Introduction</label>
<label index="views_register">Register keys</label>
<label index="views_manage">Manage keys</label>
<label index="views_admin">Administrate keys</label>
<label index="views_admin">Administration</label>
<label index="registerkeys_title">Register a new extension key</label>
<label index="registerkeys_introduction">Please enter a keyname you want to register. It will be validated and checked. If the extension key is not already registered, you'll have the chance to do it immediately hereafter.</label>
<label index="registerkeys_needlogin">You have to be logged in in order to register extension keys.</label>
......@@ -103,8 +103,16 @@
<label index="managekeys_action_deletekey">Delete this key</label>
<label index="managekeys_action_deletekey_success">The extension key &quot;%s&quot; has been successfully deleted.</label>
<label index="managekeys_uploads">Upl.</label>
<label index="admin_title">Administrate extensions and extension keys</label>
<label index="admin_introduction">This section allows you to administrate *any* extension key or extension version. Just search for an extension key in the search form below (user '%' as wildcard). Be careful!</label>
<label index="adminkeys_needlogin">You have to be logged in in order to administrate extension keys.</label>
<label index="adminkeys_needadminrights">You need administrative rights in in order to administrate extension keys.</label>
<label index="admin_action_deleteextension_success">The extension "%s" version "%s" has been successfully deleted.</label>
<label index="admin_search_searchbutton">Search</label>
<label index="admin_version">Version</label>
<label index="admin_owner">Owner</label>
<label index="admin_action_deleteextension">Delete extension</label>
<label index="admin_deleteextensionareyousure">Are you sure that you want to delete extension "%s" version "%s"?</label>
<label index="introduction_needlogin">Please note: You need to be logged in in order to register or manage extension keys.</label>
<label index="introduction_explanation">
&lt;p&gt;An extension key is a string which uniquely identifies your extension worldwide. Having a unique extension key ensures that you can name modules, plugins, PHP-classes, database tables and fields with a prefix that others do not use. It garantees global portability and compatibility. Registration is free and encouraged by the TYPO3 community for all extensions you make.&lt;/p&gt;
......@@ -461,4 +469,4 @@
<languageKey index="my" type="array">
</languageKey>
</orig_text>
</T3locallang>
\ No newline at end of file
</T3locallang>
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