Changeset 3307

Show
Ignore:
Timestamp:
05/21/07 04:03:17 (20 months ago)
Author:
inureyes
Message:

#180

  • Move to trunk / 1.5 tree (sandbox [3292])
Files:
10 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/blog/entry/index.php

    r3124 r3307  
    1212if (empty($entries)) { 
    1313    header('HTTP/1.1 404 Not Found'); 
    14     dress('article_rep', '<div style="text-align:center;font-size:14px;font-weight:bold;padding-top:50px;margin:50px 0;color:#333;background:url(' . $service['path'] . '/image/warning.gif) no-repeat top center;">' . _text('존재하지 않는 페이지입니다.') . '</div>', $view); 
     14    if (empty($skin->pageError)) {  
     15        dress('article_rep', '<div style="text-align:center;font-size:14px;font-weight:bold;padding-top:50px;margin:50px 0;color:#333;background:url(' . $service['path'] . '/image/warning.gif) no-repeat top center;">' . _text('존재하지 않는 페이지입니다.') . '</div>', $view); 
     16    } else { 
     17        dress('article_rep', NULL, $view);  
     18        dress('page_error', $skin->pageError, $view); 
     19    } 
    1520} else { 
    1621    require ROOT . '/lib/piece/blog/entries.php'; 
  • branches/1.5/blog/item.php

    r3124 r3307  
    6161    if (empty($entries)) { 
    6262        header('HTTP/1.1 404 Not Found'); 
    63         dress('article_rep', '<div style="text-align:center;font-size:14px;font-weight:bold;padding-top:50px;margin:50px 0;color:#333;background:url(' . $service['path'] . '/image/warning.gif) no-repeat top center;">' . _text('존재하지 않는 페이지입니다.') . '</div>', $view); 
     63        if (empty($skin->pageError)) {  
     64            dress('article_rep', '<div style="text-align:center;font-size:14px;font-weight:bold;padding-top:50px;margin:50px 0;color:#333;background:url(' . $service['path'] . '/image/warning.gif) no-repeat top center;">' . _text('존재하지 않는 페이지입니다.') . '</div>', $view); 
     65        } else{ 
     66            dress('article_rep', NULL, $view);  
     67            dress('page_error', $skin->pageError, $view); 
     68        } 
    6469    } else { 
    6570        require ROOT . '/lib/piece/blog/entries.php'; 
  • branches/1.5/lib/blog.skin.php

    r3305 r3307  
    6060    var $randomTags; 
    6161    var $s_link_rep; 
     62    var $pageError; 
    6263    var $aux; 
    6364    var $sidebarBasicModules = array(); 
     
    245246        list($sval, $this->comment) = $this->cutSkinTag($sval, 'rp'); 
    246247         
    247          
     248        list($sval, $this->pageError) = $this->cutSkinTag($sval, 'page_error');  
    248249        list($sval, $this->entry) = $this->cutSkinTag($sval, 'article_rep'); 
    249250        list($sval, $this->pagingItem) = $this->cutSkinTag($sval, 'paging_rep'); 
  • branches/1.5/skin/tistory/skin.html

    r3124 r3307  
    182182                </div> 
    183183            </s_article_protected> 
    184  
     184             
     185            <s_page_error>  
     186                <div id="page-error">존재하지 않는 페이지입니다.</div>  
     187            </s_page_error> 
     188             
    185189            <s_article_rep> 
    186190                <div class="entry"> 
  • branches/1.5/skin/tistory/style.css

    r2510 r3307  
    224224.entryProtected .submit  { width:50px; padding-top:2px; height:20px; background-color:#ccc;} 
    225225 
     226/* page error*/  
     227#page-error  
     228{  
     229    font-weight          : bold;  
     230    padding              : 200px 0;  
     231    text-align           : center;  
     232} 
     233 
    226234.article                 { width:500px; margin:5px 5px 30px 5px; overflow:hidden;} 
    227235.article a:link          { color:#5a5194;  text-decoration:none;} 
  • trunk/blog/entry/index.php

    r3124 r3307  
    1212if (empty($entries)) { 
    1313    header('HTTP/1.1 404 Not Found'); 
    14     dress('article_rep', '<div style="text-align:center;font-size:14px;font-weight:bold;padding-top:50px;margin:50px 0;color:#333;background:url(' . $service['path'] . '/image/warning.gif) no-repeat top center;">' . _text('존재하지 않는 페이지입니다.') . '</div>', $view); 
     14    if (empty($skin->pageError)) {  
     15        dress('article_rep', '<div style="text-align:center;font-size:14px;font-weight:bold;padding-top:50px;margin:50px 0;color:#333;background:url(' . $service['path'] . '/image/warning.gif) no-repeat top center;">' . _text('존재하지 않는 페이지입니다.') . '</div>', $view); 
     16    } else { 
     17        dress('article_rep', NULL, $view);  
     18        dress('page_error', $skin->pageError, $view); 
     19    } 
    1520} else { 
    1621    require ROOT . '/lib/piece/blog/entries.php'; 
  • trunk/blog/item.php

    r3124 r3307  
    6161    if (empty($entries)) { 
    6262        header('HTTP/1.1 404 Not Found'); 
    63         dress('article_rep', '<div style="text-align:center;font-size:14px;font-weight:bold;padding-top:50px;margin:50px 0;color:#333;background:url(' . $service['path'] . '/image/warning.gif) no-repeat top center;">' . _text('존재하지 않는 페이지입니다.') . '</div>', $view); 
     63        if (empty($skin->pageError)) {  
     64            dress('article_rep', '<div style="text-align:center;font-size:14px;font-weight:bold;padding-top:50px;margin:50px 0;color:#333;background:url(' . $service['path'] . '/image/warning.gif) no-repeat top center;">' . _text('존재하지 않는 페이지입니다.') . '</div>', $view); 
     65        } else{ 
     66            dress('article_rep', NULL, $view);  
     67            dress('page_error', $skin->pageError, $view); 
     68        } 
    6469    } else { 
    6570        require ROOT . '/lib/piece/blog/entries.php'; 
  • trunk/lib/blog.skin.php

    r3305 r3307  
    6060    var $randomTags; 
    6161    var $s_link_rep; 
     62    var $pageError; 
    6263    var $aux; 
    6364    var $sidebarBasicModules = array(); 
     
    245246        list($sval, $this->comment) = $this->cutSkinTag($sval, 'rp'); 
    246247         
    247          
     248        list($sval, $this->pageError) = $this->cutSkinTag($sval, 'page_error');  
    248249        list($sval, $this->entry) = $this->cutSkinTag($sval, 'article_rep'); 
    249250        list($sval, $this->pagingItem) = $this->cutSkinTag($sval, 'paging_rep'); 
  • trunk/skin/tistory/skin.html

    r3124 r3307  
    182182                </div> 
    183183            </s_article_protected> 
    184  
     184             
     185            <s_page_error>  
     186                <div id="page-error">존재하지 않는 페이지입니다.</div>  
     187            </s_page_error> 
     188             
    185189            <s_article_rep> 
    186190                <div class="entry"> 
  • trunk/skin/tistory/style.css

    r2510 r3307  
    224224.entryProtected .submit  { width:50px; padding-top:2px; height:20px; background-color:#ccc;} 
    225225 
     226/* page error*/  
     227#page-error  
     228{  
     229    font-weight          : bold;  
     230    padding              : 200px 0;  
     231    text-align           : center;  
     232} 
     233 
    226234.article                 { width:500px; margin:5px 5px 30px 5px; overflow:hidden;} 
    227235.article a:link          { color:#5a5194;  text-decoration:none;}