[pLog-svn] r2292 - plog/branches/plog-1.0.2/templates/admin

mark at devel.plogworld.net mark at devel.plogworld.net
Fri Jul 8 09:15:10 GMT 2005


Author: mark
Date: 2005-07-08 09:15:10 +0000 (Fri, 08 Jul 2005)
New Revision: 2292

Modified:
   plog/branches/plog-1.0.2/templates/admin/editpost.template
   plog/branches/plog-1.0.2/templates/admin/newpost.template
   plog/branches/plog-1.0.2/templates/admin/sendtrackbacks.template
Log:
Implement send trackback directly (without auto-discovery), this feature can help pLog to send trackback to MSNSpace or Others. http://bugs.plogworld.net/view.php?id=621

Modified: plog/branches/plog-1.0.2/templates/admin/editpost.template
===================================================================
--- plog/branches/plog-1.0.2/templates/admin/editpost.template	2005-07-08 09:14:39 UTC (rev 2291)
+++ plog/branches/plog-1.0.2/templates/admin/editpost.template	2005-07-08 09:15:10 UTC (rev 2292)
@@ -62,6 +62,12 @@
 		 <a href="javascript:resource_list_window(2);">{$locale->tr("add_resource")}</a>
 	     {/if}
 	   </div>
+
+	   <div class="field">
+	     <label for="trackbackUrls">{$locale->tr("trackback_urls")}</label>
+		 <div class="formHelp">{$locale->tr("trackback_urls_help")}</div>
+	     <textarea rows="5" id="trackbackUrls" name="trackbackUrls" style="width:100%">{$trackbackUrls}</textarea>
+	   </div>	   
 	   
 	   <!-- text area custom fields -->
       {include file="$admintemplatepath/newpost_customfields.template" type=2 fields=$customfields}

Modified: plog/branches/plog-1.0.2/templates/admin/newpost.template
===================================================================
--- plog/branches/plog-1.0.2/templates/admin/newpost.template	2005-07-08 09:14:39 UTC (rev 2291)
+++ plog/branches/plog-1.0.2/templates/admin/newpost.template	2005-07-08 09:15:10 UTC (rev 2292)
@@ -83,7 +83,13 @@
 	     {if !$htmlarea}
 		 <a href="javascript:resource_list_window(2);">{$locale->tr("add_resource")}</a>
 	     {/if}
-	   </div>	   	   
+	   </div>
+
+	   <div class="field">
+	     <label for="trackbackUrls">{$locale->tr("trackback_urls")}</label>
+		 <div class="formHelp">{$locale->tr("trackback_urls_help")}</div>
+	     <textarea rows="5" id="trackbackUrls" name="trackbackUrls" style="width:100%">{$trackbackUrls}</textarea>
+	   </div>	      	   
 	   
 	   <!-- text area custom fields -->
       {include file="$admintemplatepath/newpost_customfields.template" type=2 fields=$customfields}

Modified: plog/branches/plog-1.0.2/templates/admin/sendtrackbacks.template
===================================================================
--- plog/branches/plog-1.0.2/templates/admin/sendtrackbacks.template	2005-07-08 09:14:39 UTC (rev 2291)
+++ plog/branches/plog-1.0.2/templates/admin/sendtrackbacks.template	2005-07-08 09:15:10 UTC (rev 2292)
@@ -5,12 +5,22 @@
   <legend>{$locale->tr("send_trackbacks")}</legend>
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"} 
+  
   <label for="postLink">{$locale->tr("send_trackbacks")}</label>
   <div class="formHelp">{$locale->tr("send_trackbacks_help")}</div>
-  {foreach from=$postlinks item=postlink}
-   <input class="checkbox" type="checkbox" id="postLink[{counter}]" name="postLink[{counter}]" value="{$postlink}" />
-    <a href="{$postlink}">{$postlink}</a><br/>
+  {if count($postLinks) != 0}
+   {foreach from=$postLinks item=postLink}
+    <input class="checkbox" type="checkbox" id="postLink[{counter}]" name="postLink[{counter}]" value="{$postLink}" />
+    <a href="{$postLink}">{$postLink}</a><br/>
    {/foreach}
+  {/if}
+  {if count($trackbackLinks) != 0}  
+   {foreach from=$trackbackLinks item=trackbackLink}
+    <input class="checkbox" type="checkbox" id="trackbackLink[{counter}]" name="trackbackLink[{counter}]" value="{$trackbackLink}" checked />
+    <a href="{$trackbackLink}">{$trackbackLink}</a><br/>
+   {/foreach}
+  {/if}
+  
  </fieldset>
  <div class="buttons">
   <input type="submit" value="{$locale->tr("ping_selected")}" name="PingSelected"/>
@@ -19,4 +29,4 @@
  </div>
 </form>
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file




More information about the pLog-svn mailing list