(no commit message)
[atutor.git] / docs / themes / mobile / users / index.tmpl.php
index 1c4420c..2f41cda 100644 (file)
@@ -1,14 +1,14 @@
 <?php require(AT_INCLUDE_PATH.'header.inc.php'); ?>
 
 <div id="my_courses_container">
-<ol id="tools">
+<ul class="my-courses-list-ul" >
 
 <?php foreach ($this->courses as $row):
        static $counter;
        $counter++;
 ?>
 
-<li class="top-tool">
+<li class="my-courses-list">
   <?php echo '<a href="'.url_rewrite('bounce.php?course=' . $row['course_id']) . '"> '.htmlentities($row['title']).'</a>' ?>
   <?php if ($row['last_cid']): ?>
                  <a class="my-courses-resume" href="bounce.php?course=<?php echo $row['course_id'].SEP.'p='.urlencode('content.php?cid='.$row['last_cid']); ?>"><img src="<?php echo $_base_href;  ?>themes/default/images/resume.png" border="" alt="<?php echo _AT('resume'); ?>" title="<?php echo _AT('resume'); ?>" /></a>
     for($i=$start;$i<=$end; $i++){
        $count = $i;
        if (isset($this->all_news)) {
-       
-               //echo mb_strimwidth("Hello World", 0, 10, "...");
-               
-               echo '<div class="hide-show-container">'.'<h4>' .'<a class="results-hide-show-link content-expand " href="javascript:void(0);" role="search"  aria-live="assertive"     tabindex="1">'.'click me';
-               echo $this->all_news[$i]['thumb'].'</a>';
-               echo '</h4>'; 
-               
-               /*
-                * <?php
-
-    if (strlen($post->post_title) > 8)
-       echo substr($post->post_title, 0, 8) . ' ...';
-    else
-       echo $post->post_title;
-
-?>
-                */
-               
-               echo '<div class="results-display">';
-           echo '<ul class="fl-list-menu fl-list-brief">';
+           echo '<ul class="current_list">';
              if(isset($this->all_news[$i]['thumb'])){
-                   echo '<li>' . $this->all_news[$i]['link'].'</li>' ;
+                   echo '<li><img src="'.$this->all_news[$i]['thumb'].'" alt="'.$this->all_news[$i]['alt'].'" title="'.$this->all_news[$i]['alt'].'"/> ' . $this->all_news[$i]['link'] .' <br />';
                    if($this->all_news[$i]['object']['course_id']){
-                   echo '<li>'.'<a class="flc-screenNavigator-backButton" href="bounce.php?course='.$this->all_news[$i]['object']['course_id'].'">'.$this->all_news[$i]['course'].'</a>)';
+                   echo '<span class="current_list_date_time">'.'Posted in&nbsp;'.'<a href="bounce.php?course='.$this->all_news[$i]['object']['course_id'].'">'.$this->all_news[$i]['course'].'</a>';
                    }
-                   //echo ''.AT_DATE('%F %j, %g:%i',$this->all_news[$i]['time']).'</li>';
+                   echo '&nbsp;on&nbsp;'.AT_DATE('%F %j, %g:%i',$this->all_news[$i]['time']).'</span></li>';
                }
            echo '</ul>';
-           echo '</div>';
-           echo '</div>';
-           
        }
     }
     if($perpage == count($this->all_news)){ ?>
-       <a href="<?php echo $_SERVER['PHP_SELF']; ?>?p=1"><?php echo _AT('show_pages'); ?></a>
+       <div id="show-pages"><a href="<?php echo $_SERVER['PHP_SELF']; ?>?p=1"><?php echo _AT('show_pages'); ?></a></div>
     <?php }else{ ?>
-       <div id="show-all"><a href="<?php echo $_SERVER['PHP_SELF']; ?>?p=all"><?php echo _AT('show_all'); ?></a></div>
+       <div id="show-all"><a href="<?php echo $_SERVER['PHP_SELF']; ?>?p=all"><?php echo "Show All"; ?></a></div>
     <?php } ?>
 <br /><br />
 </div>  
-
 <?php require(AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file