ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE3/trunk/apps/mobile_frontend/modules/member/templates/homeSuccess.php @ 10348

Last change on this file since 10348 was 10348, checked in by ebihara, 14 years ago

#3287:added ability to delete the member's account himself

File size: 3.0 KB
Line 
1<?php if ($mobileTopGadgets) : ?>
2<?php foreach ($mobileTopGadgets as $gadget) : ?>
3<?php if ($gadget->isEnabled()) : ?>
4<?php include_component($gadget->getComponentModule(), $gadget->getComponentAction(), array('gadget' => $gadget)); ?>
5<?php endif; ?>
6<?php endforeach; ?>
7<?php endif; ?>
8
9<table width="100%" bgcolor="#EEEEFF">
10<tr><td colspan="2" align="center">
11<?php include_customizes('menu', 'top') ?>
12<hr color="#0D6DDF" size="3">
13</td></tr>
14
15<tr><td align="center" width="50%" valign="top">
16<?php echo image_tag_sf_image($sf_user->getMember()->getImageFileName(), array('size' => '120x120', 'format' => 'jpg')) ?>
17<br>
18<?php echo $sf_user->getMember()->getName() ?><br>
19</td>
20
21<td valign="top">
22<?php include_component('default', 'nav', array('type' => 'mobile_home_side')) ?>
23</td>
24</tr>
25
26<tr><td colspan="2" align="center">
27<hr color="#0d6ddf" size="3">
28<?php echo link_to(__('Profile'), 'member/profile') ?>
29<hr color="#0d6ddf" size="3">
30</td></tr>
31
32<tr><td colspan="2">
33<?php include_component('default', 'nav', array('type' => 'mobile_home')) ?>
34</td></tr>
35
36<tr><td colspan="2" align="center">
37<?php include_customizes('menu', 'bottom') ?>
38</td></tr>
39
40</table>
41
42<?php if ($mobileContentsGadgets) : ?>
43<?php foreach ($mobileContentsGadgets as $gadget) : ?>
44<?php if ($gadget->isEnabled()) : ?>
45<?php include_component($gadget->getComponentModule(), $gadget->getComponentAction(), array('gadget' => $gadget)); ?>
46<?php endif; ?>
47<?php endforeach; ?>
48<?php endif; ?>
49
50<br>
51
52<?php
53$list = array(
54  link_to(__('Edit profile'), 'member/editProfile'),
55);
56op_include_list('profileEdit', $list, array('title' => __('Edit profile')))
57?>
58
59<?php
60$list = array();
61$attributes = sfConfig::get('openpne_member_category_attribute');
62foreach (sfConfig::get('openpne_member_category') as $key => $value)
63{
64  $title = $key;
65  if (!empty($attributes[$key]['caption']))
66  {
67    $title = $attributes[$key]['caption'];
68  }
69
70  if (count($value))
71  {
72    $list[] = link_to($title, 'member/config?category='.$key);
73  }
74}
75$list[] = link_to(__('Setting easy login'), 'member/configUID');
76$list[] = link_to(__('Delete your %1% account', array('%1%' => $op_config['sns_name'])), 'member/delete');
77op_include_list('configEdit', $list, array('title' => __('Settings')));
78?>
79
80<?php if ($mobileBottomGadgets) : ?>
81<?php foreach ($mobileBottomGadgets as $gadget) : ?>
82<?php if ($gadget->isEnabled()) : ?>
83<?php include_component($gadget->getComponentModule(), $gadget->getComponentAction(), array('gadget' => $gadget)); ?>
84<?php endif; ?>
85<?php endforeach; ?>
86<?php endif; ?>
87
88<hr color="#0d6ddf">
89
90<?php echo link_to(__('Logout'), 'member/logout') ?><br>
91
92<?php slot('op_mobile_footer') ?>
93<table width="100%">
94<tbody><tr><td align="center" bgcolor="#0d6ddf">
95<font color="#eeeeee"><a href="<?php echo url_for('member/home') ?>" accesskey="0"><font color="#eeeeee">0. <?php echo __('home') ?></font></a> / <a href="#top"><font color="#eeeeee"><?php echo __('top') ?></font></a> / <a href="#bottom" accesskey="8"><font color="#eeeeee">8. <?php echo __('bottom') ?></font></a></font><br>
96</td></tr></tbody></table>
97<?php end_slot(); ?>
Note: See TracBrowser for help on using the repository browser.