Changeset 23833 for events/phpframework

Show
Ignore:
Timestamp:
11/16/08 16:31:01 (8 weeks ago)
Author:
heavenshell
Message:

- modify template, pager delta
- add BaseUrl? helper, README.txt, icons, layout files

Location:
events/phpframework/zend_framework/trunk
Files:
10 added
54 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/zend_framework/trunk/app/configs/mail.ini

    r21268 r23833  
    66smtp.username = "" 
    77smtp.password = "" 
    8 mail.from     = "" 
     8mail.from     = "phwittr" 
  • events/phpframework/zend_framework/trunk/app/configs/setting.ini

    r21267 r23833  
    4747routes.account.defaults.key = "" 
    4848 
     49;; Delete status 
     50routes.delete.route = "statuses/destroy/:statuses_id/:token" 
     51routes.delete.defaults.module = "index" 
     52routes.delete.defaults.controller = "statuses" 
     53routes.delete.defaults.action = "destroy" 
     54routes.delete.defaults.statuses_id = "" 
     55routes.delete.defaults.token = "" 
     56 
    4957;; http://example.com/home 
    5058routes.home.route = "/home" 
  • events/phpframework/zend_framework/trunk/app/layouts/comment.phtml

    r15709 r23833  
    22<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja" dir="ltr"> 
    33<head> 
    4 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    5 <title>Phwittr</title> 
    6 <meta http-equiv="content-style-type" content="text/css" /> 
    7 <meta http-equiv="content-script-type" content="text/javascript" /> 
    8 <meta name="keywords" content="phwittr,phwitter,phitter,phittr,php,twitter" /> 
    9 <meta name="description" content="PHPのZend Frameworkで作成されたTwitterクローンです" /> 
    10 <link rev="made" href="mailto:heavenshell.jp&#64;gmail.com" /> 
    11 <link rel="index" href="/" /> 
    12 <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
    13 <!-- *** feed *** --> 
    14 <link rel="alternate" href="/feed/index.xml" type="application/rss+xml" title="RSS 2.0" /> 
    15 <!-- *** stylesheet *** --> 
    16 <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
    17 <!-- *** javascript *** --> 
    18 <script src="http://www.google.com/jsapi" type="text/javascript"></script> 
    19 <script type="text/javascript">google.load("jquery", "1.2");</script> 
     4    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
     5    <title>Phwittr</title> 
     6    <meta http-equiv="content-style-type" content="text/css" /> 
     7    <meta http-equiv="content-script-type" content="text/javascript" /> 
     8 
     9    <base href="" /> 
     10    <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
     11    <!-- *** stylesheet *** --> 
     12    <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
     13 
     14    <!-- *** javascript *** --> 
     15    <script src="/js/jquery.js" type="text/javascript"></script> 
     16    <script type="text/javascript"></script> 
     17 
    2018</head> 
    21 <body id="yourDomainName" class="indexBody"> 
     19 
     20<body id="status_page"> 
    2221  <div id="page"> 
    2322    <div id="header"> 
     
    2625    <div id="contents"> 
    2726      <!-- #wrapper --> 
    28       <div id="wrapper"> 
     27      <div class="wrapper"> 
    2928        <!-- #main --> 
    3029        <div id="main"> 
     
    3231        </div> 
    3332        <!-- / #main --> 
     33      </div> 
    3434    </div> 
    3535  </div> 
    36 </div> 
    3736</body> 
    3837</html> 
  • events/phpframework/zend_framework/trunk/app/layouts/default.phtml

    r15709 r23833  
    22<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja" dir="ltr"> 
    33<head> 
    4 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    5 <title>Phwittr</title> 
    6 <meta http-equiv="content-style-type" content="text/css" /> 
    7 <meta http-equiv="content-script-type" content="text/javascript" /> 
    8 <meta name="keywords" content="phwittr,phwitter,phitter,phittr,php,twitter" /> 
    9 <meta name="description" content="PHPのZend Frameworkで作成されたTwitterクローンです" /> 
    10 <link rev="made" href="mailto:heavenshell.jp&#64;gmail.com" /> 
    11 <link rel="index" href="/" /> 
    12 <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
    13 <!-- *** feed *** --> 
    14 <link rel="alternate" href="/feed/index.xml" type="application/rss+xml" title="RSS 2.0" /> 
    15 <!-- *** stylesheet *** --> 
    16 <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
    17 <!-- *** javascript *** --> 
    18 <script src="http://www.google.com/jsapi" type="text/javascript"></script> 
    19 <script type="text/javascript">google.load("jquery", "1.2");</script> 
     4    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
     5    <title>Phwittr</title> 
     6    <meta http-equiv="content-style-type" content="text/css" /> 
     7    <meta http-equiv="content-script-type" content="text/javascript" /> 
     8 
     9    <base href="" /> 
     10    <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
     11    <!-- *** stylesheet *** --> 
     12    <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
     13 
     14    <!-- *** javascript *** --> 
     15    <script src="/js/jquery.js" type="text/javascript"></script> 
     16    <script type="text/javascript"></script> 
     17 
    2018</head> 
    21 <body id="yourDomainName" class="indexBody"> 
     19 
     20<body id="index"> 
    2221  <div id="page"> 
    2322    <!-- #header --> 
     
    2524      <h1><a href="/"><img src="/img/share/phwittr_logo.gif" alt="phwittr" /></a></h1> 
    2625      <ul id="guideNav"> 
     26        <li><a href="/public-timeline">タイムライン</a></li> 
    2727        <li><a href="/login">ログイン</a></li> 
    2828        <li><a href="/signup">ユーザー登録</a></li> 
     
    3232    <div id="contents"> 
    3333      <!-- #wrapper --> 
    34       <div id="wrapper"> 
     34      <div class="wrapper"> 
    3535        <!-- #main --> 
    3636        <div id="main"> 
     
    4141      <!-- / #wrapper --> 
    4242      <!-- #sidenavi --> 
    43       <div id="sub">  
     43      <div id="sub"> 
    4444        <?php echo $this->layout()->login ?> 
    4545        <?php echo $this->layout()->sidenavi ?> 
     
    4949    <!-- #footer --> 
    5050    <div id="footer"> 
    51       <p class="copy"> 
    52         <center> 
    53           &copy;2008 <a href="#">Heavens hell</a>. 
    54           template by <a href="http://d.hatena.ne.jp/ku-suke">id:ku-suke</a> 
    55         </center> 
    56       </p> 
     51      <?php echo $this->render('footer.phtml') ?> 
    5752    </div> 
    5853    <!-- / #footer --> 
  • events/phpframework/zend_framework/trunk/app/layouts/error.phtml

    r15709 r23833  
    22<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja" dir="ltr"> 
    33<head> 
    4 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    5 <title>Phwittr</title> 
    6 <meta http-equiv="content-style-type" content="text/css" /> 
    7 <meta http-equiv="content-script-type" content="text/javascript" /> 
    8 <meta name="keywords" content="phwittr,phwitter,phitter,phittr,php,twitter" /> 
    9 <meta name="description" content="PHPのZend Frameworkで作成されたTwitterクローンです" /> 
    10 <link rev="made" href="mailto:heavenshell.jp&#64;gmail.com" /> 
    11 <link rel="index" href="/" /> 
    12 <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
    13 <!-- *** feed *** --> 
    14 <link rel="alternate" href="/feed/index.xml" type="application/rss+xml" title="RSS 2.0" /> 
    15 <!-- *** stylesheet *** --> 
    16 <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
    17 <!-- *** javascript *** --> 
    18 <script src="http://www.google.com/jsapi" type="text/javascript"></script> 
    19 <script type="text/javascript">google.load("jquery", "1.2");</script> 
     4    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
     5    <title>Phwittr</title> 
     6    <meta http-equiv="content-style-type" content="text/css" /> 
     7    <meta http-equiv="content-script-type" content="text/javascript" /> 
     8 
     9    <base href="" /> 
     10    <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
     11    <!-- *** stylesheet *** --> 
     12    <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
     13 
     14    <!-- *** javascript *** --> 
     15    <script src="/js/jquery.js" type="text/javascript"></script> 
    2016</head> 
    21 <body id="yourDomainName" class="indexBody"> 
     17<body> 
    2218  <div id="page"> 
    2319    <div id="header"> 
     
    3632  <!-- #footer --> 
    3733  <div id="footer"> 
    38     <p class="copy"> 
    39       <center> 
    40         &copy;2008 <a href="#">Heavens hell</a>. 
    41         template by <a href="http://d.hatena.ne.jp/ku-suke">id:ku-suke</a> 
    42       </center> 
    43     </p> 
     34    <?php echo $this->render('footer.phtml') ?> 
    4435  </div> 
    4536  <!-- / #footer --> 
  • events/phpframework/zend_framework/trunk/app/layouts/login.phtml

    r15709 r23833  
    22<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja" dir="ltr"> 
    33<head> 
    4 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    5 <title>Phwittr</title> 
    6 <meta http-equiv="content-style-type" content="text/css" /> 
    7 <meta http-equiv="content-script-type" content="text/javascript" /> 
    8 <meta name="keywords" content="phwittr,phwitter,phitter,phittr,php,twitter" /> 
    9 <meta name="description" content="PHPのZend Frameworkで作成されたTwitterクローンです" /> 
    10 <link rev="made" href="mailto:heavenshell.jp&#64;gmail.com" /> 
    11 <link rel="index" href="/" /> 
    12 <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
    13 <!-- *** feed *** --> 
    14 <link rel="alternate" href="/feed/index.xml" type="application/rss+xml" title="RSS 2.0" /> 
    15 <!-- *** stylesheet *** --> 
    16 <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
    17 <!-- *** javascript *** --> 
    18 <script src="http://www.google.com/jsapi" type="text/javascript"></script> 
    19 <script type="text/javascript">google.load("jquery", "1.2");</script> 
     4    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
     5    <title>Phwittr</title> 
     6    <meta http-equiv="content-style-type" content="text/css" /> 
     7    <meta http-equiv="content-script-type" content="text/javascript" /> 
     8 
     9    <base href="" /> 
     10    <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
     11    <!-- *** stylesheet *** --> 
     12    <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
     13 
     14    <!-- *** javascript *** --> 
     15    <script src="/js/jquery.js" type="text/javascript"></script> 
     16    <script type="text/javascript"></script> 
     17 
    2018</head> 
    21 <body id="yourDomainName" class="indexBody"> 
     19 
     20<body id="index"> 
    2221  <div id="page"> 
    2322    <!-- #header --> 
     
    2625      <ul id="guideNav"> 
    2726        <li><a href="/home">ホーム</a></li> 
     27        <li><a href="/account/archive">プロフィール</a></li> 
    2828        <li><a href="/account/setting">設定</a></li> 
    2929        <li><a href="/logout">ログアウト</a></li> 
     
    3333    <div id="contents"> 
    3434      <!-- #wrapper --> 
    35       <div id="wrapper"> 
     35      <div class="wrapper"> 
    3636        <!-- #main --> 
    3737        <div id="main"> 
     
    4242      <!-- / #wrapper --> 
    4343      <!-- #sidenavi --> 
    44       <div id="sub">  
     44      <div id="sub"> 
    4545        <?php echo $this->layout()->login ?> 
    4646        <?php echo $this->layout()->sidenavi ?> 
     
    5050    <!-- #footer --> 
    5151    <div id="footer"> 
    52       <p class="copy"> 
    53         <center> 
    54           &copy;2008 <a href="#">Heavens hell</a>. 
    55           template by <a href="http://d.hatena.ne.jp/ku-suke">id:ku-suke</a> 
    56         </center> 
    57       </p> 
     52      <?php echo $this->render('footer.phtml') ?> 
    5853    </div> 
    5954    <!-- / #footer --> 
  • events/phpframework/zend_framework/trunk/app/layouts/setting.phtml

    r15709 r23833  
    22<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja" dir="ltr"> 
    33<head> 
    4 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    5 <title>Phwittr</title> 
    6 <meta http-equiv="content-style-type" content="text/css" /> 
    7 <meta http-equiv="content-script-type" content="text/javascript" /> 
    8 <meta name="keywords" content="phwittr,phwitter,phitter,phittr,php,twitter" /> 
    9 <meta name="description" content="PHPのZend Frameworkで作成されたTwitterクローンです" /> 
    10 <link rev="made" href="mailto:heavenshell.jp&#64;gmail.com" /> 
    11 <link rel="index" href="/" /> 
    12 <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
    13 <!-- *** feed *** --> 
    14 <link rel="alternate" href="/feed/index.xml" type="application/rss+xml" title="RSS 2.0" /> 
    15 <!-- *** stylesheet *** --> 
    16 <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
    17 <!-- *** javascript *** --> 
    18 <script src="http://www.google.com/jsapi" type="text/javascript"></script> 
    19 <script type="text/javascript"> 
    20   google.load("jquery", "1.2"); 
    21 </script> 
     4    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
     5    <title>Phwittr</title> 
     6    <meta http-equiv="content-style-type" content="text/css" /> 
     7    <meta http-equiv="content-script-type" content="text/javascript" /> 
     8 
     9    <base href="" /> 
     10    <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
     11    <!-- *** stylesheet *** --> 
     12    <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
     13    <link rel="stylesheet" href="/js/jquery.jgrowl.css" type="text/css"/> 
     14    <!-- *** javascript *** --> 
     15    <script src="/js/jquery.js" type="text/javascript"></script> 
     16    <script type="text/javascript"> 
     17        $(document).ready(function() { 
     18            var message = $("#message").text(); 
     19            if (message != "") { 
     20                var timeout = setTimeout( 
     21                    function(){ 
     22                        $('#message').fadeOut(1000); 
     23                        clearTimeout(timeout); 
     24                    }, 
     25                5000); 
     26            } 
     27        }); 
     28    </script> 
    2229</head> 
    23 <body id="yourDomainName" class="indexBody"> 
     30<body id="sub_page"> 
    2431  <div id="page"> 
    2532    <!-- #header --> 
     
    3542    <div id="contents"> 
    3643      <!-- #wrapper --> 
    37       <div id="wrapper"> 
     44      <div class="wrapper"> 
    3845        <!-- #main --> 
    39         <div id="main"> 
    4046          <?php echo $this->layout()->content ?> 
    41         </div> 
    4247        <!-- / #main --> 
    4348      </div> 
     
    4651    <!-- #footer --> 
    4752    <div id="footer"> 
    48       <p class="copy"> 
    49         <center> 
    50           &copy;2008 <a href="#">Heavens hell</a>. 
    51           template by <a href="http://d.hatena.ne.jp/ku-suke">id:ku-suke</a> 
    52         </center> 
    53       </p> 
     53      <?php echo $this->render('footer.phtml') ?> 
    5454    </div> 
    5555    <!-- / #footer --> 
  • events/phpframework/zend_framework/trunk/app/layouts/signin.phtml

    r15709 r23833  
    22<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja" dir="ltr"> 
    33<head> 
    4 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    5 <title>Phwittr</title> 
    6 <meta http-equiv="content-style-type" content="text/css" /> 
    7 <meta http-equiv="content-script-type" content="text/javascript" /> 
    8 <meta name="keywords" content="phwittr,phwitter,phitter,phittr,php,twitter" /> 
    9 <meta name="description" content="PHPのZend Frameworkで作成されたTwitterクローンです" /> 
    10 <link rev="made" href="mailto:heavenshell.jp&#64;gmail.com" /> 
    11 <link rel="index" href="/" /> 
    12 <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
    13 <!-- *** feed *** --> 
    14 <link rel="alternate" href="/feed/index.xml" type="application/rss+xml" title="RSS 2.0" /> 
    15 <!-- *** stylesheet *** --> 
    16 <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
    17 <!-- *** javascript *** --> 
    18 <script src="http://www.google.com/jsapi" type="text/javascript"></script> 
    19 <script type="text/javascript"> 
    20   google.load("jquery", "1.2"); 
    21 </script> 
     4    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
     5    <title>Phwittr</title> 
     6    <meta http-equiv="content-style-type" content="text/css" /> 
     7    <meta http-equiv="content-script-type" content="text/javascript" /> 
     8 
     9    <base href="" /> 
     10    <link rel="shortcut icon" href="/img/share/favicon.ico" /> 
     11    <!-- *** stylesheet *** --> 
     12    <link href="/css/import.css" rel="stylesheet" type="text/css" media="all" /> 
     13 
     14    <!-- *** javascript *** --> 
     15    <script src="/js/jquery.js" type="text/javascript"></script> 
    2216</head> 
    23 <body id="yourDomainName" class="indexBody"> 
     17<body id="main1_page"> 
    2418  <div id="page"> 
    2519    <!-- #header --> 
     
    2721      <h1><a href="/"><img src="/img/share/phwittr_logo.gif" alt="phwittr" /></a></h1> 
    2822      <ul id="guideNav"> 
     23        <li><a href="/public-timeline">タイムライン</a></li> 
    2924        <li><a href="/login">ログイン</a></li> 
    3025        <li><a href="/signup">ユーザー登録</a></li> 
     
    3429    <div id="contents"> 
    3530      <!-- #wrapper --> 
    36       <div id="wrapper"> 
     31      <div class="wrapper"> 
    3732        <!-- #main --> 
    3833        <div id="main"> 
     
    4540    <!-- #footer --> 
    4641    <div id="footer"> 
    47       <p class="copy"> 
    48         <center> 
    49           &copy;2008 <a href="#">Heavens hell</a>. 
    50           template by <a href="http://d.hatena.ne.jp/ku-suke">id:ku-suke</a> 
    51         </center> 
    52       </p> 
     42      <?php echo $this->render('footer.phtml') ?> 
    5343    </div> 
    5444    <!-- / #footer --> 
  • events/phpframework/zend_framework/trunk/app/modules/index/controllers/AccountController.php

    r22876 r23833  
    351351            } 
    352352 
    353             $this->_helper->viewRenderer('message'); 
    354353            $this->assign('message', '更新が完了しました。'); 
    355354        } 
     
    428427            } 
    429428 
    430             $this->_helper->viewRenderer('message'); 
    431429            $this->assign('message', '更新が完了しました。'); 
    432430        } 
  • events/phpframework/zend_framework/trunk/app/modules/index/controllers/FollowersController.php

    r22876 r23833  
    5252            return; 
    5353        } 
    54         $this->_helper->layout->setLayout('setting'); 
     54        $this->_helper->layout->setLayout('follow'); 
    5555    } 
    5656 
     
    7373    public function indexAction() 
    7474    { 
    75         $name = $this->_getParam('name', $this->_user->getUserInfo('user_name')); 
    76         $users    = $this->getService('Users') 
    77                         ->getUserInfoByName($name); 
     75        $name  = $this->_getParam('name', $this->_user->getUserInfo('user_name')); 
     76        $users = $this->getService('Users') 
     77                    ->getUserInfoByName($name); 
    7878 
    7979        if ($users === null) { 
  • events/phpframework/zend_framework/trunk/app/modules/index/controllers/FriendRequestsController.php

    r22876