⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cimage.cpd

📁 uPortal是开放源码的Portal门户产品
💻 CPD
字号:
<?xml version="1.0" encoding="UTF-8"?><!--Copyright (c) 2001 The JA-SIG Collaborative.  All rights reserved.Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditionsare met:1. Redistributions of source code must retain the above copyright   notice, this list of conditions and the following disclaimer.2. Redistributions in binary form must reproduce the above copyright   notice, this list of conditions and the following disclaimer in   the documentation and/or other materials provided with the   distribution.3. Redistributions of any form whatsoever must retain the following   acknowledgment:   "This product includes software developed by the JA-SIG Collaborative   (http://www.jasig.org/)."THIS SOFTWARE IS PROVIDED BY THE JA-SIG COLLABORATIVE "AS IS" AND ANYEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE JA-SIG COLLABORATIVE ORITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUTNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISEDOF THE POSSIBILITY OF SUCH DAMAGE.Author: Ken Weiner, kweiner@unicon.netVersion $Revision: 1.4 $--><channelDef>  <description>    This is a channel for rendering an image with an optional title and subtitle  </description>  <class>org.jasig.portal.channels.CImage</class>  <params>    <step>      <ID>1</ID>      <name>Image information</name>      <description>        Enter the image URI, dimensions, border, and URL to link to if the        image is clicked      </description>      <parameter modify="publish-only">        <name>img-uri</name>        <label>Image URI</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>        <example>http://www.mysite.com/image.jpg</example>      </parameter>      <parameter modify="publish-only">        <name>img-width</name>        <label>Image width (pixels)</label>        <type base="integer" input="text" display="text">          <length>3</length>          <maxlength>5</maxlength>        </type>        <defaultValue>400</defaultValue>      </parameter>      <parameter modify="publish-only">        <name>img-height</name>        <label>Image height (pixels)</label>        <type base="integer" input="text" display="text">          <length>3</length>          <maxlength>5</maxlength>        </type>        <defaultValue>400</defaultValue>      </parameter>      <parameter modify="publish-only">        <name>img-border</name>        <label>Image border (pixels)</label>        <type base="integer" input="text" display="text">          <length>1</length>          <maxlength>2</maxlength>        </type>        <defaultValue>0</defaultValue>      </parameter>      <parameter modify="publish-only">        <name>img-link</name>        <label>Image link</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>        <example>http://www.mysite.com</example>      </parameter>    </step>    <step>      <ID>2</ID>      <name>Image captions</name>      <description>        Remember, the display of image captions is stylesheet dependent        and may not display on all devices      </description>      <parameter modify="publish-only">        <name>caption</name>        <label>Caption</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>        <example>My Image</example>      </parameter>      <parameter modify="publish-only">        <name>subcaption</name>        <label>Sub-caption</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>        <example>Refreshes every hour</example>      </parameter>    </step>  </params>  <controls>    <control type="edit" include="no" override="no"/>    <control type="about" include="no" override="no"/>    <control type="help" include="no" override="no"/>  </controls></channelDef>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -