Version 3.1.4

This commit is contained in:
Neo committed 2025-12-19 00:32:22 -08:00
1 parent 1d4720f3e2
commit ae5c01cc78
2563 files changed
+283048 -240689

No files matched your search

@@ -1,77 +1,79 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* Library: Handle public session data
* Last Updated: $Date: 2009-08-10 17:08:53 -0400 (Mon, 10 Aug 2009) $
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @subpackage Portal
* @link http://www.iinvisionpower.com
* @since 12th March 2002
* @version $Revision: 5009 $
*
*/
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
exit();
}
class publicSessions__portal
{
/**
* Return session variables for this application
*
* current_appcomponent, current_module and current_section are automatically
* stored. This function allows you to add specific variables in.
*
* @access public
* @author Matt Mecham
* @return array
*/
public function getSessionVariables()
{
return array();
}
/**
* Parse/format the online list data for the records
*
* @access public
* @author Brandon Farber
* @param array Online list rows to check against
* @return array Online list rows parsed
*/
public function parseOnlineEntries( $rows )
{
if( !is_array($rows) OR !count($rows) )
{
return $rows;
}
$final = array();
//-----------------------------------------
// Extract the topic/forum data
//-----------------------------------------
foreach( $rows as $row )
{
if( $row['current_appcomponent'] == 'portal' )
{
$row['where_line'] = ipsRegistry::getClass( 'class_localization' )->words['WHERE_portal'];
}
$final[ $row['id'] ] = $row;
}
return $final;
}
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Library: Handle public session data
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Portal
* @link http://www.invisionpower.com
* @since 12th March 2002
* @version $Revision: 5713 $
*
*/
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
exit();
}
class publicSessions__portal
{
/**
* Return session variables for this application
*
* current_appcomponent, current_module and current_section are automatically
* stored. This function allows you to add specific variables in.
*
* @access public
* @author Matt Mecham
* @return array
*/
public function getSessionVariables()
{
return array();
}
/**
* Parse/format the online list data for the records
*
* @access public
* @author Brandon Farber
* @param array Online list rows to check against
* @return array Online list rows parsed
*/
public function parseOnlineEntries( $rows )
{
if( !is_array($rows) OR !count($rows) )
{
return $rows;
}
$final = array();
//-----------------------------------------
// Extract the topic/forum data
//-----------------------------------------
foreach( $rows as $row )
{
if( $row['current_appcomponent'] == 'portal' )
{
$row['where_line'] = ipsRegistry::getClass( 'class_localization' )->words['WHERE_portal'];
}
$final[ $row['id'] ] = $row;
}
return $final;
}
}
@@ -1,18 +1,20 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* Core variables for portal
* Last Updated: $LastChangedDate: 2009-12-07 21:57:46 -0500 (Mon, 07 Dec 2009) $
* Last Updated: $LastChangedDate: 2010-10-05 21:26:08 -0400 (Tue, 05 Oct 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Portal
* @link http://www.iinvisionpower.com
* @link http://www.invisionpower.com
* @since 27th January 2004
* @version $Rev: 5529 $
* @version $Rev: 6945 $
*
*/
@@ -41,11 +43,14 @@ if( ! $_REQUEST['module'] AND $_REQUEST['app'] == 'portal' )
$_LOAD = array();
$_LOAD['portal'] = 1;
$_LOAD['emoticons'] = 1;
$_LOAD['bbcode'] = 1;
$_LOAD['badwords'] = 1;
$_LOAD['calendars'] = 1;
$_LOAD['portal'] = 1;
$_LOAD['emoticons'] = 1;
$_LOAD['bbcode'] = 1;
$_LOAD['badwords'] = 1;
$_LOAD['calendars'] = 1;
$_LOAD['ranks'] = 1;
$_LOAD['reputation_levels'] = 1;
$_LOAD['attachtypes'] = 1;
$CACHE['portal'] = array(
'array' => 1,
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1,19 +1,21 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* Portal plugin: portal
* Last Updated: $Date: 2009-07-28 20:26:37 -0400 (Tue, 28 Jul 2009) $
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Portal
* @link http://www.iinvisionpower.com
* @link http://www.invisionpower.com
* @since 1st march 2002
* @version $Revision: 4948 $
* @version $Revision: 5713 $
*
*/
@@ -1,20 +1,20 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* Portal plugin: portal
* Last Updated: $Date: 2009-02-04 15:03:36 -0500 (Wed, 04 Feb 2009) $
* Last Updated: $Date: 2010-10-22 06:13:38 -0400 (Fri, 22 Oct 2010) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: ips_terabyte $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Portal
* @link http://www.iinvisionpower.com
* @link http://www.invisionpower.com
* @since 1st march 2002
* @version $Revision: 3887 $
*
* @version $Revision: 7016 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -28,7 +28,6 @@ class ppi_portal extends public_portal_portal_portal
/**
* Initialize module
*
* @access public
* @return void
*/
public function init()
@@ -38,7 +37,6 @@ class ppi_portal extends public_portal_portal_portal
/**
* Show the site navgiational block
*
* @access public
* @return string HTML content to replace tag with
*/
public function portal_sitenav()
@@ -81,7 +79,6 @@ class ppi_portal extends public_portal_portal_portal
/**
* Show the affiliates block
*
* @access public
* @return string HTML content to replace tag with
*/
public function portal_affiliates()
@@ -97,5 +94,4 @@ class ppi_portal extends public_portal_portal_portal
return $this->registry->getClass('output')->getTemplate('portal')->affiliates();
}
}
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1,16 +1,19 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* Portal default section
* Last Updated: $Date: 2010-04-15 15:46:26 -0400 (Thu, 15 Apr 2010) $
* </pre>
*
* @author $author$
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Portal
* @link http://www.iinvisionpower.com
* @version $Rev: 4948 $
* @link http://www.invisionpower.com
* @version $Rev: 6133 $
**/
if ( ! defined( 'IN_IPB' ) )
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1,19 +1,20 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* IP.Portal
* Last Updated: $Date: 2009-10-01 10:02:08 -0400 (Thu, 01 Oct 2009) $
* Last Updated: $Date: 2010-10-21 14:02:34 -0400 (Thu, 21 Oct 2010) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: ips_terabyte $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Portal
* @link http://www.iinvisionpower.com
* @link http://www.invisionpower.com
* @since 1st April 2004
* @version $Revision: 5190 $
* @version $Revision: 7011 $
*/
if ( ! defined( 'IN_ACP' ) )
@@ -22,13 +23,11 @@ if ( ! defined( 'IN_ACP' ) )
exit();
}
class admin_portal_portal_portal extends ipsCommand
{
/**
* Portal objects
*
* @access private
* @var array
*/
private $portal_objects = array();
@@ -36,7 +35,6 @@ class admin_portal_portal_portal extends ipsCommand
/**
* Skin object
*
* @access private
* @var object Skin templates
*/
private $html;
@@ -44,7 +42,6 @@ class admin_portal_portal_portal extends ipsCommand
/**
* Shortcut for url
*
* @access private
* @var string URL shortcut
*/
private $form_code;
@@ -52,7 +49,6 @@ class admin_portal_portal_portal extends ipsCommand
/**
* Shortcut for url (javascript)
*
* @access private
* @var string JS URL shortcut
*/
private $form_code_js;
@@ -60,7 +56,6 @@ class admin_portal_portal_portal extends ipsCommand
/**
* Main class entry point
*
* @access public
* @param object ipsRegistry reference
* @return void [Outputs to screen]
*/
@@ -122,7 +117,6 @@ class admin_portal_portal_portal extends ipsCommand
/**
* Rebuild portal cache
*
* @access public
* @return void
*/
public function portalRebuildCache()
@@ -142,7 +136,6 @@ class admin_portal_portal_portal extends ipsCommand
/**
* View portal tags (settings)
*
* @access private
* @return void [Outputs to screen]
*/
private function _portalViewTags()
@@ -175,7 +168,7 @@ class admin_portal_portal_portal extends ipsCommand
//-------------------------------
// Grab config file
//-------------------------------
$PORTAL_CONFIG = array();
require( $file );
$this->registry->output->html .= $this->html->portal_pop_overview( $PORTAL_CONFIG['pc_title'], $PORTAL_CONFIG['pc_exportable_tags'] );
@@ -190,7 +183,6 @@ class admin_portal_portal_portal extends ipsCommand
/**
* Show settings for the portal
*
* @access private
* @return void [Outputs to screen]
*/
private function _portalSettings()
@@ -224,7 +216,7 @@ class admin_portal_portal_portal extends ipsCommand
//-------------------------------
// Grab config file
//-------------------------------
$PORTAL_CONFIG = array();
require ( $file );
if ( ! $PORTAL_CONFIG['pc_settings_keyword'] )
@@ -238,8 +230,8 @@ class admin_portal_portal_portal extends ipsCommand
// Grab, init and load settings
//-------------------------------
require_once( IPSLib::getAppDir( 'core' ).'/modules_admin/tools/settings.php' );
$settings = new admin_core_tools_settings();
$classToLoad = IPSLib::loadActionOverloader( IPSLib::getAppDir( 'core' ).'/modules_admin/tools/settings.php', 'admin_core_tools_settings' );
$settings = new $classToLoad();
$settings->makeRegistryShortcuts( $this->registry );
ipsRegistry::getClass('class_localization')->loadLanguageFile( array( 'admin_tools' ), 'core' );
@@ -257,7 +249,6 @@ class admin_portal_portal_portal extends ipsCommand
/**
* List the portal objects
*
* @access private
* @return void [Outputs to screen]
*/
private function _portalList()
@@ -274,7 +265,6 @@ class admin_portal_portal_portal extends ipsCommand
/**
* Get the portal objects from disk
*
* @access private
* @return void [Outputs to screen]
*/
private function _getPortalObjects()
@@ -336,6 +326,7 @@ class admin_portal_portal_portal extends ipsCommand
$PORTAL_CONFIG['pc_key'] = $matches[1];
$PORTAL_CONFIG['_cfg_location'] = str_replace( '\\', '/', $file->getPathname() );
$PORTAL_CONFIG['_file_location'] = str_replace( '\\', '/', str_replace( '-cfg', '', $file->getPathname() ) );
$PORTAL_CONFIG['_app_dir'] = $_app_dir;
$this->portal_objects[ $matches[1] ] = $PORTAL_CONFIG;
}
}
@@ -350,4 +341,4 @@ class admin_portal_portal_portal extends ipsCommand
return;
}
}
}
}
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1,16 +1,19 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* Portal default section
* Last Updated: $Date: 2010-04-15 15:46:26 -0400 (Thu, 15 Apr 2010) $
* </pre>
*
* @author $author$
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Portal
* @link http://www.iinvisionpower.com
* @version $Rev: 4948 $
* @link http://www.invisionpower.com
* @version $Rev: 6133 $
**/
if ( ! defined( 'IN_IPB' ) )
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1,19 +1,21 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* IP.Portal
* Last Updated: $Date: 2009-12-07 21:57:46 -0500 (Mon, 07 Dec 2009) $
* Last Updated: $Date: 2010-10-21 14:02:34 -0400 (Thu, 21 Oct 2010) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: ips_terabyte $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Portal
* @link http://www.iinvisionpower.com
* @link http://www.invisionpower.com
* @since 1st April 2004
* @version $Revision: 5529 $
* @version $Revision: 7011 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -95,7 +97,7 @@ class public_portal_portal_portal extends ipsCommand
if( ! IPSLib::appIsInstalled( 'portal' ) )
{
$this->registry->output->showError( 'no_permission', 1076 );
$this->registry->output->showError( 'no_permission', 1076, null, null, 404 );
}
//-----------------------------------------
@@ -104,6 +106,11 @@ class public_portal_portal_portal extends ipsCommand
foreach( $this->cache->getCache('portal') as $portal_data )
{
if( ! IPSLib::appIsInstalled( $portal_data['_app_dir'] ) )
{
continue;
}
if ( $portal_data['pc_settings_keyword'] )
{
$conf_groups[] = "'" . $portal_data['pc_settings_keyword'] . "'";
@@ -192,7 +199,7 @@ class public_portal_portal_portal extends ipsCommand
//-----------------------------------------
// Require modules...
//-----------------------------------------
if ( is_array( $found_modules ) AND count( $found_modules ) )
{
foreach( $found_modules as $mod_name => $pointless )
@@ -201,9 +208,8 @@ class public_portal_portal_portal extends ipsCommand
{
if ( file_exists( $this->caches['portal'][ $mod_name ]['_file_location'] ) )
{
require_once( $this->caches['portal'][ $mod_name ]['_file_location'] );
$constructor = 'ppi_' . $mod_name;
$this->module_objects[ $mod_name ] = new $constructor;
$constructor = IPSLib::loadLibrary( $this->caches['portal'][ $mod_name ]['_file_location'], 'ppi_' . $mod_name, $this->caches['portal'][ $mod_name ]['_app_dir'] );
$this->module_objects[ $mod_name ] = new $constructor();
$this->module_objects[ $mod_name ]->makeRegistryShortcuts( $this->registry );
$this->module_objects[ $mod_name ]->init();
}
@@ -1 +0,0 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
@@ -1,142 +1,144 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* Portal skin file
* Last Updated: $Date: 2009-06-30 12:06:12 -0400 (Tue, 30 Jun 2009) $
*
* @author $Author: josh $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @subpackage Portal
* @link http://www.iinvisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 4829 $
*/
class cp_skin_portal extends output
{
/**
* Prevent our main destructor being called by this class
*
* @access public
* @return void
*/
public function __destruct()
{
}
/**
* Portal tag details
*
* @access public
* @param string Page title
* @param array Available tags
* @return string HTML
*/
public function portal_pop_overview( $title, $tags ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='acp-box'>
<h3>{$this->lang->words['portal_pop_tags']} {$title}</h3>
<table class='alternate_rows' width='100%'>
<tr>
<th width='30%'>{$this->lang->words['portal_pop_name']}</th>
<th width='70%'>{$this->lang->words['portal_pop_desc']}</th>
</tr>
EOF;
if ( is_array( $tags ) AND count( $tags ) )
{
foreach( $tags as $tag => $tag_data )
{
$IPBHTML .= <<<EOF
<tr>
<td>&lt;!--::<strong>{$tag}</strong>::--&gt;</td>
<td><div class='desctext'>{$tag_data[1]}</td>
</tr>
EOF;
}
}
$IPBHTML .= <<<EOF
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
/**
* Portal overview
*
* @access public
* @param array Available portal objects
* @return string HTML
*/
public function portal_overview( $objects ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='section_title'>
<h2>{$this->lang->words['main_title']}</h2>
</div>
<div class='acp-box'>
<h3>{$this->lang->words['portal_main_title']}</h3>
<table class='alternate_rows' width='100%'>
<tr>
<th width='1%'>&nbsp;</th>
<th width='94%'>{$this->lang->words['portal_main_key']}</th>
<th width='5%'>&nbsp;</th>
</tr>
EOF;
if ( is_array( $objects ) AND count( $objects ) )
{
foreach( $objects as $key => $data )
{
$IPBHTML .= <<<EOF
<tr>
<td><img src='{$this->settings['skin_acp_url']}/images/menu.png' border='0' alt='{$this->lang->words['a_options']}' class='ipd' /></td>
<td><strong>{$data['pc_title']}</strong><div class='desctext'>{$data['pc_desc']}</td>
<td>
<img id="menu{$data['pc_key']}" src='{$this->settings['skin_acp_url']}/_newimages/menu_open.png' border='0' alt='{$this->lang->words['a_options']}' class='ipbmenu' />
<ul class='acp-menu' id='menu{$data['pc_key']}_menucontent'>
EOF;
//startif
if ( $data['pc_settings_keyword'] )
{
$IPBHTML .= <<<EOF
<li class='icon edit'><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=portal_settings&amp;pc_key={$data['pc_key']}'>{$this->lang->words['portal_row_menu_settings']}</a></li>
EOF;
}//endif
$IPBHTML .= <<<EOF
<li class='icon export'><a href='#' onclick="return acp.openWindow('{$this->settings['base_url']}&{$this->form_code}&amp;do=portal_viewtags&amp;pc_key={$data['pc_key']}', '{$data['pc_key']}', 400,200)">{$this->lang->words['portal_row_menu_view_tags']}</a></li>
</ul>
</td>
</tr>
EOF;
}
}
$IPBHTML .= <<<EOF
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Portal skin file
* Last Updated: $Date: 2010-05-19 21:06:53 -0400 (Wed, 19 May 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @subpackage Portal
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 6326 $
*/
class cp_skin_portal extends output
{
/**
* Prevent our main destructor being called by this class
*
* @access public
* @return void
*/
public function __destruct()
{
}
/**
* Portal tag details
*
* @access public
* @param string Page title
* @param array Available tags
* @return string HTML
*/
public function portal_pop_overview( $title, $tags ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='acp-box'>
<h3>{$this->lang->words['portal_pop_tags']} {$title}</h3>
<table class='alternate_rows' width='100%'>
<tr>
<th width='30%'>{$this->lang->words['portal_pop_name']}</th>
<th width='70%'>{$this->lang->words['portal_pop_desc']}</th>
</tr>
EOF;
if ( is_array( $tags ) AND count( $tags ) )
{
foreach( $tags as $tag => $tag_data )
{
$IPBHTML .= <<<EOF
<tr>
<td>&lt;!--::<strong>{$tag}</strong>::--&gt;</td>
<td><div class='desctext'>{$tag_data[1]}</td>
</tr>
EOF;
}
}
$IPBHTML .= <<<EOF
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
/**
* Portal overview
*
* @access public
* @param array Available portal objects
* @return string HTML
*/
public function portal_overview( $objects ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='section_title'>
<h2>{$this->lang->words['main_title']}</h2>
</div>
<div class='acp-box'>
<h3>{$this->lang->words['portal_main_title']}</h3>
<table class='alternate_rows' width='100%'>
<tr>
<th width='1%'>&nbsp;</th>
<th width='94%'>{$this->lang->words['portal_main_key']}</th>
<th width='5%'>&nbsp;</th>
</tr>
EOF;
if ( is_array( $objects ) AND count( $objects ) )
{
foreach( $objects as $key => $data )
{
$IPBHTML .= <<<EOF
<tr>
<td><img src='{$this->settings['skin_acp_url']}/images/menu.png' alt='{$this->lang->words['a_options']}' /></td>
<td><strong>{$data['pc_title']}</strong><div class='desctext'>{$data['pc_desc']}</td>
<td>
<img id="menu{$data['pc_key']}" src='{$this->settings['skin_acp_url']}/_newimages/menu_open.png' alt='{$this->lang->words['a_options']}' class='ipbmenu' />
<ul class='acp-menu' id='menu{$data['pc_key']}_menucontent'>
EOF;
//startif
if ( $data['pc_settings_keyword'] )
{
$IPBHTML .= <<<EOF
<li class='icon edit'><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=portal_settings&amp;pc_key={$data['pc_key']}'>{$this->lang->words['portal_row_menu_settings']}</a></li>
EOF;
}//endif
$IPBHTML .= <<<EOF
<li class='icon export'><a href='#' onclick="return acp.openWindow('{$this->settings['base_url']}&{$this->form_code}&amp;do=portal_viewtags&amp;pc_key={$data['pc_key']}', '{$data['pc_key']}', 400,200)">{$this->lang->words['portal_row_menu_view_tags']}</a></li>
</ul>
</td>
</tr>
EOF;
}
}
$IPBHTML .= <<<EOF
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
}
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1,147 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<templates application="portal" templategroups="a:1:{s:11:&quot;skin_portal&quot;;s:5:&quot;exact&quot;;}">
<templategroup group="skin_portal">
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box'>
{$content}
</div>
<br />]]></template_content>
<template_name>calendarWrap</template_name>
<template_data><![CDATA[$content=""]]></template_data>
<template_updated>1260269079</template_updated>
<template_removable>1</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['discuss_title']}</h3>
<ul class='hfeed'>
{parse striping="recent_topics" classes="row1,row2 altrow"}
<foreach loop="posts:$posts as $result">
<li class='hentry {parse striping="recent_topics"}'><a href='{parse url="showtopic={$result['tid']}" base="public" template="showtopic" seotitle="{$result['title_seo']}"}' rel='bookmark' title='{$this->lang->words['view_topic']}'>{$result['title_display']}</a> {$this->lang->words['recent_by']} <address class="author vcard"><a class="url fn" href="{parse url="showuser={$result['member_id']}" base="public" template="showuser" seotitle="{$result['members_seo_name']}"}" title='{$this->lang->words['view_profile']}'>{$result['members_display_name']}</a>{parse template="user_popup" group="global" params="$result['member_id']"}</address> <span class='date'>(<abbr class="published" title="{parse expression="date( 'c', $result['post_date'] )"}">{$result['date']}</abbr>)</span>
<br />{$this->lang->words['recent_read']}: {parse format_number="$result['views']"} &nbsp; {$this->lang->words['recent_comments']}: {parse format_number="$result['posts']"}</li>
</foreach>
</ul>
</div>
<br />]]></template_content>
<template_name>latestPosts</template_name>
<template_data>$posts=array()</template_data>
<template_updated>1260269079</template_updated>
<template_removable>1</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> <a href='{parse url="showtopic={$tid}" base="public"}'>{$this->lang->words['poll_title']}</a></h3>
{$content}
</div>
<br />]]></template_content>
<template_name>pollWrapper</template_name>
<template_data><![CDATA[$content="",$tid=""]]></template_data>
<template_updated>1260269079</template_updated>
<template_removable>1</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[{parse js_module="topic"}
<foreach loop="articles:$articles as $entry">
<h2 class='maintitle'><a href='{parse url="showtopic={$entry['tid']}" base="public" seotitle="{$entry['title_seo']}" template="showtopic"}'>{$entry['title']}</a></h2>
<div class='generic_bar'></div>
<div class='post_block first hentry no_sidebar' id='announce_id_{$announce['announce_id']}'>
<div class='post_wrap'>
<if test="authorIsMember:|:$entry['member_id']">
<h3>
<else />
<h3 class='guest'>
</if>
<if test="authorMemberLink:|:$entry['member_id']">
<if test="authorIsOnline:|:$entry['_online']">
{parse replacement="user_online"}
<else />
{parse replacement="user_offline"}
</if> &nbsp;
<address class="author vcard"><a class="url fn" href='{parse url="showuser={$entry['member_id']}" template="showuser" seotitle="{$entry['members_seo_name']}" base="public"}'>{$entry['members_display_name']}</a>{parse template="user_popup" group="global" params="$entry['member_id']"}</address>
<else />
{$entry['members_display_name']}
</if>
- {$entry['date']} - {parse format_number="$entry['posts']"} {$this->lang->words['comments_suffix']}
</h3>
<div class='post_body'>
<div class='post entry-content'>
{$entry['post']}
<!--IBF.ATTACHMENT_{$entry['pid']}-->
</div>
</div>
<div class='moderation_bar rounded'>
<if test="entryHasPosts:|:$entry['posts']">
{$this->lang->words['read']} {parse format_number="$entry['views']"} {$this->lang->words['times_last']} <a href='{parse url="showtopic={$entry['tid']}&amp;view=getlastpost" base="public" seotitle="{$entry['title_seo']}" template="showtopic"}'>{$this->lang->words['article_comment']}</a> {$this->lang->words['by']} <if test="entryLastPoster:|:$entry['last_poster_id']"><a href='{parse url="showuser={$entry['last_poster_id']}" template="showuser" seotitle="{$entry['seo_last_name']}" base="public"}'>{$entry['last_poster_name']}</a><else />{$entry['last_poster_name']}</if>
<else />
{$this->lang->words['read']} {parse format_number="$entry['views']"} {$this->lang->words['times_make']} <a href='{parse url="showtopic={$entry['tid']}&amp;view=getlastpost" base="public" seotitle="{$entry['title_seo']}" template="showtopic"}'>{$this->lang->words['article_comment']}</a>
</if>
{$bottom_string}
&nbsp;&nbsp;<a href='{parse url="app=forums&amp;module=forums&amp;section=printtopic&amp;client=printer&amp;f={$entry['forum_id']}&amp;t={$entry['tid']}" base="public"}'>{$this->lang->words['print']}</a>
<a href='{parse url="app=forums&amp;module=extras&amp;section=forward&amp;f={$entry['forum_id']}&amp;t={$entry['tid']}" base="public"}'>{$this->lang->words['email']}</a>
</div>
</div>
</div>
<br />
</foreach>]]></template_content>
<template_name>articles</template_name>
<template_data>$articles</template_data>
<template_updated>1260269079</template_updated>
<template_removable>1</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<!--
SKINNOTE: Remember boxes are also in skin_gallery_portal, skin_blog_portal and skin_downloads_external
-The striping doesn't add the proper padding like the board index does
-Calendar doesn't display properly compared to real mini-calendar
-Poll is kinda ugly
-Print and Email should be icons. Note that I also used "moderation_bar" class for that row, which isn't necessarily
semantic, but displays fine - your call on whether to change it
-->
{parse template="include_lightbox" group="global" params=""}
<div id='portal_articles' class='left'>
<!--MAIN-->
<!--::recent_topics_last_x::-->
<!--END MAIN-->
</div>
<div id='index_stats' class='portal left'>
<!-- LEFT -->
<!--::portal_sitenav::-->
<!--::online_users_show::-->
<!--::blogs_show_last_updated_x::-->
<!--::recent_downloads_last_x::-->
<!--::gallery_show_random_image::-->
<!--::calendar_show_current_month::-->
<!--::poll_show_poll::-->
<!--::recent_topics_discussions_last_x::-->
<!--::portal_affiliates::-->
<!--END LEFT-->
</div>
{parse template="include_highlighter" group="global" params="1"}
<script type='text/javascript'>
// Resize images
$$('.post', '.poll').each( function(elem){
ipb.global.findImgs( $( elem ) );
});
</script>]]></template_content>
<template_name>skeletonTemplate</template_name>
<template_data/>
<template_updated>1260269079</template_updated>
<template_removable>1</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
</template>
</templategroup>
</templates>
@@ -0,0 +1,175 @@
<?xml version="1.0" encoding="utf-8"?>
<templates application="portal" templategroups="a:1:{s:11:&quot;skin_portal&quot;;s:5:&quot;exact&quot;;}">
<templategroup group="skin_portal">
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> {$this->lang->words['aff_title']}</h3>
<div>
{$this->settings['csite_fav_contents']}
</div>
</div>
<br />]]></template_content>
<template_name>affiliates</template_name>
<template_data><![CDATA[$links=""]]></template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>mobile</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='master_list'>
<h2 class='title'>{$this->lang->words['recent_topics']}</h2>
<foreach loop="articles:$articles as $post">
<div class='topic_reply' id='entry{$post['pid']}'>
<h2 class='secondary'>
<img src='{$post['pp_thumb_photo']}' alt="{$post['members_display_name']}{$this->lang->words['users_photo']}" width='{$post['pp_thumb_width']}' height='{$post['pp_thumb_height']}' class='photo' />
<a style="text-decoration:none" href='{parse url="showtopic={$post['tid']}" base="public" seotitle="{$post['title_seo']}" template="showtopic"}'>{$post['title']}</a>
<span class='subtext'>
<if test="postMember:|:$post['member_id']">
<a href='{parse url="showuser={$post['member_id']}" base="public" template="showuser" seotitle="{$post['members_seo_name']}"}'>{$post['members_display_name']}</a>:
<else />
{$post['members_display_name']}:
</if>
{parse date="$post['post_date']" format="long"}
</span>
</h2>
<div id="post-{$post['pid']}" class='row post line_spacing'>
{$post['post']}
</div>
</div>
</foreach>]]></template_content>
<template_name>articles</template_name>
<template_data>$articles</template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>mobile</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[{$content}
<br />]]></template_content>
<template_name>calendarWrap</template_name>
<template_data><![CDATA[$content=""]]></template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>mobile</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> {$this->lang->words['discuss_title']}</h3>
<ul class='hfeed'>
{parse striping="recent_topics" classes="row1,row2 altrow"}
<foreach loop="posts:$posts as $result">
<li class='hentry {parse striping="recent_topics"}'><a href='{parse url="showtopic={$result['tid']}" base="public" template="showtopic" seotitle="{$result['title_seo']}"}' rel='bookmark' title='{$this->lang->words['view_topic']}'>{$result['title_display']}</a> {$this->lang->words['portal_by']} <address class="author vcard"><if test="ismember:|:$result['member_id']"><a class="url fn" href="{parse url="showuser={$result['member_id']}" base="public" template="showuser" seotitle="{$result['members_seo_name']}"}" title='{$this->lang->words['view_profile']}'>{$result['members_display_name']}</a>{parse template="user_popup" group="global" params="$result['member_id']"}<else />{$result['members_display_name']}</if></address> <span class='date'>(<abbr class="published" title="{parse expression="date( 'c', $result['post_date'] )"}">{$result['date']}</abbr>)</span>
<br />{$this->lang->words['recent_read']}: {parse format_number="$result['views']"} &nbsp; {$this->lang->words['recent_comments']}: {parse format_number="$result['posts']"}</li>
</foreach>
</ul>
</div>
<br />]]></template_content>
<template_name>latestPosts</template_name>
<template_data>$posts=array()</template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>mobile</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box clearfix' id='portal_active_users'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> <a href="{parse url="app=members&amp;module=online&amp;section=online" base="public"}">{$this->lang->words['online_title']}</a></h3>
<div>
<!--<span>{parse expression="sprintf( $this->lang->words['online_breakdown'], intval($active['TOTAL']) )"}</span>-->
<span class='desc'>{parse expression="sprintf( $this->lang->words['online_split'], intval($active['MEMBERS']), intval($active['visitors']), intval($active['ANON']) )"}</span>
<br /><br />
<p>
<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $active['NAMES'] )"}</span>
</p>
</div>
</div>
<br />]]></template_content>
<template_name>onlineUsers</template_name>
<template_data>$active</template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>mobile</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[{parse js_module="topic"}
<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> <a href='{parse url="showtopic={$tid}" base="public"}'>{$this->lang->words['poll_title']}</a></h3>
{$content}
</div>
<br />]]></template_content>
<template_name>pollWrapper</template_name>
<template_data><![CDATA[$content="",$tid=""]]></template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>mobile</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> {$this->lang->words['links_title']}</h3>
<ul>
<foreach loop="links:$links as $link">
<li>&bull; <a href="{$link[1]}">{$link[2]}</a></li>
</foreach>
</ul>
</div>
<br />]]></template_content>
<template_name>siteNavigation</template_name>
<template_data>$links=array()</template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>mobile</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<if test="$this->settings['_mobile_hide_nav'] = 1"></if>
<div class='controls'>
<div class='buttons'>
<a class="button" href='{parse url="act=idx" base="public" seotitle="-" template="act=idx"}'>{$this->lang->words['but_forums']}</a>
</div>
</div>
<div id='portal_articles' class='left'>
<!--MAIN-->
<!--::recent_topics_last_x::-->
<!--END MAIN-->
</div>
<div id='index_stats' class='portal left'>
<!-- LEFT -->
<!--END LEFT-->
</div>
{parse template="include_highlighter" group="global" params="1"}
<script type='text/javascript'>
// Resize images
$$('.post', '.poll').each( function(elem){
ipb.global.findImgs( $( elem ) );
});
</script>]]></template_content>
<template_name>skeletonTemplate</template_name>
<template_data/>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>mobile</template_master_key>
</template>
</templategroup>
</templates>
@@ -4,24 +4,25 @@
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['aff_title']}</h3>
<div>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> {$this->lang->words['aff_title']}</h3>
<div class='inner_portal_box'>
{$this->settings['csite_fav_contents']}
</div>
</div>
<br />]]></template_content>
<template_name>affiliates</template_name>
<template_data><![CDATA[$links=""]]></template_data>
<template_updated>1260269068</template_updated>
<template_updated>1288018125</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>root</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[{parse js_module="topic"}
<foreach loop="articles:$articles as $entry">
<h2 class='maintitle'><a href='{parse url="showtopic={$entry['tid']}" base="public" seotitle="{$entry['title_seo']}" template="showtopic"}'>{$entry['title']}</a></h2>
<h2 class='maintitle'><a style="text-decoration:none" href='{parse url="showtopic={$entry['tid']}" base="public" seotitle="{$entry['title_seo']}" template="showtopic"}'>{$entry['title']}</a></h2>
<div class='generic_bar'></div>
<div class='post_block first hentry no_sidebar' id='announce_id_{$announce['announce_id']}'>
<div class='post_wrap'>
@@ -64,10 +65,11 @@
</foreach>]]></template_content>
<template_name>articles</template_name>
<template_data>$articles</template_data>
<template_updated>1260269068</template_updated>
<template_updated>1288018125</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>root</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
@@ -75,19 +77,20 @@
<br />]]></template_content>
<template_name>calendarWrap</template_name>
<template_data><![CDATA[$content=""]]></template_data>
<template_updated>1260269068</template_updated>
<template_updated>1288018125</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>root</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['discuss_title']}</h3>
<ul class='hfeed'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> {$this->lang->words['discuss_title']}</h3>
<ul class='hfeed block_list'>
{parse striping="recent_topics" classes="row1,row2 altrow"}
<foreach loop="posts:$posts as $result">
<li class='hentry {parse striping="recent_topics"}'><a href='{parse url="showtopic={$result['tid']}" base="public" template="showtopic" seotitle="{$result['title_seo']}"}' rel='bookmark' title='{$this->lang->words['view_topic']}'>{$result['title_display']}</a> {$this->lang->words['portal_by']} <address class="author vcard"><if test="ismember:|:$result['member_id']"><a class="url fn" href="{parse url="showuser={$result['member_id']}" base="public" template="showuser" seotitle="{$result['members_seo_name']}"}" title='{$this->lang->words['view_profile']}'>{$result['members_display_name']}</a>{parse template="user_popup" group="global" params="$result['member_id']"}<else />{$result['members_display_name']}</if></address> <span class='date'>(<abbr class="published" title="{parse expression="date( 'c', $result['post_date'] )"}">{$result['date']}</abbr>)</span>
<li class='hentry {parse striping="recent_topics"}'><a href='{parse url="showtopic={$result['tid']}" base="public" template="showtopic" seotitle="{$result['title_seo']}"}' rel='bookmark' title='{$this->lang->words['view_topic']}'>{$result['title']}</a> {$this->lang->words['portal_by']} <address class="author vcard"><if test="ismember:|:$result['member_id']"><a class="url fn" href="{parse url="showuser={$result['member_id']}" base="public" template="showuser" seotitle="{$result['members_seo_name']}"}" title='{$this->lang->words['view_profile']}'>{$result['members_display_name']}</a>{parse template="user_popup" group="global" params="$result['member_id']"}<else />{$result['members_display_name']}</if></address> <span class='date'><abbr class="published" title="{parse expression="date( 'c', $result['start_date'] )"}">({parse date="$result['start_date']" format="short"})</abbr></span>
<br />{$this->lang->words['recent_read']}: {parse format_number="$result['views']"} &nbsp; {$this->lang->words['recent_comments']}: {parse format_number="$result['posts']"}</li>
</foreach>
</ul>
@@ -95,16 +98,17 @@
<br />]]></template_content>
<template_name>latestPosts</template_name>
<template_data>$posts=array()</template_data>
<template_updated>1260269068</template_updated>
<template_updated>1288018125</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>root</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box clearfix' id='portal_active_users'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> <a href="{parse url="app=members&amp;module=online&amp;section=online" base="public"}">{$this->lang->words['online_title']}</a></h3>
<div>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> <a href="{parse url="app=members&amp;module=online&amp;section=online" base="public"}">{$this->lang->words['online_title']}</a></h3>
<div class='inner_portal_box'>
<!--<span>{parse expression="sprintf( $this->lang->words['online_breakdown'], intval($active['TOTAL']) )"}</span>-->
<span class='desc'>{parse expression="sprintf( $this->lang->words['online_split'], intval($active['MEMBERS']), intval($active['visitors']), intval($active['ANON']) )"}</span>
<br /><br />
@@ -116,43 +120,48 @@
<br />]]></template_content>
<template_name>onlineUsers</template_name>
<template_data>$active</template_data>
<template_updated>1260269068</template_updated>
<template_updated>1288018125</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>root</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[{parse js_module="topic"}
<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> <a href='{parse url="showtopic={$tid}" base="public"}'>{$this->lang->words['poll_title']}</a></h3>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> <a href='{parse url="showtopic={$tid}" base="public"}'>{$this->lang->words['poll_title']}</a></h3>
{$content}
</div>
<br />]]></template_content>
<template_name>pollWrapper</template_name>
<template_data><![CDATA[$content="",$tid=""]]></template_data>
<template_updated>1260269068</template_updated>
<template_updated>1288018125</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>root</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content><![CDATA[<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['links_title']}</h3>
<ul>
<foreach loop="links:$links as $link">
<li>&bull; <a href="{$link[1]}">{$link[2]}</a><li>
</foreach>
</ul>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='' /> {$this->lang->words['links_title']}</h3>
<div class='inner_portal_box'>
<ul>
<foreach loop="links:$links as $link">
<li>&bull; <a href="{$link[1]}">{$link[2]}</a></li>
</foreach>
</ul>
</div>
</div>
<br />]]></template_content>
<template_name>siteNavigation</template_name>
<template_data>$links=array()</template_data>
<template_updated>1260269068</template_updated>
<template_updated>1288018125</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>root</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
@@ -193,10 +202,11 @@
</script>]]></template_content>
<template_name>skeletonTemplate</template_name>
<template_data/>
<template_updated>1260269068</template_updated>
<template_updated>1288018125</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>root</template_master_key>
</template>
</templategroup>
</templates>
@@ -13,7 +13,7 @@
<setting>
<conf_title>Название страницы портала</conf_title>
<conf_description>То, что будет записано между элементами title на странице портала.</conf_description>
<conf_group>29</conf_group>
<conf_group>31</conf_group>
<conf_type>input</conf_type>
<conf_key>csite_title</conf_key>
<conf_default>Портал</conf_default>
@@ -31,7 +31,7 @@
<setting>
<conf_title>Формат даты для тем</conf_title>
<conf_description><![CDATA[<a href='http://www.php.net/strftime'>Аналогично функции strftime PHP.]]></conf_description>
<conf_group>29</conf_group>
<conf_group>31</conf_group>
<conf_type>input</conf_type>
<conf_key>csite_article_date</conf_key>
<conf_default>%d.%m.%y %H:%M</conf_default>
@@ -49,7 +49,7 @@
<setting>
<conf_title>Показывать меню навигации по сайту?</conf_title>
<conf_description/>
<conf_group>29</conf_group>
<conf_group>31</conf_group>
<conf_type>yes_no</conf_type>
<conf_key>csite_nav_show</conf_key>
<conf_default>1</conf_default>
@@ -67,7 +67,7 @@
<setting>
<conf_title>Ссылки меню навигации по сайту</conf_title>
<conf_description><![CDATA[По одной в каждой строке в следующем формате<br>http://www.apple.com [Вебсайт Apple]<br><br>{board_url} будет преобразовано в адрес вашего форума]]></conf_description>
<conf_group>29</conf_group>
<conf_group>31</conf_group>
<conf_type>textarea</conf_type>
<conf_key>csite_nav_contents</conf_key>
<conf_default><![CDATA[{board_url} [Форумы]
@@ -91,7 +91,7 @@
<setting>
<conf_title><![CDATA[Показывать блок &quot;Партнеры / Предпочитаемые сайты&quot;?]]></conf_title>
<conf_description/>
<conf_group>29</conf_group>
<conf_group>31</conf_group>
<conf_type>yes_no</conf_type>
<conf_key>csite_fav_show</conf_key>
<conf_default>0</conf_default>
@@ -109,7 +109,7 @@
<setting>
<conf_title><![CDATA[Содержимое блока &quot;Партнеры / Предпочитаемые сайты&quot;]]></conf_title>
<conf_description>Поддерживается HTML</conf_description>
<conf_group>29</conf_group>
<conf_group>31</conf_group>
<conf_type>textarea</conf_type>
<conf_key>csite_fav_contents</conf_key>
<conf_default/>
@@ -139,7 +139,7 @@
<setting>
<conf_title>Введите URL к теме с опросом</conf_title>
<conf_description>Не заполняйте, чтобы не отображать блок с опросом.</conf_description>
<conf_group>30</conf_group>
<conf_group>32</conf_group>
<conf_type>input</conf_type>
<conf_key>poll_poll_url</conf_key>
<conf_default/>
@@ -163,10 +163,28 @@
<conf_title_app>portal</conf_title_app>
<conf_title_noshow>1</conf_title_noshow>
</setting>
<setting>
<conf_title>Не закреплять важные темы</conf_title>
<conf_description>При включении этой опции темы, закрепленные на форуме, на портале будут выводиться, как обычные, а не находиться постоянно наверху.</conf_description>
<conf_group>33</conf_group>
<conf_type>yes_no</conf_type>
<conf_key>portal_exclude_pinned</conf_key>
<conf_default>1</conf_default>
<conf_extra/>
<conf_evalphp/>
<conf_protected>1</conf_protected>
<conf_position>3</conf_position>
<conf_start_group/>
<conf_end_group>0</conf_end_group>
<conf_add_cache>1</conf_add_cache>
<conf_keywords/>
<conf_title_keyword>portal_recent_topics</conf_title_keyword>
<conf_is_title>0</conf_is_title>
</setting>
<setting>
<conf_title>Разделы, из которых будет производиться экспорт статей</conf_title>
<conf_description>Можно выбрать несколько, используя клавишу Сtrl.</conf_description>
<conf_group>31</conf_group>
<conf_group>33</conf_group>
<conf_type>multi</conf_type>
<conf_key>recent_topics_article_forum</conf_key>
<conf_default/>
@@ -200,7 +218,7 @@ $key = 'recent_topics_article_forum[]';
<setting>
<conf_title>Количество отображаемых тем</conf_title>
<conf_description><![CDATA[Количество тем, которые будут отображаться для тега портала "recent_topics_last_x".]]></conf_description>
<conf_group>31</conf_group>
<conf_group>33</conf_group>
<conf_type>input</conf_type>
<conf_key>recent_topics_article_max</conf_key>
<conf_default>15</conf_default>
@@ -215,28 +233,10 @@ $key = 'recent_topics_article_forum[]';
<conf_title_keyword>portal_recent_topics</conf_title_keyword>
<conf_is_title>0</conf_is_title>
</setting>
<setting>
<conf_title><![CDATA[Не закреплять важные темы]]></conf_title>
<conf_description>При включении этой опции темы, закрепленные на форуме, на портале будут выводиться, как обычные, а не находиться постоянно наверху.</conf_description>
<conf_group>23</conf_group>
<conf_type>yes_no</conf_type>
<conf_key>portal_exclude_pinned</conf_key>
<conf_default>1</conf_default>
<conf_extra/>
<conf_evalphp/>
<conf_protected>1</conf_protected>
<conf_position>3</conf_position>
<conf_start_group/>
<conf_end_group>0</conf_end_group>
<conf_add_cache>1</conf_add_cache>
<conf_keywords/>
<conf_title_keyword>portal_recent_topics</conf_title_keyword>
<conf_is_title>0</conf_is_title>
</setting>
<setting>
<conf_title>Количество отображаемых обсуждений</conf_title>
<conf_description><![CDATA[Введите количество заголовков тем, которые будет отображаться для тега портала "recent_discussions_last_x"]]></conf_description>
<conf_group>31</conf_group>
<conf_group>33</conf_group>
<conf_type>input</conf_type>
<conf_key>recent_topics_discuss_number</conf_key>
<conf_default>1</conf_default>
@@ -1,85 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<templates application="portal" templategroups="a:1:{s:11:&quot;skin_portal&quot;;s:5:&quot;exact&quot;;}">
<templategroup group="skin_portal">
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>siteNavigation</template_name>
<template_data>$links=array()</template_data>
<template_updated>1260269071</template_updated>
<template_removable>1</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>onlineUsers</template_name>
<template_data>$active</template_data>
<template_updated>1260269071</template_updated>
<template_removable>1</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>pollWrapper</template_name>
<template_data><![CDATA[$content="",$tid=""]]></template_data>
<template_updated>1260269071</template_updated>
<template_removable>1</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>latestPosts</template_name>
<template_data>$posts=array()</template_data>
<template_updated>1260269071</template_updated>
<template_removable>1</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>affiliates</template_name>
<template_data><![CDATA[$links=""]]></template_data>
<template_updated>1260269071</template_updated>
<template_removable>1</template_removable>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>xmlskin</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>articles</template_name>
<template_data>$articles</template_data>
<template_updated>1260269071</template_updated>
<template_removable>1</template_removable>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>xmlskin</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>calendarWrap</template_name>
<template_data><![CDATA[$content=""]]></template_data>
<template_updated>1260269071</template_updated>
<template_removable>1</template_removable>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>xmlskin</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>latestPosts</template_name>
<template_data>$posts=array()</template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>xmlskin</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>onlineUsers</template_name>
<template_data>$active</template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>xmlskin</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>pollWrapper</template_name>
<template_data><![CDATA[$content="",$tid=""]]></template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>xmlskin</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>siteNavigation</template_name>
<template_data>$links=array()</template_data>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>xmlskin</template_master_key>
</template>
<template>
<template_group>skin_portal</template_group>
<template_content/>
<template_name>skeletonTemplate</template_name>
<template_data/>
<template_updated>1260269071</template_updated>
<template_removable>1</template_removable>
<template_updated>1288018126</template_updated>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
<template_master_key>xmlskin</template_master_key>
</template>
</templategroup>
</templates>
@@ -121,6 +121,16 @@
<word_custom_version>30008</word_custom_version>
<word_js>0</word_js>
</lang>
<lang>
<word_app>portal</word_app>
<word_pack>public_portal</word_pack>
<word_key>recent_topics</word_key>
<word_default>Featured Topics</word_default>
<word_custom>Обсуждаемое</word_custom>
<word_default_version>31005</word_default_version>
<word_custom_version>31005</word_custom_version>
<word_js>0</word_js>
</lang>
<lang>
<word_app>portal</word_app>
<word_pack>public_portal</word_pack>
@@ -171,5 +181,25 @@
<word_custom_version>30008</word_custom_version>
<word_js>0</word_js>
</lang>
<lang>
<word_app>portal</word_app>
<word_pack>public_portal</word_pack>
<word_key>but_forums</word_key>
<word_default>Forums</word_default>
<word_custom>Форумы</word_custom>
<word_default_version>31005</word_default_version>
<word_custom_version>31005</word_custom_version>
<word_js>0</word_js>
</lang>
<lang>
<word_app>portal</word_app>
<word_pack>public_portal</word_pack>
<word_key>but_active</word_key>
<word_default>Active Topics</word_default>
<word_custom>Активные темы</word_custom>
<word_default_version>31005</word_default_version>
<word_custom_version>31005</word_custom_version>
<word_js>0</word_js>
</lang>
</languagegroup>
</languageexport>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<versions>
<version>
<human>3.0.5</human>
<long>30012</long>
</version>
<human>3.1.4</human>
<long>31007</long>
</version>
</versions>