-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 테스트 겸 스킨 설정 부분에 패널 토글 추가.
- Loading branch information
Showing
6 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/// Copyright (c) 2004-2008, Needlworks / Tatter Network Foundation | ||
/// All rights reserved. Licensed under the GPL. | ||
/// See the GNU General Public License for more details. (/doc/LICENSE, /doc/COPYRIGHT) | ||
|
||
$fxList = array(); | ||
function setDetailPanel($id) { | ||
global $fxList; | ||
// if(in_array($fxList,$id)) return ''; | ||
array_push($fxList, $id); | ||
$hrefVal = TAB.TAB.TAB.TAB.TAB.TAB.TAB.'<dl class="panel-setting">'.CRLF | ||
.TAB.TAB.TAB.TAB.TAB.TAB.TAB.TAB.'<dt>'._t('패널 보기 설정').'</dt>'.CRLF | ||
.TAB.TAB.TAB.TAB.TAB.TAB.TAB.TAB.'<dd><a id="toggle'.$id.'" href="#">'._t('패널 보기').'</a></dd>'.CRLF | ||
.TAB.TAB.TAB.TAB.TAB.TAB.TAB.'</dl>'.CRLF; | ||
return $hrefVal; | ||
} | ||
|
||
function activateDetailPanelJS() { | ||
global $fxList; | ||
$jsVal = ''; | ||
foreach($fxList as $fxItem) { | ||
$jsVal .= "var ".$fxItem." = new Fx.Slide('".$fxItem."');".CRLF | ||
."$('toggle".$fxItem."').addEvent('click', function(e){".CRLF | ||
."e = new Event(e);".CRLF | ||
.$fxItem.".toggle();".CRLF | ||
."e.stop();".CRLF | ||
."});".CRLF; | ||
} | ||
return $jsVal; | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,6 +95,9 @@ | |
default: | ||
} | ||
} | ||
<?php | ||
echo activateDetailPanelJS(); | ||
?> | ||
//]]> | ||
</script> | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters