Project

General

Profile

t1966-check.patch

Youichi Kimura, 2012-03-19 19:18

Download (736 Bytes)

View differences:

apps/pc_backend/templates/layout.php
17 17

  
18 18
<div id="header">
19 19
<h1><?php echo link_to(__('%sns% Administration', array('%sns%' => $op_config['sns_name'])), '@homepage') ?></h1>
20
<span id="visit-site"><a href="<?php echo app_url_for('pc_frontend', '@homepage', true) ?>" target="_blank"><?php echo __('Visit Site') ?></a></span>
20
<span id="visit-site"><a href="<?php echo app_url_for('pc_frontend', array('sf_route' => 'homepage'), true) ?>" target="_blank"><?php echo __('Visit Site') ?></a></span>
21 21
</div>
22 22

  
23 23
<?php if ($sf_user->isAuthenticated()) : ?>