aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-23 20:00:10 -0700
committerfriendica <info@friendica.com>2012-08-23 20:00:10 -0700
commit2456174cc905d2d0ae19d21c94fec2c5552322a8 (patch)
tree1e64335bad03cadb168d9cd88627e6a893459efb /index.php
parenta9dabd8eb918436b57d9263ad3d635774455f28f (diff)
downloadvolse-hubzilla-2456174cc905d2d0ae19d21c94fec2c5552322a8.tar.gz
volse-hubzilla-2456174cc905d2d0ae19d21c94fec2c5552322a8.tar.bz2
volse-hubzilla-2456174cc905d2d0ae19d21c94fec2c5552322a8.zip
back to identity creation form
Diffstat (limited to 'index.php')
-rw-r--r--index.php30
1 files changed, 8 insertions, 22 deletions
diff --git a/index.php b/index.php
index 84fa1593a..8f7f8fa92 100644
--- a/index.php
+++ b/index.php
@@ -2,7 +2,7 @@
/**
*
- * Friendica
+ * Friendica Red
*
*/
@@ -244,13 +244,13 @@ if($a->module_loaded) {
$func = str_replace('-','_',current_theme()) . '_init';
$func($a);
}
-// elseif (x($a->theme_info,"extends") && file_exists("view/theme/".$a->theme_info["extends"]."/theme.php")) {
-// require_once("view/theme/".$a->theme_info["extends"]."/theme.php");
-// if(function_exists(str_replace('-','_',$a->theme_info["extends"]) . '_init')) {
-// $func = str_replace('-','_',$a->theme_info["extends"]) . '_init';
-// $func($a);
-// }
-// }
+ elseif (x($a->theme_info,"extends") && file_exists("view/theme/".$a->theme_info["extends"]."/theme.php")) {
+ require_once("view/theme/".$a->theme_info["extends"]."/theme.php");
+ if(function_exists(str_replace('-','_',$a->theme_info["extends"]) . '_init')) {
+ $func = str_replace('-','_',$a->theme_info["extends"]) . '_init';
+ $func($a);
+ }
+ }
if(($_SERVER['REQUEST_METHOD'] === 'POST') && (! $a->error)
&& (function_exists($a->module . '_post'))
@@ -298,16 +298,6 @@ if(stristr( implode("",$_SESSION['sysmsg']), t('Permission denied'))) {
call_hooks('page_end', $a->page['content']);
-
-/**
- *
- * Add a place for the pause/resume Ajax indicator
- *
- */
-
-$a->page['content'] .= '<div id="pause"></div>';
-
-
/**
*
* Add the navigation (menu) template
@@ -348,10 +338,6 @@ head_add_js('mod_' . $a->module . '.js');
'$baseurl' => $a->get_baseurl(),
'$local_user' => local_user(),
'$generator' => FRIENDICA_PLATFORM . ' ' . FRIENDICA_VERSION,
- '$delitem' => t('Delete this item?'),
- '$comment' => t('Comment'),
- '$showmore' => t('show more'),
- '$showfewer' => t('show fewer'),
'$update_interval' => $interval,
'$head_css' => head_get_css(),
'$head_js' => head_get_js(),