Show
Ignore:
Timestamp:
11/01/06 08:44:18 (2 years ago)
Author:
mbonetti
Message:

Some more mobile theme tweaking

Location:
trunk/gregarius/themes/default/mobile
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/themes/default/mobile/feed.php

    r1302 r1618  
    11<?php if(rss_feed_do_title()) { ?> 
    2 <h3><a href="<?php echo rss_feed_url(); ?>"><?php echo rss_feed_title(); ?></a></h3> 
     2<h3> 
     3<?php if (rss_feed_favicon_url()) { ?> 
     4<img src="<?php echo rss_feed_favicon_url(); ?>" class="favicon" width="16" height="16" alt="" /> 
     5<?php } ?> 
     6<a href="<?php echo rss_feed_url(); ?>"><?php echo rss_feed_title(); ?></a></h3> 
    37<?php }  
    48rss_feed_items(); 
  • trunk/gregarius/themes/default/mobile/footer.php

    r1615 r1618  
    11<div id="footer"> 
    2 <p><a href="#top">TOP</a></p> 
    32<?php echo rss_nav() ?> 
    43</div> 
  • trunk/gregarius/themes/default/mobile/item.php

    r1617 r1618  
    2222<h5><a href="<?php echo rss_item_tagslink(); ?>"><?php echo __('Tags'); ?></a>:&nbsp;<span><?php echo rss_item_tags(); ?></span></h5> 
    2323<?php } ?> 
    24 <br /> 
    2524<div class="content"> 
    2625<?php echo rss_item_content(); ?> 
     
    3130<select id="it_<?= rss_item_id(); ?>" name="<?= rss_item_id(); ?>"> 
    3231    <option value="mobile_read" <?php  
    33         if( !$GLOBALS['rss'] -> currentItem -> isUnread && !$GLOBALS['rss'] -> currentItem -> isSticky ) {  
     32        if(!$GLOBALS['rss'] -> currentItem -> isSticky ) {  
    3433            echo "selected=\"selected\"";  
    35         } ?>>Read</option> 
    36     <option value="mobile_unread"   <?php 
    37           if( $GLOBALS['rss'] -> currentItem -> isUnread ) { 
    38             echo "selected=\"selected\"";  
    39           } 
    40         ?>>Unread</option> 
     34        } ?>><?= __('Read'); ?></option> 
     35    <option value="mobile_unread"><?= __('Unread'); ?></option> 
    4136    <option value="mobile_sticky"   <?php 
    4237          if( $GLOBALS['rss'] -> currentItem -> isSticky ) { 
    4338            echo "selected=\"selected\"";  
    4439          } 
    45         ?>>Sticky</option> 
     40        ?>><?= __('Sticky'); ?></option> 
    4641</select> 
    4742</div> 
  • trunk/gregarius/themes/default/mobile/itemlist.php

    r1617 r1618  
    99<input type='hidden' name='mobile' /> 
    1010<?php } ?> 
    11 <p><input type='submit' value='next' /></p> 
     11<p id="nextitems"><input type='submit' value='next' /></p> 
    1212</form> 
  • trunk/gregarius/themes/default/mobile/nav.php

    r1615 r1618  
    33$GLOBALS['rss']->nav->appendNavItem(getPath()."?cats",__('Categories')); 
    44$GLOBALS['rss']->nav->appendNavItem(getPath()."update.php?mobile", __('Refresh')); 
     5$GLOBALS['rss']->nav->appendNavItem("#top",'TOP of Page'); 
    56 
    67foreach ($GLOBALS['rss']->nav->items as $item) { 
  • trunk/gregarius/themes/default/mobile/style.css

    r1617 r1618  
    11body { 
    22background-color:white; 
    3 padding: 0 2px; 
     3padding: 0; 
    44margin:0; 
    5 font: normal xx-small Verdana, Arial, "MS Trebuchet", sans-serif; 
     5font: normal x-small Verdana, Arial, "MS Trebuchet", sans-serif; 
    66} 
    77input,select,option{font-size:xx-small;} 
     
    1111div.item.o { background-color: #f6f6f6;} 
    1212div.item .content { padding: 1em 4px; } 
    13 a {color:#c16; text-decoration:none;} 
     13a {color:#d54; text-decoration:none;} 
    1414img {border: 0px;} 
    1515h1,h2,h3,h4,h5 {display:block;} 
     
    2828} 
    2929#footer span {font-weight:bold;} 
     30.favicon { vertical-align:bottom; margin-right: 0.5em;} 
     31#nextitems{text-align:right;padding-right:2em}