mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
parent
b1a4d322c7
commit
7b34a19574
2 changed files with 4 additions and 8 deletions
|
|
@ -47,11 +47,7 @@
|
||||||
|
|
||||||
<div class="x_clearfix">
|
<div class="x_clearfix">
|
||||||
<form cond="$page_navigation" action="./" class="x_pagination x_pull-left" no-error-return-url="true" style="margin-top:0">
|
<form cond="$page_navigation" action="./" class="x_pagination x_pull-left" no-error-return-url="true" style="margin-top:0">
|
||||||
{@
|
<input type="hidden" name="module" value="{$module}" />
|
||||||
$urlInfo = parse_url(getRequestUriByServerEnviroment());
|
|
||||||
parse_str($urlInfo['query'], $param);
|
|
||||||
}
|
|
||||||
<input loop="$param => $key, $val" cond="!in_array($key, array('mid', 'vid', 'act'))" type="hidden" name="{$key}" value="{$val}" />
|
|
||||||
<ul>
|
<ul>
|
||||||
<li class="x_disabled"|cond="!$page || $page == 1"><a href="{getUrl('page', '')}">« {$lang->first_page}</a></li>
|
<li class="x_disabled"|cond="!$page || $page == 1"><a href="{getUrl('page', '')}">« {$lang->first_page}</a></li>
|
||||||
<block cond="$page_navigation->first_page != 1 && $page_navigation->first_page + $page_navigation->page_count > $page_navigation->last_page - 1 && $page_navigation->page_count != $page_navigation->total_page">
|
<block cond="$page_navigation->first_page != 1 && $page_navigation->first_page + $page_navigation->page_count > $page_navigation->last_page - 1 && $page_navigation->page_count != $page_navigation->total_page">
|
||||||
|
|
@ -87,7 +83,7 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<form action="" class="search x_input-append center" no-error-return-url="true">
|
<form action="" class="search x_input-append center" no-error-return-url="true">
|
||||||
<input loop="$param => $key, $val" cond="!in_array($key, array('mid', 'vid', 'act', 'page', 'search_target', 'search_keyword'))" type="hidden" name="{$key}" value="{$val}" />
|
<input type="hidden" name="module" value="{$module}" />
|
||||||
<select cond="count($module_category)" name="module_category_srl" title="{$lang->module_category}" style="margin-right:4px">
|
<select cond="count($module_category)" name="module_category_srl" title="{$lang->module_category}" style="margin-right:4px">
|
||||||
<option value="" selected="selected"|cond="!$module_category_srl">{$lang->all}</option>
|
<option value="" selected="selected"|cond="!$module_category_srl">{$lang->all}</option>
|
||||||
<option value="0" selected="selected"|cond="$module_category_srl==='0'">{$lang->not_exists}</option>
|
<option value="0" selected="selected"|cond="$module_category_srl==='0'">{$lang->not_exists}</option>
|
||||||
|
|
|
||||||
|
|
@ -908,9 +908,9 @@ class moduleAdminController extends module
|
||||||
$buff = array("<?php if(!defined('__XE__')) exit();");
|
$buff = array("<?php if(!defined('__XE__')) exit();");
|
||||||
foreach($langMap[$langCode] as $code => $value)
|
foreach($langMap[$langCode] as $code => $value)
|
||||||
{
|
{
|
||||||
$buff[] = sprintf('$lang[\'%s\'] = \'%s\';', $code, addcslashes($value, "'"));
|
$buff[] = sprintf('$lang[%s] = %s;', var_export(strval($code), true), var_export(strval($value), true));
|
||||||
}
|
}
|
||||||
if (!Rhymix\Framework\Storage::write(sprintf('%s/%d.%s.php', $cache_path, $args->site_srl, $langCode), join(PHP_EOL, $buff)))
|
if (!Rhymix\Framework\Storage::write(sprintf('%s/%d.%s.php', $cache_path, $args->site_srl, $langCode), implode(PHP_EOL, $buff)))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue