mirror of
https://github.com/e107inc/e107.git
synced 2025-04-22 13:41:52 +02:00
Path changes on code templates.
This commit is contained in:
parent
7f5599b7b6
commit
0ba11945ab
e107_core/templates
fpw_template.phpmembersonly_template.phpsignup_template.phpsitedown_template.phpuser_template.phpusersettings_template.php
e107_plugins/banner
e107_themes/templates
membersonly.phpsitedown.php@ -51,7 +51,7 @@ if(!isset($FPW_TABLE))
|
||||
$FPW_TABLE .="
|
||||
<tr style='vertical-align:top'>
|
||||
<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>
|
||||
</tr>
|
||||
</table>
|
@ -92,10 +92,17 @@ if (isset($_POST['clientsubmit'])) {
|
||||
|
||||
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");
|
||||
} 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);
|
||||
@ -104,10 +111,13 @@ if (isset($_POST['clientsubmit'])) {
|
||||
|
||||
if (!$BANNER_TABLE)
|
||||
{
|
||||
if (file_exists(THEME."banner_template.php")) {
|
||||
if (file_exists(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);
|
||||
|
@ -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
|
||||
{
|
||||
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);
|
||||
|
||||
echo $MEMBERSONLY_BEGIN;
|
||||
$ns->tablerender($MEMBERSONLY_CAPTION, $MEMBERSONLY_TABLE);
|
||||
$ns->tablerender($MEMBERSONLY_CAPTION, $MEMBERSONLY_TABLE, 'membersonly');
|
||||
echo $MEMBERSONLY_END;
|
||||
|
||||
?>
|
||||
|
@ -38,7 +38,7 @@ if (!$SITEDOWN_TABLE)
|
||||
}
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user