My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Lyra Backend</title>
<link rel="shortcut icon" href="/favicon.ico" />
<?php use_stylesheet('admin.css');
include_javascripts();
include_stylesheets();
?>
</head>
<body>
<div id="container">
<div id="header">
<h1>
<?php include_slot('page_title') ?>
</h1>
</div>
<?php if ($sf_user->isAuthenticated()):
$module = $sf_request->getParameter('module');?>
<div id="menu">
<ul>
<li>
<?php echo link_to(__('MENU_HOME'), '@homepage') ?>
</li>
<li <?php echo ($module == 'article' ? 'class="active"' : ''); ?>>
<?php echo link_to(__('MENU_ARTICLES'), '@lyra_article_article') ?>
</li>
<li <?php echo ($module == 'comment' ? 'class="active"' : ''); ?>>
<?php echo link_to(__('MENU_COMMENTS'), '@lyra_comment_comment') ?>
</li>
<li <?php echo ($module == 'catalog' || $module == 'label' ? 'class="active"' : ''); ?>>
<?php echo link_to(__('MENU_CATALOGS'), '@lyra_catalog_catalog') ?>
</li>
<li <?php echo ($module == 'sfGuardUser' ? 'class="active"' : ''); ?>>
<?php echo link_to(__('MENU_USERS'), '@sf_guard_user') ?>
</li>
<li <?php echo ($module == 'sfGuardGroup' ? 'class="active"' : ''); ?>>
<?php echo link_to(__('MENU_GROUPS'), '@sf_guard_group') ?>
</li>
<li <?php echo ($module == 'sfGuardPermission' ? 'class="active"' : ''); ?>>
<?php //echo link_to('Permissions', '@sf_guard_permission') ?>
</li>
<li <?php echo ($module == '' ? 'class="active"' : ''); ?>>
<?php echo link_to(__('MENU_LOGOUT'), '@sf_guard_signout') ?>
</li>
</ul>
</div>
<?php endif; ?>
<div id="content">
<?php echo $sf_content ?>
<div class="clear">&nbsp;</div>
</div>
<div class="clear">&nbsp;</div>
</div>
</body>
</html>
Show details Hide details

Change log

r23 by gimassimo on Nov 24, 2009   Diff
Installed sfDoctrineGuardPlugin, secured
backend application with login, enabled
user and groups management in backend,
added article-user and label-user
relations in schema.yml and fixtures.
Go to: 
Project members, sign in to write a code review

Older revisions

r22 by gimassimo on Nov 22, 2009   Diff
Added label management module in
backend. Fixed: LyraCatalog field
name; set notnull true in schema.yml.
Fixed: labels displayed in wrong order
inside select lists on article form.
r21 by gimassimo on Nov 17, 2009   Diff
Added catalog management module in
backend.
r20 by gimassimo on Nov 12, 2009   Diff
Added comment management module in
backend. Fixed: wrong redirection URL
after comment submission in frontend.
All revisions of this file

File info

Size: 2206 bytes, 57 lines
Hosted by Google Code