コード例 #1
0
ファイル: dialog.edit.form.php プロジェクト: poef/ariadne
		<img class="flag" src="<?php 
    echo $flagurl;
    ?>
" alt="<?php 
    echo $selectedlanguage;
    ?>
">
		<?php 
    $snippetDef = array('url' => array('name' => $selectednls . '[urlList]', 'type' => 'fieldlist', 'label' => false, 'class' => 'inputline', 'value' => $urlList));
    $formSnippet = ar('html')->parse((string) ar('html')->form($snippetDef, null, null));
    $snippet = $formSnippet->getElementsByTagName('fieldset');
    echo (string) $snippet;
    ?>
	</div>
	<?php 
    if (getenv("ARIADNE_WORKSPACE") && workspace::enabled($this->path)) {
        ?>
	<div class="field">
		<label for="name" class="required"><?php 
        echo $ARnls["ariadne:workspace:url"] . ": " . $workspace;
        ?>
</label>
		<img class="flag" src="<?php 
        echo $flagurl;
        ?>
" alt="<?php 
        echo $selectedlanguage;
        ?>
">
		<input id="name" type="text" name="<?php 
        echo $selectednls . "[workspaceurl]";
コード例 #2
0
ファイル: mod_workspace.php プロジェクト: poef/ariadne
 function _enabled($path, $workspace = "workspace")
 {
     return workspace::enabled($path, $workspace);
 }