mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 08:39:58 +09:00
issue 70 admin UI/UX developemnt in data import module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8799 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e46231ae96
commit
5d415ec3c3
8 changed files with 147 additions and 17 deletions
|
|
@ -3,5 +3,6 @@
|
|||
<grants />
|
||||
<permissions />
|
||||
<actions>
|
||||
<action name="getSiteAllList" type="model" standalone="true" />
|
||||
</actions>
|
||||
</module>
|
||||
|
|
|
|||
12
modules/site/queries/getSiteAllList.xml
Normal file
12
modules/site/queries/getSiteAllList.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<query id="getSiteAllList" action="select">
|
||||
<tables>
|
||||
<table name="sites" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="in" column="site_srl" var="siteSrls" />
|
||||
<condition operation="like" column="domain" var="domain" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
@ -21,6 +21,18 @@
|
|||
|
||||
}
|
||||
|
||||
function getSiteAllList()
|
||||
{
|
||||
if(Context::get('domain')) $args->domain = Context::get('domain');
|
||||
$columnList = array('domain', 'site_srl');
|
||||
|
||||
$siteList = array();
|
||||
$output = executeQueryArray('site.getSiteAllList', $args, $columnList);
|
||||
if($output->toBool()) $siteList = $output->data;
|
||||
|
||||
$this->add('site_list', $siteList);
|
||||
}
|
||||
|
||||
function makeGnbUrl($member_srl)
|
||||
{
|
||||
global $lang;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue