Changeset 1737

Show
Ignore:
Timestamp:
06/19/07 13:04:29 (18 months ago)
Author:
cfriesen
Message:

Fix the PHP short tags in the mobile theme.

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

Legend:

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

    r1618 r1737  
    2727<?php if(!hidePrivate()) { ?> 
    2828<div class="mobileform"> 
    29 <label for="it_<?= rss_item_id(); ?>">State:</label> 
    30 <select id="it_<?= rss_item_id(); ?>" name="<?= rss_item_id(); ?>"> 
     29<label for="it_<?php print(rss_item_id()); ?>">State:</label> 
     30<select id="it_<?php print(rss_item_id()); ?>" name="<?php print(rss_item_id()); ?>"> 
    3131    <option value="mobile_read" <?php  
    3232        if(!$GLOBALS['rss'] -> currentItem -> isSticky ) {  
    3333            echo "selected=\"selected\"";  
    34         } ?>><?= __('Read'); ?></option> 
    35     <option value="mobile_unread"><?= __('Unread'); ?></option> 
     34        } ?>><?php print(__('Read')); ?></option> 
     35    <option value="mobile_unread"><?php print(__('Unread')); ?></option> 
    3636    <option value="mobile_sticky"   <?php 
    3737          if( $GLOBALS['rss'] -> currentItem -> isSticky ) { 
    3838            echo "selected=\"selected\"";  
    3939          } 
    40         ?>><?= __('Sticky'); ?></option> 
     40        ?>><?php print(__('Sticky')); ?></option> 
    4141</select> 
    4242</div> 
  • trunk/gregarius/themes/default/mobile/itemlist.php

    r1624 r1737  
    44    <p>(<a href="<?php echo getPath(); ?>?mobilelogin&amp;media=mobile">Login</a> to mark items read)</p> 
    55<?php } ?> 
    6 <form method="post" action="<?= getPath(); ?>"> 
     6<form method="post" action="<?php print(getPath()); ?>"> 
    77<?php } rss_itemlist_feeds(); ?> 
    88<?php if( !isMobileDevice() ) { ?> 
  • trunk/gregarius/themes/default/mobile/navitem.php

    r1615 r1737  
    55$ak = ++$GLOBALS['__ak__']; 
    66?> 
    7 <p><span>[<?= $ak; ?>] </span><a accesskey="<?= $ak; ?>" href="<?php echo rss_nav_item_href(); ?>"><?php echo rss_nav_item_label(); ?></a></p> 
     7<p><span>[<?php print($ak); ?>] </span><a accesskey="<?php print($ak); ?>" href="<?php echo rss_nav_item_href(); ?>"><?php echo rss_nav_item_label(); ?></a></p>