<p><?php echo $lEditUser["ProfileBody"]; ?> <br /> <?php printRichTextArea("document.user", "u_profileText", $user->profileText, 15, 40, 0, 3, 2); ?> </p> <p><?php echo $lEditUser["Signature"]; ?> <br /> <?php printRichTextArea("document.user", "u_signature", $user->signature, 5, 40, 0, 4, 2); ?> </p> </div> <?php if ($user->hasAdministerPermission() && !$profile) { printSubsectionHeader($lEditUser["Groups"], "", 1, 0, "groups"); ?> <p><?php echo $lEditUser["GroupsText"]; ?> </p>
<p><?php echo $lEditPageBar["RightBarParent"]; ?> <br /> <select name="rightTemplate" class="shortInput"> <option value="0">New template</option> <?php $result = $dbi->query("SELECT id,title FROM " . pageTableName . " WHERE rightText!='' ORDER BY title"); if ($result->rows()) { for ($i = 0; list($id, $title) = $result->fetchrow_array(); $i++) { echo "<option value=\"{$id}\"" . ($id == $page->rightTemplate ? " selected=\"selected\"" : "") . ">{$title}</option>"; } } ?> </select></p> <p><?php echo $lEditPageBar["RightText"]; ?> <br /> <?php printRichTextArea("document.page", "rightText", $page->rightText, 15, 40); ?> </p> <p><input name="savePage" type="submit" value="<?php echo $lEditPageBar["Save"]; ?> " class="button" /></p> </form>
?> ><?php echo pageTitle; ?> </option> <?php $pageObject->printNavigationOption(); ?> </select></p> <p><?php echo $lEditPage["BodyText"]; ?> <br /> <?php printRichTextArea("document.page", "text", $pageObject->text, 30, 40, 0, 3); ?> </p> <?php printSubsectionHeader($lEditPage["Options"], "", 1, 0, "pageOptions"); ?> <p><?php echo $lEditPage["OptionsText"]; ?> </p> <div id="pageOptions" class="formIndent" style="display:none"> <?php
<p><?php echo $lBlogEditPost["Summary"]; ?> <br /> <?php printRichTextArea("document.post", "summary", $post->summary, 7, 40, 1, 0, 0, "blog"); ?> </p> <p><?php echo $lBlogEditPost["BodyText"]; ?> <br /> <?php printRichTextArea("document.post", "text", $post->text, 25, 40, 1, 0, 0, "../"); ?> </p> <?php printSubsectionHeader($lBlogEditPost["Categories"], "", 1, 1, "categories"); ?> <p><?php echo $lBlogEditPost["CategoriesText"]; ?> </p> <div id="categories" class="formIndent"> <?php
<select name="typeId" class="shortInput"> <option value="0">Fritekst</option> <option value="0">-</option> <?php $result = $dbi->query("SELECT Id,Name FROM " . frontpageTypeTableName . " ORDER BY Name"); if ($result->rows()) { for ($i = 0; list($typeId2, $typeName) = $result->fetchrow_array(); $i++) { echo '<option value="' . $typeId2 . '"' . ($typeId == $typeId2 ? ' selected="selected"' : '') . '>' . $typeName . '</option>'; } } ?> </select></p> <p>Tekst<br /> <?php printRichTextArea("document.frontpage", "text", $text, 10, 40, 0, 3); ?> </p> <p><input type="checkbox" name="visible" value="1"<?php echo $visible ? ' checked="checked"' : ''; ?> /> Vis på forsiden</p> <?php if (!empty($id)) { ?> <p><input type="checkbox" name="deleteBox" value="1" onchange="if(this.checked==1) { saveBox.value='Slet boks' } else { saveBox.value='Gem boks' }" /> Slet boks</p><?php } ?>