Rev 6520 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.1 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><link type="text/css" href="../../jquery/jqueryui/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" /><script type="text/javascript" src="../../jquery/jquery-1.4.2.js"></script><script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.core.js"></script><script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.widget.js"></script><script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.position.js"></script><script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.autocomplete.js"></script><script type="text/javascript" src="/content/jquery/validation/jquery.validate.js"></script><script>$(document).ready(function() {$("#f").validate({rules: {displayName: "required",primeURL: "required",searchQuery: "required"}});});</script><style>* { font-family: Verdana; font-size: 96%; }label { width: 10em; float: left; }label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }p { clear: both; }.submit { margin-left: 12em; }em { font-weight: bold; padding-right: 1em; vertical-align: top; }.textarea {width: 400px; height: 200px}</style><title>Edit $action.getId()</title></head>#set ( $specialPage = $action.getSpecialPage() )<body><div><form id="f" name="f" action="/content/special-page/$action.getId()" method="post"><label for="specialPageId">SpecialPage ID: </label><span id="specialPageId" name="id"><strong><em>{$action.getId()}</em></strong></span><br/><label>Special Page Type: </label><label><select name="pageType" id="pageType">#if ($specialPage.getPageType()==1)<option value="0">Solr based</option><option value="1" selected="selected">Tag based</option>#else<option value="0" selected="selected">Solr based</option><option value="1">Tag based</option>#end</end></label><br/><label for="displayName">Display Name: </label><input id="displayName" name="displayName" value='$specialPage.getDisplayName()'/><br/><label for="description">Description: </label><textarea id="description" name="description" rows="5" cols="50">$specialPage.getDescription()</textarea><br/><label for="primeURL">Prime URL: </label><input id="primeURL" name="primeURL" value='$specialPage.getPrimeURL()' type="url" size="52"/><br/><label for="saholicURL">Saholic URL: </label><input id="saholicURL" name="saholicURL" value='$specialPage.getSaholicURL()' size="52"/><br/><label for="searchQuery">Search Query: </label><input id="searchQuery" name="searchQuery" size="52" value='$specialPage.getSearchQuery()'/><br/><label for="pageTitle">Page Title: </label><input id="pageTitle" name="pageTitle" value='$specialPage.getPageTitle()' size="52"/><br/><label for="metaDescription">MetaDescription: </label><textarea id="metaDescription" name="metaDescription" rows="3" cols="50">$specialPage.getMetaDescription()</textarea><br/><label for="metaKeywords">MetaKeywords: </label><input id="metaKeywords" name="metaKeywords" value='$specialPage.getMetaKeywords()' size="52"/><br/><p/><input type="hidden" name="_method" value="put"/><input type="button" id="cancelbutton" name="cancel" value="Cancel"/><input type="submit" name="create" value="Save"/></form></div></body></html>