diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-09-03 20:12:22 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-09-03 20:12:22 +0000 |
| commit | 5ec3c0554344ed11976453e18be0225f33898422 (patch) | |
| tree | ece4e6b2f265fd3e6ebfa666f64b067e3b7a1afa | |
| parent | e35c03c89c2f720fb69f74c51d6591b3ab575708 (diff) | |
| download | pigeonholes-5ec3c0554344ed11976453e18be0225f33898422.tar.gz pigeonholes-5ec3c0554344ed11976453e18be0225f33898422.tar.bz2 pigeonholes-5ec3c0554344ed11976453e18be0225f33898422.zip | |
change all biticon links to point to the new icons provided in themes/icon_styles, update themes manager to make icon styles selectable, massive script used to do this ( will me made available shortly ) - might not all be perfect. please help out by fixing broken icon links.
| -rw-r--r-- | icons/organise.png | bin | 545 -> 0 bytes | |||
| -rw-r--r-- | templates/list.tpl | 10 | ||||
| -rw-r--r-- | templates/menu_pigeonholes.tpl | 12 | ||||
| -rw-r--r-- | templates/section_inc.tpl | 8 |
4 files changed, 15 insertions, 15 deletions
diff --git a/icons/organise.png b/icons/organise.png Binary files differdeleted file mode 100644 index 8df04ad..0000000 --- a/icons/organise.png +++ /dev/null diff --git a/templates/list.tpl b/templates/list.tpl index 23750bf..7700338 100644 --- a/templates/list.tpl +++ b/templates/list.tpl @@ -17,7 +17,7 @@ {minifind} <div class="navbar"> <ul> - <li>{biticon ipackage=liberty iname=sort iexplain=sort}</li> + <li>{biticon ipackage="icons" iname="emblem-symbolic-link" iexplain=sort}</li> <li>{smartlink ititle="Title" isort=title idefault=1 icontrol=$listInfo}</li> <li>{smartlink ititle="Description" isort=data icontrol=$listInfo}</li> </ul> @@ -29,10 +29,10 @@ {foreach from=$pigeonList item=item} {if $gBitUser->hasPermission( 'p_pigeonholes_edit' )} <div class="floaticon"> - {smartlink ititle="Change Structure" ifile="edit_structure.php" ibiticon="pigeonholes/organise" structure_id=`$item.structure_id`} - {smartlink ititle="Insert new Category" ifile="edit_pigeonholes.php" ibiticon="liberty/new" structure_id=`$item.structure_id` action=create} - {smartlink ititle="Edit Category" ifile="edit_pigeonholes.php" ibiticon="liberty/edit" structure_id=`$item.structure_id` action="edit"} - {smartlink ititle="Remove Category" ifile="edit_pigeonholes.php" ibiticon="liberty/delete" action="remove" structure_id=`$item.structure_id`} + {smartlink ititle="Change Structure" ifile="edit_structure.php" ibiticon="icons/view-refresh" structure_id=`$item.structure_id`} + {smartlink ititle="Insert new Category" ifile="edit_pigeonholes.php" ibiticon="icons/document-new" structure_id=`$item.structure_id` action=create} + {smartlink ititle="Edit Category" ifile="edit_pigeonholes.php" ibiticon="icons/accessories-text-editor" structure_id=`$item.structure_id` action="edit"} + {smartlink ititle="Remove Category" ifile="edit_pigeonholes.php" ibiticon="icons/edit-delete" action="remove" structure_id=`$item.structure_id`} </div> {/if} <h2>{$item.display_link}</h2> diff --git a/templates/menu_pigeonholes.tpl b/templates/menu_pigeonholes.tpl index 013a64e..abacb65 100644 --- a/templates/menu_pigeonholes.tpl +++ b/templates/menu_pigeonholes.tpl @@ -1,23 +1,23 @@ {strip} <ul> {if $gBitUser->hasPermission( 'p_pigeonholes_edit' )} - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?action=create">{biticon ipackage=liberty iname=new iexplain="Create Category" iforce="icon"} {tr}Create Category{/tr}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?action=create">{biticon ipackage="icons" iname="document-new" iexplain="Create Category" iforce="icon"} {tr}Create Category{/tr}</a></li> {/if} {if $gBitUser->hasPermission( 'p_pigeonholes_view' )} - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}list.php">{biticon ipackage=liberty iname=list iexplain="List Categories" iforce="icon"} {tr}List Categories{/tr}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}list.php">{biticon ipackage="icons" iname="format-justify-fill" iexplain="List Categories" iforce="icon"} {tr}List Categories{/tr}</a></li> {if $gContent->mStructureId and $gContent->mType.content_type_guid == $smarty.const.PIGEONHOLES_CONTENT_TYPE_GUID} <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}view.php?structure_id={$gContent->mStructureId}">{biticon ipackage=liberty iname=spacer iexplain="" iforce="icon"} {tr}View Category{/tr}</a></li> {if $gBitUser->hasPermission( 'p_pigeonholes_edit' )} - <li><a class="head" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->mInfo.structure_id}&action=edit">{biticon ipackage=liberty iname=edit iexplain="Edit Category" iforce="icon"} {tr}Edit Category{/tr}</a></li> - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->mInfo.root_structure_id}&action=create">{biticon ipackage=liberty iname=insert iexplain="Insert Category" iforce="icon"} {tr}Insert Category{/tr}</a></li> - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_structure.php?structure_id={$gContent->mInfo.structure_id}">{biticon ipackage=pigeonholes iname=organise iexplain="Change Structure" iforce="icon"} {tr}Change Structure{/tr}</a></li> + <li><a class="head" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->mInfo.structure_id}&action=edit">{biticon ipackage="icons" iname="accessories-text-editor" iexplain="Edit Category" iforce="icon"} {tr}Edit Category{/tr}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->mInfo.root_structure_id}&action=create">{biticon ipackage="icons" iname="insert-object" iexplain="Insert Category" iforce="icon"} {tr}Insert Category{/tr}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_structure.php?structure_id={$gContent->mInfo.structure_id}">{biticon ipackage="icons" iname="view-refresh" iexplain="Change Structure" iforce="icon"} {tr}Change Structure{/tr}</a></li> {/if} {/if} {/if} {if $gBitUser->hasPermission( 'p_pigeonholes_edit' )} - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}assign_content.php">{biticon ipackage=liberty iname=assign iexplain="Assign Content" iforce="icon"} {tr}Assign Content{/tr}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}assign_content.php">{biticon ipackage="icons" iname="mail-attachment" iexplain="Assign Content" iforce="icon"} {tr}Assign Content{/tr}</a></li> {/if} </ul> {/strip} diff --git a/templates/section_inc.tpl b/templates/section_inc.tpl index ec78fc1..ac8ca92 100644 --- a/templates/section_inc.tpl +++ b/templates/section_inc.tpl @@ -27,7 +27,7 @@ <li> <a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$pigeonMember.content_id}">{$pigeonMember.title|escape}</a> {if $gBitUser->hasPermission( 'p_pigeonholes_edit' )} - {smartlink ititle="Remove Item" ibiticon="liberty/delete_small" expand_all=$smarty.request.expand_all action=dismember structure_id=$pigeonItem.structure_id parent_id=$pigeonMember.content_id content_id=$pigeonItem.content_id} + {smartlink ititle="Remove Item" ibiticon="icons/edit-delete" expand_all=$smarty.request.expand_all action=dismember structure_id=$pigeonItem.structure_id parent_id=$pigeonMember.content_id content_id=$pigeonItem.content_id} {/if} </li> @@ -50,9 +50,9 @@ {* ======= very basic display of the pigoenhole structure ======= *} {if !$no_edit and $gBitUser->hasPermission( 'p_pigeonholes_edit' )} <div class="floaticon"> - {smartlink ititle="Insert new Category" ifile="edit_pigeonholes.php" ibiticon="liberty/new" structure_id=`$subtree[ix].structure_id` action=create} - {smartlink ititle="Edit Category" ibiticon="liberty/edit" ifile="edit_pigeonholes.php" structure_id=$subtree[ix].structure_id action=edit} - {smartlink ititle="Remove Category" ibiticon="liberty/delete" ifile="edit_pigeonholes.php" structure_id=$subtree[ix].structure_id action=remove} + {smartlink ititle="Insert new Category" ifile="edit_pigeonholes.php" ibiticon="icons/document-new" structure_id=`$subtree[ix].structure_id` action=create} + {smartlink ititle="Edit Category" ibiticon="icons/accessories-text-editor" ifile="edit_pigeonholes.php" structure_id=$subtree[ix].structure_id action=edit} + {smartlink ititle="Remove Category" ibiticon="icons/edit-delete" ifile="edit_pigeonholes.php" structure_id=$subtree[ix].structure_id action=remove} </div> {/if} |
