public function showAddTag($request, $response)
 {
     /*{{{*/
     $response->objType = $request->objType;
     $response->objTypeStr = $request->objTypeStr;
     $response->objId = $request->objId;
     $response->tagType = $request->tagType;
     $tagStrArr = CmsTagType::getList();
     $response->tagTitle = $tagStrArr[$response->tagType];
     if (CmsTagType::PAPER == $response->tagType) {
         $ids = DAL::get()->queryPaperListNotAbandon('Paper');
         $response->paperList = DAL::get()->find('Paper', $ids);
     }
 }
Ejemplo n.º 2
0
echo $objTitle;
?>
</td>
            </tr>
            <tr>
                <td>对象URL:</td>
                <td><?php 
echo $objUrl;
?>
</td>
            </tr>
        </table>
    </div>
    <div class="bc taglist">
    <?php 
foreach (CmsTagType::getList() as $key => $value) {
    ?>
        <div class="tag-type-title">
            <span class="title">TAG类型:<?php 
    echo $value;
    ?>
</span>
            <?php 
    if (!in_array($key, CmsTagType::$unAddTagTypeArr)) {
        ?>
                <a class="blue addTag-btn fr mr5" href="showaddtag?objType=<?php 
        echo $objType;
        ?>
&objId=<?php 
        echo $objId;
        ?>