Beispiel #1
0
echo $CurrentUser->hasPermission(RIGHT_EXPORT_INDEX) ? NULL : HTMLstuff::DisabledStr(TRUE);
?>
 />
	</div>
	
	<div class="FormRow WideForm">
	<label><?php 
echo $lang->g('LabelDownloadIndex');
?>
</label>
	<input type="button" id="btnDownloadIndex" name="btnDownloadIndex" value="<?php 
echo $lang->g('ButtonDownload');
?>
"
		<?php 
echo $CurrentUser->hasPermission(RIGHT_EXPORT_INDEX) ? "onclick=\"RedirToIndex();\"" : HTMLstuff::DisabledStr(TRUE);
?>
 />
	</div>

</fieldset>
</div>

</div>

</form>

<?php 
echo HTMLstuff::Button('index.php');
?>
Beispiel #2
0
); 
		$('#txtName, #chkDel').attr('disabled', 'disabled');
		$('input[type=submit]').val('<?php 
    echo $lang->g('ButtonDelete');
    ?>
').attr('disabled', false);" />
<?php 
}
?>

<input type="button" class="FormButton" value="<?php 
echo $lang->g('ButtonClean');
?>
"
	<?php 
echo $CurrentUser->hasPermission(RIGHT_TAG_CLEANUP) ? " onclick=\"window.location='tag_nuke.php';\"" : HTMLstuff::DisabledStr(TRUE);
?>
/>
</div>

</fieldset>
</form>

</div>

<?php 
echo $TagList;
?>

<div class="Clear Separator"></div>
Beispiel #3
0
    /**
     * Returns a HTML-snippet providing a HTML textinput for the given DateKind.
     * @param string $UniqueId
     * @param string $Value
     * @param int $DateKind
     * @param bool $Disabled 
     * @return string
     */
    public static function DateFormField($UniqueId, $Value = NULL, $DateKind = DATE_KIND_UNKNOWN, $Disabled = FALSE)
    {
        global $lang;
        $template = <<<GYtguefggefegfgefgegfgfuguf
\t\t<div class="FormRow">
\t\t<label for="txtDate%2\$s%3\$d">%7\$s%1\$s:</label>
\t\t<input type="text" id="txtDate%2\$s%3\$d" name="txtDate%2\$s%3\$d" class="DatePicker" maxlength="10" value="%4\$s"%5\$s />
\t\t%6\$s
\t\t</div>
\t\t
GYtguefggefegfgefgegfgfuguf;
        return sprintf($template, $DateKind == DATE_KIND_IMAGE ? ' ' . $lang->g('LabelImagesParentheses') : ($DateKind == DATE_KIND_VIDEO ? ' ' . $lang->g('LabelVideosParentheses') : ''), $DateKind == DATE_KIND_IMAGE ? 'Pic' : ($DateKind == DATE_KIND_VIDEO ? 'Vid' : ''), $UniqueId, $Value, HTMLstuff::DisabledStr($Disabled), $UniqueId && !$Disabled ? sprintf("<a href=\"date_delete.php?date_id=%1\$d\" onclick=\"if(!confirm('%2\$s')){return false;}\">" . "<img src=\"images/button_delete.png\" title=\"%3\$s\" alt=\"%3\$s\"/></a>", $UniqueId, $lang->g('MessageSureDeleteDate'), $lang->g('LabelDeleteDate')) : NULL, $lang->g('LabelDate'));
    }
Beispiel #4
0
 />
<input type="button" class="FormButton" value="<?php 
echo $lang->g('ButtonCancel');
?>
" onclick="window.location='<?php 
echo htmlentities($ReturnURL);
?>
';" />
<input type="button" class="FormButton" value="<?php 
echo $lang->g('ButtonClearCacheImage');
?>
" onclick="window.location='cacheimage_delete.php?image_id=<?php 
echo $ImageID;
?>
';"<?php 
echo HTMLstuff::DisabledStr($DisableCacheDeleteButton);
?>
 />
</div>

<div class="Separator"></div>

<?php 
echo HTMLstuff::Button('index.php');
?>

</fieldset>
</form>

<?php 
echo HTMLstuff::HtmlFooter($CurrentUser);
Beispiel #5
0
</label>
	<div class="CheckBoxMadness">
	<ul><?php 
echo $RightsCheckboxes;
?>
</ul>
	</div>
</div>

<div class="FormRow Clear">
<label>&nbsp;</label>
<input type="submit" id="submitform" class="FormButton" value="<?php 
echo $DeleteUser ? $lang->g('ButtonDelete') : $lang->g('ButtonSave');
?>
" <?php 
echo HTMLstuff::DisabledStr($DisableDefaultButton);
?>
 />
<input type="button" class="FormButton" value="<?php 
echo $lang->g('ButtonCancel');
?>
" onclick="window.location='user.php';" />
</div>

<div class="Separator"></div>

<?php 
echo HTMLstuff::Button('index.php');
?>
</fieldset>
</form>