?? contactsheet_settings.php
字號(hào):
<?include "include/db.php";include "include/authenticate.php"; include "include/general.php";include('include/collections_functions.php');$collection=getvalescaped("c","");$collectiondata= get_collection($collection);# Include scriptaculous for display options# Also include a couple functions for the Ajax contactsheet update$headerinsert.="<script src=\"js/prototype.js\" type=\"text/javascript\"></script><script src=\"js/scriptaculous.js\" type=\"text/javascript\"></script><script src=\"js/contactsheet.js\" type=\"text/javascript\"></script>";$bodyattribs="onload=\"previewContactSheet();\"";include "include/header.php";?><div class="BasicsBox"><h1><?=$lang["contactsheetconfiguration"]?></h1><p><?=$lang["contactsheetintrotext"]?></p><!-- this is the container for some Ajax fun. The image will go here...--><? if ($contact_sheet_previews==true){?><div style="float:right;padding:15px 30px 15px 0;height:300px;"><img id="previewimage" name="previewimage"/></div><? } ?><!-- each time the form is modified, the variables are sent to contactsheet.php with preview=true contactsheet.php makes just the first page of the pdf (with col size images) and then thumbnails it for the ajax request. This creates a very small but helpful preview image that can be judged before initiating a download of sometimes several MB.--><form method=post name="contactsheetform" id="contactsheetform" action="contactsheet.php" <? if ($contact_sheet_previews==true){?> onClick="previewContactSheet();" <?}?> ><input type=hidden name="c" value="<?=$collection?>"><div class="Question"><label><?=$lang["collectionname"]?></label><div class="Fixed"><?=$collectiondata['name']?></div><div class="clearerleft"> </div></div><div class="Question"><label><?=$lang["display"]?></label><select class="shrtwidth" name="sheetstyle" id="sheetstyle" onChange=" if ($('sheetstyle').value=='list') { Effect.DropOut('ThumbnailOptions',{duration:0.5}); } else { Effect.Appear('ThumbnailOptions',{duration:0.5}); }""><option value="thumbnails"><?=$lang["thumbnails"]?></option><option value="list"><?=$lang["list"]?></option></select><div class="clearerleft"> </div></div><div class="Question"><label><?=$lang["size"]?></label><select class="shrtwidth" name="size" id="size"><option value="a4">A4 - 210mm x 297mm</option><option value="a3">A3 - 297mm x 420mm</option><option value="letter">US Letter - 8.5" x 11"</option><option value="legal">US Legal - 8.5" x 14"</option><option value="tabloid">US Tabloid - 11" x 17"</option></select><div class="clearerleft"> </div></div><div id="ThumbnailOptions" class="Question"><label><?=$lang["columns"]?></label><select class="shrtwidth" name="columns" id="ThumbnailOptions""><option value=2>2</option><option value=3>3</option><option value=4 selected>4</option><option value=5>5</option><option value=6>6</option><option value=7>7</option></select></div><div class="Question"><label><?=$lang["orientation"]?></label><select class="shrtwidth" name="orientation" id="orientation"><option value="portrait"><?=$lang["portrait"]?></option><option value="landscape"><?=$lang["landscape"]?></option></select><div class="clearerleft"> </div></div><div class="QuestionSubmit"><label for="buttons"> </label> <input name="save" type="submit" value=" <?=$lang["create"]?> " /></div></form></div><? include "include/footer.php";?>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -