Ejemplo n.º 1
0
         }
     } elseif ($pathInfos[5] === 'items') {
         if ($pathInfos[6] === 'ids' && isset($_GET['s'])) {
             $streamId = $_GET['s'];
             //StreamId for which to fetch the item IDs. The parameter may be repeated to fetch the item IDs from multiple streams at once (more efficient from a backend perspective than multiple requests).
             streamContentsItemsIds($streamId, $start_time, $count, $order, $exclude_target);
         }
     }
     break;
 case 'tag':
     if (isset($pathInfos[5]) && $pathInfos[5] === 'list') {
         $output = isset($_GET['output']) ? $_GET['output'] : '';
         if ($output !== 'json') {
             notImplemented();
         }
         tagList($_GET['output']);
     }
     break;
 case 'subscription':
     if (isset($pathInfos[5]) && $pathInfos[5] === 'list') {
         $output = isset($_GET['output']) ? $_GET['output'] : '';
         if ($output !== 'json') {
             notImplemented();
         }
         subscriptionList($_GET['output']);
     }
     break;
 case 'unread-count':
     $output = isset($_GET['output']) ? $_GET['output'] : '';
     if ($output !== 'json') {
         notImplemented();
Ejemplo n.º 2
0
 * 
 * This view is used when viewing a student record via
 * the SPRO screen.
 *
 * @license GPLv3
 * 
 * @since       3.0.0
 * @package     eduTrac SIS
 * @author      Joshua Parker <*****@*****.**>
 */
$app = \Liten\Liten::getInstance();
$app->view->extend('_layouts/dashboard');
$app->view->block('dashboard');
$flash = new \app\src\Core\etsis_Messages();
$stu = get_student(_h($prog[0]['stuID']));
$list = '"' . implode('","', tagList()) . '"';
?>

<script type="text/javascript">
$(function() {
<?php 
if (strlen($list) >= 3) {
    ?>
	$("#select2_5").select2({tags:[<?php 
    echo $list;
    ?>
]});
<?php 
} else {
    ?>
	$("#select2_5").select2({tags:[]});
Ejemplo n.º 3
0
                                $content = nl2br($content);
                            }
                            echo $content;
                        }
                    } else {
                        $content = formatBlogContent($content, 0, $fa['id']);
                        if ($fa['logsediter'] == "ubb") {
                            $content = nl2br($content);
                        }
                        echo $content;
                    }
                }
            }
        }
        if ($fa['tags'] != "" && $settingInfo['disTags'] == "1") {
            echo "<div style=\"clear:both;margin-top:10px;\"><strong>{$strTag}: </strong> " . tagList($fa['tags']) . "</div>";
        }
        ?>
			
				</div>
				<div class="Content-bottom">
				  <div class="ContentBLeft"></div>
				  <div class="ContentBRight"></div>
					  <?php 
        echo $strAttachmentsType;
        ?>
:
					  <a href="<?php 
        echo $category_url . $fa['cateId'] . $settingInfo['stype'];
        ?>
"><?php 
Ejemplo n.º 4
0
"><?php 
            echo $tb_url;
            ?>
</span><br/>
		<?php 
        }
        ?>
		<?php 
        if ($tags != "") {
            ?>
		<img src="images/tag.gif" style="margin:4px 2px -4px 0px" alt=""/><strong><?php 
            echo $strTag;
            ?>
:</strong> 
		<?php 
            echo tagList($tags);
            ?>
 <br/>
		<?php 
        }
        ?>
	  </div>
	  <?php 
    }
    ?>

	  <div class="Content-bottom">
		<div class="ContentBLeft"></div>
		<div class="ContentBRight"></div>
		<a href="#comm_top"><?php 
    echo $strLogComm . ": " . $fa['commNums'];
Ejemplo n.º 5
0
                            <h2 class="ContentAuthor"> 作者:<?php 
    print $aryDetail['author'];
    ?>
&nbsp;日期:<?php 
    echo format_time("Y-m-d H:i", $aryDetail['postTime']);
    ?>
 </h2>
                        </div>
                        <div id="log_1" >
                            <div class="Content-body" id="logcontent_211" style="table-layout: fixed;">
                            	<?php 
    echo $aryDetail['logContent'];
    ?>
                                <p><a class="more" href="read-211.html">[閱讀全文]</a></p>
                                <div style="clear:both;margin-top:10px;"><strong>標籤: </strong> <?php 
    print tagList($aryDetail['tags']);
    ?>
</div>
                            </div>
                            <div class="Content-bottom">
                                <div class="ContentBLeft"></div>
                                <div class="ContentBRight"></div>
                               <?php 
    echo $strAttachmentsType;
    ?>
:
                                <a href="<?php 
    echo $category_url . $fa['cateId'] . $settingInfo['stype'];
    ?>
"><?php 
    echo $aryDetail['name'];