]> git.mxchange.org Git - friendica.git/commitdiff
Merge https://github.com/friendica/friendica into pull
authorfriendica <info@friendica.com>
Fri, 11 Jan 2013 06:27:53 +0000 (22:27 -0800)
committerfriendica <info@friendica.com>
Fri, 11 Jan 2013 06:27:53 +0000 (22:27 -0800)
32 files changed:
boot.php
include/friendica_smarty.php
include/items.php
include/text.php
mod/dfrn_confirm.php
mod/install.php
mod/lostpass.php
mod/register.php
mod/regmod.php
mods/friendica-to-smarty-tpl.py
view/smarty3/conversation.tpl
view/smarty3/register.tpl
view/smarty3/threaded_conversation.tpl
view/smarty3/wall_thread.tpl
view/theme/dispy/smarty3/conversation.tpl
view/theme/dispy/smarty3/threaded_conversation.tpl
view/theme/dispy/smarty3/wall_thread.tpl
view/theme/frost-mobile/smarty3/conversation.tpl
view/theme/frost-mobile/smarty3/register.tpl
view/theme/frost-mobile/smarty3/threaded_conversation.tpl
view/theme/frost-mobile/smarty3/wall_thread.tpl
view/theme/frost/smarty3/acl_selector.tpl
view/theme/frost/smarty3/register.tpl
view/theme/frost/smarty3/threaded_conversation.tpl
view/theme/frost/smarty3/wall_thread.tpl
view/theme/quattro/smarty3/conversation.tpl
view/theme/quattro/smarty3/threaded_conversation.tpl
view/theme/quattro/smarty3/wall_thread.tpl
view/theme/smoothly/smarty3/wall_thread.tpl
view/theme/testbubble/smarty3/wall_thread.tpl
view/theme/vier/smarty3/threaded_conversation.tpl
view/theme/vier/smarty3/wall_thread.tpl

index ecf199d433d7976a04f4120e6ce78cafddc42988..4ea5a497626888882743fc284638f7d562a49952 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -384,8 +384,14 @@ if(! class_exists('App')) {
                        'template_engine' => 'internal',
                );
 
-               public $smarty3_ldelim = '{{';
-               public $smarty3_rdelim = '}}';
+               private $ldelim = array(
+                       'internal' => '',
+                       'smarty3' => '{{'
+               );
+               private $rdelim = array(
+                       'internal' => '',
+                       'smarty3' => '}}'
+               );
 
                private $scheme;
                private $hostname;
@@ -623,7 +629,7 @@ if(! class_exists('App')) {
                        // replacing $stylesheet until later, we need to replace it now
                        // with another variable name
                        if($this->theme['template_engine'] === 'smarty3')
-                               $stylesheet = $this->smarty3_ldelim . '$stylesheet' . $this->smarty3_rdelim;
+                               $stylesheet = $this->get_template_ldelim('smarty3') . '$stylesheet' . $this->get_template_rdelim('smarty3');
                        else
                                $stylesheet = '$stylesheet';
 
@@ -695,6 +701,31 @@ if(! class_exists('App')) {
                        return $this->cached_profile_image[$avatar_image];
                }
 
+               function get_template_engine() {
+                       return $this->theme['template_engine'];
+               }
+
+               function set_template_engine($engine = 'internal') {
+
+                       $this->theme['template_engine'] = 'internal';
+
+                       switch($engine) {
+                               case 'smarty3':
+                                       if(is_writable('view/smarty3/'))
+                                               $this->theme['template_engine'] = 'smarty3';
+                                       break;
+                               default:
+                                       break;
+                       }
+               }
+
+               function get_template_ldelim($engine = 'internal') {
+                       return $this->ldelim[$engine];
+               }
+
+               function get_template_rdelim($engine = 'internal') {
+                       return $this->rdelim[$engine];
+               }
 
        }
 }
@@ -847,10 +878,6 @@ if(! function_exists('check_config')) {
                                                        $retval = $func();
                                                        if($retval) {
                                                                //send the administrator an e-mail
-
-                                                       $engine = get_app()->get_template_engine();
-                                                       get_app()->set_template_engine();
-
                                                                $email_tpl = get_intltext_template("update_fail_eml.tpl");
                                                                $email_msg = replace_macros($email_tpl, array(
                                                                        '$sitename' => $a->config['sitename'],
@@ -858,9 +885,6 @@ if(! function_exists('check_config')) {
                                                                        '$update' => $x,
                                                                        '$error' => sprintf( t('Update %s failed. See error logs.'), $x)
                                                                ));
-
-                                                               get_app()->set_template_engine($engine);
-
                                                                $subject=sprintf(t('Update Error at %s'), $a->get_baseurl());
                                                                require_once('include/email.php');
                                                                $subject = email_header_encode($subject,'UTF-8');       
@@ -1205,7 +1229,7 @@ if(! function_exists('profile_load')) {
                 * load/reload current theme info
                 */
 
-               set_template_engine($a); // reset the template engine to the default in case the user's theme doesn't specify one
+               $a->set_template_engine(); // reset the template engine to the default in case the user's theme doesn't specify one
 
                $theme_info_file = "view/theme/".current_theme()."/theme.php";
                if (file_exists($theme_info_file)){
@@ -1968,20 +1992,9 @@ function clear_cache($basepath = "", $path = "") {
 }
 
 function set_template_engine(&$a, $engine = 'internal') {
+// This function is no longer necessary, but keep it as a wrapper to the class method
+// to avoid breaking themes again unnecessarily
 
-       $a->theme['template_engine'] = 'internal';
-
-       if(is_writable('view/smarty3/')) {
-               switch($engine) {
-                       case 'smarty3':
-                               $a->theme['template_engine'] = 'smarty3';
-                               break;
-                       default:
-                               break;
-               }
-       }
+       $a->set_template_engine($engine);
 }
 
-function get_template_engine($a) {
-       return $a->theme['template_engine'];
-}
\ No newline at end of file
index 9ad14ad8a4738e610e6c346ebb14a56ec1720b8b..b3f0d18a01d32509f1ca8345c6f0403eff148d51 100644 (file)
@@ -24,8 +24,11 @@ class FriendicaSmarty extends Smarty {
                $this->setConfigDir('view/smarty3/config/');
                $this->setCacheDir('view/smarty3/cache/');
 
-               $this->left_delimiter = $a->smarty3_ldelim;
-               $this->right_delimiter = $a->smarty3_rdelim;
+               $this->left_delimiter = $a->get_template_ldelim('smarty3');
+               $this->right_delimiter = $a->get_template_rdelim('smarty3');
+
+               // Don't report errors so verbosely
+               $this->error_reporting = E_ALL & ~E_NOTICE;
        }
 
        function parsed($template = '') {
index f65032c9688beaea01da2dafc7b854b887a0950e..b465c444ed5cdbec262771edb77949338306adfd 100755 (executable)
@@ -3361,10 +3361,6 @@ function new_follower($importer,$contact,$datarray,$item,$sharing = false) {
                        }
 
                        if(($r[0]['notify-flags'] & NOTIFY_INTRO) && ($r[0]['page-flags'] == PAGE_NORMAL)) {
-
-                               $engine = get_app()->get_template_engine();
-                               get_app()->set_template_engine();
-
                                $email_tpl = get_intltext_template('follow_notify_eml.tpl');
                                $email = replace_macros($email_tpl, array(
                                        '$requestor' => ((strlen($name)) ? $name : t('[Name Withheld]')),
@@ -3373,9 +3369,6 @@ function new_follower($importer,$contact,$datarray,$item,$sharing = false) {
                                        '$siteurl' => $a->get_baseurl(),
                                        '$sitename' => $a->config['sitename']
                                ));
-
-                               get_app()->set_template_engine($engine);
-
                                $res = mail($r[0]['email'], 
                                        email_header_encode((($sharing) ? t('A new person is sharing with you at ') : t("You have a new follower at ")) . $a->config['sitename'],'UTF-8'),
                                        $email,
index 1d74d9cf5c4bc19df856707acf6f30cd1bd0adc6..628da1c1b2795ebd75b3eaff4c0b289271f8138e 100644 (file)
@@ -23,7 +23,6 @@ function replace_macros($s,$r) {
                if(gettype($s) === 'string') {
                        $template = $s;
                        $s = new FriendicaSmarty();
-                       $s->error_reporting = E_ALL & ~E_NOTICE;
                }
                foreach($r as $key=>$value) {
                        if($key[0] === '$') {
index 64fd6df2fdab447152e3e548602fd6b301a604d8..769036c5e0b694627bdfba20a4669c6cd5be9e58 100644 (file)
@@ -737,11 +737,6 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
                                ? get_intltext_template('friend_complete_eml.tpl')
                                : get_intltext_template('intro_complete_eml.tpl'));
                
-
-                       $engine = get_app()->get_template_engine();
-                       get_app()->set_template_engine();
-
-
                        $email_tpl = replace_macros($tpl, array(
                                '$sitename' => $a->config['sitename'],
                                '$siteurl' =>  $a->get_baseurl(),
@@ -751,10 +746,6 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
                                '$dfrn_url' => $r[0]['url'],
                                '$uid' => $newuid )
                        );
-
-
-                       get_app()->set_template_engine($engine);
-
                        require_once('include/email.php');
 
                        $res = mail($r[0]['email'], email_header_encode( sprintf( t("Connection accepted at %s") , $a->config['sitename']),'UTF-8'),
index 91725cf2ff99770c08be4b56289baab36229d3d8..7247ebb2c12c13598398f58b9373cc006456e4c0 100755 (executable)
@@ -73,9 +73,6 @@ function install_post(&$a) {
                        // connect to db
                        $db = new dba($dbhost, $dbuser, $dbpass, $dbdata, true);
 
-                       // disable smarty for this template
-                       $engine = $a->get_template_engine();
-                       $a->set_template_engine();
                        $tpl = get_intltext_template('htconfig.tpl');
                        $txt = replace_macros($tpl,array(
                                '$dbhost' => $dbhost,
@@ -87,7 +84,6 @@ function install_post(&$a) {
                                '$phpath' => $phpath,
                                '$adminmail' => $adminmail
                        ));
-                       $a->set_template_engine($engine);
 
                        $result = file_put_contents('.htconfig.php', $txt);
                        if(! $result) {
index ac67f8b20ac7a772a508a29659c12cf5701fef06..cc31efd973f663c9ee9697129efa65a0f44a1146 100644 (file)
@@ -32,9 +32,6 @@ function lostpass_post(&$a) {
        if($r)
                info( t('Password reset request issued. Check your email.') . EOL);
 
-       $engine = get_app()->get_template_engine();
-       get_app()->set_template_engine();
-
        $email_tpl = get_intltext_template("lostpass_eml.tpl");
        $email_tpl = replace_macros($email_tpl, array(
                        '$sitename' => $a->config['sitename'],
@@ -44,8 +41,6 @@ function lostpass_post(&$a) {
                        '$reset_link' => $a->get_baseurl() . '/lostpass?verify=' . $new_password
        ));
 
-       get_app()->set_template_engine($engine);
-
        $res = mail($email, email_header_encode(sprintf( t('Password reset requested at %s'),$a->config['sitename']),'UTF-8'),
                        $email_tpl,
                        'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n"
@@ -99,8 +94,6 @@ function lostpass_content(&$a) {
                                info("Your password has been reset." . EOL);
 
 
-                       $engine = get_app()->get_template_engine();
-                       get_app()->set_template_engine();
 
                        $email_tpl = get_intltext_template("passchanged_eml.tpl");
                        $email_tpl = replace_macros($email_tpl, array(
@@ -111,8 +104,6 @@ function lostpass_content(&$a) {
                        '$new_password' => $new_password,
                        '$uid' => $newuid ));
 
-                       get_app()->set_template_engine($engine);
-
                        $subject = sprintf( t('Your password has been changed at %s'), $a->config['sitename']);
 
                        $res = mail($email, email_header_encode( $subject, 'UTF-8'), $email_tpl,
index 580101924c2130475d34e3762c4e901ff1497a86..3532f92e8d132e65d6b17578325c557ae314fc3a 100644 (file)
@@ -79,10 +79,6 @@ function register_post(&$a) {
                        set_pconfig($user['uid'],'system','invites_remaining',$num_invites);
                }
 
-               $engine = get_app()->get_template_engine();
-               get_app()->set_template_engine();
-
-
                $email_tpl = get_intltext_template("register_open_eml.tpl");
                $email_tpl = replace_macros($email_tpl, array(
                                '$sitename' => $a->config['sitename'],
@@ -92,10 +88,6 @@ function register_post(&$a) {
                                '$password' => $result['password'],
                                '$uid' => $user['uid'] ));
 
-
-               get_app()->set_template_engine($engine);
-
-
                $res = mail($user['email'], email_header_encode( sprintf( t('Registration details for %s'), $a->config['sitename']),'UTF-8'),
                        $email_tpl, 
                                'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n"
@@ -139,10 +131,6 @@ function register_post(&$a) {
                        set_pconfig($user['uid'],'system','invites_remaining',$num_invites);
                }
 
-
-               $engine = get_app()->get_template_engine();
-               get_app()->set_template_engine();
-
                $email_tpl = get_intltext_template("register_verify_eml.tpl");
                $email_tpl = replace_macros($email_tpl, array(
                                '$sitename' => $a->config['sitename'],
@@ -154,9 +142,6 @@ function register_post(&$a) {
                                '$hash' => $hash
                 ));
 
-               get_app()->set_template_engine($engine);
-
-
                $res = mail($a->config['admin_email'], email_header_encode( sprintf(t('Registration request at %s'), $a->config['sitename']),'UTF-8'),
                        $email_tpl,
                                'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n"
index 73bfc597b57f86466cd7ae96bdc60469ed6a200e..5ed7642005628546069db335f818a55e97fe5971 100644 (file)
@@ -41,9 +41,6 @@ function user_allow($hash) {
 
        push_lang($register[0]['language']);
 
-       $engine = get_app()->get_template_engine();
-       get_app()->set_template_engine();
-
        $email_tpl = get_intltext_template("register_open_eml.tpl");
        $email_tpl = replace_macros($email_tpl, array(
                        '$sitename' => $a->config['sitename'],
@@ -54,10 +51,6 @@ function user_allow($hash) {
                        '$uid' => $user[0]['uid']
        ));
 
-
-       get_app()->set_template_engine($engine);
-
-
        $res = mail($user[0]['email'], email_header_encode( sprintf(t('Registration details for %s'), $a->config['sitename']), 'UTF-8'),
                $email_tpl,
                        'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n"
index 6037d04ea21cd3d2ea9ea9f646772a4258b735f4..ff1a102a44de894bde28b5c914df19b602d340c2 100755 (executable)
@@ -77,7 +77,7 @@ def fix_element(element):
 
                if parts[first+1][0] == '$':
                        # This takes care of elements where the filename is a variable, e.g. {{ inc $file }}
-                       element += 'file:' + ldelim + parts[first+1].rstrip('}') + rdelim
+                       element += ldelim + parts[first+1].rstrip('}') + rdelim
                else:
                        # This takes care of elements where the filename is a path, e.g. {{ inc file.tpl }}
                        element += parts[first+1].rstrip('}') 
@@ -189,10 +189,14 @@ for a_file in files:
        filename = os.path.join(path,a_file)
        ext = a_file.split('.')[-1]
        if os.path.isfile(filename) and ext == 'tpl':
-               with open(filename, 'r') as f:
-                       newfilename = os.path.join(outpath,a_file)
-                       with open(newfilename, 'w') as outf:
-                               print "Converting " + filename + " to " + newfilename
-                               convert(f, outf, php_tpl)
+               f = open(filename, 'r')
 
+               newfilename = os.path.join(outpath,a_file)
+               outf = open(newfilename, 'w')
+
+               print "Converting " + filename + " to " + newfilename
+               convert(f, outf, php_tpl)
+
+               outf.close()
+               f.close()
 
index ce5dc5a2f657cd5c550f0b2284144e146bbb2b8d..ae5294a9ae74f3cef455800bb483451b3724b4a5 100644 (file)
@@ -11,7 +11,7 @@
                {{/if}}
                {{if $item.comment_lastcollapsed}}</div>{{/if}}
                
-               {{include file="file:{{$item.template}}"}}
+               {{include file="{{$item.template}}"}}
                
                
        {{/foreach}}
index 768ca93878a4752692accb1b0d8fb2312fb68d1e..4d9abe11df40d153106e9cbdbb59e25abb142494 100644 (file)
@@ -11,9 +11,9 @@
        <p id="register-fill-desc">{{$fillwith}}</p>
        <p id="register-fill-ext">{{$fillext}}</p>
 
-{{if $oidlabel }}
+{{if $oidlabel}}
        <div id="register-openid-wrapper" >
-       <label for="register-openid" id="label-register-openid" >{{$oidlabel}}</label><input type="text" maxlength="60" size="32" name="openid_url" class="openid"      id="register-openid" value="{{$openid}}" >
+       <label for="register-openid" id="label-register-openid" >{{$oidlabel}}</label><input    type="text" maxlength="60" size="32" name="openid_url" class="openid" id="register-openid" value="{{$openid}}" >
        </div>
        <div id="register-openid-end" ></div>
 {{/if}}
index 0830063c61462cf489d9d6b36dfd5b595b493672..f77cac8de28e6cabff4560ec8c68aaf3c0a06f82 100644 (file)
@@ -1,7 +1,7 @@
 {{$live_update}}
 
 {{foreach $threads as $thread}}
-{{include file="file:{{$thread.template}}" item=$thread}}
+{{include file="{{$thread.template}}" item=$thread}}
 {{/foreach}}
 
 <div id="conversation-end"></div>
index c1fed91babe2b423e9330e9ba62c0f02e4b9cfc1..3010f659f7ddf23128ade46569481545e25e7901 100644 (file)
 <div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div>
 </div>
 {{foreach $item.children as $child}}
-       {{include file="file:{{$child.template}}" item=$child}}
+       {{include file="{{$child.template}}" item=$child}}
 {{/foreach}}
 
 {{if $item.flatten}}
index 302f7172b59b9e1328c261373362094c70d56ca9..6461955e74fba37efcac730614b7f4263f332653 100644 (file)
@@ -11,7 +11,7 @@
                {{/if}}
                {{if $item.comment_lastcollapsed}}</div>{{/if}}
                
-               {{include file="file:{{$item.template}}"}}
+               {{include file="{{$item.template}}"}}
                
                
        {{/foreach}}
index 367698beeb96df337143df3a69b7302ac2072e0f..fdca3e557464c1494628aa386ecac59999a8523f 100644 (file)
@@ -1,7 +1,7 @@
 {{$live_update}}
 
 {{foreach $threads as $thread}}
-{{include file="file:{{$thread.template}}" item=$thread}}
+{{include file="{{$thread.template}}" item=$thread}}
 {{/foreach}}
 
 <div id="conversation-end"></div>
index b0de88e34a15a7ccc70d3e864eceb871d22998c9..a0b818d07085ed791825d3a577e306355bbf12d6 100644 (file)
@@ -132,7 +132,7 @@ class="icon recycle wall-item-share-buttons"  title="{{$item.vote.share.0}}" onc
 <div class="wall-item-outside-wrapper-end {{$item.indent}} {{$item.shiny}}" ></div>
 </div>
 {{foreach $item.children as $child}}
-       {{include file="file:{{$child.template}}" item=$child}}
+       {{include file="{{$child.template}}" item=$child}}
 {{/foreach}}
 
 </div>
index aa6bee0ea5a9f7a6b400172c3972298b844d9688..844d9489177738cd3e24d6edd297755f141545b9 100644 (file)
@@ -11,7 +11,7 @@
                {{/if}}
                {{if $item.comment_lastcollapsed}}</div>{{/if}}
                
-               {{include file="file:{{$item.template}}"}}
+               {{include file="{{$item.template}}"}}
                
                
        {{/foreach}}
index bc0ce4cc9c1ae33c11834fa6fff7848ead0fd498..a224721dd1b3d21edea052fe044f51ad7548d52c 100644 (file)
@@ -11,9 +11,9 @@
        <p id="register-realpeople">{{$realpeople}}</p>
 
        <br />
-{{if $oidlabel }}
+{{if $oidlabel}}
        <div id="register-openid-wrapper" >
-       <label for="register-openid" id="label-register-openid" >{{$oidlabel}}</label><input type="text" maxlength="60" size="32" name="openid_url" class="openid"      id="register-openid" value="{{$openid}}" >
+       <label for="register-openid" id="label-register-openid" >{{$oidlabel}}</label><input    type="text" maxlength="60" size="32" name="openid_url" class="openid" id="register-openid" value="{{$openid}}" >
        </div>
        <div id="register-openid-end" ></div>
 {{/if}}
index 0c96b30e3ebef81563cb9c00b9d9c0c335f20aa1..d5bbf06a6b4b91ef44f9f49bf047a151e90d4e9b 100644 (file)
@@ -1,7 +1,7 @@
 {{$live_update}}
 
 {{foreach $threads as $thread}}
-{{include file="file:{{$thread.template}}" item=$thread}}
+{{include file="{{$thread.template}}" item=$thread}}
 {{/foreach}}
 
 <div id="conversation-end"></div>
index e1a0aa868e4bccd68a88e1d2039ce65f212054ef..63597688374653c86320708fb4948500be986e87 100644 (file)
 <!--<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div>-->
 <!--</div>-->
 {{foreach $item.children as $child}}
-       {{include file="file:{{$child.template}}" item=$child}}
+       {{include file="{{$child.template}}" item=$child}}
 {{/foreach}}
 
 {{if $item.flatten}}
index f3b1abea7ccfb3e9283d454b10ec48aad4128c49..361bf8843a68cf1e76f17790cd94c7c005b3568b 100644 (file)
@@ -9,7 +9,6 @@
 </div>
 
 <div class="acl-list-item" rel="acl-template" style="display:none">
-       <img data-src="{0}"><p>{1}</p>
        <a href="#" class='acl-button-show'>{{$show}}</a>
        <a href="#" class='acl-button-hide'>{{$hide}}</a>
 </div>
index 72b628f39d26f86d9fc753e1ca9f234edcdd5416..0f9765063e03b7f0d58a4c080dc2a92a644529cc 100644 (file)
@@ -11,9 +11,9 @@
        <p id="register-realpeople">{{$realpeople}}</p>
 
        <br />
-{{if $oidlabel }}
+{{if $oidlabel}}
        <div id="register-openid-wrapper" >
-       <label for="register-openid" id="label-register-openid" >{{$oidlabel}}</label><input type="text" maxlength="60" size="32" name="openid_url" class="openid"      id="register-openid" value="{{$openid}}" >
+       <label for="register-openid" id="label-register-openid" >{{$oidlabel}}</label><input    type="text" maxlength="60" size="32" name="openid_url" class="openid" id="register-openid" value="{{$openid}}" >
        </div>
        <div id="register-openid-end" ></div>
 {{/if}}
index 680a201eefd7f3f6fb41071f4d44c53b6804d059..c61de4f53a106ec0f62d52d97d46dcf4b53b0db9 100644 (file)
@@ -13,7 +13,7 @@
 {{$live_update}}
 
 {{foreach $threads as $thread}}
-{{include file="file:{{$thread.template}}" item=$thread}}
+{{include file="{{$thread.template}}" item=$thread}}
 {{/foreach}}
 
 <div id="conversation-end"></div>
index a0c576b18bac9cc6ca6f8d04fdecf361cc4eae3b..4b28c218feb203d0cc81e76c71044df243677377 100644 (file)
 <!--<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div>-->
 <!--</div>-->
 {{foreach $item.children as $child}}
-       {{include file="file:{{$child.template}}" item=$child}}
+       {{include file="{{$child.template}}" item=$child}}
 {{/foreach}}
 
 {{if $item.flatten}}
index f22b11a751f662ad9768465ca1c99ef82ce80ae6..b812d533a3b0f8e49095f19d7ce3ab44edf31d3c 100644 (file)
@@ -17,7 +17,7 @@
                {{if $item.type == tag}}
                        {{include file="wall_item_tag.tpl"}}
                {{else}}
-                       {{include file="file:{{$item.template}}"}}
+                       {{include file="{{$item.template}}"}}
                {{/if}}
                
        {{/foreach}}
index a7516a8a31bc76f7d5434c4b64f12812d69c5260..158c30d6bd086a4d0a506c7ff1747dfdd951b56b 100644 (file)
@@ -8,7 +8,7 @@
                {{if $thread.type == tag}}
                        {{include file="wall_item_tag.tpl" item=$thread}}
                {{else}}
-                       {{include file="file:{{$thread.template}}" item=$thread}}
+                       {{include file="{{$thread.template}}" item=$thread}}
                {{/if}}
                
 </div>
index 68e6d5d1027f91876b4b0f05f66499c810292539..f6068d330a8bd6ba4cf704d750ca3789603d6c05 100644 (file)
        {{if $child.type == tag}}
                {{include file="wall_item_tag.tpl" item=$child}}
        {{else}}
-               {{include file="file:{{$item.template}}" item=$child}}
+               {{include file="{{$item.template}}" item=$child}}
        {{/if}}
 {{/foreach}}
 
index b0538b9791b027d1539b42924656fa397db418db..2d329e712e5f9ca508f2b910aa6fefaa6e576fc6 100644 (file)
 <div class="wall-item-outside-wrapper-end {{$item.indent}} {{$item.shiny}}" ></div>
 
 {{foreach $item.children as $child}}
-       {{include file="file:{{$child.template}}" item=$child}}
+       {{include file="{{$child.template}}" item=$child}}
 {{/foreach}}
 
 {{if $item.flatten}}
index 8a0150e5b0782f1b6595c3aea45e044d83059f15..82ceb23b985580a01d7b24b1e0f3b95f03cb2ed9 100644 (file)
@@ -95,7 +95,7 @@
 <div class="wall-item-outside-wrapper-end {{$item.indent}} {{$item.shiny}}" ></div>
 
 {{foreach $item.children as $child}}
-       {{include file="file:{{$child.template}}" item=$child}}
+       {{include file="{{$child.template}}" item=$child}}
 {{/foreach}}
 
 {{if $item.flatten}}
index a7516a8a31bc76f7d5434c4b64f12812d69c5260..158c30d6bd086a4d0a506c7ff1747dfdd951b56b 100644 (file)
@@ -8,7 +8,7 @@
                {{if $thread.type == tag}}
                        {{include file="wall_item_tag.tpl" item=$thread}}
                {{else}}
-                       {{include file="file:{{$thread.template}}" item=$thread}}
+                       {{include file="{{$thread.template}}" item=$thread}}
                {{/if}}
                
 </div>
index 386164f18c3ee5341d58ab2e5d387b27ecee82a7..e2d55113dc026e6046de5a628a936dd71b92b378 100644 (file)
        {{if $item.type == tag}}
                {{include file="wall_item_tag.tpl" item=$child}}
        {{else}}
-               {{include file="file:{{$item.template}}" item=$child}}
+               {{include file="{{$item.template}}" item=$child}}
        {{/if}}
 {{/foreach}}