diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php b/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php index 09cec04e9..ec3e55284 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php @@ -49,7 +49,8 @@ class Helpers{ }else{ $inherited = "layout_user.tpl"; } - $smarty -> display( 'extends:' . $inherited .'|home.tpl' ); + //extends:' . $inherited .'|register.tpl + $smarty -> display( 'register.tpl' ); } public function create_folders(){ diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/index_old.php b/code/ryzom/tools/server/ryzom_ams/www/html/index_old.php index b8be452dd..b9f7990ce 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/index_old.php +++ b/code/ryzom/tools/server/ryzom_ams/www/html/index_old.php @@ -17,6 +17,6 @@ if ( isset( $_GET["page"] ) ){ $page = $_GET["page"]; } //temporary set permission to 1 which = admin mode -$return = array('permission' => 1); +$return = array('permission' => 1, 'no_visible_elements' => 'TRUE'); -helpers :: loadTemplate( 'home' , $return ); +helpers :: loadTemplate( 'register' , $return ); diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/templates/layout.tpl b/code/ryzom/tools/server/ryzom_ams/www/html/templates/layout.tpl index 0c1c3655b..3cda0b11b 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/templates/layout.tpl +++ b/code/ryzom/tools/server/ryzom_ams/www/html/templates/layout.tpl @@ -55,6 +55,7 @@ + {if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"} + {/if}
- + {if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"} + +
+ +
+{/block}