Вход Регистрация
Файл: content/themes/facebook/templates/ajax.publisher.get.tpl
Строк: 269
{if $get == "newsPublisher"} <form
class="postNews"> <div
class="mt10"> <textarea class="uiTextArea
shareNews expand">{$translate->__("What’s
happening?")}</textarea> </div> <div
class="tright mt10 pb10 hidden"> <div {if
$userArray.fb_connected == Y}title="{$translate->__("do not
post to facebook")}" class="button-fbShare left mr5
active"{else}title="{$translate->__("post to
facebook")}" class="button-fbShare left
mr5"{/if}></div> <div {if
$userArray.tw_connected == Y}title="{$translate->__("do not
post to twitter")}" class="button-twShare left
active"{else}title="{$translate->__("post to
twitter")}" class="button-twShare left
mr5"{/if}></div> <input class="uiButton
pr10 pl10" type="submit"
value="{$translate->__("Post")}" />
</div> </form> {elseif $get ==
"musicPublisher"} <form
class="publisherContent attachLink"> <div
class="pt10 pb10 pr10 pl10"> <p
class="mb10 gray">{$translate->__("We now only support
sharing music from soundcloud only")}.</p>
<input class="uiInput bigButton attachLink"
type="text" value="http://" />
<input class="uiButton attachLink" type="submit"
name="submit"
value="{$translate->__("Attach")}" />
</div> </form> {elseif $get ==
"photoPublisher"} <div
class="publisherContent"> <div
class="publisherTabsWrapper"> <div
class="publisherTab mr10 openSubPublisher"
id="photoPublisherSingle"> <p
class="dataTitle"><strong>{$translate->__("Single
Photo")}</strong></p>
<p>{$translate->__("upload from your
drive")}</p> </div> <div
class="publisherTab openSubPublisher"
id="photoPublisherAlbum"> <p
class="dataTitle"><strong>{$translate->__("Create
an Album")}</strong></p>
<p>{$translate->__("with many photos")}</p>
</div> </div> </div> {elseif
$get == "photoPublisherSingle"} <div
class="publisherContent"> <div
id="uploader" class="pt10 pb10 pr10 pl10 tcenter">
<p
class="mb5"><strong>{$translate->__("Select an
image file on your computer")}.</strong></p>
<form id="uploadForm"
action="{$SITE_URL}/ajax/publisher/upload.php"
method="post" target="uploadFrame"
enctype="multipart/form-data"> <input
id="uploadFile" name="uploadFile" type="file"
size="30" /> <input
type="hidden" name="key" value="1" />
<input type="hidden" name="secret"
value="{$secret}" /> </form>
</div> <iframe id="uploadFrame"
name="uploadFrame" style="width: 0; height: 0; border:0
none;" ></iframe> <form
class="publisherFooter postPhoto"> <div>
<input type="hidden" name="photo[src]"
value="" /> <input type="hidden"
name="photo[thumbnail]" value="" />
<textarea class="uiInput saySomeThing
expand">{$translate->__("Say something about this
photo")}...</textarea> </div>
<div class="tright mt10"> <div {if
$userArray.fb_connected == Y}title="{$translate->__("do not
post to facebook")}" class="button-fbShare left mr5
active"{else}title="{$translate->__("post to
facebook")}" class="button-fbShare left
mr5"{/if}></div> <div {if
$userArray.tw_connected == Y}title="{$translate->__("do not
post to twitter")}" class="button-twShare left
active"{else}title="{$translate->__("post to
twitter")}" class="button-twShare left
mr5"{/if}></div> <input
disabled="disabled" class="uiButton pr10 pl10"
type="submit"
value="{$translate->__("Post")}" />
</div> </form> </div> {elseif $get
== "photoPublisherAlbum"} <form
class="publisherContent postPhotoAlbum"> <div
class="pt10 pb10 pr10 pl10"> <p
class="mb10"> <input class="uiInput
shareInput" type="text"
value="{$translate->__("Album title")}..." />
</p> <p class="mb10">
<textarea class="uiTextArea shareQuestion
expand">{$translate->__("Album
description")}...</textarea> </p>
</div> <div class="publisherFooter">
<div class="right"> <input
class="uiButton pr10 pl10" type="submit"
name="submit"
value="{$translate->__("Post")}" />
</div> </div> </form> {elseif $get
== "videoPublisher"} <div
class="publisherContent"> <div
class="publisherTabsWrapper"> <div
class="publisherTab mr10 openSubPublisher"
id="videoPublisherSingle"> <p
class="dataTitle"><strong>{$translate->__("Single
Video")}</strong></p>
<p>{$translate->__("upload or get from
web")}</p> </div> <div
class="publisherTab openSubPublisher"
id="videoPublisherAlbum"> <p
class="dataTitle"><strong>{$translate->__("Create
an Album")}</strong></p>
<p>{$translate->__("with many videos")}</p>
</div> </div> </div> {elseif
$get == "videoPublisherSingle"} <form
class="publisherContent attachLink"> <div
class="pt10 pb10 pr10 pl10"> <p
class="mb10 gray">{$translate->__("We now only support
sharing videos from YouTube and Vimeo only")}.</p>
<input class="uiInput bigButton attachLink"
type="text" value="http://" />
<input class="uiButton attachLink" type="submit"
name="submit"
value="{$translate->__("Attach")}" />
</div> </form> {elseif $get ==
"videoPublisherAlbum"} <form
class="publisherContent postVideoAlbum"> <div
class="pt10 pb10 pr10 pl10"> <p
class="mb10"> <input class="uiInput
shareInput" type="text"
value="{$translate->__("Album title")}..." />
</p> <p class="mb10">
<textarea class="uiTextArea shareQuestion
expand">{$translate->__("Album
description")}...</textarea> </p>
</div> <div class="publisherFooter">
<div class="right"> <input
class="uiButton pr10 pl10" type="submit"
name="submit"
value="{$translate->__("Post")}" />
</div> </div> </form> {elseif $get
== "questionPublisher"} <form
class="publisherContent postQuestion"> <div
class="pt10 pb10 pr10 pl10"> <p
class="mb10"> <input class="uiInput
shareInput" type="text"
value="{$translate->__("Ask something")}..." />
</p> <p class="mb10">
<textarea class="uiTextArea shareQuestion
expand">{$translate->__("Add
description")}...</textarea> </p>
</div> <div class="publisherFooter">
<div class="tright"> <div {if
$userArray.fb_connected == Y}title="{$translate->__("do not
post to facebook")}" class="button-fbShare left mr5
active"{else}title="{$translate->__("post to
facebook")}" class="button-fbShare left
mr5"{/if}></div> <div {if
$userArray.tw_connected == Y}title="{$translate->__("do not
post to twitter")}" class="button-twShare left
active"{else}title="{$translate->__("post to
twitter")}" class="button-twShare left
mr5"{/if}></div> <input
class="uiButton pr10 pl10" type="submit"
name="submit"
value="{$translate->__("Post")}" />
</div> </div> </form> {elseif $get
== "pollPublisher"} <form
class="publisherContent postPoll"> <div
class="pt10 pb10 pr10 pl10"> <p
class="mb10"> <input class="uiInput
shareInput" type="text"
value="{$translate->__("Ask something")}..." />
</p> <div class="pt10
pb10"> <div
class="pubPollOptions">
<span><strong>{$translate->__("Poll
Options")}:</strong></span>
</div> </div> <div
class="tcenter"> <p
class="mb10"> <input
class="uiInput sharePollOption" type="text"
value="+ {$translate->__("Add an option")}..."
/> </p> <p
class="mb10"> <input
class="uiInput sharePollOption" type="text"
value="+ {$translate->__("Add an option")}..."
/> </p> <p
class="mb10"> <input
class="uiInput sharePollOption" type="text"
value="+ {$translate->__("Add an option")}..."
/> </p> </div>
</div> <div class="publisherFooter">
<div class="tright"> <div {if
$userArray.fb_connected == Y}title="{$translate->__("do not
post to facebook")}" class="button-fbShare left mr5
active"{else}title="{$translate->__("post to
facebook")}" class="button-fbShare left
mr5"{/if}></div> <div {if
$userArray.tw_connected == Y}title="{$translate->__("do not
post to twitter")}" class="button-twShare left
active"{else}title="{$translate->__("post to
twitter")}" class="button-twShare left
mr5"{/if}></div> <input
class="uiButton pr10 pl10" type="submit"
name="submit"
value="{$translate->__("Post")}" />
</div> </div> </form> {elseif $get
== "linkPublisher"} <form
class="publisherContent attachLink"> <div
class="pt10 pb10 pr10 pl10"> <input
class="uiInput bigButton attachLink" type="text"
value="http://" /> <input class="uiButton
attachLink" type="submit" name="submit"
value="{$translate->__("Attach")}" />
</div> </form>
{/if} <script>jQuery("textarea[class*=expand]").TextAreaExpander();</script>
Онлайн: 0
Реклама