1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712
|
<dtml-comment>
##############################################################################
manage_editSettingForm.html
Interface for edit settings for blog.
Copyright (c) 2003-2005 Atsushi Shibata All Rights Reserved.
##############################################################################
</dtml-comment>
<dtml-var manage_page_header>
<dtml-var additional_css>
<dtml-var manage_tabs>
<dtml-comment>
<dtml-var "manage_form_title(this(), _,
form_title='Edit Entry'
)">
</dtml-comment>
<dtml-unless section>
<dtml-call "REQUEST.set('section',0)">
</dtml-unless>
<table cellspacing="0" cellpadding="0" border="0" class="subsetting-area">
<tr>
<dtml-in "[{'sn':'BASIC','sect':0},{'sn':'Categories','sect':1},{'sn':'Entry Editing','sect':2},
{'sn':'Comment,Trackback','sect':3},{'sn':'Skin','sect':4},{'sn':'Moblog','sect':5}]" mapping>
<td>
<dtml-if "sect==section">
<span class="subsetting-selected">
<dtml-else>
<span class="subsetting">
</dtml-if>
<a href="./manage_editSettingForm?section:int=<dtml-var sect>">
<dtml-var sn>
</a></span>
</td>
<td class="subsetting-hsep"> </td>
</dtml-in>
</tr>
</table>
<dtml-comment>Setting form for BASIC,Entry,Comment/Trackback,Moblog</dtml-comment>
<dtml-if "section in [0,2,3,5]">
<p class="form-help">
Edit settings for '<dtml-var title>'. Some fields are optional.
</p>
<table cellspacing="0" cellpadding="4" border="0" width="100%">
<FORM ACTION="manage_editSettings" METHOD="POST">
<input type="hidden" name="section:int" value="<dtml-var section missing="0">">
<dtml-if "section==0">
<tr>
<td>
<div class="form-label">
Title
</div>
<input type="text" name="title" size="80" value="<dtml-var title html_quote missing="">" />
</td>
</tr>
<tr>
<td>
<div class="form-optional">
Short description
</div>
<input type="text" name="blog_description:string" size="80" value="<dtml-var blog_description html_quote missing="">" />
</td>
</tr>
<tr>
<td>
<div class="form-optional">
Long desctiption</div>
<div class="form-help">
description for about
</div>
<textarea name="blog_long_description:text" cols="80" rows="8"><dtml-var blog_long_description html_quote missing=""></textarea>
</td>
</tr>
<tr>
<td>
<div class="form-optional">
Description for footer
</div>
<textarea name="footer_desc:text" cols="80" rows="3"><dtml-var footer_desc html_quote missing=""></textarea>
</td>
</tr>
<dtml-comment>
<tr>
<td>
<div class="form-optional">
Author's Profile</div>
<textarea name="author_profile:text" cols="80" rows="8"><dtml-var author_profile html_quote missing=""></textarea>
</td>
</tr>
</dtml-comment>
<tr>
<td>
<div class="form-label">
Item counts</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<span class="form-item">
Item count for modules :
</span>
<input type="text" name="module_item_count:int" size="8" value="<dtml-var module_item_count html_quote missing="5">" />
</td>
<td class="form-hsep"> </td>
<td>
<span class="form-item">
Day count for Top Page :
</span>
<input type="text" name="top_days:int" size="8" value="<dtml-var top_days html_quote missing="5">" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div class="form-label">
Blog URL
</div>
<div class="form-help">(This URL appears in PING,Trackback, etc.)</div>
<input type="text" name="blog_url" size="80" value="<dtml-var blog_url html_quote missing="">" />
</td>
</tr>
<tr>
<td>
<div class="form-label">
Charcode settings.
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top" >
<td>
<span class="form-item">
Char-code :
</span>
<select name="management_page_charset:string">
<option value="euc-jp" <dtml-if "management_page_charset=='euc-jp'">selected</dtml-if>>EUC-JP</option>
<option value="shift_jis" <dtml-if "management_page_charset=='shift_jis'">selected</dtml-if>>S-JIS</option>
<option value="utf-8" <dtml-if "management_page_charset=='utf-8'">selected</dtml-if>>UTF-8</option>
<option value="us-ascii"<dtml-if "management_page_charset=='us-ascii'">selected</dtml-if>>us-ascii</option>
</select>
<br>
<span class="form-item">
Change charcode (It will take time.) :
</span>
<input type="checkbox" name="change_charcode">
</td>
<td class="form-hsep"> </td>
<td>
<span class="form-item">
Char-code for sending Trackback :
</span>
<select name="trackback_char_code:string">
<option value="euc-jp" <dtml-if "trackback_char_code=='euc-jp'">selected</dtml-if>>EUC-JP</option>
<option value="shift_jis" <dtml-if "trackback_char_code=='shift_jis'">selected</dtml-if>>S-JIS</option>
<option value="utf-8" <dtml-if "trackback_char_code=='utf-8'">selected</dtml-if>>UTF-8</option>
<option value="us-ascii"<dtml-if "trackback_char_code=='us-ascii'">selected</dtml-if>>us-ascii</option>
</select>
</td>
</tr>
</table>
</ td>
</tr>
<dtml-elif "section==2">
<tr>
<td >
<div class="form-optional">
Allowed Tags for Entry
</div>
<div class="form-help">(separate by comma)</div>
<input type="text" name="body_tags:string" size="80" value="<dtml-var body_tags html_quote missing="">" />
</td>
</tr>
<tr>
<td >
<span class="form-optional">
Default format :
</span>
<select name="default_format:int">
<option value="0" <dtml-try><dtml-if "default_format == 0">selected</dtml-if><dtml-except></dtml-try>>Plain Text(HTML OK)</option>
<option value="1" <dtml-try><dtml-if "default_format == 1">selected</dtml-if><dtml-except></dtml-try>>StructuredText</option>
<option value="2" <dtml-try><dtml-if "default_format == 2">selected</dtml-if><dtml-except></dtml-try>>HTML</option>
<option value="4" <dtml-try><dtml-if "default_format == 4">selected</dtml-if><dtml-except></dtml-try>>reStructuredText</option>
</select>
</td>
</tr>
<dtml-try>
<tr>
<td>
<div class="form-optional">
Epoz settings.
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td>
<span class="form-item-op">
Enable Epoz Service:
</span>
<input type="checkbox" name="use_epoz_service:boolean" <dtml-try><dtml-if "use_epoz_service==1">checked</dtml-if><dtml-except></dtml-try>>
</td>
<td class="form-hsep"> </td>
<td>
<span class="form-item-op">
Width(in pixel):
</span>
<input type="text" name="epoz_width:int" value="<dtml-var epoz_width missing="640">" size="8">
</td>
<td class="form-hsep"> </td>
<td >
<span class="form-item-op">
Height:
</span>
<input type="text" name="epoz_height:int" value="<dtml-var epoz_height missing="400">" size="8">
</td>
</tr>
</table>
</td>
</tr>
<dtml-except>
</dtml-try>
<tr>
<td >
<div class="form-optional">
Fields to hide
</div>
<table>
<tr>
<dtml-in "[{'n':'hide_subtitle','t':'Subtitle'},{'n':'hide_entrydatetime','t':'Entry Date&Time'},
{'n':'hide_extend','t':'Extend'},{'n':'hide_subcategory','t':'Sub category'},
{'n':'hide_excerpt','t':'Excerpt'},{'n':'hide_comment','t':'Comment & Trackback'},
{'n':'hide_trackbackurls','t':'Trackback URLs'}]" mapping>
<td valign="top">
<span class="form-item-op">
<dtml-var t> :
</span>
</td>
<td valign="top" >
<input type="checkbox" name="<dtml-var n>" <dtml-if "getProperty(n)">checked</dtml-if>>
</td>
<dtml-if "_['sequence-index'] % 5 == 3"></tr><tr></dtml-if>
</dtml-in>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<span class="form-optional">
Textfield width :
</span>
<input type="text" name="textbox_width:int" size="8" value="<dtml-var textbox_width missing="80">" />
</td>
<td class="form-hsep"> </td>
<td >
<span class="form-optional">
Textarea width :
</span>
<input type="text" name="textarea_width:int" size="8" value="<dtml-var textarea_width missing="60">" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td >
<div class="form-optional">
Textarea Height
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top" >
<td>
<span class="form-item">
Body :
</span>
<input type="text" name="body_height:int" size="8" value="<dtml-var body_height missing="20">" />
</td>
<td class="form-hsep"> </td>
<td>
<span class="form-item">
Extend :
</span>
<input type="text" name="extend_height:int" size="8" value="<dtml-var extend_height missing="6">" />
</td>
<td class="form-hsep"> </td>
<td>
<span class="form-item">
Excerpt :
</span>
<input type="text" name="excerpt_height:int" size="8" value="<dtml-var excerpt_height missing="6">" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td >
<div class="form-optional">
PING Servers.</div>
<div class="form-help">(ie. moblogs.com,blo.gs,etc. separate by return)</div>
<textarea name="ping_servers:lines" cols="80" rows="4"><dtml-try><dtml-in ping_servers><dtml-if "_.len(_['sequence-item']) > 1"><dtml-var sequence-item>
</dtml-if></dtml-in><dtml-except></dtml-try></textarea>
</td>
</tr>
<dtml-comment>
<tr>
<td >
<div class="form-optional">
Send permalink to PING Server</div>
<input type="checkbox" name="use_permalink_on_ping">
</td>
</tr>
</dtml-comment>
<tr>
<td >
<div class="form-optional">
Blog client Settings
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td>
<span class="form-item-op">
Char-code:
</span>
<select name="blogclient_char_code:string">
<option value="euc-jp" <dtml-try><dtml-if "blogclient_char_code=='euc-jp'">selected</dtml-if><dtml-except></dtml-try>>EUC-JP</option>
<option value="shift_jis" <dtml-try><dtml-if "blogclient_char_code=='shift_jis'">selected</dtml-if><dtml-except></dtml-try>>S-JIS</option>
<option value="utf-8" <dtml-try><dtml-if "blogclient_char_code=='utf-8'">selected</dtml-if><dtml-except></dtml-try>>UTF-8</option>
<option value="us-ascii" <dtml-try><dtml-if "blogclient_char_code=='us-ascii'">selected</dtml-if><dtml-except></dtml-try>>us-ascii</option>
</select>
</td>
<td class="form-hsep"> </td>
<td>
<span class="form-item-op">
Default category :
</span>
<select name="blog_client_default_category:int">
<dtml-in category_list>
<option value="<dtml-var id>" <dtml-try><dtml-if "blog_client_default_category==_.int(id)">selected</dtml-if><dtml-except></dtml-try>><dtml-var name></option>
</dtml-in>
</select>
</td>
</tr>
</table>
</td>
</tr>
<dtml-elif "section==3">
<tr>
<td >
<div class="form-optional">
Allowed Tags for Comment
</div>
<div class="form-help">(separate by comma)</div>
<input type="text" name="comment_tags:string" size="80" value="<dtml-var comment_tags html_quote missing="">" />
</td>
</tr>
<tr>
<td >
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top" >
<td>
<span class="form-optional">
Require name :
</span>
<input type="checkbox" name="require_name:boolean" <dtml-if "require_name==1">checked</dtml-if>>
</td>
<td class="form-hsep"> </td>
<td >
<span class="form-optional">
Name for Anonymous :
</span>
<input type="text" name="anonymous_name:string" size="20" value="<dtml-var anonymous_name html_quote missing="">" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top" >
<td>
<span class="form-optional">
Require email :
<input type="checkbox" name="require_email:boolean" <dtml-try><dtml-if "require_email==1">checked</dtml-if><dtml-except></dtml-try>>
</span>
</td>
<td class="form-hsep"> </td>
<td>
<span class="form-optional">
Moderate Comment :
<input type="checkbox" name="moderate_comment:boolean" <dtml-try><dtml-if "moderate_comment==1">checked</dtml-if><dtml-except></dtml-try>>
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top" >
<td>
<span class="form-optional">
Avoid spam comment using session :
<input type="checkbox" name="check_session_on_comment:boolean" <dtml-try><dtml-if "check_session_on_comment==1">checked</dtml-if><dtml-except></dtml-try>>
</span>
</td>
<td class="form-hsep"> </td>
<td >
<span class="form-optional">
Secret session key:
</span>
<input type="text" name="comment_session_key:string" size="20" value="<dtml-var comment_session_key html_quote missing="">" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top" >
<td>
<span class="form-optional">
Moderate Trackback :
<input type="checkbox" name="moderate_trackback:boolean" <dtml-try><dtml-if "moderate_trackback==1">checked</dtml-if><dtml-except></dtml-try>>
</span>
</td>
<td class="form-hsep"> </td>
<td>
<span class="form-optional">
Moderate No-Reference Trackback :
<input type="checkbox" name="moderate_noreference_trackback:boolean" <dtml-try><dtml-if "moderate_noreference_trackback==1">checked</dtml-if><dtml-except></dtml-try>>
</span>
</td>
</tr>
</table>
</td>
</tr>
<dtml-elif "section==5">
<tr>
<td >
<div class="form-optional">
Host for POP account
</div>
<input type="text" name="mailhost:string" size="80" value="<dtml-var mailhost html_quote missing="">" />
</td>
</tr>
<tr>
<td >
<div class="form-optional">
Auth info. for POP account
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top" >
<td>
<div class="form-item-op">
User name
</div>
<input type="text" name="moblog_user:string" size="18" value="<dtml-var moblog_user html_quote missing="">" />
</td>
<td class="form-hsep"> </td>
<td>
<div class="form-item-op">
Password
</div>
<input type="password" name="moblog_password:string" size="18 " value="password" />
</td>
<td class="form-hsep"> </td>
<td>
<div class="form-item-op">
Use APOP protocol
</div>
<input type="checkbox" name="useapop:boolean" <dtml-try><dtml-if "useapop==1">checked</dtml-if><dtml-except></dtml-try>>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td >
<div class="form-optional">
Password for adding entry.
</div>
<div class="form-help">(this password must appear in first line of mail for entry)</div>
<input type="password" name="entry_password:string" size="60" value="password" />
</td>
</tr>
<tr>
<td >
<div class="form-optional">
Author for moblog.
</div>
<div class="form-help">(Author name for moblog entry)</div>
<input type="text" name="author_for_moblog:string" size="60" value="<dtml-var author_for_moblog html_quote missing="">" />
</td>
</tr>
<tr>
<td >
<div class="form-optional">
Sender address for moblog.
</div>
<div class="form-help">(Mail from other address will be ignored. Blank means no restriction.)</div>
<input type="text" name="moblog_email_addr:string" size="60" value="<dtml-var moblog_email_addr html_quote missing="">" />
</td>
</tr>
<tr>
<td >
<div class="form-optional">
Body separator
</div>
<div class="form-help">(Lines after separater are ignored.)</div>
<input type="text" name="body_separater:string" size="60" value="<dtml-var body_separater html_quote missing="">" />
</td>
</tr>
<tr>
<td >
<span class="form-optional">
Default category for moblog :
</soan>
<select name="moblog_default_category:int">
<dtml-in category_list>
<option value="<dtml-var id>" <dtml-try><dtml-if "moblog_default_category==_.int(id)">selected</dtml-if><dtml-except></dtml-try>><dtml-var name></option>
</dtml-in>
</select>
</td>
</tr>
<input type="hidden" name="image_serial:int" size="60" value="<dtml-var image_serial html_quote missing="100">" />
<tr>
<td >
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top" >
<td>
<span class="form-optional">
Allow comment for moblog entry :
</span>
<input type="checkbox" name="allow_comment_moblog:boolean" <dtml-try><dtml-if "allow_comment_moblog==1">checked</dtml-if><dtml-except>checked</dtml-try>>
</td>
<td class="form-hsep"> </td>
<td>
<span class="form-optional">
Allow TrackBack for moblog entry :
</span>
<input type="checkbox" name="allow_trackback_moblog:boolean" <dtml-try><dtml-if "allow_trackback_moblog==1">checked</dtml-if><dtml-except>checked</dtml-try>>
</div>
</td>
</tr>
</table>
<td>
</tr>
<tr>
<td >
To add entry via e-mail, you need to hit <br><b><dtml-var blogurl>/receive</b> periodicaly, using wget or something.
</td>
</tr>
</dtml-if>
<tr>
<td align="center">
<div class="form-element">
<input class="form-element" type="submit" name="submit"
value="Save Changes" />
</div>
</td>
</tr>
</form>
</table>
<dtml-elif "section==1">
<p class="form-help">
Manage categories for '<dtml-var title>'.
To add a category, push the <strong>Add Category</strong> button and edit the new category's information.To delete categories, check checkbox and push <strong>Delete</strong> button below.
</p>
<dtml-if filtered_meta_types>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" valign="top"> </td>
<td align="right" valign="top">
<div class="form-element">
<form action="<dtml-var URL1>/manage_addCategoryForm" method="get">
<input class="form-element" type="submit" name="submit" value=" Add Category " />
</form>
</div>
</td>
</tr>
</table>
</dtml-if>
<form action="&dtml-URL1;/" name="objectItems" method="post">
<dtml-if count_category>
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr class="list-header">
<td width="5%" align="left" > </td>
<td width="5%" align="left" >ID</td>
<td width="45%" align="left" class="list-item"><div class="list-item">Name</div></td>
<td width="15%" align="left" class="list-item"><div class="list-item">Entries<img src="misc_/COREBlog/entry_img" border="0" alt="entry"></div></td>
<td width="30%" align="left" class="list-item"><div class="list-item">Last Modified</div></td>
</tr>
<dtml-in category_list>
<tr class="<dtml-if sequence-odd>row-normal<dtml-else>row-hilite</dtml-if>">
<td align="left" valign="top" width="16">
<input type="checkbox" name="ids:list" value="<dtml-var id>" />
</td>
<td>
<dtml-var id>
</td>
<td align="left" valign="top">
<div class="list-item">
<a href="./manage_editCategoryForm?cat_id=<dtml-var id>"><dtml-var name></a>
</div>
</td>
<td>
<div class="list-item">
<dtml-var get_count>
</div>
</td>
<td>
<div class="list-item">
<dtml-var bobobase_modification_time fmt="%Y-%m-%d %H:%M">
</div>
</td>
</tr>
</dtml-in>
</table>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="left" valign="top" width="16"></td>
<td align="left" valign="top">
<div class="form-element">
<input class="form-element" type="submit" name="manage_deleteCategories:method"
value="Delete" />
<input class="form-element" type="submit" name="manage_calculateCategory:method"
value="Recalculate" />
</div>
</td>
</tr>
</table>
<dtml-else>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td>
<div class="std-text">
There are currently no category in <em><dtml-var title></em>
<br /><br />
</div>
</td>
</tr>
</table>
</dtml-if>
<dtml-elif "section==4">
<p class="form-help">
Edit Skin settings for '<dtml-var title>'.
</p>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<FORM ACTION="manage_changeSkin" METHOD="POST">
<tr>
<td align="left" valign="top"> </td>
<td align="right" valign="top">
<div class="form-element">
<select name="after" class="form-element">
<dtml-in skin_items>
<option value="<dtml-var id>"<dtml-if "skin_name==id">selected</dtml-if>><dtml-var title_or_id></option>
</dtml-in>
</select>
<input type="hidden" name="before" value="<dtml-var skin_name missing="">">
<input class="form-element" type="submit" name="submit"
value="Change Skin" />
</td>
</tr>
</FORM>
<dtml-var skin_setting_form missing="Skin setting is not defined.">
</table>
</dtml-if>
<dtml-var manage_page_footer>
|