Report#79: Change Style - activate this function - Code provided by Christian_N
This commit is contained in:
@@ -167,6 +167,12 @@ Dieses Portal basiert auf dem phpBB3 Portal a.k.a canverPortal ( www.phpbb3por
|
||||
<find><![CDATA[// End session management]]></find>
|
||||
<action type="after-add"><![CDATA[$user->add_lang('mods/lang_portal_acp_logs');]]></action>
|
||||
</edit>
|
||||
</open>
|
||||
<open src="includes/session.php">
|
||||
<edit>
|
||||
<find><![CDATA[if (!empty($_GET['style']) && $auth->acl_get('a_styles'))]]></find>
|
||||
<action type="replace-with"><![CDATA[if (!empty($_GET['style']))]]></action>
|
||||
</edit>
|
||||
</open>
|
||||
<open src="styles/prosilver/template/overall_header.html">
|
||||
<edit>
|
||||
|
||||
@@ -162,15 +162,19 @@ Dieses Portal basiert auf dem phpBB3 Portal a.k.a canverPortal ( www.phpbb3por
|
||||
<file from="root/styles/prosilver/template/portal/block/*.*" to="styles/prosilver/template/portal/block/*.*" />
|
||||
<file from="root/styles/prosilver/template/portal/block/donation/*.*" to="styles/prosilver/template/portal/block/donation/*.*" />
|
||||
</copy>
|
||||
<open src="includes/session.php">
|
||||
<edit>
|
||||
<find><![CDATA[if (!empty($_GET['style']) && $auth->acl_get('a_styles'))]]></find>
|
||||
<action type="replace-with"><![CDATA[if (!empty($_GET['style']))]]></action>
|
||||
</edit>
|
||||
</open>
|
||||
<open src="styles/prosilver/template/overall_header.html">
|
||||
<edit>
|
||||
<find><![CDATA[<!-- IF not $S_IN_PORTAL -->]]></find>
|
||||
<action type="replace-with"><![CDATA[<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->]]></action>
|
||||
</edit>
|
||||
</open>
|
||||
<diy-instructions lang="en-gb">No need to run the installer.
|
||||
Please rember to do the same changes in subsilver2!</diy-instructions>
|
||||
<diy-instructions lang="de">Die install_portal/install.php muß nicht ausgeführt werden.
|
||||
Bitte daran denken die Änderungen auch im subsilver2 Style vorzunehmen!</diy-instructions>
|
||||
<diy-instructions lang="en-gb">Browse to install_portal/install.php and run the installer, after successfull installation delete the installer.</diy-instructions>
|
||||
<diy-instructions lang="de">install_portal/install.php aufrufen und ausführen, nach erfolgreicher Installation löschen</diy-instructions>
|
||||
</action-group>
|
||||
</mod>
|
||||
@@ -220,6 +220,12 @@ DirectoryIndex portal.php index.php index.html index.htm]]></action>
|
||||
<find><![CDATA['U_PRIVATEMSGS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),]]></find>
|
||||
<action type="before-add"><![CDATA[ 'U_PORTAL' => append_sid("{$phpbb_root_path}portal.$phpEx"),]]></action>
|
||||
</edit>
|
||||
</open>
|
||||
<open src="includes/session.php">
|
||||
<edit>
|
||||
<find><![CDATA[if (!empty($_GET['style']) && $auth->acl_get('a_styles'))]]></find>
|
||||
<action type="replace-with"><![CDATA[if (!empty($_GET['style']))]]></action>
|
||||
</edit>
|
||||
</open>
|
||||
<open src="language/en/acp/common.php">
|
||||
<edit>
|
||||
|
||||
@@ -234,6 +234,12 @@ DirectoryIndex portal.php index.php index.html index.htm]]></action>
|
||||
<find><![CDATA['U_PRIVATEMSGS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),]]></find>
|
||||
<action type="before-add"><![CDATA[ 'U_PORTAL' => append_sid("{$phpbb_root_path}portal.$phpEx"),]]></action>
|
||||
</edit>
|
||||
</open>
|
||||
<open src="includes/session.php">
|
||||
<edit>
|
||||
<find><![CDATA[if (!empty($_GET['style']) && $auth->acl_get('a_styles'))]]></find>
|
||||
<action type="replace-with"><![CDATA[if (!empty($_GET['style']))]]></action>
|
||||
</edit>
|
||||
</open>
|
||||
<open src="language/en/acp/common.php">
|
||||
<edit>
|
||||
|
||||
Reference in New Issue
Block a user