Esempio n. 1
0
        <a href="<?php 
echo getState('back_url');
?>
"><?php 
echo API::lc();
?>
返回列表</a>
      </div>
      <?php 
echo $this->renderPartial('//layouts/_location', array('action' => $action));
?>
      <span class='action on'>编辑内容 # <?php 
echo $model->id;
?>
 - <?php 
echo cnSubstr($model->title, 0, 20);
?>
</span>
      
      <div class='flR'>
        <span class="control_tree toggle" rel="#w_tree_wrap">栏目类别</span>
      </div>

    </div><!-- w_location end -->
    
    <?php 
//echo $this->renderPartial( '_search',array('keyword' => $keyword),false,true)
?>

    <div id="w_content">
      <?php 
Esempio n. 2
0
<div id="w_middle">
  <div id="w_right">
    <div id="w_location" >
      <div class='location'>
        <a href="<?php 
echo url('cp/user/index');
?>
" >用户管理</a><?php 
echo API::rchart();
?>
      </div>
      <span class='action on '>编辑用户 # <?php 
echo $model->id;
?>
 - <?php 
echo cnSubstr($model->username, 0, 20);
?>
 </span>
      <?php 
echo $this->renderPartial('_left');
?>
    </div>
    
    <?php 
echo $this->renderPartial('_search', array('keyword' => $keyword), false, true);
?>
    <div id="w_content">
      <?php 
echo $this->renderPartial('_form', array('model' => $model));
?>
    </div>
Esempio n. 3
0
<?php

if (!$is_update) {
    ?>
  <div class='mac_panel_wrap w800P'>
<?php 
    $this->beginWidget('application.extensions.Flatmacpanel', array('title' => Yii::t('cp', 'Edit Article') . ' <span class="filter radius4">' . $model->id . '</span> ' . cnSubstr($model->title, 0, 20)));
    ?>
  <?php 
}
?>

<input type="hidden" class='return_panel' value="<?php 
echo $panel_ident;
?>
" />
<?php 
echo $this->renderPartial('_form', array('model' => $model, 'leafs' => $leafs, 'leaf' => $model->leaf, 'panel_ident' => $panel_ident));
?>

<?php 
if (!$is_update) {
    ?>
  
  <div class="ajax_overlay" ></div>
  <?php 
    $this->endWidget('application.extensions.Flatmacpanel');
    ?>
</div>
  <?php 
}