more font size tweaks.
[citadel.git] / webcit / static / t / room / create_blog.html
1 <?!("COND:MAY_CREATE_ROOM", 10)>
2 <?=("display_main_menu")>
3 <?!("X", 10)>
4 <??("COND:MAY_CREATE_ROOM", 11)>
5 <?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
6 <div id="banner">
7 <?=("roombanner")>
8 </div>
9
10 <div id="content" class="service">
11 <br>
12 <?=("box_begin_1")><?_("Create a new blog")><?=("box_begin_2")>
13
14 <form name="create_room_form" onsubmit="return false" action="entroom" >
15 <input type="hidden" name="nonce" id="Nonce" value="<?NONCE>">
16 <input type="hidden" name="er_view_blog" id="er_iew_blog" value="<?DEF:VAL(#"VIEW_BLOG")>">
17 <input type="hidden" name="er_blog_markup_html" id="er_blog_markup_html" value="<?DEF:VAL(#"VIEW_WIKI")>">
18
19 <div id="throbber" style="display: none;"><img src="static/throbber.gif" ></div>
20 <div id="wikitext" style="display: none;"><?_("This is the new edit room for your blog")></div>
21 <div id="wikipublish" style="display: none;"><?_("Once you've saved your edits, you can press 'publish' to make your writings visible in the blog.")></div>
22 <div id="wikilinktext" style="display: none;"><?_("click this link to start your first article")></div>
23 <div id="wikilinkmore" style="display: none;"><?_("Edit this page and copy plus edit the above to add more articles.")></div>
24 <div id="wikilinkembedmedia" style="display: none;"><?_("You may link previously uploaded images like this:")> (<?_("assuming its name is test.jpg")>)</div>
25
26
27 <table class="altern"> 
28
29 <tr class="odd"><td><?_("Name of the blog: ")></td><td><input type="text" id="er_name" NAME="er_name" MAXLENGTH="127"><div id="er_name_fixed" style="display: none;"></div></td></tr>
30
31 <tr class="even"><td><?_("Resides on floor: ")></td><td>
32
33
34 <select name="er_floor" id="er_floor" size="1"><?ITERATE("LFLR", ="room_select_targetfloor")></select>
35 <div id="er_floor_fixed" style="display: none;">xxx</div></td></tr>
36 </table>
37 <hr>
38 <table class="altern"> 
39 <tr class="odd"><td><?_("Default editor for blog: ")></td>
40 <td>
41 <?_("Articles will be published from wiki articles to the blog. Choose your prefered source wiki format:")>
42 <select name="er_view" id="er_view" size="1">
43 <?!("COND:ALLOWED_DEFAULT_VIEW", 1, #"VIEW_WIKI")><option value="<?DEF:VAL(#"VIEW_WIKI")>" <?%("COND:THISROOM:CURR_VIEW", 2, #"VIEW_WIKI", 0, "selected", "")>><?ROOM:VIEW_STRING(#"VIEW_WIKI", "X")></option><??("X", 1)>
44
45 </select>
46 <div id="er_view_fixed" style="display: none;">xxx</div></td></tr>
47 <tr class="even"><td><?_("Type of edit room:")></td>
48 <td>
49 <ul class="adminlist">
50
51 <li id="li_adminlist_passworded"><input id="adminlist_passworded" type="radio" NAME="type" VALUE="passworded" checked="false"> 
52 <?_("Private - require password: ")>
53 <input id="er_password" type="text" NAME="er_password" MAXLENGTH="9">
54 </li>
55
56 <li id="li_adminlist_invonly"><input id="adminlist_invonly" type="radio" NAME="type" VALUE="invonly" checked="true"> 
57 <?_("Private - invitation only")>
58 </li>
59
60 </ul>
61 </td></tr></table>
62
63 <div id="create_buttons" class="buttons">
64 <input type="submit" onclick="create_blog()" value="<?_('Create new blog')>">
65 &nbsp;
66 <input type="submit" name="cancel_button" value="<?_("Cancel")>">
67 </div>
68 </form><hr />
69
70
71 <div id="edit_info" style="display: none;">
72 <?_("Enter the room info below.")> <?_("The text is formatted to the reader's browser. A newline is forced by preceding the next line by a blank.")>
73 <form method="post" action="editinfo">
74 <input type="hidden" name="nonce" value="<?NONCE()>">
75 <input type="hidden" name="template" value="room_info_status_json">
76 <textarea name="msgtext" wrap=soft rows=10 cols=80 width=80><?THISROOM:INFOTEXT("X")></textarea>
77
78 <div class="buttons" >
79 <input type="submit" name="save_button" value="<?_('Save changes')>">
80 &nbsp;
81 <input type="submit" name="cancel_button" value="<?_('Cancel')>"><br>
82 </div>
83
84 </form>
85 </div>
86
87
88 <?SERV:MESG("roomaccess")>
89
90 <?=("box_end")>
91 </div>
92 </div>
93 <?=("trailing")>
94 <??("X", 11)>