Report#83: Show "Portal page" in "who is online" - http://www.board3.de/viewtopic.php?f=14&t=322

This commit is contained in:
Kevin
2008-03-31 16:51:09 +00:00
parent 8290db9459
commit a0d65caca2
7 changed files with 67 additions and 0 deletions

View File

@@ -162,6 +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="viewonline.php">
<edit>
<find><![CDATA[ case 'report':
$location = $user->lang['REPORTING_POST'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;]]></find>
<action type="after-add"><![CDATA[ case 'portal':
$user->add_lang('mods/lang_portal');
$location = $user->lang['VIEWING_PORTAL'];
$location_url = append_sid("{$phpbb_root_path}portal.$phpEx");
break;]]></action>
</edit>
</open>
<open src="adm/index.php">
<edit>
<find><![CDATA[// End session management]]></find>

View File

@@ -162,6 +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="viewonline.php">
<edit>
<find><![CDATA[ case 'report':
$location = $user->lang['REPORTING_POST'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;]]></find>
<action type="after-add"><![CDATA[ case 'portal':
$user->add_lang('mods/lang_portal');
$location = $user->lang['VIEWING_PORTAL'];
$location_url = append_sid("{$phpbb_root_path}portal.$phpEx");
break;]]></action>
</edit>
</open>
<open src="includes/session.php">
<edit>
<find><![CDATA[if (!empty($_GET['style']) && $auth->acl_get('a_styles'))]]></find>

View File

@@ -184,6 +184,19 @@ Deny from All
DirectoryIndex portal.php index.php index.html index.htm]]></action>
</edit>
</open>
<open src="viewonline.php">
<edit>
<find><![CDATA[ case 'report':
$location = $user->lang['REPORTING_POST'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;]]></find>
<action type="after-add"><![CDATA[ case 'portal':
$user->add_lang('mods/lang_portal');
$location = $user->lang['VIEWING_PORTAL'];
$location_url = append_sid("{$phpbb_root_path}portal.$phpEx");
break;]]></action>
</edit>
</open>
<open src="adm/index.php">
<edit>

View File

@@ -194,6 +194,19 @@ Deny from All
DirectoryIndex portal.php index.php index.html index.htm]]></action>
</edit>
</open>
<open src="viewonline.php">
<edit>
<find><![CDATA[ case 'report':
$location = $user->lang['REPORTING_POST'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;]]></find>
<action type="after-add"><![CDATA[ case 'portal':
$user->add_lang('mods/lang_portal');
$location = $user->lang['VIEWING_PORTAL'];
$location_url = append_sid("{$phpbb_root_path}portal.$phpEx");
break;]]></action>
</edit>
</open>
<open src="adm/index.php">
<edit>

View File

@@ -170,6 +170,19 @@ Deny from All
</Files>]]></find>
<action type="after-add"><![CDATA[DirectoryIndex portal.php index.php index.html index.htm]]></action>
</edit>
</open>
<open src="viewonline.php">
<edit>
<find><![CDATA[ case 'report':
$location = $user->lang['REPORTING_POST'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;]]></find>
<action type="after-add"><![CDATA[ case 'portal':
$user->add_lang('mods/lang_portal');
$location = $user->lang['VIEWING_PORTAL'];
$location_url = append_sid("{$phpbb_root_path}portal.$phpEx");
break;]]></action>
</edit>
</open>
<open src="adm/index.php">
<edit>

View File

@@ -179,6 +179,7 @@ $lang = array_merge($lang, array(
'RETURN_PORTAL' => '%sZurück zum Portal%s',
// other
'VIEWING_PORTAL' => 'Betrachtet das Portal',
'CLOCK' => 'Uhr',
'SPONSOR' => 'Sponsoren',
'PORTAL_COPY' => '<a href="http://www.board3.de" title="board3.de">board3 Portal</a> - based on <a href="http://www.phpbb3portal.com" title="phpBB3 Portal">phpBB3 Portal</a>',

View File

@@ -187,6 +187,7 @@ $lang = array_merge($lang, array(
'RETURN_PORTAL' => '%sReturn to the portal%s',
// other
'VIEWING_PORTAL' => 'Portal page',
'CLOCK' => 'Clock',
'SPONSOR' => 'Sponsors',