[pLog-svn] r1937 - in plugins/trunk: . rightschooser
rightschooser/class rightschooser/class/action
rightschooser/class/view rightschooser/locale
rightschooser/templates
mark at devel.plogworld.net
mark at devel.plogworld.net
Wed May 4 11:24:56 GMT 2005
Author: mark
Date: 2005-05-04 11:24:56 +0000 (Wed, 04 May 2005)
New Revision: 1937
Added:
plugins/trunk/rightschooser/
plugins/trunk/rightschooser/ccform.php
plugins/trunk/rightschooser/ccliss.css
plugins/trunk/rightschooser/class/
plugins/trunk/rightschooser/class/action/
plugins/trunk/rightschooser/class/action/pluginrightschooserconfigaction.class.php
plugins/trunk/rightschooser/class/action/pluginrightschooserupdateconfigaction.class.php
plugins/trunk/rightschooser/class/view/
plugins/trunk/rightschooser/class/view/pluginrightschooserconfigview.class.php
plugins/trunk/rightschooser/locale/
plugins/trunk/rightschooser/locale/locale_en_UK.php
plugins/trunk/rightschooser/locale/locale_zh_CN.php
plugins/trunk/rightschooser/locale/locale_zh_TW.php
plugins/trunk/rightschooser/pluginrightschooser.class.php
plugins/trunk/rightschooser/readme.txt
plugins/trunk/rightschooser/templates/
plugins/trunk/rightschooser/templates/rightschooser.template
Log:
Added: plugins/trunk/rightschooser/ccform.php
===================================================================
--- plugins/trunk/rightschooser/ccform.php 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/ccform.php 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,26 @@
+<html>
+<head>
+<title></title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<script type="text/javascript">
+<!--
+function process()
+{
+ opener.document.rightschooserPluginConfig.RightsIcon.value='<?php echo $_GET['RightsIcon']; ?>';
+ opener.document.rightschooserPluginConfig.RightsText.value='<?php echo $_GET["RightsText"]; ?>';
+ opener.document.rightschooserPluginConfig.RightsCode.value='<?php echo $_GET['RightsCode']; ?>';
+ opener.document.rightschooserPluginConfig.RightsUrl.value='<?php echo $_GET['RightsUrl']; ?>';
+}
+//-->
+</script>
+</head>
+<body onload="process()">
+ <?php
+ echo $_GET['RightsIcon'];
+ echo $_GET["RightsText"];
+ echo $_GET['RightsCode'];
+ echo $_GET['RightsUrl'];
+ ?>
+
+</body>
+</html>
\ No newline at end of file
Added: plugins/trunk/rightschooser/ccliss.css
===================================================================
--- plugins/trunk/rightschooser/ccliss.css 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/ccliss.css 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,58 @@
+ body {
+ margin:0px;
+ background:#eee;
+ font-size:11px;
+ font-family:verdana;
+ color:#333;
+ }
+
+ #main {
+ border-top:1px solid #D0D0D0;
+ border-left:1px solid #D0D0D0;
+ border-right:1px solid #D0D0D0;
+ border-bottom:1px solid #D0D0D0;
+ background:#fff;
+ margin-top:5px;
+ margin-left:5px;
+ margin-right:5px;
+ width:490 px;
+ }
+
+/* Looks like you have to specify the width of #menu
+or IE5 Mac stretches it all the way across the div, and
+Opera streches it half way. */
+
+ #main #menu {
+ border-left:1px dotted #ccc;
+/* border-bottom:1px solid #000;*/
+ float:right;
+ width:230px;
+ background:white;
+ margin:0px 0px 10px 10px;
+ }
+
+ td, h3, p,h1,pre {
+ margin:0px 20px 20px 20px;
+ font-size:11px;
+ line-height:140%;
+ }
+
+ .header {
+ padding-left: 10px;
+ padding-top:30px;
+ }
+
+ .nav {
+ padding-left:10px;
+ padding-bottom:10px;
+ font-size:11px;
+ margin-bottom:16px;
+ }
+
+ #menu p {
+ font-size:11px;
+ }
+
+ .dent {
+ margin-left:64px;
+ }
Added: plugins/trunk/rightschooser/class/action/pluginrightschooserconfigaction.class.php
===================================================================
--- plugins/trunk/rightschooser/class/action/pluginrightschooserconfigaction.class.php 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/class/action/pluginrightschooserconfigaction.class.php 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,27 @@
+<?php
+
+ include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
+ include_once( PLOG_CLASS_PATH."plugins/rightschooser/class/view/pluginrightschooserconfigview.class.php" );
+
+ /**
+ * shows a form with the current configuration
+ */
+ class PluginRightsChooserConfigAction extends AdminAction
+ {
+
+ function PluginRightsChooserConfigAction( $actionInfo, $request )
+ {
+ $this->AdminAction( $actionInfo, $request );
+ }
+
+ function perform()
+ {
+ $this->_view = new PluginRightsChooserConfigView( $this->_blogInfo );
+
+ $this->setCommonData();
+
+ return true;
+ }
+ }
+?>
\ No newline at end of file
Added: plugins/trunk/rightschooser/class/action/pluginrightschooserupdateconfigaction.class.php
===================================================================
--- plugins/trunk/rightschooser/class/action/pluginrightschooserupdateconfigaction.class.php 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/class/action/pluginrightschooserupdateconfigaction.class.php 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,77 @@
+<?php
+
+ include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
+ include_once( PLOG_CLASS_PATH."plugins/rightschooser/class/view/pluginrightschooserconfigview.class.php" );
+
+ /**
+ * updates the plugin configuration
+ */
+ class PluginRightsChooserUpdateConfigAction extends AdminAction
+ {
+ var $_pluginEnabled;
+ var $_RightsIcon;
+ var $_RightsText;
+ var $_RightsCode;
+ var $_RightsUrl;
+
+ function PluginRightsChooserUpdateConfigAction( $actionInfo, $request )
+ {
+ $this->AdminAction( $actionInfo, $request );
+ }
+
+ function validate()
+ {
+ $this->_pluginEnabled = $this->_request->getValue( "pluginEnabled" );
+ $this->_pluginEnabled = ($this->_pluginEnabled != "" );
+ $this->_RightsIcon = $this->_request->getValue( "RightsIcon" );
+ $this->_RightsText = $this->_request->getValue( "RightsText" );
+ $this->_RightsCode = $this->_request->getValue( "RightsCode" );
+ $this->_RightsUrl = $this->_request->getValue( "RightsUrl" );
+ if( $this->_pluginEnabled && $this->_RightsUrl =="" ) {
+ $this->_view = new PluginRightsChooserConfigView( $this->_blogInfo );
+ $this->_view->setErrorMessage( $this->_locale->tr("rightschooser_error_enablewithoutchoose"));
+ $this->setCommonData();
+
+ return false;
+ }
+ return true;
+ }
+
+ function perform()
+ {
+ // // update the plugin configurations to blog setting
+ $blogSettings = $this->_blogInfo->getSettings();
+ $blogSettings->setValue( "plugin_rightschooser_enabled", $this->_pluginEnabled );
+ $blogSettings->setValue( "plugin_rightschooser_rightsicon", $this->_RightsIcon );
+ $blogSettings->setValue( "plugin_rightschooser_rightstext", $this->_RightsText );
+ $blogSettings->setValue( "plugin_rightschooser_rightscode", $this->_RightsCode);
+ $blogSettings->setValue( "plugin_rightschooser_rightsurl", $this->_RightsUrl);
+ $this->_blogInfo->setSettings( $blogSettings );
+
+ // save the blogs settings
+ $blogs = new Blogs();
+ if( !$blogs->updateBlog( $this->_blogInfo->getId(), $this->_blogInfo )) {
+ $this->_view = new PluginRightsChooserConfigView( $this->_blogInfo );
+ $this->_view->setErrorMessage( $this->_locale->tr("error_updating_settings"));
+ $this->setCommonData();
+
+ return false;
+ }
+
+ // if everything went ok...
+ $this->_blogInfo->setSettings( $blogSettings );
+ $this->_session->setValue( "blogInfo", $this->_blogInfo );
+ $this->saveSession();
+
+ $this->_view = new PluginRightsChooserConfigView( $this->_blogInfo );
+ $this->_view->setSuccessMessage( $this->_locale->tr("rightschooser_settings_saved_ok"));
+ $this->setCommonData();
+
+ // clear the cache
+ CacheControl::resetBlogCache( $this->_blogInfo->getId());
+
+ return true;
+ }
+ }
+?>
\ No newline at end of file
Added: plugins/trunk/rightschooser/class/view/pluginrightschooserconfigview.class.php
===================================================================
--- plugins/trunk/rightschooser/class/view/pluginrightschooserconfigview.class.php 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/class/view/pluginrightschooserconfigview.class.php 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,36 @@
+<?php
+
+ include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
+
+ /**
+ * implements the main view of the feed reader plugin
+ */
+ class PluginRightsChooserConfigView extends AdminPluginTemplatedView
+ {
+
+ function PluginRightsChooserConfigView( $blogInfo )
+ {
+ $this->AdminPluginTemplatedView( $blogInfo, "rightschooser", "rightschooser" );
+ }
+
+ function render()
+ {
+ // load some configuration settings
+ $blogSettings = $this->_blogInfo->getSettings();
+ $pluginEnabled = $blogSettings->getValue( "plugin_rightschooser_enabled" );
+ $RightsIcon = $blogSettings->getValue( "plugin_rightschooser_rightsicon" );
+ $RightsText = $blogSettings->getValue( "plugin_rightschooser_rightstext" );
+ $RightsCode = $blogSettings->getValue( "plugin_rightschooser_rightscode" );
+ $RightsUrl = $blogSettings->getValue( "plugin_rightschooser_rightsurl" );
+
+ // create a view and export the settings to the template
+ $this->setValue( "pluginEnabled", $pluginEnabled );
+ $this->setValue( "RightsIcon", $RightsIcon );
+ $this->setValue( "RightsText", $RightsText );
+ $this->setValue( "RightsCode", $RightsCode);
+ $this->setValue( "RightsUrl", $RightsUrl);
+
+ parent::render();
+ }
+ }
+?>
\ No newline at end of file
Added: plugins/trunk/rightschooser/locale/locale_en_UK.php
===================================================================
--- plugins/trunk/rightschooser/locale/locale_en_UK.php 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/locale/locale_en_UK.php 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,22 @@
+<?php
+$messages["RightsChooser"] = "Copyright/license Chooser";
+$messages["rightschooser"] = "Copyright/license Chooser";
+
+$messages["rightschooser_nowsetting"] = "Your stored Copyright/license settings";
+$messages["rightschooser_rightsicon"] = "Icon of the license";
+$messages["rightschooser_rightstext"] = "Description of the license";
+$messages["rightschooser_rightscode"] = "Code of the license";
+$messages["rightschooser_rightsurl"] = "Url links to your license information";
+
+$messages["rightschooser_plugin_enabled"] = "Enable this plugin";
+$messages["rightschooser_plugin"] = "Copyright/license Chooser Plugin";
+
+$messages["rightschooser_settings_saved_ok"] = "Copyright/license settings saved successfully!";
+$messages["rightschooser_error_enablewithoutchoose"] = "You shouldn't enable this plugin without choosing a license!";
+
+$messages["label_configuration"] = "Configuration";
+$messages["label_enable"] = "Enable";
+$messages["label_choose_rights"] = "Choose";
+$messages["label_nowSetting"] = "The Stored Settings";
+$messages["label_nochoosingrights"] = "You haven't choose any license!";
+?>
\ No newline at end of file
Added: plugins/trunk/rightschooser/locale/locale_zh_CN.php
===================================================================
--- plugins/trunk/rightschooser/locale/locale_zh_CN.php 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/locale/locale_zh_CN.php 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,22 @@
+<?php
+$messages["RightsChooser"] = "授权方式选择器";
+$messages["rightschooser"] = "授权方式选择器";
+
+$messages["rightschooser_nowsetting"] = "您存贮的授权方式设定";
+$messages["rightschooser_rightsicon"] = "图示";
+$messages["rightschooser_rightstext"] = "叙述";
+$messages["rightschooser_rightscode"] = "代码";
+$messages["rightschooser_rightsurl"] = "连结";
+
+$messages["rightschooser_plugin_enabled"] = "启动外挂程序";
+$messages["rightschooser_plugin"] = "授权方式选择器外挂程序";
+
+$messages["rightschooser_settings_saved_ok"] = "选择授权方式设定存贮成功。";
+$messages["rightschooser_error_enablewithoutchoose"] = "您不能没有选择一种授权方式而启动此外挂!";
+
+$messages["label_configuration"] = "设定";
+$messages["label_enable"] = "启动";
+$messages["label_choose_rights"] = "选择授权方式";
+$messages["label_nowSetting"] = "存贮的设定值";
+$messages["label_nochoosingrights"] = "您没有选择任何选择授权方式!";
+?>
\ No newline at end of file
Added: plugins/trunk/rightschooser/locale/locale_zh_TW.php
===================================================================
--- plugins/trunk/rightschooser/locale/locale_zh_TW.php 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/locale/locale_zh_TW.php 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,22 @@
+<?php
+$messages["RightsChooser"] = "授權方式選擇器";
+$messages["rightschooser"] = "授權方式選擇器";
+
+$messages["rightschooser_nowsetting"] = "您儲存的授權方式設定";
+$messages["rightschooser_rightsicon"] = "圖示";
+$messages["rightschooser_rightstext"] = "敘述";
+$messages["rightschooser_rightscode"] = "代碼";
+$messages["rightschooser_rightsurl"] = "連結";
+
+$messages["rightschooser_plugin_enabled"] = "啟動外掛程式";
+$messages["rightschooser_plugin"] = "授權方式選擇器外掛程式";
+
+$messages["rightschooser_settings_saved_ok"] = "選擇授權方式設定儲存成功。";
+$messages["rightschooser_error_enablewithoutchoose"] = "您不能沒有選擇一種授權方式而啟動此外掛!";
+
+$messages["label_configuration"] = "設定";
+$messages["label_enable"] = "啟動";
+$messages["label_choose_rights"] = "選擇授權方式";
+$messages["label_nowSetting"] = "儲存的設定值";
+$messages["label_nochoosingrights"] = "您沒有選擇任何選擇授權方式!";
+?>
\ No newline at end of file
Added: plugins/trunk/rightschooser/pluginrightschooser.class.php
===================================================================
--- plugins/trunk/rightschooser/pluginrightschooser.class.php 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/pluginrightschooser.class.php 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,115 @@
+<?php
+
+ include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
+ include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+
+ /**
+ * Plugin that offers features to
+ */
+ class PluginRightsChooser extends PluginBase
+ {
+ var $prefix;
+ var $pluginEnabled;
+
+ function PluginRightsChooser()
+ {
+ $this->PluginBase();
+
+ $this->id = "rightschooser";
+ $this->author = "Bill Yuan-yao Shih";
+ $this->desc = "This plugin allows you to select and apply a license to your individual blogs. Displays the button and metadata automatically.";
+
+ $this->prefix = Db::getPrefix();
+
+ $this->locales = Array( "en_UK" , "zh_TW" , "zh_CN" );
+
+ $this->init();
+ }
+
+ function init()
+ {
+ $this->registerAdminAction( "rightschooser", "PluginRightsChooserConfigAction" );
+ $this->registerAdminAction( "updateRightsChooserConfig", "PluginRightsChooserUpdateConfigAction" );
+
+ $menu =& Menu::getMenu();
+
+ $this->addMenuEntry( "/menu/controlCenter/manageSettings", "RightsChooser", "?op=rightschooser", "" );
+ }
+
+ function register()
+ {
+ $blogSettings = $this->blogInfo->getSettings();
+ $this->pluginEnabled = $blogSettings->getValue( "plugin_rightschooser_enabled" );
+ $this->RightsIcon = $blogSettings->getValue( "plugin_rightschooser_rightsicon" );
+ $this->RightsText = $blogSettings->getValue( "plugin_rightschooser_rightstext" );
+ $this->RightsCode = $blogSettings->getValue( "plugin_rightschooser_rightscode" );
+ $this->RightsUrl = $blogSettings->getValue( "plugin_rightschooser_rightsurl" );
+ }
+
+ function isEnabled()
+ {
+ return $this->pluginEnabled;
+ }
+
+ /**
+ * Show the data of the rights
+ */
+ function showCustomHtml() {
+ $rightsHtmlTag="<!-- Creative Commons License -->
+ <a href=\"". $this->RightsUrl ."\" title=\"Creative Commons License : ".$this->RightsText."\">
+ <img alt=\"Creative Commons License\" border=\"0\" src=\"". $this->RightsIcon ."\" /></a>
+ <br />
+ This work is licensed under a <a href=\"". $this->RightsUrl ."\">Creative Commons License</a>.
+ <!-- /Creative Commons License -->";
+
+ return $rightsHtmlTag;
+ }
+
+ function showCustomRdf(){
+ $rightsRdfTag="<!--
+ <rdf:RDF xmlns=\"http://web.resource.org/cc/\"
+ xmlns:dc=\"http://purl.org/dc/elements/1.1/\"
+ xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">
+ <Work rdf:about=\"\">
+ <license rdf:resource=\"". $this->RightsUrl ."\" />
+ </Work>
+ </rdf:RDF>
+ -->";
+ return $rightsRdfTag;
+ }
+
+ function getHtml(){
+
+ $url = "http://creativecommons.org/license/get-html?license_url=".$this->RightsUrl."";
+ $url_parsed = parse_url($url);
+ $host = $url_parsed["host"];
+ $port = $url_parsed["port"];
+ if ($port==0)
+ $port = 80;
+ $path = $url_parsed["path"];
+ if ($url_parsed["query"] != "")
+ $path .= "?".$url_parsed["query"];
+
+ $out = "GET $path HTTP/1.0\r\nHost: $host\r\nAccept-Language: ".$_SERVER['HTTP_ACCEPT_LANGUAGE']."\r\n\r\n";
+
+ $fp = fsockopen($host, $port, $errno, $errstr, 30);
+ if (!$fp)
+ return "$errstr ($errno)<br />\n";
+
+ fwrite($fp, $out);
+ $body = false;
+ while (!feof($fp)) {
+ $s = fgets($fp, 1024);
+ if ( $body )
+ $in .= $s;
+ if ( $s == "\r\n" )
+ $body = true;
+ }
+
+ fclose($fp);
+
+ return $in;
+ }
+ }
+
+?>
\ No newline at end of file
Added: plugins/trunk/rightschooser/readme.txt
===================================================================
--- plugins/trunk/rightschooser/readme.txt 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/readme.txt 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,29 @@
+Plugin: Rights Chooser
+Author: Bill Yuan-yao Shih
+Release Date: 2005/05/03
+Version: 0.9
+
+This plugin allows you to select and apply a license to your individual blogs,
+then it can display the button and metadata automatically.
+
+Usage as follow:
+
+You can use:
+1. $rightschooser->isEnabled() to check the plugin is enabled or not.
+2. $rightschooser->getHtml() to fetch and show the HTML and RDF for your licensed blogs from Creative Commons website.
+3. $rightschooser->showCustomHtml() to show the HTML output for your licensed blogs.
+4. $rightschooser->showCustomRdf() to include the RDF metadata in your licensed blogs.
+
+Example:
+Add the following code to any template file where you want it to show:
+{if $rightschooser->isEnabled()}
+{$rightschooser->getHtml()}
+{/if}
+
+Or the custom style
+(You can modify the output defined in pluginrightschooser.class.php
+,but if you are not familiar with PHP, just use $rightschooser->getHtml()):
+{if $rightschooser->isEnabled()}
+{$rightschooser->showCustomHtml()}
+{$rightschooser->showCustomRdf()}
+{/if}
Added: plugins/trunk/rightschooser/templates/rightschooser.template
===================================================================
--- plugins/trunk/rightschooser/templates/rightschooser.template 2005-05-04 06:03:08 UTC (rev 1936)
+++ plugins/trunk/rightschooser/templates/rightschooser.template 2005-05-04 11:24:56 UTC (rev 1937)
@@ -0,0 +1,48 @@
+{include file="$admintemplatepath/header.template"}
+{include file="$admintemplatepath/navigation.template" showOpt=RightsChooser title=$locale->tr("rightschooser_plugin")}
+<form name="rightschooserPluginConfig" method="post">
+ <fieldset class="inputField">
+ <legend>{$locale->tr("label_configuration")}</legend>
+ {include file="$admintemplatepath/successmessage.template"}
+ {include file="$admintemplatepath/errormessage.template"}
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("label_enable")}</label>
+ <span class="required"></span>
+ <div class="formHelp">
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" />{$locale->tr("topcommentposts_plugin_enabled")}
+ </div>
+ </div>
+
+ <div class="field">
+ <label for="nowSetting">{$locale->tr("label_nowSetting")}</label>
+ <div class="formHelp">{$locale->tr("rightschooser_nowsetting")}</div>
+ {if !$RightsUrl==""}
+ <ul>
+ <li>{$locale->tr("rightschooser_rightsicon")}: <img align="middle" src="{$RightsIcon}" alt='icon' /></li>
+ <li>{$locale->tr("rightschooser_rightstext")}: {$RightsText}</li>
+ <li>{$locale->tr("rightschooser_rightscode")}: {$RightsCode}</li>
+ <li>{$locale->tr("rightschooser_rightsurl")}: <a href="{$RightsUrl}">{$RightsUrl}</a></li>
+ </ul>
+ {/if}
+ {if $RightsUrl==""}
+ <li>{$locale->tr("label_nochoosingrights")}</li>
+ {/if}
+ </div>
+ <div class="field">
+ <input type="hidden" name="RightsIcon" id="RightsIcon" value="{$RightsIcon}">
+ <input type="hidden" name="RightsText" id="RightsText" value="{$RightsText}">
+ <input type="hidden" name="RightsCode" id="RightsCode" value="{$RightsCode}">
+ <input type="hidden" name="RightsUrl" id="RightsUrl" value="{$RightsUrl}">
+ <input type="button" style="width:100px;" name="choose" value="{$locale->tr("label_choose_rights")}" onClick="window.open('http://creativecommons.org/license/?partner=pLog&exit_url={$url->getUrl("/plugins/rightschooser/ccform.php")}?License=cc%26RightsUrl=[license_url]%26RightsText=[license_name]%26RightsCode=[license_code]%26RightsIcon=[license_button]&stylesheet={$url->getUrl("/plugins/rightschooser/ccliss.css")}','Chooser','width=500,height=580');" />
+ </div>
+
+ </fieldset>
+
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateRightsChooserConfig" />
+ <input type="reset" name="{$locale->tr("reset")}" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
+</form>
+{include file="$admintemplatepath/footernavigation.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
More information about the pLog-svn
mailing list