ich habe den mod view your topics installiert und
ich wollte gerade den button namen usw ändern.
da habe ich dann gesehn das es im ganzen nur eine datei gibt
bei language und sonst gibt es überhaupt keine datein.
wie geht das bitte..?
alle anderen mods haben mindestens 10 datein mit allen
möglichen codes und die hat nur eine xml datei.
wie kann ich da jetzt irgendwie was ändern.
hier hab ich den code von der einen seite :
Code: Alles auswählen
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
<mod xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
<title lang="en-gb">View your topics</title>
<title lang="fr">Voir mes sujets</title>
<description lang="en-gb">This mod adds a 'View your topics' link in the header</description>
<description lang="fr">Ce MOD ajoute dans le header, un lien 'Voir mes sujets' permetant d'afficher tous les sujets dont on est l'auteur</description>
<author-notes lang="en-gb"></author-notes>
<author-group>
<author>
<email>ernadoo@phpbb-services.com</email>
<homepage>http://www.phpbb-services.com</homepage>
<realname>Erwan NADER</realname>
<username>ErnadoO</username>
</author>
</author-group>
<mod-version>1.0.1</mod-version>
<installation>
<level>easy</level>
<time>180</time>
<target-version>3.0.9</target-version>
</installation>
<history>
<entry>
<date>2008-01-12</date>
<rev-version>1.0.0</rev-version>
<changelog lang="en-gb">
<change>First Version</change>
</changelog>
<changelog lang="fr">
<change>Première version</change>
</changelog>
</entry>
<entry>
<date>2011-07-17</date>
<rev-version>1.0.1</rev-version>
<changelog lang="en-gb">
<change>PhpBB 3.0.9 compatibility</change>
</changelog>
<changelog lang="fr">
<change>Compatible phpBB 3.0.9</change>
</changelog>
</entry>
</history>
<link-group>
<link type="language" href="languages/fr.xml" lang="en">French</link>
<link type="language" href="languages/fr.xml" lang="fr">Français</link>
</link-group>
</header>
<action-group>
<open src="includes/functions.php">
<edit>
<find><![CDATA[ 'U_SEARCH_SELF' => append_sid("{$phpbb_root_path}search.$phpEx", 'search_id=egosearch'),]]></find>
<action type="after-add"><![CDATA[ 'U_SEARCH_OWN' => append_sid("{$phpbb_root_path}search.$phpEx", 'search_id=own'),]]></action>
</edit>
</open>
<open src="search.php">
<edit>
<find><![CDATA[ login_box('', $user->lang['LOGIN_EXPLAIN_EGOSEARCH']);
}
break;]]></find>
<action type="after-add"><![CDATA[ case 'own':
$author_id = $user->data['user_id'];
if ($user->data['user_id'] == ANONYMOUS)
{
login_box('', $user->lang['LOGIN_EXPLAIN_OWN']);
}
break;]]></action>
</edit>
<edit>
<find><![CDATA[ $show_results = ($topic_id) ? 'posts' : request_var('sr', ($search_id == 'egosearch') ? 'topics' : 'posts');]]></find>
<action type="replace-with"><![CDATA[ $show_results = ($topic_id) ? 'posts' : request_var('sr', ($search_id == 'egosearch' || $search_id == 'own') ? 'topics' : 'posts');]]></action>
</edit>
<edit>
<find><![CDATA[ case 'egosearch':]]></find>
<action type="before-add"><![CDATA[ case 'own':
$search_fields = 'firstpost';
$l_search_title = $user->lang['SEARCH_OWN'];
break;]]></action>
</edit>
</open>
<open src="language/en/common.php">
<edit>
<find>));</find>
<action type="after-add"><![CDATA[$lang = array_merge($lang, array(
'SEARCH_OWN' => 'View your topics'
));]]></action>
</edit>
</open>
<open src="language/en/search.php">
<edit>
<find><![CDATA[ 'LOGIN_EXPLAIN_EGOSEARCH' => 'The board requires you to be registered and logged in to view your own posts.',]]></find>
<action type="after-add"><![CDATA[ 'LOGIN_EXPLAIN_OWN' => 'The board requires you to be registered and logged in to view your own topics.',]]></action>
</edit>
</open>
<open src="styles/prosilver/template/overall_header.html">
<edit>
<find><![CDATA[<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>]]></find>
<inline-edit>
<inline-find><![CDATA[</a>]]></inline-find>
<inline-action type="after-add"><![CDATA[ • <a href="{U_SEARCH_OWN}">{L_SEARCH_OWN}</a>]]></inline-action>
</inline-edit>
</edit>
</open>
</action-group>
</mod>
thx lg