isValidBase() 공개 메소드

public isValidBase ( )
예제 #1
0
파일: images.php 프로젝트: happyxlq/lt_svn
	{
		var url = "editor.php?img="+image;
		Dialog(url, function(param) 
		{
			if (!param) // user must have pressed Cancel
				return false;
			else
			{
				return true;
			}
		}, null);		
	}

/*]]>*/
</script>
<script type="text/javascript" src="assets/images.js"></script>
</head>

<body>
<?php if ($manager->isValidBase() == false) { drawErrorBase($manager); } 
	elseif(count($list[0]) > 0 || count($list[1]) > 0) { ?>
<table>
	<tr>
	<?php drawDirs($list[0], $manager); ?>
	<?php drawFiles($list[1], $manager); ?>
	</tr>
</table>
<?php } else { drawNoResults(); } ?>
</body>
</html>
예제 #2
0
		}, null);		
	}

/*]]>*/
</script>
<script type="text/javascript" src="<?php 
print $IMConfig['base_url'];
?>
assets/images.js"></script>
<script type="text/javascript" src="../../popups/popup.js"></script>
<script type="text/javascript" src="assets/popup.js"></script>
</head>

<body>
<?php 
if ($manager->isValidBase() == false) {
    drawErrorBase($manager);
} elseif (count($list[0]) > 0 || count($list[1]) > 0) {
    ?>

	<?php 
    drawDirs($list[0], $manager);
    ?>
	<?php 
    drawFiles($list[1], $manager);
    ?>

<?php 
} else {
    drawNoResults();
}
예제 #3
0
		{
			window.parent.oEditor.OpenDialog( url, null, null, 'FCKDialog_ImageEditor', 'Edit image', 713, 596 );
		}
	}

/*]]>*/
</script>
<script type="text/javascript" src="assets/images.js"></script>
</head>

<body dir="<?php 
echo $IMConfig['text_direction'];
?>
">
<?php 
if (!$manager->isValidBase()) {
    drawErrorBase($manager);
} elseif (count($list[0]) > 0 || count($list[1]) > 0) {
    ?>
<table>
	<tr>
	<?php 
    drawDirs($list[0], $manager);
    ?>
	<?php 
    drawFiles($list[1], $manager);
    ?>
	</tr>
</table>
<?php 
} else {