Skip to content

Commit

Permalink
Pulling the theme's out of the tumblite codebase so it will be easier…
Browse files Browse the repository at this point in the history
… to keep tumblit up to date. Delete code folder, re-upload
  • Loading branch information
Jeff Minard committed Dec 11, 2011
1 parent 8918f3a commit 32ed705
Show file tree
Hide file tree
Showing 20 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions code/klein.php
Expand Up @@ -511,8 +511,8 @@ public function render($view, array $data = array()) {
$this->set($data);
}
if (defined('VIEWDIR') && defined('TEMPLATE')) {
$vt = VIEWDIR . '/'. TEMPLATE .'/' . ltrim($view,'/');
$vd = VIEWDIR . '/'. 'default'.'/' . ltrim($view,'/');
$vt = VIEWDIR . '/../../themes/'. TEMPLATE .'/' . ltrim($view,'/');
$vd = VIEWDIR . '/' . ltrim($view,'/');
if (file_exists($vt)) {
$view = $vt;
}
Expand All @@ -521,7 +521,7 @@ public function render($view, array $data = array()) {
}
}
elseif (defined('VIEWDIR')) {
$vt = VIEWDIR . '/default/'. ltrim($view, '/');
$vt = VIEWDIR . '/'. ltrim($view, '/');
if (file_exists($vt)) {
$view = $vt;
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion code/views/default/edit.phtml → code/views/edit.phtml
Expand Up @@ -141,6 +141,6 @@

</form>

<script type="text/javascript" src="/js/recover.js"></script>
<script type="text/javascript" src="/site/js/recover.js"></script>

<?php if (!$this->bm) $this->render('_footer.phtml') ?>
File renamed without changes.
File renamed without changes.
Expand Up @@ -5,5 +5,5 @@

echo ($s == $e) ? $s : "$s - $e";

?> <?= defined('AUTHOR') ? AUTHOR : 'Anonymous' ?>
?> <?= defined('AUTHOR') ? AUTHOR : 'Anonymous' ?> - <a href="/auth/login">Admin Login</a>
</p>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 32ed705

Please sign in to comment.