[pLog-svn] r1931 - plog/branches/plog-1.0.1/templates/admin

Oscar Renalias phunkphorce at gmail.com
Tue May 3 06:36:26 GMT 2005


thanks! And sorry about that... Can you make sure that you don't
forget this in 1.1? :)))

Oscar

On 5/3/05, mark at devel.plogworld.net <mark at devel.plogworld.net> wrote:
> Author: mark
> Date: 2005-05-03 03:46:01 +0000 (Tue, 03 May 2005)
> New Revision: 1931
> 
> Modified:
>    plog/branches/plog-1.0.1/templates/admin/newlink.template
>    plog/branches/plog-1.0.1/templates/admin/newpost.template
> Log:
> Revert to SVN rev 1923. I'll commit those bookmarklet to 1.1, instead of 1.0.1.
> 
> Modified: plog/branches/plog-1.0.1/templates/admin/newlink.template
> ===================================================================
> --- plog/branches/plog-1.0.1/templates/admin/newlink.template   2005-05-02 22:20:35 UTC (rev 1930)
> +++ plog/branches/plog-1.0.1/templates/admin/newlink.template   2005-05-03 03:46:01 UTC (rev 1931)
> @@ -1,11 +1,5 @@
>  {include file="$admintemplatepath/header.template"}
>  {include file="$admintemplatepath/navigation.template" showOpt=newLink title=$locale->tr("newLink")}
> -{if $smarty.request.linkName}
> -       {assign var=linkName value=$smarty.request.linkName}
> -{/if}
> -{if $smarty.request.linkUrl}
> -       {assign var=linkUrl value=$smarty.request.linkUrl}
> -{/if}
> 
>     <form name="newLink" action="admin.php" method="post">
> 
> @@ -56,11 +50,6 @@
>                          {/foreach}
>                         </select>
>          </div>
> -        <div class="field">
> -               <label for="bookmarklet">{$locale->tr("bookmarklet")}</label>
> -               <div class="formHelp">{$locale->tr("bookmarklet_help")}</div>
> -               <a href="javascript:location.href='{$url->getAdminUrl()}?op=newLink&linkName='+encodeURIComponent(document.title)+'&linkUrl='+encodeURIComponent(location.href)" onclick="window.alert('{$locale->tr("bookmarklet_help")}');">{$locale->tr("bookmarkit_to_plog")}</a>
> -        </div>
>          </fieldset>
>          <div class="buttons">
>                     <input type="hidden" name="op" value="addLink" />
> 
> Modified: plog/branches/plog-1.0.1/templates/admin/newpost.template
> ===================================================================
> --- plog/branches/plog-1.0.1/templates/admin/newpost.template   2005-05-02 22:20:35 UTC (rev 1930)
> +++ plog/branches/plog-1.0.1/templates/admin/newpost.template   2005-05-03 03:46:01 UTC (rev 1931)
> @@ -1,9 +1,5 @@
>  {include file="$admintemplatepath/header.template"}
>  {include file="$admintemplatepath/navigation.template" showOpt=newPost title=$locale->tr("newPost")}
> -{if $smarty.request.postText}
> -       {assign var=postText value=$smarty.request.postText}
> -{/if}
> -
>  {assign var=htmlarea value=$blogsettings->getValue("htmlarea_enabled")}
>   <script type="text/javascript" src="js/ui/plogui.js"></script>
>   <script type="text/javascript" src="js/calendar/datetimepicker.js"></script>
> @@ -84,8 +80,8 @@
>              {if !$htmlarea}
>                  <a href="javascript:resource_list_window(2);">{$locale->tr("add_resource")}</a>
>              {/if}
> -          </div>
> -
> +          </div>
> +
>            <!-- text area custom fields -->
>        {include file="$admintemplatepath/newpost_customfields.template" type=2 fields=$customfields}
>     </div>
> @@ -155,14 +151,7 @@
>                  <label for="sendPings">{$locale->tr("send_xmlrpc_pings_help")}</label>
>                  {/if}
>        </div>
> -
> -      <div class="field">
> -               <br /><label for="bookmarklet">{$locale->tr("bookmarklet")}</label>
> -               <div class="formHelp">{$locale->tr("bookmarklet_help")}</div>
> -               <a href="javascript:location.href='{$url->getAdminUrl()}?op=newPost&postText='+encodeURIComponent(document.selection.createRange().text)" onclick="window.alert('{$locale->tr("bookmarklet_help")}');">{$locale->tr("blogit_to_plog")}</a>{$locale->tr("for_ie")}<br />
> -               <a href="javascript:location.href='{$url->getAdminUrl()}?op=newPost&postText='+encodeURIComponent(window.getSelection())" onclick="window.alert('{$locale->tr("bookmarklet_help")}');">{$locale->tr("blogit_to_plog")}</a>{$locale->tr("for_ff")}
> -      </div>
> -
> +
>           <!-- checkbox custom fields -->
>            {include file="$admintemplatepath/newpost_customfields.template" type=3 fields=$customfields}
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list