muck-contents 0.1.12 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +122 -15
- data/VERSION +1 -1
- data/app/controllers/muck/tiny_mce_controller.rb +47 -0
- data/app/helpers/tinymce_helper.rb +23 -8
- data/app/views/contents/_form.html.erb +1 -2
- data/app/views/contents/new.html.erb +1 -0
- data/app/views/layouts/tiny_mce.html.erb +25 -0
- data/app/views/tiny_mce/files.html.erb +136 -0
- data/app/views/tiny_mce/images.html.erb +312 -0
- data/{public/javascripts/tiny_mce/plugins/advlinktoo/link.htm → app/views/tiny_mce/links.html.erb} +328 -344
- data/config/muck_contents_routes.rb +6 -0
- data/lib/action_controller/acts/muck_content_handler.rb +1 -1
- data/locales/en.yml +2 -0
- data/muck-contents.gemspec +153 -25
- data/public/{javascripts/tiny_mce/plugins/advimagetoo/img → images/tinymce}/sample.gif +0 -0
- data/public/{javascripts/tiny_mce/plugins/advfiletoo/img → images/tinymce}/upload.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/advfiletoo/editor_plugin.js +9 -22
- data/public/javascripts/tiny_mce/plugins/advfiletoo/editor_plugin_src.js +41 -54
- data/public/javascripts/tiny_mce/plugins/advfiletoo/js/functions.js +0 -139
- data/public/javascripts/tiny_mce/plugins/advimagetoo/editor_plugin.js +9 -17
- data/public/javascripts/tiny_mce/plugins/advimagetoo/editor_plugin_src.js +40 -50
- data/public/javascripts/tiny_mce/plugins/advimagetoo/js/functions.js +0 -152
- data/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin.js +3 -14
- data/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin_src.js +3 -14
- data/public/{javascripts/tiny_mce/plugins/advfiletoo/css/advfile.css → stylesheets/tinymce.css} +33 -12
- data/test/rails_root/Rakefile +2 -1
- data/test/rails_root/app/controllers/uploads_controller.rb +57 -0
- data/test/rails_root/app/models/upload.rb +94 -0
- data/test/rails_root/app/models/user.rb +5 -0
- data/test/rails_root/config/environment.rb +2 -0
- data/test/rails_root/config/initializers/mce_options.rb +12 -8
- data/test/rails_root/config/initializers/s3_credentials.rb +9 -0
- data/test/rails_root/db/migrate/{20090602041838_create_users.rb → 20090327231918_create_users.rb} +11 -10
- data/test/rails_root/db/migrate/20090402234137_create_languages.rb +18 -0
- data/test/rails_root/db/migrate/20090426041056_create_countries.rb +15 -0
- data/test/rails_root/db/migrate/20090426041103_create_states.rb +18 -0
- data/test/rails_root/db/migrate/{20090704220120_acts_as_taggable_on_migration.rb → 20090506000404_acts_as_taggable_on_migration.rb} +31 -29
- data/test/rails_root/db/migrate/20090517040220_create_uploads.rb +38 -0
- data/test/rails_root/db/migrate/20090730044139_add_comment_cache.rb +9 -0
- data/test/rails_root/db/migrate/20090818204527_add_activity_indexes.rb +9 -0
- data/test/rails_root/db/migrate/20090819030523_add_attachable_to_activities.rb +13 -0
- data/test/rails_root/lib/daemons/amazonaws.rb +36 -0
- data/test/rails_root/lib/tasks/muck.rake +7 -0
- data/test/rails_root/public/images/SWFUploadButton.png +0 -0
- data/test/rails_root/public/images/arrow_down.gif +0 -0
- data/test/rails_root/public/images/arrow_up.gif +0 -0
- data/test/rails_root/public/images/cancelbutton.gif +0 -0
- data/test/rails_root/public/images/fancybox/fancy_closebox.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_left.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_progress.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_right.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_shadow_e.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_shadow_n.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_shadow_ne.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_shadow_nw.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_shadow_s.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_shadow_se.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_shadow_sw.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_shadow_w.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_title_left.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_title_main.png +0 -0
- data/test/rails_root/public/images/fancybox/fancy_title_right.png +0 -0
- data/test/rails_root/public/images/file_icons/excel.gif +0 -0
- data/test/rails_root/public/images/file_icons/file.gif +0 -0
- data/test/rails_root/public/images/file_icons/file.png +0 -0
- data/test/rails_root/public/images/file_icons/file_aac.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_ai.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_avi.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_bin.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_bmp.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_cue.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_divx.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_doc.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_eps.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_flac.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_flv.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_gif.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_html.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_ical.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_indd.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_inx.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_iso.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_jpg.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_mov.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_mp3.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_mpg.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_pdf.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_php.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_png.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_pps.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_ppt.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_psd.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_qxd.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_qxp.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_raw.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_rtf.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_svg.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_tif.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_txt.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_vcf.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_wav.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_wma.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_xls.gif +0 -0
- data/test/rails_root/public/images/file_icons/file_xml.gif +0 -0
- data/test/rails_root/public/images/file_icons/mp3.gif +0 -0
- data/test/rails_root/public/images/file_icons/pdf.gif +0 -0
- data/test/rails_root/public/images/file_icons/pdf.png +0 -0
- data/test/rails_root/public/images/file_icons/text.gif +0 -0
- data/test/rails_root/public/images/file_icons/text.png +0 -0
- data/test/rails_root/public/images/file_icons/word.gif +0 -0
- data/test/rails_root/public/images/icons/blue_guy.png +0 -0
- data/test/rails_root/public/images/icons/button_background.png +0 -0
- data/test/rails_root/public/images/icons/cancel.png +0 -0
- data/test/rails_root/public/images/icons/close.png +0 -0
- data/test/rails_root/public/images/icons/comment.png +0 -0
- data/test/rails_root/public/images/icons/exclaim.png +0 -0
- data/test/rails_root/public/images/icons/external.png +0 -0
- data/test/rails_root/public/images/icons/feed.png +0 -0
- data/test/rails_root/public/images/icons/grey_guy.png +0 -0
- data/test/rails_root/public/images/icons/hide.png +0 -0
- data/test/rails_root/public/images/icons/information.png +0 -0
- data/test/rails_root/public/images/icons/minus.png +0 -0
- data/test/rails_root/public/images/icons/pending.png +0 -0
- data/test/rails_root/public/images/icons/question.png +0 -0
- data/test/rails_root/public/images/icons/search_box.png +0 -0
- data/test/rails_root/public/images/icons/star.png +0 -0
- data/test/rails_root/public/images/icons/stop.png +0 -0
- data/test/rails_root/public/images/icons/thumb_down.png +0 -0
- data/test/rails_root/public/images/icons/thumb_up.png +0 -0
- data/test/rails_root/public/images/nothing.png +0 -0
- data/test/rails_root/public/{javascripts/tiny_mce/plugins/advimagetoo/img → images/tinymce}/sample.gif +0 -0
- data/test/rails_root/public/{javascripts/tiny_mce/plugins/advfiletoo/img → images/tinymce}/upload.gif +0 -0
- data/test/rails_root/public/javascripts/jquery/colorpicker.js +450 -0
- data/test/rails_root/public/javascripts/jquery/jquery.autocomplete.js.readme +6 -0
- data/test/rails_root/public/javascripts/jquery/jquery.autocomplete.min.js +15 -0
- data/test/rails_root/public/javascripts/jquery/jquery.autocomplete.pack.js +767 -0
- data/test/rails_root/public/javascripts/jquery/jquery.easing.js +1 -0
- data/test/rails_root/public/javascripts/jquery/jquery.fancybox.js +9 -0
- data/test/rails_root/public/javascripts/jquery/jquery.metadata.min.js +13 -0
- data/test/rails_root/public/javascripts/jquery/jquery.queryString.js +33 -0
- data/test/rails_root/public/javascripts/jquery/jquery.swapimage.js +66 -0
- data/test/rails_root/public/javascripts/jquery/jquery.swapimage.min.js +11 -0
- data/test/rails_root/public/javascripts/jquery/jrails.js +1 -0
- data/test/rails_root/public/javascripts/muck.js +11 -6
- data/test/rails_root/public/javascripts/muck_activities.js +5 -6
- data/test/rails_root/public/javascripts/muck_time/en.js +53 -0
- data/test/rails_root/public/javascripts/swfupload/fileprogress.js +151 -0
- data/test/rails_root/public/javascripts/swfupload/handlers.js +201 -0
- data/test/rails_root/public/javascripts/swfupload/swfupload.cookies.js +53 -0
- data/test/rails_root/public/javascripts/swfupload/swfupload.js +980 -0
- data/test/rails_root/public/javascripts/swfupload/swfupload.queue.js +98 -0
- data/test/rails_root/public/javascripts/swfupload/swfupload.speed.js +342 -0
- data/test/rails_root/public/javascripts/swfupload/swfupload.swfobject.js +111 -0
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advfiletoo/editor_plugin.js +9 -22
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advfiletoo/editor_plugin_src.js +41 -54
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advfiletoo/js/functions.js +0 -139
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advimagetoo/editor_plugin.js +9 -17
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advimagetoo/editor_plugin_src.js +40 -50
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advimagetoo/image.htm +10 -9
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advimagetoo/js/functions.js +0 -152
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin.js +3 -14
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin_src.js +3 -14
- data/test/rails_root/public/javascripts/tiny_mce/templates/example.htm +14 -0
- data/test/rails_root/public/javascripts/tree.js +107 -0
- data/test/rails_root/public/stylesheets/jquery/jquery.autocomplete.css +15 -0
- data/test/rails_root/public/stylesheets/jquery/jquery.fancybox.css +44 -0
- data/test/rails_root/public/stylesheets/muck-activities.css +39 -0
- data/test/rails_root/public/stylesheets/styles.css +10 -3
- data/test/rails_root/public/stylesheets/swfupload.css +26 -0
- data/test/rails_root/public/{javascripts/tiny_mce/plugins/advfiletoo/css/advfile.css → stylesheets/tinymce.css} +33 -12
- data/test/rails_root/public/system/locals/000/000/026/original/deploy-1.rb +75 -0
- metadata +153 -25
- data/public/javascripts/tiny_mce/plugins/advfiletoo/file.htm +0 -139
- data/public/javascripts/tiny_mce/plugins/advimagetoo/css/advimage.css +0 -32
- data/public/javascripts/tiny_mce/plugins/advimagetoo/image.htm +0 -303
- data/public/javascripts/tiny_mce/plugins/advlinktoo/css/advlink.css +0 -8
- data/test/rails_root/db/migrate/20090608073052_create_friends.rb +0 -16
- data/test/rails_root/db/migrate/20090808005918_add_scope_index_to_slugs.rb +0 -9
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advfiletoo/file.htm +0 -139
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advimagetoo/css/advimage.css +0 -32
- data/test/rails_root/public/javascripts/tiny_mce/templates/bio.htm +0 -31
- data/test/rails_root/public/javascripts/tiny_mce/templates/country.htm +0 -59
@@ -1,303 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<title>{#advimage_dlg.dialog_title}</title>
|
5
|
-
<script language="javascript" type="text/javascript" src="../../../jquery.js"></script>
|
6
|
-
<script language="javascript" type="text/javascript" src="../../../jquery.queryString.js"></script>
|
7
|
-
<script language="javascript" type="text/javascript" src="../../../swfupload.js"></script>
|
8
|
-
<script language="javascript" type="text/javascript" src="../../../swfupload.swfobject.js"></script>
|
9
|
-
<script language="javascript" type="text/javascript" src="../../../swfupload.cookies.js"></script>
|
10
|
-
<script language="javascript" type="text/javascript" src="../../../swfupload.queue.js"></script>
|
11
|
-
<script language="javascript" type="text/javascript" src="../../../fileprogress.js"></script>
|
12
|
-
<script language="javascript" type="text/javascript" src="../../../handlers.js"></script>
|
13
|
-
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
14
|
-
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
|
15
|
-
<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
|
16
|
-
<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
|
17
|
-
<script language="javascript" type="text/javascript" src="js/functions.js"></script>
|
18
|
-
<link href="css/advimage.css" rel="stylesheet" type="text/css" />
|
19
|
-
<base target="_self" />
|
20
|
-
</head>
|
21
|
-
<body id="advimage" style="display: none">
|
22
|
-
|
23
|
-
<div id="image-upload">
|
24
|
-
<fieldset>
|
25
|
-
<legend>Upload New Image</legend>
|
26
|
-
|
27
|
-
<div id="degraded_container" style="display:none;">
|
28
|
-
<form id="image_upload_form" enctype="multipart/form-data" method="post" onsubmit="ts_onload(); return true;" target="html_editor_image_upload_frame">
|
29
|
-
<input class="input-file" id="image_uploaded_data" name="upload[uploaded_data]" size="30" type="file"/>
|
30
|
-
<input id="image_uploaded_is_public" name="is_public" type="hidden" value="true"/>
|
31
|
-
<input class="submit" name="commit" type="submit" value="Upload File"/>
|
32
|
-
<div id="upload-status"></div>
|
33
|
-
</form>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div id="swfupload_container">
|
37
|
-
<form>
|
38
|
-
<div id="divSWFUploadUI">
|
39
|
-
<span id="spanButtonPlaceholder"></span>
|
40
|
-
<div class="fieldset flash" id="fsUploadProgress">
|
41
|
-
<input id="btnCancel" type="button" value="Cancel All Uploads" style="display:none;margin-left: 2px; height: 22px; font-size: 8pt; width:110px;" />
|
42
|
-
<p id="divStatus"></p>
|
43
|
-
</div>
|
44
|
-
</div>
|
45
|
-
<noscript style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px;">
|
46
|
-
We're sorry. SWFUpload could not load. You must have JavaScript enabled to enjoy SWFUpload.
|
47
|
-
</noscript>
|
48
|
-
<div id="divLoadingContent" class="content" style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display: none;">
|
49
|
-
SWFUpload is loading. Please wait a moment...
|
50
|
-
</div>
|
51
|
-
<div id="divLongLoading" class="content" style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display: none;">
|
52
|
-
SWFUpload is taking a long time to load or the load has failed. Please make sure that the Flash Plugin is enabled and that a working version of the Adobe Flash Player is installed.
|
53
|
-
</div>
|
54
|
-
<div id="divAlternateContent" class="content" style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display: none;">
|
55
|
-
We're sorry. SWFUpload could not load. You may need to install or upgrade Flash Player.
|
56
|
-
Visit the <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Adobe website</a> to get the Flash Player.
|
57
|
-
</div>
|
58
|
-
</form>
|
59
|
-
</div>
|
60
|
-
|
61
|
-
</fieldset>
|
62
|
-
</div>
|
63
|
-
<br />
|
64
|
-
|
65
|
-
<form name="insert_image" id="insert_image" onsubmit="ImageDialog.insert();return false;" action="#">
|
66
|
-
<div class="tabs">
|
67
|
-
<ul>
|
68
|
-
<li id="dynamic_select_tab" class="current"><span><a href="javascript:mcTabs.displayTab('dynamic_select_tab','dynamic_select_panel');" onmousedown="return false;">Images</a></span></li>
|
69
|
-
<li id="general_tab"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advimage_dlg.tab_general}</a></span></li>
|
70
|
-
<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#advimage_dlg.tab_appearance}</a></span></li>
|
71
|
-
<!-- <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advimage_dlg.tab_advanced}</a></span></li> -->
|
72
|
-
</ul>
|
73
|
-
</div>
|
74
|
-
|
75
|
-
<div class="panel_wrapper">
|
76
|
-
|
77
|
-
<div id="dynamic_select_panel" class="panel current" style='overflow:auto'>
|
78
|
-
<fieldset>
|
79
|
-
<legend>Available Images - Click to Add</legend>
|
80
|
-
<div id="upload-list-message">
|
81
|
-
Loading Images...<br />
|
82
|
-
<img src="/images/spinner.gif">
|
83
|
-
</div>
|
84
|
-
<ul id="upload-list" class="image-list">
|
85
|
-
</ul>
|
86
|
-
</fieldset>
|
87
|
-
</div>
|
88
|
-
<div id="general_panel" class="panel">
|
89
|
-
<fieldset>
|
90
|
-
<legend>{#advimage_dlg.general}</legend>
|
91
|
-
|
92
|
-
<table class="properties">
|
93
|
-
<tr>
|
94
|
-
<td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td>
|
95
|
-
<td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
|
96
|
-
<tr>
|
97
|
-
<td><input name="src" type="text" id="src" value="" onchange="ImageDialog.showPreviewImage(this.value);" /></td>
|
98
|
-
<td id="srcbrowsercontainer"> </td>
|
99
|
-
</tr>
|
100
|
-
</table></td>
|
101
|
-
</tr>
|
102
|
-
<tr>
|
103
|
-
<td><label for="src_list">{#advimage_dlg.image_list}</label></td>
|
104
|
-
<td><select id="src_list" name="src_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;document.getElementById('title').value=this.options[this.selectedIndex].text;ImageDialog.showPreviewImage(this.options[this.selectedIndex].value);"></select></td>
|
105
|
-
</tr>
|
106
|
-
<tr>
|
107
|
-
<td class="column1"><label id="altlabel" for="alt">{#advimage_dlg.alt}</label></td>
|
108
|
-
<td colspan="2"><input id="alt" name="alt" type="text" value="" /></td>
|
109
|
-
</tr>
|
110
|
-
<tr>
|
111
|
-
<td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td>
|
112
|
-
<td colspan="2"><input id="title" name="title" type="text" value="" /></td>
|
113
|
-
</tr>
|
114
|
-
</table>
|
115
|
-
</fieldset>
|
116
|
-
|
117
|
-
<fieldset>
|
118
|
-
<legend>{#advimage_dlg.preview}</legend>
|
119
|
-
<div id="prev"></div>
|
120
|
-
</fieldset>
|
121
|
-
</div>
|
122
|
-
|
123
|
-
<div id="appearance_panel" class="panel">
|
124
|
-
<fieldset>
|
125
|
-
<legend>{#advimage_dlg.tab_appearance}</legend>
|
126
|
-
|
127
|
-
<table border="0" cellpadding="4" cellspacing="0">
|
128
|
-
<tr>
|
129
|
-
<td class="column1"><label id="alignlabel" for="align">{#advimage_dlg.align}</label></td>
|
130
|
-
<td><select id="align" name="align" onchange="ImageDialog.updateStyle('align');ImageDialog.changeAppearance();">
|
131
|
-
<option value="">{#not_set}</option>
|
132
|
-
<option value="baseline">{#advimage_dlg.align_baseline}</option>
|
133
|
-
<option value="top">{#advimage_dlg.align_top}</option>
|
134
|
-
<option value="middle">{#advimage_dlg.align_middle}</option>
|
135
|
-
<option value="bottom">{#advimage_dlg.align_bottom}</option>
|
136
|
-
<option value="text-top">{#advimage_dlg.align_texttop}</option>
|
137
|
-
<option value="text-bottom">{#advimage_dlg.align_textbottom}</option>
|
138
|
-
<option value="left">{#advimage_dlg.align_left}</option>
|
139
|
-
<option value="right">{#advimage_dlg.align_right}</option>
|
140
|
-
</select>
|
141
|
-
</td>
|
142
|
-
<td rowspan="6" valign="top">
|
143
|
-
<div class="alignPreview">
|
144
|
-
<img id="alignSampleImg" src="img/sample.gif" alt="{#advimage_dlg.example_img}" />
|
145
|
-
Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam
|
146
|
-
nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum
|
147
|
-
edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam
|
148
|
-
erat volutpat.
|
149
|
-
</div>
|
150
|
-
</td>
|
151
|
-
</tr>
|
152
|
-
|
153
|
-
<tr>
|
154
|
-
<td class="column1"><label id="widthlabel" for="width">{#advimage_dlg.dimensions}</label></td>
|
155
|
-
<td nowrap="nowrap">
|
156
|
-
<input name="width" type="text" id="width" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeHeight();" /> x
|
157
|
-
<input name="height" type="text" id="height" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeWidth();" /> px
|
158
|
-
</td>
|
159
|
-
</tr>
|
160
|
-
|
161
|
-
<tr>
|
162
|
-
<td> </td>
|
163
|
-
<td><table border="0" cellpadding="0" cellspacing="0">
|
164
|
-
<tr>
|
165
|
-
<td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
|
166
|
-
<td><label id="constrainlabel" for="constrain">{#advimage_dlg.constrain_proportions}</label></td>
|
167
|
-
</tr>
|
168
|
-
</table></td>
|
169
|
-
</tr>
|
170
|
-
|
171
|
-
<tr>
|
172
|
-
<td class="column1"><label id="vspacelabel" for="vspace">{#advimage_dlg.vspace}</label></td>
|
173
|
-
<td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" />
|
174
|
-
</td>
|
175
|
-
</tr>
|
176
|
-
|
177
|
-
<tr>
|
178
|
-
<td class="column1"><label id="hspacelabel" for="hspace">{#advimage_dlg.hspace}</label></td>
|
179
|
-
<td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" /></td>
|
180
|
-
</tr>
|
181
|
-
|
182
|
-
<tr>
|
183
|
-
<td class="column1"><label id="borderlabel" for="border">{#advimage_dlg.border}</label></td>
|
184
|
-
<td><input id="border" name="border" type="text" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" /></td>
|
185
|
-
</tr>
|
186
|
-
|
187
|
-
<tr>
|
188
|
-
<td><label for="class_list">{#class_name}</label></td>
|
189
|
-
<td><select id="class_list" name="class_list"></select></td>
|
190
|
-
</tr>
|
191
|
-
|
192
|
-
<tr>
|
193
|
-
<td class="column1"><label id="stylelabel" for="style">{#advimage_dlg.style}</label></td>
|
194
|
-
<td colspan="2"><input id="style" name="style" type="text" value="" onchange="ImageDialog.changeAppearance();" /></td>
|
195
|
-
</tr>
|
196
|
-
|
197
|
-
<!-- <tr>
|
198
|
-
<td class="column1"><label id="classeslabel" for="classes">{#advimage_dlg.classes}</label></td>
|
199
|
-
<td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
|
200
|
-
</tr> -->
|
201
|
-
</table>
|
202
|
-
</fieldset>
|
203
|
-
</div>
|
204
|
-
|
205
|
-
<!--
|
206
|
-
<div id="advanced_panel" class="panel">
|
207
|
-
<fieldset>
|
208
|
-
<legend>{#advimage_dlg.swap_image}</legend>
|
209
|
-
|
210
|
-
<input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="ImageDialog.setSwapImage(this.checked);" />
|
211
|
-
<label id="onmousemovechecklabel" for="onmousemovecheck">{#advimage_dlg.alt_image}</label>
|
212
|
-
|
213
|
-
<table border="0" cellpadding="4" cellspacing="0" width="100%">
|
214
|
-
<tr>
|
215
|
-
<td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{#advimage_dlg.mouseover}</label></td>
|
216
|
-
<td><table border="0" cellspacing="0" cellpadding="0">
|
217
|
-
<tr>
|
218
|
-
<td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td>
|
219
|
-
<td id="onmouseoversrccontainer"> </td>
|
220
|
-
</tr>
|
221
|
-
</table></td>
|
222
|
-
</tr>
|
223
|
-
<tr>
|
224
|
-
<td><label for="over_list">{#advimage_dlg.image_list}</label></td>
|
225
|
-
<td><select id="over_list" name="over_list" onchange="document.getElementById('onmouseoversrc').value=this.options[this.selectedIndex].value;"></select></td>
|
226
|
-
</tr>
|
227
|
-
<tr>
|
228
|
-
<td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{#advimage_dlg.mouseout}</label></td>
|
229
|
-
<td class="column2"><table border="0" cellspacing="0" cellpadding="0">
|
230
|
-
<tr>
|
231
|
-
<td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td>
|
232
|
-
<td id="onmouseoutsrccontainer"> </td>
|
233
|
-
</tr>
|
234
|
-
</table></td>
|
235
|
-
</tr>
|
236
|
-
<tr>
|
237
|
-
<td><label for="out_list">{#advimage_dlg.image_list}</label></td>
|
238
|
-
<td><select id="out_list" name="out_list" onchange="document.getElementById('onmouseoutsrc').value=this.options[this.selectedIndex].value;"></select></td>
|
239
|
-
</tr>
|
240
|
-
</table>
|
241
|
-
</fieldset>
|
242
|
-
|
243
|
-
<fieldset>
|
244
|
-
<legend>{#advimage_dlg.misc}</legend>
|
245
|
-
|
246
|
-
<table border="0" cellpadding="4" cellspacing="0">
|
247
|
-
<tr>
|
248
|
-
<td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td>
|
249
|
-
<td><input id="id" name="id" type="text" value="" /></td>
|
250
|
-
</tr>
|
251
|
-
|
252
|
-
<tr>
|
253
|
-
<td class="column1"><label id="dirlabel" for="dir">{#advimage_dlg.langdir}</label></td>
|
254
|
-
<td>
|
255
|
-
<select id="dir" name="dir" onchange="ImageDialog.changeAppearance();">
|
256
|
-
<option value="">{#not_set}</option>
|
257
|
-
<option value="ltr">{#advimage_dlg.ltr}</option>
|
258
|
-
<option value="rtl">{#advimage_dlg.rtl}</option>
|
259
|
-
</select>
|
260
|
-
</td>
|
261
|
-
</tr>
|
262
|
-
|
263
|
-
<tr>
|
264
|
-
<td class="column1"><label id="langlabel" for="lang">{#advimage_dlg.langcode}</label></td>
|
265
|
-
<td>
|
266
|
-
<input id="lang" name="lang" type="text" value="" />
|
267
|
-
</td>
|
268
|
-
</tr>
|
269
|
-
|
270
|
-
<tr>
|
271
|
-
<td class="column1"><label id="usemaplabel" for="usemap">{#advimage_dlg.map}</label></td>
|
272
|
-
<td>
|
273
|
-
<input id="usemap" name="usemap" type="text" value="" />
|
274
|
-
</td>
|
275
|
-
</tr>
|
276
|
-
|
277
|
-
<tr>
|
278
|
-
<td class="column1"><label id="longdesclabel" for="longdesc">{#advimage_dlg.long_desc}</label></td>
|
279
|
-
<td><table border="0" cellspacing="0" cellpadding="0">
|
280
|
-
<tr>
|
281
|
-
<td><input id="longdesc" name="longdesc" type="text" value="" /></td>
|
282
|
-
<td id="longdesccontainer"> </td>
|
283
|
-
</tr>
|
284
|
-
</table></td>
|
285
|
-
</tr>
|
286
|
-
</table>
|
287
|
-
</fieldset>
|
288
|
-
</div>
|
289
|
-
-->
|
290
|
-
</div>
|
291
|
-
|
292
|
-
<div class="mceActionPanel">
|
293
|
-
<div style="float: left">
|
294
|
-
<input type="button" id="insert" name="insert" value="{#insert}" onclick="ImageDialog.insert();" />
|
295
|
-
</div>
|
296
|
-
|
297
|
-
<div style="float: right">
|
298
|
-
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
299
|
-
</div>
|
300
|
-
</div>
|
301
|
-
</form>
|
302
|
-
</body>
|
303
|
-
</html>
|
@@ -1,8 +0,0 @@
|
|
1
|
-
.mceLinkList, .mceAnchorList, #targetlist {width:280px;}
|
2
|
-
.mceActionPanel {margin-top:7px;}
|
3
|
-
.panel_wrapper div.current {height:320px;}
|
4
|
-
#classlist, #title, #href {width:280px;}
|
5
|
-
#popupurl, #popupname {width:200px;}
|
6
|
-
#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;}
|
7
|
-
#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;}
|
8
|
-
#events_panel input {width:200px;}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
class CreateFriends < ActiveRecord::Migration
|
2
|
-
def self.up
|
3
|
-
create_table :friends, :force => true do |t|
|
4
|
-
t.integer "inviter_id"
|
5
|
-
t.integer "invited_id"
|
6
|
-
t.integer "status", :default => 0
|
7
|
-
t.timestamps
|
8
|
-
end
|
9
|
-
add_index :friends, ["inviter_id", "invited_id"]
|
10
|
-
add_index :friends, ["invited_id", "inviter_id"]
|
11
|
-
end
|
12
|
-
|
13
|
-
def self.down
|
14
|
-
drop_table :friends
|
15
|
-
end
|
16
|
-
end
|
@@ -1,139 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<title>{#advfile_dlg.dialog_title}</title>
|
5
|
-
<script language="javascript" type="text/javascript" src="../../../jquery.js"></script>
|
6
|
-
<script language="javascript" type="text/javascript" src="../../../jquery.queryString.js"></script>
|
7
|
-
<script language="javascript" type="text/javascript" src="../../../swfupload.js"></script>
|
8
|
-
<script language="javascript" type="text/javascript" src="../../../swfupload.swfobject.js"></script>
|
9
|
-
<script language="javascript" type="text/javascript" src="../../../swfupload.cookies.js"></script>
|
10
|
-
<script language="javascript" type="text/javascript" src="../../../swfupload.queue.js"></script>
|
11
|
-
<script language="javascript" type="text/javascript" src="../../../fileprogress.js"></script>
|
12
|
-
<script language="javascript" type="text/javascript" src="../../../handlers.js"></script>
|
13
|
-
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
14
|
-
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
|
15
|
-
<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
|
16
|
-
<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
|
17
|
-
<script language="javascript" type="text/javascript" src="js/functions.js"></script>
|
18
|
-
<link href="css/advfile.css" rel="stylesheet" type="text/css" />
|
19
|
-
<link href="../../../../stylesheets/jquery-plugins/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
|
20
|
-
<base target="_self" />
|
21
|
-
</head>
|
22
|
-
<body id="advfile" style="display: none">
|
23
|
-
|
24
|
-
<div id="file-upload">
|
25
|
-
<fieldset>
|
26
|
-
<legend>Upload New File</legend>
|
27
|
-
|
28
|
-
<div id="degraded_container" style="display:none;">
|
29
|
-
<form id="file_upload_form" enctype="multipart/form-data" method="post" onsubmit="ts_onload(); return true;" target="html_editor_file_upload_frame">
|
30
|
-
<input class="input-file" id="file_uploaded_data" name="upload[uploaded_data]" size="30" type="file"/>
|
31
|
-
<input id="image_uploaded_is_public" name="is_public" type="hidden" value="true"/>
|
32
|
-
<input class="submit" name="commit" type="submit" value="Upload File"/>
|
33
|
-
<div id="upload-status"></div>
|
34
|
-
</form>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div id="swfupload_container">
|
38
|
-
<form>
|
39
|
-
<div id="divSWFUploadUI">
|
40
|
-
<span id="spanButtonPlaceholder"></span>
|
41
|
-
<div class="fieldset flash" id="fsUploadProgress">
|
42
|
-
<input id="btnCancel" type="button" value="Cancel All Uploads" style="display:none;margin-left: 2px; height: 22px; font-size: 8pt; width:110px;" />
|
43
|
-
<p id="divStatus"></p>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
<noscript style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px;">
|
47
|
-
We're sorry. SWFUpload could not load. You must have JavaScript enabled to enjoy SWFUpload.
|
48
|
-
</noscript>
|
49
|
-
<div id="divLoadingContent" class="content" style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display: none;">
|
50
|
-
SWFUpload is loading. Please wait a moment...
|
51
|
-
</div>
|
52
|
-
<div id="divLongLoading" class="content" style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display: none;">
|
53
|
-
SWFUpload is taking a long time to load or the load has failed. Please make sure that the Flash Plugin is enabled and that a working version of the Adobe Flash Player is installed.
|
54
|
-
</div>
|
55
|
-
<div id="divAlternateContent" class="content" style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display: none;">
|
56
|
-
We're sorry. SWFUpload could not load. You may need to install or upgrade Flash Player.
|
57
|
-
Visit the <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Adobe website</a> to get the Flash Player.
|
58
|
-
</div>
|
59
|
-
</form>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
</fieldset>
|
63
|
-
</div>
|
64
|
-
<br />
|
65
|
-
|
66
|
-
<form name="insert_file" id="insert_file" onsubmit="insertAction();return false;" action="#">
|
67
|
-
<div class="tabs">
|
68
|
-
<ul>
|
69
|
-
<li id="dynamic_select_tab" class="current"><span><a href="javascript:mcTabs.displayTab('dynamic_select_tab','dynamic_select_panel');" onmousedown="return false;">Files</a></span></li>
|
70
|
-
<li id="general_tab"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advfile_dlg.tab_general}</a></span></li>
|
71
|
-
</ul>
|
72
|
-
</div>
|
73
|
-
|
74
|
-
<div class="panel_wrapper">
|
75
|
-
|
76
|
-
<div id="dynamic_select_panel" class="panel current" style='overflow:auto'>
|
77
|
-
<fieldset>
|
78
|
-
<legend>Available Files - Click to Add</legend>
|
79
|
-
<div id="upload-list-message">
|
80
|
-
Loading Files...<br />
|
81
|
-
<img src="/images/spinner.gif">
|
82
|
-
</div>
|
83
|
-
<ul id="upload-list" class="file-list">
|
84
|
-
</ul>
|
85
|
-
</fieldset>
|
86
|
-
</div>
|
87
|
-
|
88
|
-
<div id="general_panel" class="panel">
|
89
|
-
<fieldset>
|
90
|
-
<legend>{#advfile_dlg.general_props}</legend>
|
91
|
-
|
92
|
-
<table border="0" cellpadding="4" cellspacing="0">
|
93
|
-
<tr>
|
94
|
-
<td nowrap="nowrap"><label id="hreflabel" for="href">{#advfile_dlg.url}</label></td>
|
95
|
-
<td><table border="0" cellspacing="0" cellpadding="0">
|
96
|
-
<tr>
|
97
|
-
<td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td>
|
98
|
-
<td id="hrefbrowsercontainer"> </td>
|
99
|
-
</tr>
|
100
|
-
</table></td>
|
101
|
-
</tr>
|
102
|
-
<tr>
|
103
|
-
<td nowrap="nowrap"><label id="titlelabel" for="title">{#advfile_dlg.titlefield}</label></td>
|
104
|
-
<td><input id="title" name="title" type="text" value="" /></td>
|
105
|
-
</tr>
|
106
|
-
<tr>
|
107
|
-
<td><label id="classlabel" for="classlist">{#class_name}</label></td>
|
108
|
-
<td>
|
109
|
-
<select id="classlist" name="classlist" onchange="changeClass();">
|
110
|
-
<option value="" selected>{#not_set}</option>
|
111
|
-
</select>
|
112
|
-
</td>
|
113
|
-
</tr>
|
114
|
-
<tr>
|
115
|
-
<td><label id="stylelabel" for="style">{#advfile_dlg.style}</label></td>
|
116
|
-
<td><input type="text" id="style" name="style" value="" /></td>
|
117
|
-
</tr>
|
118
|
-
<tr>
|
119
|
-
<td class="column1"><label id="idlabel" for="id">{#advfile_dlg.id}</label></td>
|
120
|
-
<td><input id="id" name="id" type="text" value="" /></td>
|
121
|
-
</tr>
|
122
|
-
</table>
|
123
|
-
</fieldset>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
</div>
|
127
|
-
|
128
|
-
<div class="mceActionPanel">
|
129
|
-
<div style="float: left">
|
130
|
-
<input type="button" id="insert" name="insert" value="{#insert}" onclick="insertAction();" />
|
131
|
-
</div>
|
132
|
-
|
133
|
-
<div style="float: right">
|
134
|
-
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
</form>
|
138
|
-
</body>
|
139
|
-
</html>
|
@@ -1,32 +0,0 @@
|
|
1
|
-
#src_list,#over_list,#out_list{width:280px;}
|
2
|
-
.mceActionPanel{margin-top:7px;}
|
3
|
-
.alignPreview{border:1px solid #000;width:140px;height:140px;overflow:hidden;padding:5px;}
|
4
|
-
.checkbox{border:0;}
|
5
|
-
.panel_wrapper div.current{height:385px;}
|
6
|
-
#prev{margin:0;border:1px solid #000;width:99%;height:280px;overflow:auto;}
|
7
|
-
#align,#classlist{width:150px;}
|
8
|
-
#width,#height{vertical-align:middle;width:50px;text-align:center;}
|
9
|
-
#vspace,#hspace,#border{vertical-align:middle;width:30px;text-align:center;}
|
10
|
-
#class_list{width:180px;}
|
11
|
-
input{width:280px;}
|
12
|
-
input.submit{width:auto;margin:0;}
|
13
|
-
#constrain,#onmousemovecheck{width:auto;}
|
14
|
-
#id,#dir,#lang,#usemap,#longdesc{width:200px;}
|
15
|
-
ul.image-list{list-style:none;margin:0;padding:0;}
|
16
|
-
ul.image-list li{display:block;float:left;margin-right:4px;margin-bottom:2px;}
|
17
|
-
ul.image-list li img{border:0;width:30px;}
|
18
|
-
ul.image-list li a{outline:none;}
|
19
|
-
ul.image-list li.selected a img{border:2px solid red;}
|
20
|
-
ul.image-list li .thumbs{display:none;background:#efefef;position:absolute;width:65px;margin:25px 5px 5px 15px;border-right:2px solid #666;border-bottom:2px solid #333;border-top:2px solid #efefef;border-left:2px solid #efefef;}
|
21
|
-
ul.image-list li .thumbs a{margin-bottom:5px;line-height:1.5em;text-decoration:none;}
|
22
|
-
ul.image-list li .thumbs a{text-decoration:underline;}
|
23
|
-
ul.image-list li.selected .thumbs{display:block;}
|
24
|
-
ul.image-list li .thumbs .file-controls{border-top:solid 2px #666666;margin:5px 1px;}
|
25
|
-
ul.image-list li .thumbs .file-control{float:right;font-size:10px;display:block;margin:2px;}
|
26
|
-
.right{float:right;}
|
27
|
-
.left{float:left;}
|
28
|
-
.clear{clear:both;}
|
29
|
-
.pagination a{border:1px solid #7DA807;color:#7DA807;margin-right:.3em;padding:.3em;}
|
30
|
-
.pagination a:hover{background:#7DA807;border:1px solid #7DA807;color:#ffffff;}
|
31
|
-
.pagination a.active{background:#1EA2C1;border:none;color:#ffffff;}
|
32
|
-
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<div class="mceTmpl">
|
2
|
-
|
3
|
-
<p>---------- Delete --------------</p>
|
4
|
-
<h2>Notes:</h2>
|
5
|
-
<ul>
|
6
|
-
<li>Be sure to change the linked email address. By default it is set to 'test@example.com'.
|
7
|
-
To change this value first select the email address you entered to replace 'Team member email'. Next,
|
8
|
-
click on the link icon in the upper right. In the 'Link Url' field in the popup dialog enter the
|
9
|
-
new email address.</li>
|
10
|
-
<li>Be sure to link to the team member's profile. By default the profile is set to example. To
|
11
|
-
change this value first select 'View {Team member name}'s Profile'. (It is fine if you have already replaced
|
12
|
-
Team member name with the team member's real name). Next, click on the link icon in the upper right. In the
|
13
|
-
popup dialog you will need to once again replace the value in the 'Link Url' field. This value needs to be
|
14
|
-
a link to the team member's profile which is their user name. For example, if the member's user name is 'fred'
|
15
|
-
then the link will be '/profiles/fred'. Enter that value in Link Url and press Insert.</li>
|
16
|
-
<li>If a photo is available of the team member. Replace the default image with that photo. To do this first select the existing
|
17
|
-
photo. Next press the image icon in the upper right. It looks like a tree inside a picture frame. Upload the new photo using
|
18
|
-
the 'Select Images to Upload' button at the top of the popup. Once the photo is uploaded select it then choose the 'medium' size image.
|
19
|
-
After that press 'Insert'.</li>
|
20
|
-
</ul>
|
21
|
-
<p>---------- End Delete ----------</p>
|
22
|
-
|
23
|
-
<div class="people-profile">
|
24
|
-
<h1>{Team member name here}, {Team member position}</h1>
|
25
|
-
<img src="/images/avatar_default_big.gif" border="0" width="200" />
|
26
|
-
<a title="profile" href="/profiles/example">View {Team member name}'s Profile</a>
|
27
|
-
<p>{Place team member bio here}</p>
|
28
|
-
<p><a href="mailto:test@example.com" target="_blank">{Team member email}</a></p>
|
29
|
-
<p>{Team member phone number}</p>
|
30
|
-
</div>
|
31
|
-
</div>
|
@@ -1,59 +0,0 @@
|
|
1
|
-
<div class="mceTmpl">
|
2
|
-
<p>---------- Delete --------------</p>
|
3
|
-
<h2>Notes:</h2>
|
4
|
-
<ul>
|
5
|
-
<li>Replace all fields surrounded in brackets with relevant information.</li>
|
6
|
-
<li>To replace the default photo below first select the existing
|
7
|
-
photo. Next press the image icon in the upper right. It looks like a tree inside a picture frame. Upload the new photo using
|
8
|
-
the 'Select Images to Upload' button at the top of the popup. Once the photo is uploaded select it then choose an appropriate size.
|
9
|
-
The 'medium' size image is probably a good bet. After that press 'Insert'.</li>
|
10
|
-
</ul>
|
11
|
-
<p>---------- End Delete ----------</p>
|
12
|
-
|
13
|
-
<div class="country">
|
14
|
-
|
15
|
-
<h1>{Country Name}</h1>
|
16
|
-
<img class="alignnone" src="<%=GlobalConfig.website_home_url%>/wp-content/uploads/2008/08/boy-on-tire1.jpg" border="0" title="boy-on-tire1" width="210" height="300" />
|
17
|
-
|
18
|
-
<h2>Background</h2>
|
19
|
-
<p>{Provide background about the country.}</p>
|
20
|
-
|
21
|
-
<h2>Activities</h2>
|
22
|
-
<p>{TWB activities within the country}</p>
|
23
|
-
<ul>
|
24
|
-
<li>{Example of a list of items}</li>
|
25
|
-
<li>{Include as many items as you would like in the list}</li>
|
26
|
-
</ul>
|
27
|
-
|
28
|
-
<h2>Impacts</h2>
|
29
|
-
<ul>
|
30
|
-
<li>{List of impacts}</li>
|
31
|
-
<li>{Item #2}</li>
|
32
|
-
</ul>
|
33
|
-
|
34
|
-
<h2>Gallery</h2>
|
35
|
-
{Add images - to add images click on the image icon in the upper right. It looks like a tree inside a picture frame. Upload and insert as many images as desired.}
|
36
|
-
|
37
|
-
<h2>{Heading - Replace with information relevant to the country}</h2>
|
38
|
-
<p>{Provide further information}</p>
|
39
|
-
|
40
|
-
<h2>Partnerships</h2>
|
41
|
-
|
42
|
-
<h3>Government Partners:</h3>
|
43
|
-
<div>
|
44
|
-
<ul>
|
45
|
-
<li>{Government Partner #1}</li>
|
46
|
-
<li>{Government Partner #2}</li>
|
47
|
-
</ul>
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<h3>Non-Governmental Partners:</h3>
|
51
|
-
<div>
|
52
|
-
<ul>
|
53
|
-
<li>{Non-Government Partner #1}</li>
|
54
|
-
<li>{Non-Government Partner #2}</li>
|
55
|
-
</ul>
|
56
|
-
</div>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
</div>
|