1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
2 <html xmlns="http://www.w3.org/1999/xhtml">
\r
4 <?php echo $this->Html->charset(); ?>
\r
6 <?php __('Ryzom Core: Web Translation Tool :: '); ?>
7 <?php echo $title_for_layout; ?>
10 echo $this->Html->meta('icon');
\r
11 //echo $this->Html->css('cake.generic');
\r
12 echo $this->Html->css(array('reset', 'text', 'grid', 'layout', 'nav', 'labelWidth'));
\r
13 echo '<!--[if IE 6]>'.$this->Html->css('ie6').'<![endif]-->';
\r
14 echo '<!--[if IE 7]>'.$this->Html->css('ie').'<![endif]-->';
\r
15 echo $this->Html->script(array('jquery-1.3.2.min.js', 'jquery-ui.js', 'jquery-fluid16.js'));
\r
16 echo $scripts_for_layout;
\r
19 function fix_layout() {
20 $('.dd').each(function(index) {
21 if ($.trim($(this).text()) == "")
23 $(this).html(' ');
27 $(function() { fix_layout(); });
31 <div class="container_16" style="background: none repeat scroll 0pt 0pt rgba(40, 60, 60, 0.6);">
32 <div class="grid_16">
\r
33 <div style="text-align: right; float: right">
34 <a href="http://dev.ryzom.com/"><img border="0" alt="" src="http://www.ryzom.com/data/logo.gif"></a>
36 <h2 id="branding" style="float: left">
\r
37 <a href="/">Ryzom Core: Web-Based Translation Tool</a>
\r
40 <div style="clear: both"></div>
42 <div class="clear" style="height: 10px; width: 100%;" style="clear: both"></div>
\r
44 if
\r (isset($this->params['prefix']) && $this->params['prefix'] == "admin") {
46 <div class="container_16" style="background: none repeat scroll 0pt 0pt rgba(40, 60, 60, 0.9);">
47 <div class="grid_16">
\r
48 <div style="margin:5px">
50 <?php echo $this->Html->link(__('Back to admin page', true), array('controller' => 'pages', 'action' => 'display', 'prefix' => 'admin', 'home')); ?>
54 <div style="clear: both"></div>
56 <div class="clear" style="height: 10px; width: 100%;" style="clear: both"></div>
\r
60 <div class="container_16" style="background: none repeat scroll 0pt 0pt rgba(40, 60, 60, 0.9);">
61 <div class="grid_16">
\r
63 if
\r (isset($assocPath)) {
65 <div style="margin:5px; float: left">
73 $path = $path[$model];
74 $controller = Inflector::pluralize(Inflector::underscore($model));
75 echo $this->Html->link(__(Inflector::pluralize($model), true), array('controller' => $controller, 'action' => 'index'));
85 <div style="margin: 5px; float: right"><h5>
87 if ($this->Session->read('Auth.User.id'))
88 echo $this->Html->link(__('Logout', true), array('admin' => false, 'controller' => 'users', 'action' => 'logout'));
89 else if ($this->params['controller'] == 'users')
90 echo $this->Html->link(__('Register', true), array('admin' => false, 'controller' => 'users', 'action' => 'register'));
93 <div style="clear: both"></div>
95 <div style="clear: both"></div>
97 <div class="clear" style="height: 10px; width: 100%;" style="clear: both"></div>
\r
98 <div class="container_16">
99 <!-- <div class="clear"></div>
\r-->
101 <div class="clear" style="height: 10px; width: 100%;"></div>
\r
103 <?php echo $this->Session->flash(); ?>
\r
104 <?php echo $this->Session->flash('auth'); ?>
106 <?php echo $content_for_layout; ?>
\r
108 <div class="clear" style="height: 10px; width: 100%;" style="clear: both"></div>
\r
110 <div class="clear"></div>
\r
112 <?php // echo $this->element('sql_dump'); ?>
\r