예제 #1
0
파일: Base.php 프로젝트: WLR86/f3-admin
 public function beforeRoute()
 {
     // check, if we have admin menu
     $id = \Admin\Models\Settings::fetch()->get('admin_menu_id');
     if (empty($id)) {
         // no admin menu => generate new
         \Dsc\Request::internal('Admin\\Controllers\\System->rebuildAdminMenuCode');
     }
 }
예제 #2
0
    echo $parent_panel_id;
    ?>
" class="accordion-toggle" data-toggle="collapse" data-target="#<?php 
    echo $act_panel_id;
    ?>
">
						<?php 
    echo $node->element->{'title'};
    ?>
					</a>
				</h4>
			</div>
			<div id="<?php 
    echo $act_panel_id;
    ?>
" class="panel-collapse collapse">
				<div class="panel-body">
					<ul>
<?php 
    $keys = array_keys($node->nodes);
    for ($i = 0; $i < $c_n; $i++) {
        \Dsc\Request::internal('\\Blog\\Modules\\Categories\\Module->displayCategoryNode', array($node->nodes[$keys[$i]], $selected_categories));
    }
    ?>
					</ul>
				</div>
			</div>
		</div>
	</li>
<?php 
}
예제 #3
0
			<span> > 
				List
			</span>
		</h1>
	</div>
	<div class="col-xs-12 col-sm-5 col-md-5 col-lg-8">
        <ul id="sparks" class="list-actions list-unstyled list-inline">
            <li>
                <a class="btn btn-default" href="./admin/redirect/route/create">Add New</a>
            </li>
        </ul>            	
	</div>
</div>

<div class="row">
    <div class="col-md-9">
    
        <form action="./admin/redirect/routes" method="post" id="routes">
            <?php 
echo $this->renderView("Redirect/Admin/Views::routes/list_datatable.php");
?>
        </form>
        
    </div>
    <div class="col-md-3">
	    <?php 
echo \Dsc\Request::internal("\\Redirect\\Admin\\Controllers\\Route->quickadd");
?>
	
    </div>
</div>
                        </div>
                        <div id="addCategoryForm" class="collapse">
                            <div class="panel-body">
                                
                                <div id="quick-form" action="./admin/shop/category/create" data-callback="Dsc.refreshCategories" data-message_container="quick-form-response-container">
                                
                                <div id="quick-form-response-container"></div>
                                
                                <div class="form-group">
                                    <input type="text" name="new_category_title" placeholder="Title" class="form-control" />
                                </div>
                                <!-- /.form-group -->
                                
                                <div id="parents" class="form-group">
                                    <?php 
echo \Dsc\Request::internal("\\Shop\\Admin\\Controllers\\Categories->selectList");
?>
                    
                                </div>
                                <!-- /.form-group -->        
                
                                <hr />
                
                                <div class="form-actions">
                
                                    <div>
                                        <button type="button" class="btn btn-primary dsc-ajax-submit" data-target="quick-form">Create</button>
                                    </div>
                
                                </div>
                                <!-- /.form-group -->
예제 #5
0
            <div class="tab-content">

                <div class="tab-pane active" id="tab-basics">
                
                    <?php 
echo $this->renderLayout('Users/Admin/Views::roles/fields_basics.php');
?>
                    
                                 
                </div>
                <!-- /.tab-pane -->
                
                <div class="tab-pane" id="tab-permissions">
                
                	<?php 
echo \Dsc\Request::internal('Users\\Admin\\Controllers\\Role->displayPermissions', array('flash' => $flash));
?>
                
                </div>
                <!-- /.tab-pane -->
                
                <?php 
foreach ((array) $this->event->getArgument('content') as $key => $content) {
    ?>
                <div class="tab-pane" id="tab-<?php 
    echo $key;
    ?>
">
                    <?php 
    echo $content;
    ?>
예제 #6
0
<?php

$attrs = $model->getOperationGroups();
?>
<form id="updaters" class="massupdaterForm" action="./admin/massupdate/updaters/<?php 
echo $selected_updater;
?>
/<?php 
echo $selected_model;
?>
" method="post">	
	<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12 pull-left">
		<h2>Attributes</h2>
		<?php 
echo \Dsc\Request::internal("\\MassUpdate\\Admin\\Controllers\\Updaters->getOperationsTableHtml", array($attrs, "update"));
?>
	</div>

	<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12 pull-left">
		<h2>Conditions</h2>
		<?php 
echo \Dsc\Request::internal("\\MassUpdate\\Admin\\Controllers\\Updaters->getOperationsTableHtml", array($attrs, "where"));
?>
	</div>
</form>
예제 #7
0
파일: list.php 프로젝트: dioscouri/f3-shop
	   <?php 
/* ?>
   <ul id="sparks" class="list-actions list-unstyled list-inline">
       <li>
           
       </li>
   </ul>   
   */
?>
         	
	</div>
</div>

<div class="row">
    <div class="col-md-9">
        <div class="well">
            <form class="searchForm" method="post">
                <?php 
echo $this->renderLayout('Shop/Admin/Views::manufacturers/list_datatable.php');
?>
            </form>
        </div>
    </div>
    <div class="col-md-3">
    
    	<?php 
echo \Dsc\Request::internal("\\Shop\\Admin\\Controllers\\Manufacturer->quickadd");
?>
		
    </div>
</div>
예제 #8
0
	</div>
	<div class="col-xs-12 col-sm-5 col-md-5 col-lg-8">
	   <?php 
/* ?>
   <ul id="sparks" class="list-actions list-unstyled list-inline">
       <li>
           
       </li>
   </ul>   
   */
?>
         	
	</div>
</div>

<div class="row">
    <div class="col-md-9">
        <div class="well">
            <form id="categories" class="searchForm" action="./admin/forums/categories" method="post">
                <?php 
echo $this->renderLayout('Forums/Admin/Views::categories/list_datatable.php');
?>
            </form>
        </div>
    </div>
    <div class="col-md-3">
      	<?php 
echo \Dsc\Request::internal("\\Forums\\Admin\\Controllers\\Category->quickadd");
?>
    </div>
</div>
예제 #9
0
</script>

<div class="row">
	<div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
		<h1 class="page-title txt-color-blueDark">
			<i class="fa fa-signal fa-fw "></i> 
				Mass Update
			<span> > 
				Updaters
			</span>
		</h1>
	</div>
</div>


<div class="no-padding">
	<div class="widget-body-toolbar">
		<div class="row">
	        <?php 
echo $this->renderLayout('MassUpdate/Admin/Views::updaters/list_toolbar.php');
?>
		</div>
	</div>
</div>	
<hr />
<div class="row" id="updater-data">
	<?php 
echo \Dsc\Request::internal("\\MassUpdate\\Admin\\Controllers\\Updaters->getUpdaterData", array($selected_updater, $selected_model));
?>
</div>