61
هنا يمكنك مشاهدة جميع المشاركات التى كتبها هذا العضو . لاحظ انه يمكنك فقط مشاهدة المشاركات التى كتبها فى الاقسام التى يسمح لك بدخولها فقط .
<file name="$languagedir/Modifications.english.php">
هذا السطر هو الامر الخاص بالتعديل على ملف اللغه <file name="$languagedir/Modifications.arabic.php">
ثم بعد ذلك نبدأ بتعريب الجمل التى موجودة داخل هذا الامر (و التى قمت بتحديدها باللون الاحمر بالاسفل)<file name="$languagedir/Modifications.english.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['the_rules_not_configured'] = 'This feature has not yet been configured by the administrator.';
$txt['agreement'] = 'Agreement';
$txt['rules_enable_guest_access'] = 'Enable guest access:';
$txt['rules_enable_member_access'] = 'Enable member access:';
$txt['the_rules_display_name'] = 'Display name of rules page:';
$txt['the_rules_agreement_display_name'] = 'Display name of agreement page:';
$txt['mods_cat_rules'] = 'The Rules';
$txt['rules'] = 'Rules';
$txt['rules_tab_label'] = 'Rules tab label:';
$txt['rules_title']='The Rules';
$txt['rules_title_rules'] = 'Rules';
$txt['the_rules_text'] = 'Text to display:';
$txt['additional'] = 'Additional';
$txt['the_rules_additional_display_name'] = 'Display name of additional page:';
$txt['the_rules_additional_text'] = 'Additional text to display:';
$txt['the_rules_enable_additional'] = 'Enable display of additional page:';
$txt['rules_title_additional'] = 'Additional';
$txt['rules_title_agreement'] = 'Agreement';
$txt['the_rules_enable_agreement'] = 'Enable display of agreement.txt page:';
$txt['the_rules_edit_name'] = 'Edit agreement.txt';
]]></add>
</operation>
</file>
Ads.php
Ads.english.php
Ads.template.php
install.php
install.xml
LoadAds.php
package-info.xml
readme.txt
<file name="$themedir/index.template.php">
<file name="$themedir/index.template.php">
<operation>
<search position="before"><![CDATA[<body>';]]></search>
<add><![CDATA[
//Display ads on the top of the page
if (function_exists("show_topofpageAds"))
{
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
]]>
</add>
</operation>
<operation>
<search position="before"><![CDATA[ </td>]]></search>
<add><![CDATA[';
//Welcome Ads
if (function_exists("show_welcomeAds"))
{
$ads = show_welcomeAds();
if(!empty($ads))
{
echo '<td class="windowbg2">';
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
echo '</td>';
}
unset($ads);
}
echo ']]>
</add>
</operation>
<operation>
<search position="before"><![CDATA[ template_menu();]]></search>
<add><![CDATA[
//Below the menu ads
if (function_exists("show_indexAds") && function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
{
$ads = show_indexAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
//Tower left Ads
$ads = show_towerleftAds();
if(!empty($ads))
echo '<table><tr><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td><td width="100%" valign="top">';
unset($ads);
//Tower Right Ads
$ads = show_towerrightAds();
if(!empty($ads))
echo '<table><tr><td width="100%" valign="top">';
unset($ads);
}
]]>
</add>
</operation>
<operation>
<search position="after"><![CDATA[ // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!]]>
</search>
<add><![CDATA[
//Close table for towerright ads
if (function_exists("show_towerrightAds") && function_exists("show_towerleftAds") && function_exists("show_bottomAds"))
{
$ads = show_towerrightAds();
if(!empty($ads))
echo '</td><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td></tr></table>';
unset($ads);
//Close table for towerleft ads
$ads = show_towerleftAds();
if(!empty($ads))
echo '</td></tr></table>';
unset($ads);
//Show ads on the bottom of the page
$ads = show_bottomAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
]]>
</add>
</operation>
</file>
<operation>
<search position="before"><![CDATA[<body>';]]></search>
<add><![CDATA[
//Display ads on the top of the page
if (function_exists("show_topofpageAds"))
{
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
]]>
</add>
</operation>
<operation>
search position="before"><![CDATA[<body>';]]></search>
<add><![CDATA[
//Display ads on the top of the page
if (function_exists("show_topofpageAds"))
{
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
]]>
</add>
</operation>
<operation>
<search position="before"><![CDATA[ template_menu();]]></search>
<add><![CDATA[
//Below the menu ads
if (function_exists("show_indexAds") && function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
{
$ads = show_indexAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
//Tower left Ads
$ads = show_towerleftAds();
if(!empty($ads))
echo '<table><tr><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td><td width="100%" valign="top">';
unset($ads);
//Tower Right Ads
$ads = show_towerrightAds();
if(!empty($ads))
echo '<table><tr><td width="100%" valign="top">';
unset($ads);
}
]]>
</add>
</operation>
<file name="$themedir/BoardIndex.template.php">
<file name="$themedir/Display.template.php">
<file name="$themedir/MessageIndex.template.php">
<file name="$languagedir/Modifications.english.php">
و هو يعنى التعديل على ملف اللغه "Modifications.english.php"