mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 17:01:43 +02:00
Path changes on code templates.
This commit is contained in:
@@ -51,7 +51,7 @@ if(!isset($FPW_TABLE))
|
|||||||
$FPW_TABLE .="
|
$FPW_TABLE .="
|
||||||
<tr style='vertical-align:top'>
|
<tr style='vertical-align:top'>
|
||||||
<td class='forumheader' colspan='2' style='text-align:center'>
|
<td class='forumheader' colspan='2' style='text-align:center'>
|
||||||
<input class='button btn' type='submit' name='pwsubmit' value='".LAN_156."' />
|
<input class='button btn btn-primary' type='submit' name='pwsubmit' value='".LAN_156."' />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
@@ -92,10 +92,17 @@ if (isset($_POST['clientsubmit'])) {
|
|||||||
|
|
||||||
if (!$BANNER_TABLE)
|
if (!$BANNER_TABLE)
|
||||||
{
|
{
|
||||||
if (file_exists(THEME."banner_template.php")) {
|
if (file_exists(THEME."templates/banner/banner_template.php"))
|
||||||
|
{
|
||||||
|
require(THEME."templates/banner/banner_template.php");
|
||||||
|
}
|
||||||
|
elseif (file_exists(THEME."banner_template.php"))
|
||||||
|
{
|
||||||
require(THEME."banner_template.php");
|
require(THEME."banner_template.php");
|
||||||
} else {
|
}
|
||||||
require(e_BASE.$THEMES_DIRECTORY."templates/banner_template.php");
|
else
|
||||||
|
{
|
||||||
|
require(e_PLUGIN."banner/banner_template.php");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$textstring .= preg_replace("/\{(.*?)\}/e", '$\1', $BANNER_TABLE);
|
$textstring .= preg_replace("/\{(.*?)\}/e", '$\1', $BANNER_TABLE);
|
||||||
@@ -104,10 +111,13 @@ if (isset($_POST['clientsubmit'])) {
|
|||||||
|
|
||||||
if (!$BANNER_TABLE)
|
if (!$BANNER_TABLE)
|
||||||
{
|
{
|
||||||
if (file_exists(THEME."banner_template.php")) {
|
if (file_exists(THEME."banner_template.php"))
|
||||||
|
{
|
||||||
require(THEME."banner_template.php");
|
require(THEME."banner_template.php");
|
||||||
} else {
|
}
|
||||||
require(e_BASE.$THEMES_DIRECTORY."templates/banner_template.php");
|
else
|
||||||
|
{
|
||||||
|
require(e_PLUGIN."banner/banner_template.php");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$textstart = preg_replace("/\{(.*?)\}/e", '$\1', $BANNER_TABLE_START);
|
$textstart = preg_replace("/\{(.*?)\}/e", '$\1', $BANNER_TABLE_START);
|
||||||
|
@@ -1,22 +0,0 @@
|
|||||||
<?php
|
|
||||||
/*
|
|
||||||
+ ----------------------------------------------------------------------------+
|
|
||||||
| e107 website system
|
|
||||||
|
|
|
||||||
| Copyright (c) e107 Inc. 2008-2009
|
|
||||||
| http://e107.org
|
|
||||||
|
|
|
||||||
| Released under the terms and conditions of the
|
|
||||||
| GNU General Public License (http://gnu.org).
|
|
||||||
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/sitelinks_template.php,v $
|
|
||||||
| $Revision$
|
|
||||||
| $Date$
|
|
||||||
| $Author$
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
*/
|
|
||||||
|
|
||||||
$SITELINKS_TEMPLATE['default'] = "";
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
@@ -26,16 +26,16 @@ if(is_readable(THEME."membersonly_template.php"))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
require_once(e_THEME."templates/membersonly_template.php");
|
require_once(e_CORE."templates/membersonly_template.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
$HEADER="";
|
|
||||||
$FOOTER="";
|
define('e_IFRAME',true);
|
||||||
|
|
||||||
include_once(HEADERF);
|
include_once(HEADERF);
|
||||||
|
|
||||||
echo $MEMBERSONLY_BEGIN;
|
echo $MEMBERSONLY_BEGIN;
|
||||||
$ns->tablerender($MEMBERSONLY_CAPTION, $MEMBERSONLY_TABLE);
|
$ns->tablerender($MEMBERSONLY_CAPTION, $MEMBERSONLY_TABLE, 'membersonly');
|
||||||
echo $MEMBERSONLY_END;
|
echo $MEMBERSONLY_END;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@@ -38,7 +38,7 @@ if (!$SITEDOWN_TABLE)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
require_once(e_THEME.'templates/sitedown_template.php');
|
require_once(e_CORE.'templates/sitedown_template.php');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo $tp->parseTemplate($SITEDOWN_TABLE, TRUE, $sitedown_shortcodes);
|
echo $tp->parseTemplate($SITEDOWN_TABLE, TRUE, $sitedown_shortcodes);
|
||||||
|
Reference in New Issue
Block a user